Class CreateJobRequest.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateJobRequest.Builder
Overrides

build()

public CreateJobRequest build()
Returns
TypeDescription
CreateJobRequest

buildPartial()

public CreateJobRequest buildPartial()
Returns
TypeDescription
CreateJobRequest

clear()

public CreateJobRequest.Builder clear()
Returns
TypeDescription
CreateJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateJobRequest.Builder
Overrides

clearJob()

public CreateJobRequest.Builder clearJob()

The job to create.

.google.dataflow.v1beta3.Job job = 2;

Returns
TypeDescription
CreateJobRequest.Builder

clearLocation()

public CreateJobRequest.Builder clearLocation()

The regional endpoint that contains this job.

string location = 5;

Returns
TypeDescription
CreateJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CreateJobRequest.Builder

This builder for chaining.

clone()

public CreateJobRequest.Builder clone()
Returns
TypeDescription
CreateJobRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJob()

public Job getJob()

The job to create.

.google.dataflow.v1beta3.Job job = 2;

Returns
TypeDescription
Job

The job.

getJobBuilder()

public Job.Builder getJobBuilder()

The job to create.

.google.dataflow.v1beta3.Job job = 2;

Returns
TypeDescription
Job.Builder

getJobOrBuilder()

public JobOrBuilder getJobOrBuilder()

The job to create.

.google.dataflow.v1beta3.Job job = 2;

Returns
TypeDescription
JobOrBuilder

getLocation()

public String getLocation()

The regional endpoint that contains this job.

string location = 5;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains this job.

string location = 5;

Returns
TypeDescription
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
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The ID of the Cloud Platform project that the job belongs to.

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

getReplaceJobId()

public String getReplaceJobId()

Deprecated. This field is now in the Job message.

string replace_job_id = 4;

Returns
TypeDescription
String

The replaceJobId.

getReplaceJobIdBytes()

public ByteString getReplaceJobIdBytes()

Deprecated. This field is now in the Job message.

string replace_job_id = 4;

Returns
TypeDescription
ByteString

The bytes for replaceJobId.

getView()

public JobView getView()

The level of information requested in response.

.google.dataflow.v1beta3.JobView view = 3;

Returns
TypeDescription
JobView

The view.

getViewValue()

public int getViewValue()

The level of information requested in response.

.google.dataflow.v1beta3.JobView view = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the job field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateJobRequest other)

public CreateJobRequest.Builder mergeFrom(CreateJobRequest other)
Parameter
NameDescription
otherCreateJobRequest
Returns
TypeDescription
CreateJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateJobRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateJobRequest.Builder
Overrides

mergeJob(Job value)

public CreateJobRequest.Builder mergeJob(Job value)

The job to create.

.google.dataflow.v1beta3.Job job = 2;

Parameter
NameDescription
valueJob
Returns
TypeDescription
CreateJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateJobRequest.Builder
Overrides

setJob(Job value)

public CreateJobRequest.Builder setJob(Job value)

The job to create.

.google.dataflow.v1beta3.Job job = 2;

Parameter
NameDescription
valueJob
Returns
TypeDescription
CreateJobRequest.Builder

setJob(Job.Builder builderForValue)

public CreateJobRequest.Builder setJob(Job.Builder builderForValue)

The job to create.

.google.dataflow.v1beta3.Job job = 2;

Parameter
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
CreateJobRequest.Builder

setLocation(String value)

public CreateJobRequest.Builder setLocation(String value)

The regional endpoint that contains this job.

string location = 5;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The replaceJobId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for replaceJobId to set.

Returns
TypeDescription
CreateJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueJobView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
CreateJobRequest.Builder

This builder for chaining.