Class BatchOperationInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BatchOperationInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
io.temporal.api.batch.v1.BatchOperationInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BatchOperationInfoOrBuilder, 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 Details

    • 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

      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

      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, 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, 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, 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>
    • mergeFrom

    • 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 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:
      IOException
    • getJobId

      public String getJobId()
       Batch job ID
       
      string job_id = 1;
      Specified by:
      getJobId in interface BatchOperationInfoOrBuilder
      Returns:
      The jobId.
    • 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(String value)
       Batch job ID
       
      string job_id = 1;
      Parameters:
      value - The jobId to set.
      Returns:
      This builder for chaining.
    • clearJobId

      public BatchOperationInfo.Builder clearJobId()
       Batch job ID
       
      string job_id = 1;
      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.
    • getState

      public BatchOperationState getState()
       Batch operation state
       
      .temporal.api.enums.v1.BatchOperationState state = 2;
      Specified by:
      getState in interface BatchOperationInfoOrBuilder
      Returns:
      The state.
    • setState

       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;
      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;
      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;
    • setStartTime

      public BatchOperationInfo.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Batch operation start time
       
      .google.protobuf.Timestamp start_time = 3;
    • mergeStartTime

      public BatchOperationInfo.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Batch operation start time
       
      .google.protobuf.Timestamp start_time = 3;
    • clearStartTime

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

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

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

      public boolean hasCloseTime()
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 4;
      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;
      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;
    • setCloseTime

      public BatchOperationInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 4;
    • mergeCloseTime

      public BatchOperationInfo.Builder mergeCloseTime(com.google.protobuf.Timestamp value)
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 4;
    • clearCloseTime

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

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

      public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 4;
      Specified by:
      getCloseTimeOrBuilder in interface BatchOperationInfoOrBuilder
    • getOperationTypeValue

      public int getOperationTypeValue()
       Operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 5;
      Specified by:
      getOperationTypeValue in interface BatchOperationInfoOrBuilder
      Returns:
      The enum numeric value on the wire for operationType.
    • setOperationTypeValue

      public BatchOperationInfo.Builder setOperationTypeValue(int value)
       Operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 5;
      Parameters:
      value - The enum numeric value on the wire for operationType to set.
      Returns:
      This builder for chaining.
    • getOperationType

      public BatchOperationType getOperationType()
       Operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 5;
      Specified by:
      getOperationType in interface BatchOperationInfoOrBuilder
      Returns:
      The operationType.
    • setOperationType

      public BatchOperationInfo.Builder setOperationType(BatchOperationType value)
       Operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 5;
      Parameters:
      value - The operationType to set.
      Returns:
      This builder for chaining.
    • clearOperationType

      public BatchOperationInfo.Builder clearOperationType()
       Operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 5;
      Returns:
      This builder for chaining.
    • 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>