public static final class CreateJobRequest.Builder extends GeneratedMessage.Builder<CreateJobRequest.Builder> implements CreateJobRequestOrBuilderRequest to create a Cloud Dataflow job.
Protobuf type google.dataflow.v1beta3.CreateJobRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateJobRequest.BuilderImplements
CreateJobRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateJobRequest build()| Returns | |
|---|---|
| Type | Description |
CreateJobRequest |
|
buildPartial()
public CreateJobRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateJobRequest |
|
clear()
public CreateJobRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
clearJob()
public CreateJobRequest.Builder clearJob()The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
clearLocation()
public CreateJobRequest.Builder clearLocation()The regional endpoint that contains this job.
string location = 5;
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
clearProjectId()
public CreateJobRequest.Builder clearProjectId()The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
clearReplaceJobId()
public CreateJobRequest.Builder clearReplaceJobId()Deprecated. This field is now in the Job message.
string replace_job_id = 4;
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
clearView()
public CreateJobRequest.Builder clearView()The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateJobRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateJobRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJob()
public Job getJob()The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Returns | |
|---|---|
| Type | Description |
Job |
The job. |
getJobBuilder()
public Job.Builder getJobBuilder()The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Returns | |
|---|---|
| Type | Description |
Job.Builder |
|
getJobOrBuilder()
public JobOrBuilder getJobOrBuilder()The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Returns | |
|---|---|
| Type | Description |
JobOrBuilder |
|
getLocation()
public String getLocation()The regional endpoint that contains this job.
string location = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()The regional endpoint that contains this job.
string location = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getProjectId()
public String getProjectId()The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getReplaceJobId()
public String getReplaceJobId()Deprecated. This field is now in the Job message.
string replace_job_id = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The replaceJobId. |
getReplaceJobIdBytes()
public ByteString getReplaceJobIdBytes()Deprecated. This field is now in the Job message.
string replace_job_id = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for replaceJobId. |
getView()
public JobView getView()The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;
| Returns | |
|---|---|
| Type | Description |
JobView |
The view. |
getViewValue()
public int getViewValue()The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for view. |
hasJob()
public boolean hasJob()The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the job field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateJobRequest other)
public CreateJobRequest.Builder mergeFrom(CreateJobRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateJobRequest |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateJobRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
mergeJob(Job value)
public CreateJobRequest.Builder mergeJob(Job value)The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
setJob(Job value)
public CreateJobRequest.Builder setJob(Job value)The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
setJob(Job.Builder builderForValue)
public CreateJobRequest.Builder setJob(Job.Builder builderForValue)The job to create.
.google.dataflow.v1beta3.Job job = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
|
setLocation(String value)
public CreateJobRequest.Builder setLocation(String value)The regional endpoint that contains this job.
string location = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public CreateJobRequest.Builder setLocationBytes(ByteString value)The regional endpoint that contains this job.
string location = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
setProjectId(String value)
public CreateJobRequest.Builder setProjectId(String value)The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public CreateJobRequest.Builder setProjectIdBytes(ByteString value)The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
setReplaceJobId(String value)
public CreateJobRequest.Builder setReplaceJobId(String value)Deprecated. This field is now in the Job message.
string replace_job_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe replaceJobId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
setReplaceJobIdBytes(ByteString value)
public CreateJobRequest.Builder setReplaceJobIdBytes(ByteString value)Deprecated. This field is now in the Job message.
string replace_job_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for replaceJobId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
setView(JobView value)
public CreateJobRequest.Builder setView(JobView value)The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
JobViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |
setViewValue(int value)
public CreateJobRequest.Builder setViewValue(int value)The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
CreateJobRequest.Builder |
This builder for chaining. |