Package com.google.dataflow.v1beta3
Class UpdateJobRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
com.google.dataflow.v1beta3.UpdateJobRequest.Builder
- All Implemented Interfaces:
UpdateJobRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateJobRequest
public static final class UpdateJobRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
implements UpdateJobRequestOrBuilder
Request to update a Cloud Dataflow job.Protobuf type
google.dataflow.v1beta3.UpdateJobRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearJob()The updated job.The job ID.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.The ID of the Cloud Platform project that the job belongs to.The list of fields to update relative to Job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetJob()The updated job.The updated job.getJobId()The job ID.com.google.protobuf.ByteStringThe job ID.The updated job.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.com.google.protobuf.ByteStringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.The ID of the Cloud Platform project that the job belongs to.com.google.protobuf.ByteStringThe ID of the Cloud Platform project that the job belongs to.com.google.protobuf.FieldMaskThe list of fields to update relative to Job.com.google.protobuf.FieldMask.BuilderThe list of fields to update relative to Job.com.google.protobuf.FieldMaskOrBuilderThe list of fields to update relative to Job.booleanhasJob()The updated job.booleanThe list of fields to update relative to Job.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UpdateJobRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The updated job.mergeUpdateMask(com.google.protobuf.FieldMask value) The list of fields to update relative to Job.The updated job.setJob(Job.Builder builderForValue) The updated job.The job ID.setJobIdBytes(com.google.protobuf.ByteString value) The job ID.setLocation(String value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.setLocationBytes(com.google.protobuf.ByteString value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.setProjectId(String value) The ID of the Cloud Platform project that the job belongs to.setProjectIdBytes(com.google.protobuf.ByteString value) The ID of the Cloud Platform project that the job belongs to.setUpdateMask(com.google.protobuf.FieldMask value) The list of fields to update relative to Job.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) The list of fields to update relative to Job.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateJobRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
-
mergeFrom
public UpdateJobRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateJobRequest.Builder>- Throws:
IOException
-
getProjectId
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceUpdateJobRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceUpdateJobRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getJobId
The job ID.
string job_id = 2;- Specified by:
getJobIdin interfaceUpdateJobRequestOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()The job ID.
string job_id = 2;- Specified by:
getJobIdBytesin interfaceUpdateJobRequestOrBuilder- Returns:
- The bytes for jobId.
-
setJobId
The job ID.
string job_id = 2;- Parameters:
value- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
The job ID.
string job_id = 2;- Returns:
- This builder for chaining.
-
setJobIdBytes
The job ID.
string job_id = 2;- Parameters:
value- The bytes for jobId to set.- Returns:
- This builder for chaining.
-
hasJob
public boolean hasJob()The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3;- Specified by:
hasJobin interfaceUpdateJobRequestOrBuilder- Returns:
- Whether the job field is set.
-
getJob
The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3;- Specified by:
getJobin interfaceUpdateJobRequestOrBuilder- Returns:
- The job.
-
setJob
The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3; -
setJob
The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3; -
mergeJob
The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3; -
clearJob
The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3; -
getJobBuilder
The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3; -
getJobOrBuilder
The updated job. Only the job state is updatable; other fields will be ignored.
.google.dataflow.v1beta3.Job job = 3;- Specified by:
getJobOrBuilderin interfaceUpdateJobRequestOrBuilder
-
getLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 4;- Specified by:
getLocationin interfaceUpdateJobRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 4;- Specified by:
getLocationBytesin interfaceUpdateJobRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 4;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 4;- Returns:
- This builder for chaining.
-
setLocationBytes
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 4;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
hasUpdateMask
public boolean hasUpdateMask()The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5;- Specified by:
hasUpdateMaskin interfaceUpdateJobRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5;- Specified by:
getUpdateMaskin interfaceUpdateJobRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5; -
setUpdateMask
public UpdateJobRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5; -
mergeUpdateMask
The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5; -
clearUpdateMask
The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5; -
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5; -
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask.
optional .google.protobuf.FieldMask update_mask = 5;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateJobRequestOrBuilder
-