Class ExecutionStageState.Builder

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

    public static final class ExecutionStageState.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ExecutionStageState.Builder>
    implements ExecutionStageStateOrBuilder
     A message describing the state of a particular execution stage.
     
    Protobuf type google.dataflow.v1beta3.ExecutionStageState
    • 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<ExecutionStageState.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public ExecutionStageState.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<ExecutionStageState.Builder>
        Throws:
        IOException
      • getExecutionStageNameBytes

        public com.google.protobuf.ByteString getExecutionStageNameBytes()
         The name of the execution stage.
         
        string execution_stage_name = 1;
        Specified by:
        getExecutionStageNameBytes in interface ExecutionStageStateOrBuilder
        Returns:
        The bytes for executionStageName.
      • setExecutionStageName

        public ExecutionStageState.Builder setExecutionStageName​(String value)
         The name of the execution stage.
         
        string execution_stage_name = 1;
        Parameters:
        value - The executionStageName to set.
        Returns:
        This builder for chaining.
      • clearExecutionStageName

        public ExecutionStageState.Builder clearExecutionStageName()
         The name of the execution stage.
         
        string execution_stage_name = 1;
        Returns:
        This builder for chaining.
      • setExecutionStageNameBytes

        public ExecutionStageState.Builder setExecutionStageNameBytes​(com.google.protobuf.ByteString value)
         The name of the execution stage.
         
        string execution_stage_name = 1;
        Parameters:
        value - The bytes for executionStageName to set.
        Returns:
        This builder for chaining.
      • getExecutionStageStateValue

        public int getExecutionStageStateValue()
         Executions stage states allow the same set of values as JobState.
         
        .google.dataflow.v1beta3.JobState execution_stage_state = 2;
        Specified by:
        getExecutionStageStateValue in interface ExecutionStageStateOrBuilder
        Returns:
        The enum numeric value on the wire for executionStageState.
      • setExecutionStageStateValue

        public ExecutionStageState.Builder setExecutionStageStateValue​(int value)
         Executions stage states allow the same set of values as JobState.
         
        .google.dataflow.v1beta3.JobState execution_stage_state = 2;
        Parameters:
        value - The enum numeric value on the wire for executionStageState to set.
        Returns:
        This builder for chaining.
      • getExecutionStageState

        public JobState getExecutionStageState()
         Executions stage states allow the same set of values as JobState.
         
        .google.dataflow.v1beta3.JobState execution_stage_state = 2;
        Specified by:
        getExecutionStageState in interface ExecutionStageStateOrBuilder
        Returns:
        The executionStageState.
      • setExecutionStageState

        public ExecutionStageState.Builder setExecutionStageState​(JobState value)
         Executions stage states allow the same set of values as JobState.
         
        .google.dataflow.v1beta3.JobState execution_stage_state = 2;
        Parameters:
        value - The executionStageState to set.
        Returns:
        This builder for chaining.
      • clearExecutionStageState

        public ExecutionStageState.Builder clearExecutionStageState()
         Executions stage states allow the same set of values as JobState.
         
        .google.dataflow.v1beta3.JobState execution_stage_state = 2;
        Returns:
        This builder for chaining.
      • hasCurrentStateTime

        public boolean hasCurrentStateTime()
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
        Specified by:
        hasCurrentStateTime in interface ExecutionStageStateOrBuilder
        Returns:
        Whether the currentStateTime field is set.
      • getCurrentStateTime

        public com.google.protobuf.Timestamp getCurrentStateTime()
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
        Specified by:
        getCurrentStateTime in interface ExecutionStageStateOrBuilder
        Returns:
        The currentStateTime.
      • setCurrentStateTime

        public ExecutionStageState.Builder setCurrentStateTime​(com.google.protobuf.Timestamp value)
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
      • setCurrentStateTime

        public ExecutionStageState.Builder setCurrentStateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
      • mergeCurrentStateTime

        public ExecutionStageState.Builder mergeCurrentStateTime​(com.google.protobuf.Timestamp value)
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
      • clearCurrentStateTime

        public ExecutionStageState.Builder clearCurrentStateTime()
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
      • getCurrentStateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCurrentStateTimeBuilder()
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
      • getCurrentStateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCurrentStateTimeOrBuilder()
         The time at which the stage transitioned to this state.
         
        .google.protobuf.Timestamp current_state_time = 3;
        Specified by:
        getCurrentStateTimeOrBuilder in interface ExecutionStageStateOrBuilder
      • setUnknownFields

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

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