Class CreateJobRequest.Builder

  • All Implemented Interfaces:
    CreateJobRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    CreateJobRequest

    public static final class CreateJobRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CreateJobRequest.Builder>
    implements CreateJobRequestOrBuilder
     Request to create a Cloud Dataflow job.
     
    Protobuf type google.dataflow.v1beta3.CreateJobRequest
    • 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<CreateJobRequest.Builder>
      • clear

        public CreateJobRequest.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<CreateJobRequest.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<CreateJobRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public CreateJobRequest.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<CreateJobRequest.Builder>
      • setField

        public CreateJobRequest.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<CreateJobRequest.Builder>
      • clearField

        public CreateJobRequest.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<CreateJobRequest.Builder>
      • clearOneof

        public CreateJobRequest.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<CreateJobRequest.Builder>
      • setRepeatedField

        public CreateJobRequest.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<CreateJobRequest.Builder>
      • addRepeatedField

        public CreateJobRequest.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<CreateJobRequest.Builder>
      • mergeFrom

        public CreateJobRequest.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<CreateJobRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateJobRequest.Builder>
      • mergeFrom

        public CreateJobRequest.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<CreateJobRequest.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 CreateJobRequestOrBuilder
        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 CreateJobRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public CreateJobRequest.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 CreateJobRequest.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 CreateJobRequest.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.
      • hasJob

        public boolean hasJob()
         The job to create.
         
        .google.dataflow.v1beta3.Job job = 2;
        Specified by:
        hasJob in interface CreateJobRequestOrBuilder
        Returns:
        Whether the job field is set.
      • getJobBuilder

        public Job.Builder getJobBuilder()
         The job to create.
         
        .google.dataflow.v1beta3.Job job = 2;
      • getViewValue

        public int getViewValue()
         The level of information requested in response.
         
        .google.dataflow.v1beta3.JobView view = 3;
        Specified by:
        getViewValue in interface CreateJobRequestOrBuilder
        Returns:
        The enum numeric value on the wire for view.
      • setViewValue

        public CreateJobRequest.Builder setViewValue​(int value)
         The level of information requested in response.
         
        .google.dataflow.v1beta3.JobView view = 3;
        Parameters:
        value - The enum numeric value on the wire for view to set.
        Returns:
        This builder for chaining.
      • getView

        public JobView getView()
         The level of information requested in response.
         
        .google.dataflow.v1beta3.JobView view = 3;
        Specified by:
        getView in interface CreateJobRequestOrBuilder
        Returns:
        The view.
      • setView

        public CreateJobRequest.Builder setView​(JobView value)
         The level of information requested in response.
         
        .google.dataflow.v1beta3.JobView view = 3;
        Parameters:
        value - The view to set.
        Returns:
        This builder for chaining.
      • clearView

        public CreateJobRequest.Builder clearView()
         The level of information requested in response.
         
        .google.dataflow.v1beta3.JobView view = 3;
        Returns:
        This builder for chaining.
      • getReplaceJobIdBytes

        public com.google.protobuf.ByteString getReplaceJobIdBytes()
         Deprecated. This field is now in the Job message.
         
        string replace_job_id = 4;
        Specified by:
        getReplaceJobIdBytes in interface CreateJobRequestOrBuilder
        Returns:
        The bytes for replaceJobId.
      • setReplaceJobId

        public CreateJobRequest.Builder setReplaceJobId​(String value)
         Deprecated. This field is now in the Job message.
         
        string replace_job_id = 4;
        Parameters:
        value - The replaceJobId to set.
        Returns:
        This builder for chaining.
      • clearReplaceJobId

        public CreateJobRequest.Builder clearReplaceJobId()
         Deprecated. This field is now in the Job message.
         
        string replace_job_id = 4;
        Returns:
        This builder for chaining.
      • setReplaceJobIdBytes

        public CreateJobRequest.Builder setReplaceJobIdBytes​(com.google.protobuf.ByteString value)
         Deprecated. This field is now in the Job message.
         
        string replace_job_id = 4;
        Parameters:
        value - The bytes for replaceJobId to set.
        Returns:
        This builder for chaining.
      • getLocation

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

        public CreateJobRequest.Builder setLocation​(String value)
         The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
         contains this job.
         
        string location = 5;
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public CreateJobRequest.Builder clearLocation()
         The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
         contains this job.
         
        string location = 5;
        Returns:
        This builder for chaining.
      • setLocationBytes

        public CreateJobRequest.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 = 5;
        Parameters:
        value - The bytes for location to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateJobRequest.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<CreateJobRequest.Builder>
      • mergeUnknownFields

        public final CreateJobRequest.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<CreateJobRequest.Builder>