Class 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.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>
    implements UpdateJobRequestOrBuilder
     Request to update a Cloud Dataflow job.
     
    Protobuf type google.dataflow.v1beta3.UpdateJobRequest
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public UpdateJobRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>
      • setField

        public UpdateJobRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>
      • clearField

        public UpdateJobRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>
      • clearOneof

        public UpdateJobRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>
      • setRepeatedField

        public UpdateJobRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>
      • addRepeatedField

        public UpdateJobRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • 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;
      • 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.
      • setUnknownFields

        public final UpdateJobRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>
      • mergeUnknownFields

        public final UpdateJobRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateJobRequest.Builder>