Class CreateJobRequest.Builder (0.51.0)

public static final class CreateJobRequest.Builder extends GeneratedMessageV3.Builder<CreateJobRequest.Builder> implements CreateJobRequestOrBuilder

Request to create a Cloud Dataflow job.

Protobuf type google.dataflow.v1beta3.CreateJobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateJobRequest.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateJobRequest.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateJobRequest.Builder
Overrides

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.

clone()

public CreateJobRequest.Builder clone()
Returns
Type Description
CreateJobRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateJobRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateJobRequest.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateJobRequest.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for projectId to set.

Returns
Type Description
CreateJobRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateJobRequest.Builder
Overrides

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 String

The 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 ByteString

The bytes for replaceJobId to set.

Returns
Type Description
CreateJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateJobRequest.Builder
Overrides

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 JobView

The 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 int

The enum numeric value on the wire for view to set.

Returns
Type Description
CreateJobRequest.Builder

This builder for chaining.