Class Batch.StateHistory.Builder

    • 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<Batch.StateHistory.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public Batch.StateHistory.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<Batch.StateHistory.Builder>
        Throws:
        IOException
      • getStateValue

        public int getStateValue()
         Output only. The state of the batch at this point in history.
         
        .google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface Batch.StateHistoryOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Batch.StateHistory.Builder setStateValue​(int value)
         Output only. The state of the batch at this point in history.
         
        .google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Batch.State getState()
         Output only. The state of the batch at this point in history.
         
        .google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface Batch.StateHistoryOrBuilder
        Returns:
        The state.
      • setState

        public Batch.StateHistory.Builder setState​(Batch.State value)
         Output only. The state of the batch at this point in history.
         
        .google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Batch.StateHistory.Builder clearState()
         Output only. The state of the batch at this point in history.
         
        .google.cloud.dataproc.v1.Batch.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getStateMessage

        public String getStateMessage()
         Output only. Details about the state at this point in history.
         
        string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateMessage in interface Batch.StateHistoryOrBuilder
        Returns:
        The stateMessage.
      • getStateMessageBytes

        public com.google.protobuf.ByteString getStateMessageBytes()
         Output only. Details about the state at this point in history.
         
        string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateMessageBytes in interface Batch.StateHistoryOrBuilder
        Returns:
        The bytes for stateMessage.
      • setStateMessage

        public Batch.StateHistory.Builder setStateMessage​(String value)
         Output only. Details about the state at this point in history.
         
        string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The stateMessage to set.
        Returns:
        This builder for chaining.
      • clearStateMessage

        public Batch.StateHistory.Builder clearStateMessage()
         Output only. Details about the state at this point in history.
         
        string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setStateMessageBytes

        public Batch.StateHistory.Builder setStateMessageBytes​(com.google.protobuf.ByteString value)
         Output only. Details about the state at this point in history.
         
        string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for stateMessage to set.
        Returns:
        This builder for chaining.
      • hasStateStartTime

        public boolean hasStateStartTime()
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStateStartTime in interface Batch.StateHistoryOrBuilder
        Returns:
        Whether the stateStartTime field is set.
      • getStateStartTime

        public com.google.protobuf.Timestamp getStateStartTime()
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateStartTime in interface Batch.StateHistoryOrBuilder
        Returns:
        The stateStartTime.
      • setStateStartTime

        public Batch.StateHistory.Builder setStateStartTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setStateStartTime

        public Batch.StateHistory.Builder setStateStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeStateStartTime

        public Batch.StateHistory.Builder mergeStateStartTime​(com.google.protobuf.Timestamp value)
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearStateStartTime

        public Batch.StateHistory.Builder clearStateStartTime()
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStateStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStateStartTimeBuilder()
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStateStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder()
         Output only. The time when the batch entered the historical state.
         
        .google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateStartTimeOrBuilder in interface Batch.StateHistoryOrBuilder
      • setUnknownFields

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

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