Class Job.Builder

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

    public static final class Job.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
    implements JobOrBuilder
     Defines a job to be run by the Cloud Dataflow service.
     
    Protobuf type google.dataflow.v1beta3.Job
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Job.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<Job.Builder>
        Throws:
        IOException
      • getId

        public String getId()
         The unique ID of this job.
        
         This field is set by the Cloud Dataflow service when the Job is
         created, and is immutable for the life of the job.
         
        string id = 1;
        Specified by:
        getId in interface JobOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         The unique ID of this job.
        
         This field is set by the Cloud Dataflow service when the Job is
         created, and is immutable for the life of the job.
         
        string id = 1;
        Specified by:
        getIdBytes in interface JobOrBuilder
        Returns:
        The bytes for id.
      • setId

        public Job.Builder setId​(String value)
         The unique ID of this job.
        
         This field is set by the Cloud Dataflow service when the Job is
         created, and is immutable for the life of the job.
         
        string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Job.Builder clearId()
         The unique ID of this job.
        
         This field is set by the Cloud Dataflow service when the Job is
         created, and is immutable for the life of the job.
         
        string id = 1;
        Returns:
        This builder for chaining.
      • setIdBytes

        public Job.Builder setIdBytes​(com.google.protobuf.ByteString value)
         The unique ID of this job.
        
         This field is set by the Cloud Dataflow service when the Job is
         created, and is immutable for the life of the job.
         
        string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getProjectId

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

        public Job.Builder setProjectId​(String value)
         The ID of the Cloud Platform project that the job belongs to.
         
        string project_id = 2;
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

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

        public Job.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
         The ID of the Cloud Platform project that the job belongs to.
         
        string project_id = 2;
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getName

        public String getName()
         The user-specified Cloud Dataflow job name.
        
         Only one Job with a given name may exist in a project at any
         given time. If a caller attempts to create a Job with the same
         name as an already-existing Job, the attempt returns the
         existing Job.
        
         The name must match the regular expression
         `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
         
        string name = 3;
        Specified by:
        getName in interface JobOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The user-specified Cloud Dataflow job name.
        
         Only one Job with a given name may exist in a project at any
         given time. If a caller attempts to create a Job with the same
         name as an already-existing Job, the attempt returns the
         existing Job.
        
         The name must match the regular expression
         `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
         
        string name = 3;
        Specified by:
        getNameBytes in interface JobOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Job.Builder setName​(String value)
         The user-specified Cloud Dataflow job name.
        
         Only one Job with a given name may exist in a project at any
         given time. If a caller attempts to create a Job with the same
         name as an already-existing Job, the attempt returns the
         existing Job.
        
         The name must match the regular expression
         `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
         
        string name = 3;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Job.Builder clearName()
         The user-specified Cloud Dataflow job name.
        
         Only one Job with a given name may exist in a project at any
         given time. If a caller attempts to create a Job with the same
         name as an already-existing Job, the attempt returns the
         existing Job.
        
         The name must match the regular expression
         `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
         
        string name = 3;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Job.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The user-specified Cloud Dataflow job name.
        
         Only one Job with a given name may exist in a project at any
         given time. If a caller attempts to create a Job with the same
         name as an already-existing Job, the attempt returns the
         existing Job.
        
         The name must match the regular expression
         `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`
         
        string name = 3;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         The type of Cloud Dataflow job.
         
        .google.dataflow.v1beta3.JobType type = 4;
        Specified by:
        getTypeValue in interface JobOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public Job.Builder setTypeValue​(int value)
         The type of Cloud Dataflow job.
         
        .google.dataflow.v1beta3.JobType type = 4;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        public JobType getType()
         The type of Cloud Dataflow job.
         
        .google.dataflow.v1beta3.JobType type = 4;
        Specified by:
        getType in interface JobOrBuilder
        Returns:
        The type.
      • setType

        public Job.Builder setType​(JobType value)
         The type of Cloud Dataflow job.
         
        .google.dataflow.v1beta3.JobType type = 4;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Job.Builder clearType()
         The type of Cloud Dataflow job.
         
        .google.dataflow.v1beta3.JobType type = 4;
        Returns:
        This builder for chaining.
      • hasEnvironment

        public boolean hasEnvironment()
         The environment for the job.
         
        .google.dataflow.v1beta3.Environment environment = 5;
        Specified by:
        hasEnvironment in interface JobOrBuilder
        Returns:
        Whether the environment field is set.
      • getEnvironment

        public Environment getEnvironment()
         The environment for the job.
         
        .google.dataflow.v1beta3.Environment environment = 5;
        Specified by:
        getEnvironment in interface JobOrBuilder
        Returns:
        The environment.
      • setEnvironment

        public Job.Builder setEnvironment​(Environment value)
         The environment for the job.
         
        .google.dataflow.v1beta3.Environment environment = 5;
      • setEnvironment

        public Job.Builder setEnvironment​(Environment.Builder builderForValue)
         The environment for the job.
         
        .google.dataflow.v1beta3.Environment environment = 5;
      • mergeEnvironment

        public Job.Builder mergeEnvironment​(Environment value)
         The environment for the job.
         
        .google.dataflow.v1beta3.Environment environment = 5;
      • clearEnvironment

        public Job.Builder clearEnvironment()
         The environment for the job.
         
        .google.dataflow.v1beta3.Environment environment = 5;
      • getEnvironmentBuilder

        public Environment.Builder getEnvironmentBuilder()
         The environment for the job.
         
        .google.dataflow.v1beta3.Environment environment = 5;
      • getStepsList

        public List<Step> getStepsList()
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
        Specified by:
        getStepsList in interface JobOrBuilder
      • getStepsCount

        public int getStepsCount()
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
        Specified by:
        getStepsCount in interface JobOrBuilder
      • getSteps

        public Step getSteps​(int index)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
        Specified by:
        getSteps in interface JobOrBuilder
      • setSteps

        public Job.Builder setSteps​(int index,
                                    Step value)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • setSteps

        public Job.Builder setSteps​(int index,
                                    Step.Builder builderForValue)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • addSteps

        public Job.Builder addSteps​(Step value)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • addSteps

        public Job.Builder addSteps​(int index,
                                    Step value)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • addSteps

        public Job.Builder addSteps​(Step.Builder builderForValue)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • addSteps

        public Job.Builder addSteps​(int index,
                                    Step.Builder builderForValue)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • addAllSteps

        public Job.Builder addAllSteps​(Iterable<? extends Step> values)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • clearSteps

        public Job.Builder clearSteps()
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • removeSteps

        public Job.Builder removeSteps​(int index)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • getStepsBuilder

        public Step.Builder getStepsBuilder​(int index)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • getStepsOrBuilder

        public StepOrBuilder getStepsOrBuilder​(int index)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
        Specified by:
        getStepsOrBuilder in interface JobOrBuilder
      • getStepsOrBuilderList

        public List<? extends StepOrBuilder> getStepsOrBuilderList()
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
        Specified by:
        getStepsOrBuilderList in interface JobOrBuilder
      • addStepsBuilder

        public Step.Builder addStepsBuilder()
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • addStepsBuilder

        public Step.Builder addStepsBuilder​(int index)
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • getStepsBuilderList

        public List<Step.Builder> getStepsBuilderList()
         Exactly one of step or steps_location should be specified.
        
         The top-level steps that constitute the entire job. Only retrieved with
         JOB_VIEW_ALL.
         
        repeated .google.dataflow.v1beta3.Step steps = 6;
      • getStepsLocation

        public String getStepsLocation()
         The Cloud Storage location where the steps are stored.
         
        string steps_location = 24;
        Specified by:
        getStepsLocation in interface JobOrBuilder
        Returns:
        The stepsLocation.
      • getStepsLocationBytes

        public com.google.protobuf.ByteString getStepsLocationBytes()
         The Cloud Storage location where the steps are stored.
         
        string steps_location = 24;
        Specified by:
        getStepsLocationBytes in interface JobOrBuilder
        Returns:
        The bytes for stepsLocation.
      • setStepsLocation

        public Job.Builder setStepsLocation​(String value)
         The Cloud Storage location where the steps are stored.
         
        string steps_location = 24;
        Parameters:
        value - The stepsLocation to set.
        Returns:
        This builder for chaining.
      • clearStepsLocation

        public Job.Builder clearStepsLocation()
         The Cloud Storage location where the steps are stored.
         
        string steps_location = 24;
        Returns:
        This builder for chaining.
      • setStepsLocationBytes

        public Job.Builder setStepsLocationBytes​(com.google.protobuf.ByteString value)
         The Cloud Storage location where the steps are stored.
         
        string steps_location = 24;
        Parameters:
        value - The bytes for stepsLocation to set.
        Returns:
        This builder for chaining.
      • getCurrentStateValue

        public int getCurrentStateValue()
         The current state of the job.
        
         Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise
         specified.
        
         A job in the `JOB_STATE_RUNNING` state may asynchronously enter a
         terminal state. After a job has reached a terminal state, no
         further state updates may be made.
        
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        .google.dataflow.v1beta3.JobState current_state = 7;
        Specified by:
        getCurrentStateValue in interface JobOrBuilder
        Returns:
        The enum numeric value on the wire for currentState.
      • setCurrentStateValue

        public Job.Builder setCurrentStateValue​(int value)
         The current state of the job.
        
         Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise
         specified.
        
         A job in the `JOB_STATE_RUNNING` state may asynchronously enter a
         terminal state. After a job has reached a terminal state, no
         further state updates may be made.
        
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        .google.dataflow.v1beta3.JobState current_state = 7;
        Parameters:
        value - The enum numeric value on the wire for currentState to set.
        Returns:
        This builder for chaining.
      • getCurrentState

        public JobState getCurrentState()
         The current state of the job.
        
         Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise
         specified.
        
         A job in the `JOB_STATE_RUNNING` state may asynchronously enter a
         terminal state. After a job has reached a terminal state, no
         further state updates may be made.
        
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        .google.dataflow.v1beta3.JobState current_state = 7;
        Specified by:
        getCurrentState in interface JobOrBuilder
        Returns:
        The currentState.
      • setCurrentState

        public Job.Builder setCurrentState​(JobState value)
         The current state of the job.
        
         Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise
         specified.
        
         A job in the `JOB_STATE_RUNNING` state may asynchronously enter a
         terminal state. After a job has reached a terminal state, no
         further state updates may be made.
        
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        .google.dataflow.v1beta3.JobState current_state = 7;
        Parameters:
        value - The currentState to set.
        Returns:
        This builder for chaining.
      • clearCurrentState

        public Job.Builder clearCurrentState()
         The current state of the job.
        
         Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise
         specified.
        
         A job in the `JOB_STATE_RUNNING` state may asynchronously enter a
         terminal state. After a job has reached a terminal state, no
         further state updates may be made.
        
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        .google.dataflow.v1beta3.JobState current_state = 7;
        Returns:
        This builder for chaining.
      • hasCurrentStateTime

        public boolean hasCurrentStateTime()
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
        Specified by:
        hasCurrentStateTime in interface JobOrBuilder
        Returns:
        Whether the currentStateTime field is set.
      • getCurrentStateTime

        public com.google.protobuf.Timestamp getCurrentStateTime()
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
        Specified by:
        getCurrentStateTime in interface JobOrBuilder
        Returns:
        The currentStateTime.
      • setCurrentStateTime

        public Job.Builder setCurrentStateTime​(com.google.protobuf.Timestamp value)
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
      • setCurrentStateTime

        public Job.Builder setCurrentStateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
      • mergeCurrentStateTime

        public Job.Builder mergeCurrentStateTime​(com.google.protobuf.Timestamp value)
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
      • clearCurrentStateTime

        public Job.Builder clearCurrentStateTime()
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
      • getCurrentStateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCurrentStateTimeBuilder()
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
      • getCurrentStateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCurrentStateTimeOrBuilder()
         The timestamp associated with the current state.
         
        .google.protobuf.Timestamp current_state_time = 8;
        Specified by:
        getCurrentStateTimeOrBuilder in interface JobOrBuilder
      • getRequestedStateValue

        public int getRequestedStateValue()
         The job's requested state.
        
         `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and
         `JOB_STATE_RUNNING` states, by setting requested_state.  `UpdateJob` may
         also be used to directly set a job's requested state to
         `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the
         job if it has not already reached a terminal state.
         
        .google.dataflow.v1beta3.JobState requested_state = 9;
        Specified by:
        getRequestedStateValue in interface JobOrBuilder
        Returns:
        The enum numeric value on the wire for requestedState.
      • setRequestedStateValue

        public Job.Builder setRequestedStateValue​(int value)
         The job's requested state.
        
         `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and
         `JOB_STATE_RUNNING` states, by setting requested_state.  `UpdateJob` may
         also be used to directly set a job's requested state to
         `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the
         job if it has not already reached a terminal state.
         
        .google.dataflow.v1beta3.JobState requested_state = 9;
        Parameters:
        value - The enum numeric value on the wire for requestedState to set.
        Returns:
        This builder for chaining.
      • getRequestedState

        public JobState getRequestedState()
         The job's requested state.
        
         `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and
         `JOB_STATE_RUNNING` states, by setting requested_state.  `UpdateJob` may
         also be used to directly set a job's requested state to
         `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the
         job if it has not already reached a terminal state.
         
        .google.dataflow.v1beta3.JobState requested_state = 9;
        Specified by:
        getRequestedState in interface JobOrBuilder
        Returns:
        The requestedState.
      • setRequestedState

        public Job.Builder setRequestedState​(JobState value)
         The job's requested state.
        
         `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and
         `JOB_STATE_RUNNING` states, by setting requested_state.  `UpdateJob` may
         also be used to directly set a job's requested state to
         `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the
         job if it has not already reached a terminal state.
         
        .google.dataflow.v1beta3.JobState requested_state = 9;
        Parameters:
        value - The requestedState to set.
        Returns:
        This builder for chaining.
      • clearRequestedState

        public Job.Builder clearRequestedState()
         The job's requested state.
        
         `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and
         `JOB_STATE_RUNNING` states, by setting requested_state.  `UpdateJob` may
         also be used to directly set a job's requested state to
         `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the
         job if it has not already reached a terminal state.
         
        .google.dataflow.v1beta3.JobState requested_state = 9;
        Returns:
        This builder for chaining.
      • hasExecutionInfo

        public boolean hasExecutionInfo()
         Deprecated.
         
        .google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;
        Specified by:
        hasExecutionInfo in interface JobOrBuilder
        Returns:
        Whether the executionInfo field is set.
      • getExecutionInfo

        public JobExecutionInfo getExecutionInfo()
         Deprecated.
         
        .google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;
        Specified by:
        getExecutionInfo in interface JobOrBuilder
        Returns:
        The executionInfo.
      • setExecutionInfo

        public Job.Builder setExecutionInfo​(JobExecutionInfo value)
         Deprecated.
         
        .google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;
      • setExecutionInfo

        public Job.Builder setExecutionInfo​(JobExecutionInfo.Builder builderForValue)
         Deprecated.
         
        .google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;
      • mergeExecutionInfo

        public Job.Builder mergeExecutionInfo​(JobExecutionInfo value)
         Deprecated.
         
        .google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;
      • clearExecutionInfo

        public Job.Builder clearExecutionInfo()
         Deprecated.
         
        .google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;
      • getExecutionInfoBuilder

        public JobExecutionInfo.Builder getExecutionInfoBuilder()
         Deprecated.
         
        .google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;
      • hasCreateTime

        public boolean hasCreateTime()
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
        Specified by:
        hasCreateTime in interface JobOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
        Specified by:
        getCreateTime in interface JobOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Job.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
      • setCreateTime

        public Job.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
      • mergeCreateTime

        public Job.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
      • clearCreateTime

        public Job.Builder clearCreateTime()
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The timestamp when the job was initially created. Immutable and set by the
         Cloud Dataflow service.
         
        .google.protobuf.Timestamp create_time = 11;
        Specified by:
        getCreateTimeOrBuilder in interface JobOrBuilder
      • getReplaceJobId

        public String getReplaceJobId()
         If this job is an update of an existing job, this field is the job ID
         of the job it replaced.
        
         When sending a `CreateJobRequest`, you can update a job by specifying it
         here. The job named here is stopped, and its intermediate state is
         transferred to this job.
         
        string replace_job_id = 12;
        Specified by:
        getReplaceJobId in interface JobOrBuilder
        Returns:
        The replaceJobId.
      • getReplaceJobIdBytes

        public com.google.protobuf.ByteString getReplaceJobIdBytes()
         If this job is an update of an existing job, this field is the job ID
         of the job it replaced.
        
         When sending a `CreateJobRequest`, you can update a job by specifying it
         here. The job named here is stopped, and its intermediate state is
         transferred to this job.
         
        string replace_job_id = 12;
        Specified by:
        getReplaceJobIdBytes in interface JobOrBuilder
        Returns:
        The bytes for replaceJobId.
      • setReplaceJobId

        public Job.Builder setReplaceJobId​(String value)
         If this job is an update of an existing job, this field is the job ID
         of the job it replaced.
        
         When sending a `CreateJobRequest`, you can update a job by specifying it
         here. The job named here is stopped, and its intermediate state is
         transferred to this job.
         
        string replace_job_id = 12;
        Parameters:
        value - The replaceJobId to set.
        Returns:
        This builder for chaining.
      • clearReplaceJobId

        public Job.Builder clearReplaceJobId()
         If this job is an update of an existing job, this field is the job ID
         of the job it replaced.
        
         When sending a `CreateJobRequest`, you can update a job by specifying it
         here. The job named here is stopped, and its intermediate state is
         transferred to this job.
         
        string replace_job_id = 12;
        Returns:
        This builder for chaining.
      • setReplaceJobIdBytes

        public Job.Builder setReplaceJobIdBytes​(com.google.protobuf.ByteString value)
         If this job is an update of an existing job, this field is the job ID
         of the job it replaced.
        
         When sending a `CreateJobRequest`, you can update a job by specifying it
         here. The job named here is stopped, and its intermediate state is
         transferred to this job.
         
        string replace_job_id = 12;
        Parameters:
        value - The bytes for replaceJobId to set.
        Returns:
        This builder for chaining.
      • getTransformNameMappingCount

        public int getTransformNameMappingCount()
        Description copied from interface: JobOrBuilder
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
        Specified by:
        getTransformNameMappingCount in interface JobOrBuilder
      • containsTransformNameMapping

        public boolean containsTransformNameMapping​(String key)
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
        Specified by:
        containsTransformNameMapping in interface JobOrBuilder
      • getTransformNameMappingMap

        public Map<String,​String> getTransformNameMappingMap()
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
        Specified by:
        getTransformNameMappingMap in interface JobOrBuilder
      • getTransformNameMappingOrDefault

        public String getTransformNameMappingOrDefault​(String key,
                                                       String defaultValue)
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
        Specified by:
        getTransformNameMappingOrDefault in interface JobOrBuilder
      • getTransformNameMappingOrThrow

        public String getTransformNameMappingOrThrow​(String key)
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
        Specified by:
        getTransformNameMappingOrThrow in interface JobOrBuilder
      • clearTransformNameMapping

        public Job.Builder clearTransformNameMapping()
      • removeTransformNameMapping

        public Job.Builder removeTransformNameMapping​(String key)
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
      • getMutableTransformNameMapping

        @Deprecated
        public Map<String,​String> getMutableTransformNameMapping()
        Deprecated.
        Use alternate mutation accessors instead.
      • putTransformNameMapping

        public Job.Builder putTransformNameMapping​(String key,
                                                   String value)
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
      • putAllTransformNameMapping

        public Job.Builder putAllTransformNameMapping​(Map<String,​String> values)
         The map of transform name prefixes of the job to be replaced to the
         corresponding name prefixes of the new job.
         
        map<string, string> transform_name_mapping = 13;
      • getClientRequestId

        public String getClientRequestId()
         The client's unique identifier of the job, re-used across retried attempts.
         If this field is set, the service will ensure its uniqueness.
         The request to create a job will fail if the service has knowledge of a
         previously submitted job with the same client's ID and job name.
         The caller may use this field to ensure idempotence of job
         creation across retried attempts to create a job.
         By default, the field is empty and, in that case, the service ignores it.
         
        string client_request_id = 14;
        Specified by:
        getClientRequestId in interface JobOrBuilder
        Returns:
        The clientRequestId.
      • getClientRequestIdBytes

        public com.google.protobuf.ByteString getClientRequestIdBytes()
         The client's unique identifier of the job, re-used across retried attempts.
         If this field is set, the service will ensure its uniqueness.
         The request to create a job will fail if the service has knowledge of a
         previously submitted job with the same client's ID and job name.
         The caller may use this field to ensure idempotence of job
         creation across retried attempts to create a job.
         By default, the field is empty and, in that case, the service ignores it.
         
        string client_request_id = 14;
        Specified by:
        getClientRequestIdBytes in interface JobOrBuilder
        Returns:
        The bytes for clientRequestId.
      • setClientRequestId

        public Job.Builder setClientRequestId​(String value)
         The client's unique identifier of the job, re-used across retried attempts.
         If this field is set, the service will ensure its uniqueness.
         The request to create a job will fail if the service has knowledge of a
         previously submitted job with the same client's ID and job name.
         The caller may use this field to ensure idempotence of job
         creation across retried attempts to create a job.
         By default, the field is empty and, in that case, the service ignores it.
         
        string client_request_id = 14;
        Parameters:
        value - The clientRequestId to set.
        Returns:
        This builder for chaining.
      • clearClientRequestId

        public Job.Builder clearClientRequestId()
         The client's unique identifier of the job, re-used across retried attempts.
         If this field is set, the service will ensure its uniqueness.
         The request to create a job will fail if the service has knowledge of a
         previously submitted job with the same client's ID and job name.
         The caller may use this field to ensure idempotence of job
         creation across retried attempts to create a job.
         By default, the field is empty and, in that case, the service ignores it.
         
        string client_request_id = 14;
        Returns:
        This builder for chaining.
      • setClientRequestIdBytes

        public Job.Builder setClientRequestIdBytes​(com.google.protobuf.ByteString value)
         The client's unique identifier of the job, re-used across retried attempts.
         If this field is set, the service will ensure its uniqueness.
         The request to create a job will fail if the service has knowledge of a
         previously submitted job with the same client's ID and job name.
         The caller may use this field to ensure idempotence of job
         creation across retried attempts to create a job.
         By default, the field is empty and, in that case, the service ignores it.
         
        string client_request_id = 14;
        Parameters:
        value - The bytes for clientRequestId to set.
        Returns:
        This builder for chaining.
      • getReplacedByJobId

        public String getReplacedByJobId()
         If another job is an update of this job (and thus, this job is in
         `JOB_STATE_UPDATED`), this field contains the ID of that job.
         
        string replaced_by_job_id = 15;
        Specified by:
        getReplacedByJobId in interface JobOrBuilder
        Returns:
        The replacedByJobId.
      • getReplacedByJobIdBytes

        public com.google.protobuf.ByteString getReplacedByJobIdBytes()
         If another job is an update of this job (and thus, this job is in
         `JOB_STATE_UPDATED`), this field contains the ID of that job.
         
        string replaced_by_job_id = 15;
        Specified by:
        getReplacedByJobIdBytes in interface JobOrBuilder
        Returns:
        The bytes for replacedByJobId.
      • setReplacedByJobId

        public Job.Builder setReplacedByJobId​(String value)
         If another job is an update of this job (and thus, this job is in
         `JOB_STATE_UPDATED`), this field contains the ID of that job.
         
        string replaced_by_job_id = 15;
        Parameters:
        value - The replacedByJobId to set.
        Returns:
        This builder for chaining.
      • clearReplacedByJobId

        public Job.Builder clearReplacedByJobId()
         If another job is an update of this job (and thus, this job is in
         `JOB_STATE_UPDATED`), this field contains the ID of that job.
         
        string replaced_by_job_id = 15;
        Returns:
        This builder for chaining.
      • setReplacedByJobIdBytes

        public Job.Builder setReplacedByJobIdBytes​(com.google.protobuf.ByteString value)
         If another job is an update of this job (and thus, this job is in
         `JOB_STATE_UPDATED`), this field contains the ID of that job.
         
        string replaced_by_job_id = 15;
        Parameters:
        value - The bytes for replacedByJobId to set.
        Returns:
        This builder for chaining.
      • getTempFilesList

        public com.google.protobuf.ProtocolStringList getTempFilesList()
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Specified by:
        getTempFilesList in interface JobOrBuilder
        Returns:
        A list containing the tempFiles.
      • getTempFilesCount

        public int getTempFilesCount()
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Specified by:
        getTempFilesCount in interface JobOrBuilder
        Returns:
        The count of tempFiles.
      • getTempFiles

        public String getTempFiles​(int index)
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Specified by:
        getTempFiles in interface JobOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tempFiles at the given index.
      • getTempFilesBytes

        public com.google.protobuf.ByteString getTempFilesBytes​(int index)
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Specified by:
        getTempFilesBytes in interface JobOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tempFiles at the given index.
      • setTempFiles

        public Job.Builder setTempFiles​(int index,
                                        String value)
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Parameters:
        index - The index to set the value at.
        value - The tempFiles to set.
        Returns:
        This builder for chaining.
      • addTempFiles

        public Job.Builder addTempFiles​(String value)
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Parameters:
        value - The tempFiles to add.
        Returns:
        This builder for chaining.
      • addAllTempFiles

        public Job.Builder addAllTempFiles​(Iterable<String> values)
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Parameters:
        values - The tempFiles to add.
        Returns:
        This builder for chaining.
      • clearTempFiles

        public Job.Builder clearTempFiles()
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Returns:
        This builder for chaining.
      • addTempFilesBytes

        public Job.Builder addTempFilesBytes​(com.google.protobuf.ByteString value)
         A set of files the system should be aware of that are used
         for temporary storage. These temporary files will be
         removed on job completion.
         No duplicates are allowed.
         No file patterns are supported.
        
         The supported files are:
        
         Google Cloud Storage:
        
            storage.googleapis.com/{bucket}/{object}
            bucket.storage.googleapis.com/{object}
         
        repeated string temp_files = 16;
        Parameters:
        value - The bytes of the tempFiles to add.
        Returns:
        This builder for chaining.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: JobOrBuilder
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
        Specified by:
        getLabelsCount in interface JobOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
        Specified by:
        containsLabels in interface JobOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
        Specified by:
        getLabelsMap in interface JobOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
        Specified by:
        getLabelsOrDefault in interface JobOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
        Specified by:
        getLabelsOrThrow in interface JobOrBuilder
      • removeLabels

        public Job.Builder removeLabels​(String key)
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Job.Builder putLabels​(String key,
                                     String value)
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
      • putAllLabels

        public Job.Builder putAllLabels​(Map<String,​String> values)
         User-defined labels for this job.
        
         The labels map can contain no more than 64 entries.  Entries of the labels
         map are UTF8 strings that comply with the following restrictions:
        
         * Keys must conform to regexp:  [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
         * Values must conform to regexp:  [\p{Ll}\p{Lo}\p{N}_-]{0,63}
         * Both keys and values are additionally constrained to be <= 128 bytes in
         size.
         
        map<string, string> labels = 17;
      • getLocation

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

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

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

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

        public boolean hasPipelineDescription()
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
        Specified by:
        hasPipelineDescription in interface JobOrBuilder
        Returns:
        Whether the pipelineDescription field is set.
      • getPipelineDescription

        public PipelineDescription getPipelineDescription()
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
        Specified by:
        getPipelineDescription in interface JobOrBuilder
        Returns:
        The pipelineDescription.
      • setPipelineDescription

        public Job.Builder setPipelineDescription​(PipelineDescription value)
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
      • setPipelineDescription

        public Job.Builder setPipelineDescription​(PipelineDescription.Builder builderForValue)
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
      • mergePipelineDescription

        public Job.Builder mergePipelineDescription​(PipelineDescription value)
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
      • clearPipelineDescription

        public Job.Builder clearPipelineDescription()
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
      • getPipelineDescriptionBuilder

        public PipelineDescription.Builder getPipelineDescriptionBuilder()
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
      • getPipelineDescriptionOrBuilder

        public PipelineDescriptionOrBuilder getPipelineDescriptionOrBuilder()
         Preliminary field: The format of this data may change at any time.
         A description of the user pipeline and stages through which it is executed.
         Created by Cloud Dataflow service.  Only retrieved with
         JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
         
        .google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;
        Specified by:
        getPipelineDescriptionOrBuilder in interface JobOrBuilder
      • getStageStatesList

        public List<ExecutionStageState> getStageStatesList()
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
        Specified by:
        getStageStatesList in interface JobOrBuilder
      • getStageStatesCount

        public int getStageStatesCount()
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
        Specified by:
        getStageStatesCount in interface JobOrBuilder
      • getStageStates

        public ExecutionStageState getStageStates​(int index)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
        Specified by:
        getStageStates in interface JobOrBuilder
      • setStageStates

        public Job.Builder setStageStates​(int index,
                                          ExecutionStageState value)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • setStageStates

        public Job.Builder setStageStates​(int index,
                                          ExecutionStageState.Builder builderForValue)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • addStageStates

        public Job.Builder addStageStates​(ExecutionStageState value)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • addStageStates

        public Job.Builder addStageStates​(int index,
                                          ExecutionStageState value)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • addStageStates

        public Job.Builder addStageStates​(ExecutionStageState.Builder builderForValue)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • addStageStates

        public Job.Builder addStageStates​(int index,
                                          ExecutionStageState.Builder builderForValue)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • addAllStageStates

        public Job.Builder addAllStageStates​(Iterable<? extends ExecutionStageState> values)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • clearStageStates

        public Job.Builder clearStageStates()
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • removeStageStates

        public Job.Builder removeStageStates​(int index)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • getStageStatesBuilder

        public ExecutionStageState.Builder getStageStatesBuilder​(int index)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • getStageStatesOrBuilder

        public ExecutionStageStateOrBuilder getStageStatesOrBuilder​(int index)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
        Specified by:
        getStageStatesOrBuilder in interface JobOrBuilder
      • addStageStatesBuilder

        public ExecutionStageState.Builder addStageStatesBuilder()
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • addStageStatesBuilder

        public ExecutionStageState.Builder addStageStatesBuilder​(int index)
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • getStageStatesBuilderList

        public List<ExecutionStageState.Builder> getStageStatesBuilderList()
         This field may be mutated by the Cloud Dataflow service;
         callers cannot mutate it.
         
        repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;
      • hasJobMetadata

        public boolean hasJobMetadata()
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
        Specified by:
        hasJobMetadata in interface JobOrBuilder
        Returns:
        Whether the jobMetadata field is set.
      • getJobMetadata

        public JobMetadata getJobMetadata()
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
        Specified by:
        getJobMetadata in interface JobOrBuilder
        Returns:
        The jobMetadata.
      • setJobMetadata

        public Job.Builder setJobMetadata​(JobMetadata value)
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
      • setJobMetadata

        public Job.Builder setJobMetadata​(JobMetadata.Builder builderForValue)
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
      • mergeJobMetadata

        public Job.Builder mergeJobMetadata​(JobMetadata value)
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
      • clearJobMetadata

        public Job.Builder clearJobMetadata()
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
      • getJobMetadataBuilder

        public JobMetadata.Builder getJobMetadataBuilder()
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
      • getJobMetadataOrBuilder

        public JobMetadataOrBuilder getJobMetadataOrBuilder()
         This field is populated by the Dataflow service to support filtering jobs
         by the metadata values provided here. Populated for ListJobs and all GetJob
         views SUMMARY and higher.
         
        .google.dataflow.v1beta3.JobMetadata job_metadata = 21;
        Specified by:
        getJobMetadataOrBuilder in interface JobOrBuilder
      • hasStartTime

        public boolean hasStartTime()
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
        Specified by:
        hasStartTime in interface JobOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
        Specified by:
        getStartTime in interface JobOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public Job.Builder setStartTime​(com.google.protobuf.Timestamp value)
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
      • setStartTime

        public Job.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
      • mergeStartTime

        public Job.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
      • clearStartTime

        public Job.Builder clearStartTime()
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
         Flexible resource scheduling jobs are started with some delay after job
         creation, so start_time is unset before start and is updated when the
         job is started by the Cloud Dataflow service. For other jobs, start_time
         always equals to create_time and is immutable and set by the Cloud Dataflow
         service.
         
        .google.protobuf.Timestamp start_time = 22;
        Specified by:
        getStartTimeOrBuilder in interface JobOrBuilder
      • getCreatedFromSnapshotId

        public String getCreatedFromSnapshotId()
         If this is specified, the job's initial state is populated from the given
         snapshot.
         
        string created_from_snapshot_id = 23;
        Specified by:
        getCreatedFromSnapshotId in interface JobOrBuilder
        Returns:
        The createdFromSnapshotId.
      • getCreatedFromSnapshotIdBytes

        public com.google.protobuf.ByteString getCreatedFromSnapshotIdBytes()
         If this is specified, the job's initial state is populated from the given
         snapshot.
         
        string created_from_snapshot_id = 23;
        Specified by:
        getCreatedFromSnapshotIdBytes in interface JobOrBuilder
        Returns:
        The bytes for createdFromSnapshotId.
      • setCreatedFromSnapshotId

        public Job.Builder setCreatedFromSnapshotId​(String value)
         If this is specified, the job's initial state is populated from the given
         snapshot.
         
        string created_from_snapshot_id = 23;
        Parameters:
        value - The createdFromSnapshotId to set.
        Returns:
        This builder for chaining.
      • clearCreatedFromSnapshotId

        public Job.Builder clearCreatedFromSnapshotId()
         If this is specified, the job's initial state is populated from the given
         snapshot.
         
        string created_from_snapshot_id = 23;
        Returns:
        This builder for chaining.
      • setCreatedFromSnapshotIdBytes

        public Job.Builder setCreatedFromSnapshotIdBytes​(com.google.protobuf.ByteString value)
         If this is specified, the job's initial state is populated from the given
         snapshot.
         
        string created_from_snapshot_id = 23;
        Parameters:
        value - The bytes for createdFromSnapshotId to set.
        Returns:
        This builder for chaining.
      • getSatisfiesPzs

        public boolean getSatisfiesPzs()
         Reserved for future use. This field is set only in responses from the
         server; it is ignored if it is set in any requests.
         
        bool satisfies_pzs = 25;
        Specified by:
        getSatisfiesPzs in interface JobOrBuilder
        Returns:
        The satisfiesPzs.
      • setSatisfiesPzs

        public Job.Builder setSatisfiesPzs​(boolean value)
         Reserved for future use. This field is set only in responses from the
         server; it is ignored if it is set in any requests.
         
        bool satisfies_pzs = 25;
        Parameters:
        value - The satisfiesPzs to set.
        Returns:
        This builder for chaining.
      • clearSatisfiesPzs

        public Job.Builder clearSatisfiesPzs()
         Reserved for future use. This field is set only in responses from the
         server; it is ignored if it is set in any requests.
         
        bool satisfies_pzs = 25;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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