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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
    • clear

      public UpdateJobRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateJobRequest.Builder>
    • getDefaultInstanceForType

      public UpdateJobRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdateJobRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateJobRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateJobRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateJobRequest.Builder>
    • mergeFrom

      public UpdateJobRequest.Builder mergeFrom(UpdateJobRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateJobRequest.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Specified by:
      getProjectId in interface UpdateJobRequestOrBuilder
      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:
      getProjectIdBytes in interface UpdateJobRequestOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public UpdateJobRequest.Builder setProjectId(String value)
       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

      public UpdateJobRequest.Builder clearProjectId()
       The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public UpdateJobRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       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

      public String getJobId()
       The job ID.
       
      string job_id = 2;
      Specified by:
      getJobId in interface UpdateJobRequestOrBuilder
      Returns:
      The jobId.
    • getJobIdBytes

      public com.google.protobuf.ByteString getJobIdBytes()
       The job ID.
       
      string job_id = 2;
      Specified by:
      getJobIdBytes in interface UpdateJobRequestOrBuilder
      Returns:
      The bytes for jobId.
    • setJobId

      public UpdateJobRequest.Builder setJobId(String value)
       The job ID.
       
      string job_id = 2;
      Parameters:
      value - The jobId to set.
      Returns:
      This builder for chaining.
    • clearJobId

      public UpdateJobRequest.Builder clearJobId()
       The job ID.
       
      string job_id = 2;
      Returns:
      This builder for chaining.
    • setJobIdBytes

      public UpdateJobRequest.Builder setJobIdBytes(com.google.protobuf.ByteString value)
       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:
      hasJob in interface UpdateJobRequestOrBuilder
      Returns:
      Whether the job field is set.
    • getJob

      public Job getJob()
       The updated job.
       Only the job state is updatable; other fields will be ignored.
       
      .google.dataflow.v1beta3.Job job = 3;
      Specified by:
      getJob in interface UpdateJobRequestOrBuilder
      Returns:
      The job.
    • setJob

      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;
    • setJob

      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;
    • mergeJob

      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;
    • 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;
    • 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;
    • getJobOrBuilder

      public JobOrBuilder getJobOrBuilder()
       The updated job.
       Only the job state is updatable; other fields will be ignored.
       
      .google.dataflow.v1beta3.Job job = 3;
      Specified by:
      getJobOrBuilder in interface UpdateJobRequestOrBuilder
    • getLocation

      public String getLocation()
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 4;
      Specified by:
      getLocation in interface UpdateJobRequestOrBuilder
      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:
      getLocationBytes in interface UpdateJobRequestOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public UpdateJobRequest.Builder setLocation(String value)
       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

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

      public UpdateJobRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
       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:
      hasUpdateMask in interface UpdateJobRequestOrBuilder
      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:
      getUpdateMask in interface UpdateJobRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateJobRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       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

      public UpdateJobRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       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

      public UpdateJobRequest.Builder 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:
      getUpdateMaskOrBuilder in interface UpdateJobRequestOrBuilder