Class BatchOperationInfo.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BatchOperationInfoOrBuilder, java.lang.Cloneable
    Enclosing class:
    BatchOperationInfo

    public static final class BatchOperationInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
    implements BatchOperationInfoOrBuilder
    Protobuf type temporal.api.batch.v1.BatchOperationInfo
    • 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<BatchOperationInfo.Builder>
      • clear

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

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

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

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

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

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

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

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

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

        public BatchOperationInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
      • mergeFrom

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

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

        public BatchOperationInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.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<BatchOperationInfo.Builder>
        Throws:
        java.io.IOException
      • getJobIdBytes

        public com.google.protobuf.ByteString getJobIdBytes()
         Batch job ID
         
        string job_id = 1;
        Specified by:
        getJobIdBytes in interface BatchOperationInfoOrBuilder
        Returns:
        The bytes for jobId.
      • setJobId

        public BatchOperationInfo.Builder setJobId​(java.lang.String value)
         Batch job ID
         
        string job_id = 1;
        Parameters:
        value - The jobId to set.
        Returns:
        This builder for chaining.
      • setJobIdBytes

        public BatchOperationInfo.Builder setJobIdBytes​(com.google.protobuf.ByteString value)
         Batch job ID
         
        string job_id = 1;
        Parameters:
        value - The bytes for jobId to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Batch operation state
         
        .temporal.api.enums.v1.BatchOperationState state = 2;
        Specified by:
        getStateValue in interface BatchOperationInfoOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public BatchOperationInfo.Builder setStateValue​(int value)
         Batch operation state
         
        .temporal.api.enums.v1.BatchOperationState state = 2;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public BatchOperationInfo.Builder setState​(BatchOperationState value)
         Batch operation state
         
        .temporal.api.enums.v1.BatchOperationState state = 2;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public BatchOperationInfo.Builder clearState()
         Batch operation state
         
        .temporal.api.enums.v1.BatchOperationState state = 2;
        Returns:
        This builder for chaining.
      • hasStartTime

        public boolean hasStartTime()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
        Specified by:
        hasStartTime in interface BatchOperationInfoOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
        Specified by:
        getStartTime in interface BatchOperationInfoOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public BatchOperationInfo.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • setStartTime

        public BatchOperationInfo.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • mergeStartTime

        public BatchOperationInfo.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • clearStartTime

        public BatchOperationInfo.Builder clearStartTime()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 3 [(.gogoproto.stdtime) = true];
        Specified by:
        getStartTimeOrBuilder in interface BatchOperationInfoOrBuilder
      • hasCloseTime

        public boolean hasCloseTime()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
        Specified by:
        hasCloseTime in interface BatchOperationInfoOrBuilder
        Returns:
        Whether the closeTime field is set.
      • getCloseTime

        public com.google.protobuf.Timestamp getCloseTime()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
        Specified by:
        getCloseTime in interface BatchOperationInfoOrBuilder
        Returns:
        The closeTime.
      • setCloseTime

        public BatchOperationInfo.Builder setCloseTime​(com.google.protobuf.Timestamp value)
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • setCloseTime

        public BatchOperationInfo.Builder setCloseTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • mergeCloseTime

        public BatchOperationInfo.Builder mergeCloseTime​(com.google.protobuf.Timestamp value)
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • clearCloseTime

        public BatchOperationInfo.Builder clearCloseTime()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • getCloseTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
      • getCloseTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 4 [(.gogoproto.stdtime) = true];
        Specified by:
        getCloseTimeOrBuilder in interface BatchOperationInfoOrBuilder
      • setUnknownFields

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

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