Class UpdateJobRequest.Builder (0.43.0)

public static final class UpdateJobRequest.Builder extends GeneratedMessageV3.Builder<UpdateJobRequest.Builder> implements UpdateJobRequestOrBuilder

Request to update a Cloud Dataflow job.

Protobuf type google.dataflow.v1beta3.UpdateJobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateJobRequest build()
Returns
TypeDescription
UpdateJobRequest

buildPartial()

public UpdateJobRequest buildPartial()
Returns
TypeDescription
UpdateJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJob()

public UpdateJobRequest.Builder clearJob()

The updated job. Only the job state is updatable; other fields will be ignored.

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

Returns
TypeDescription
UpdateJobRequest.Builder

clearJobId()

public UpdateJobRequest.Builder clearJobId()

The job ID.

string job_id = 2;

Returns
TypeDescription
UpdateJobRequest.Builder

This builder for chaining.

clearLocation()

public UpdateJobRequest.Builder clearLocation()

The regional endpoint that contains this job.

string location = 4;

Returns
TypeDescription
UpdateJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateJobRequest.Builder
Overrides

clearProjectId()

public UpdateJobRequest.Builder clearProjectId()

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

string project_id = 1;

Returns
TypeDescription
UpdateJobRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateJobRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJob()

public Job getJob()

The updated job. Only the job state is updatable; other fields will be ignored.

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

Returns
TypeDescription
Job

The job.

getJobBuilder()

public Job.Builder getJobBuilder()

The updated job. Only the job state is updatable; other fields will be ignored.

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

Returns
TypeDescription
Job.Builder

getJobId()

public String getJobId()

The job ID.

string job_id = 2;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The job ID.

string job_id = 2;

Returns
TypeDescription
ByteString

The bytes for jobId.

getJobOrBuilder()

public JobOrBuilder getJobOrBuilder()

The updated job. Only the job state is updatable; other fields will be ignored.

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

Returns
TypeDescription
JobOrBuilder

getLocation()

public String getLocation()

The regional endpoint that contains this job.

string location = 4;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains this job.

string location = 4;

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.

hasJob()

public boolean hasJob()

The updated job. Only the job state is updatable; other fields will be ignored.

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

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(UpdateJobRequest other)

public UpdateJobRequest.Builder mergeFrom(UpdateJobRequest other)
Parameter
NameDescription
otherUpdateJobRequest
Returns
TypeDescription
UpdateJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJob(Job value)

public UpdateJobRequest.Builder mergeJob(Job value)

The updated job. Only the job state is updatable; other fields will be ignored.

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

Parameter
NameDescription
valueJob
Returns
TypeDescription
UpdateJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJob(Job value)

public UpdateJobRequest.Builder setJob(Job value)

The updated job. Only the job state is updatable; other fields will be ignored.

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

Parameter
NameDescription
valueJob
Returns
TypeDescription
UpdateJobRequest.Builder

setJob(Job.Builder builderForValue)

public UpdateJobRequest.Builder setJob(Job.Builder builderForValue)

The updated job. Only the job state is updatable; other fields will be ignored.

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

Parameter
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
UpdateJobRequest.Builder

setJobId(String value)

public UpdateJobRequest.Builder setJobId(String value)

The job ID.

string job_id = 2;

Parameter
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
UpdateJobRequest.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public UpdateJobRequest.Builder setJobIdBytes(ByteString value)

The job ID.

string job_id = 2;

Parameter
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
UpdateJobRequest.Builder

This builder for chaining.

setLocation(String value)

public UpdateJobRequest.Builder setLocation(String value)

The regional endpoint that contains this job.

string location = 4;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
UpdateJobRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public UpdateJobRequest.Builder setLocationBytes(ByteString value)

The regional endpoint that contains this job.

string location = 4;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
UpdateJobRequest.Builder

This builder for chaining.

setProjectId(String value)

public UpdateJobRequest.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
UpdateJobRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public UpdateJobRequest.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
UpdateJobRequest.Builder

This builder for chaining.

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

public UpdateJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateJobRequest.Builder
Overrides