Class DescribeBatchOperationResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescribeBatchOperationResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DescribeBatchOperationResponse.Builder>
io.temporal.api.workflowservice.v1.DescribeBatchOperationResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DescribeBatchOperationResponseOrBuilder, Cloneable
Enclosing class:
DescribeBatchOperationResponse

public static final class DescribeBatchOperationResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeBatchOperationResponse.Builder> implements DescribeBatchOperationResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.DescribeBatchOperationResponse
  • 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<DescribeBatchOperationResponse.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<DescribeBatchOperationResponse.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<DescribeBatchOperationResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

      public DescribeBatchOperationResponse.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<DescribeBatchOperationResponse.Builder>
      Throws:
      IOException
    • getOperationTypeValue

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

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

      public BatchOperationType getOperationType()
       Batch operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 1;
      Specified by:
      getOperationType in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The operationType.
    • setOperationType

       Batch operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 1;
      Parameters:
      value - The operationType to set.
      Returns:
      This builder for chaining.
    • clearOperationType

      public DescribeBatchOperationResponse.Builder clearOperationType()
       Batch operation type
       
      .temporal.api.enums.v1.BatchOperationType operation_type = 1;
      Returns:
      This builder for chaining.
    • getJobId

      public String getJobId()
       Batch job ID
       
      string job_id = 2;
      Specified by:
      getJobId in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The jobId.
    • getJobIdBytes

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

       Batch job ID
       
      string job_id = 2;
      Parameters:
      value - The jobId to set.
      Returns:
      This builder for chaining.
    • clearJobId

       Batch job ID
       
      string job_id = 2;
      Returns:
      This builder for chaining.
    • setJobIdBytes

      public DescribeBatchOperationResponse.Builder setJobIdBytes(com.google.protobuf.ByteString value)
       Batch job ID
       
      string job_id = 2;
      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 = 3;
      Specified by:
      getStateValue in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public DescribeBatchOperationResponse.Builder setStateValue(int value)
       Batch operation state
       
      .temporal.api.enums.v1.BatchOperationState state = 3;
      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 = 3;
      Specified by:
      getState in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The state.
    • setState

       Batch operation state
       
      .temporal.api.enums.v1.BatchOperationState state = 3;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

       Batch operation state
       
      .temporal.api.enums.v1.BatchOperationState state = 3;
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Batch operation start time
       
      .google.protobuf.Timestamp start_time = 4;
      Specified by:
      hasStartTime in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Batch operation start time
       
      .google.protobuf.Timestamp start_time = 4;
      Specified by:
      getStartTime in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public DescribeBatchOperationResponse.Builder setStartTime(com.google.protobuf.Timestamp value)
       Batch operation start time
       
      .google.protobuf.Timestamp start_time = 4;
    • setStartTime

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

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

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

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

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

      public boolean hasCloseTime()
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 5;
      Specified by:
      hasCloseTime in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      Whether the closeTime field is set.
    • getCloseTime

      public com.google.protobuf.Timestamp getCloseTime()
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 5;
      Specified by:
      getCloseTime in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The closeTime.
    • setCloseTime

      public DescribeBatchOperationResponse.Builder setCloseTime(com.google.protobuf.Timestamp value)
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 5;
    • setCloseTime

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

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

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

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

      public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
       Batch operation close time
       
      .google.protobuf.Timestamp close_time = 5;
      Specified by:
      getCloseTimeOrBuilder in interface DescribeBatchOperationResponseOrBuilder
    • getTotalOperationCount

      public long getTotalOperationCount()
       Total operation count
       
      int64 total_operation_count = 6;
      Specified by:
      getTotalOperationCount in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The totalOperationCount.
    • setTotalOperationCount

      public DescribeBatchOperationResponse.Builder setTotalOperationCount(long value)
       Total operation count
       
      int64 total_operation_count = 6;
      Parameters:
      value - The totalOperationCount to set.
      Returns:
      This builder for chaining.
    • clearTotalOperationCount

      public DescribeBatchOperationResponse.Builder clearTotalOperationCount()
       Total operation count
       
      int64 total_operation_count = 6;
      Returns:
      This builder for chaining.
    • getCompleteOperationCount

      public long getCompleteOperationCount()
       Complete operation count
       
      int64 complete_operation_count = 7;
      Specified by:
      getCompleteOperationCount in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The completeOperationCount.
    • setCompleteOperationCount

      public DescribeBatchOperationResponse.Builder setCompleteOperationCount(long value)
       Complete operation count
       
      int64 complete_operation_count = 7;
      Parameters:
      value - The completeOperationCount to set.
      Returns:
      This builder for chaining.
    • clearCompleteOperationCount

      public DescribeBatchOperationResponse.Builder clearCompleteOperationCount()
       Complete operation count
       
      int64 complete_operation_count = 7;
      Returns:
      This builder for chaining.
    • getFailureOperationCount

      public long getFailureOperationCount()
       Failure operation count
       
      int64 failure_operation_count = 8;
      Specified by:
      getFailureOperationCount in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The failureOperationCount.
    • setFailureOperationCount

      public DescribeBatchOperationResponse.Builder setFailureOperationCount(long value)
       Failure operation count
       
      int64 failure_operation_count = 8;
      Parameters:
      value - The failureOperationCount to set.
      Returns:
      This builder for chaining.
    • clearFailureOperationCount

      public DescribeBatchOperationResponse.Builder clearFailureOperationCount()
       Failure operation count
       
      int64 failure_operation_count = 8;
      Returns:
      This builder for chaining.
    • getIdentity

      public String getIdentity()
       Identity indicates the operator identity
       
      string identity = 9;
      Specified by:
      getIdentity in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       Identity indicates the operator identity
       
      string identity = 9;
      Specified by:
      getIdentityBytes in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public DescribeBatchOperationResponse.Builder setIdentity(String value)
       Identity indicates the operator identity
       
      string identity = 9;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

       Identity indicates the operator identity
       
      string identity = 9;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public DescribeBatchOperationResponse.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       Identity indicates the operator identity
       
      string identity = 9;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • getReason

      public String getReason()
       Reason indicates the reason to stop a operation
       
      string reason = 10;
      Specified by:
      getReason in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       Reason indicates the reason to stop a operation
       
      string reason = 10;
      Specified by:
      getReasonBytes in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The bytes for reason.
    • setReason

       Reason indicates the reason to stop a operation
       
      string reason = 10;
      Parameters:
      value - The reason to set.
      Returns:
      This builder for chaining.
    • clearReason

       Reason indicates the reason to stop a operation
       
      string reason = 10;
      Returns:
      This builder for chaining.
    • setReasonBytes

      public DescribeBatchOperationResponse.Builder setReasonBytes(com.google.protobuf.ByteString value)
       Reason indicates the reason to stop a operation
       
      string reason = 10;
      Parameters:
      value - The bytes for reason to set.
      Returns:
      This builder for chaining.
    • getQuery

      public String getQuery()
       Query is the visibility query that defines the group of workflow to apply the batch operation
       
      string query = 11;
      Specified by:
      getQuery in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
       Query is the visibility query that defines the group of workflow to apply the batch operation
       
      string query = 11;
      Specified by:
      getQueryBytes in interface DescribeBatchOperationResponseOrBuilder
      Returns:
      The bytes for query.
    • setQuery

       Query is the visibility query that defines the group of workflow to apply the batch operation
       
      string query = 11;
      Parameters:
      value - The query to set.
      Returns:
      This builder for chaining.
    • clearQuery

       Query is the visibility query that defines the group of workflow to apply the batch operation
       
      string query = 11;
      Returns:
      This builder for chaining.
    • setQueryBytes

      public DescribeBatchOperationResponse.Builder setQueryBytes(com.google.protobuf.ByteString value)
       Query is the visibility query that defines the group of workflow to apply the batch operation
       
      string query = 11;
      Parameters:
      value - The bytes for query to set.
      Returns:
      This builder for chaining.
    • getExecutionsList

      public List<Execution> getExecutionsList()
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
      Specified by:
      getExecutionsList in interface DescribeBatchOperationResponseOrBuilder
    • getExecutionsCount

      public int getExecutionsCount()
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
      Specified by:
      getExecutionsCount in interface DescribeBatchOperationResponseOrBuilder
    • getExecutions

      public Execution getExecutions(int index)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
      Specified by:
      getExecutions in interface DescribeBatchOperationResponseOrBuilder
    • setExecutions

      public DescribeBatchOperationResponse.Builder setExecutions(int index, Execution value)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • setExecutions

      public DescribeBatchOperationResponse.Builder setExecutions(int index, Execution.Builder builderForValue)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • addExecutions

      public DescribeBatchOperationResponse.Builder addExecutions(Execution value)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • addExecutions

      public DescribeBatchOperationResponse.Builder addExecutions(int index, Execution value)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • addExecutions

      public DescribeBatchOperationResponse.Builder addExecutions(Execution.Builder builderForValue)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • addExecutions

      public DescribeBatchOperationResponse.Builder addExecutions(int index, Execution.Builder builderForValue)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • addAllExecutions

      public DescribeBatchOperationResponse.Builder addAllExecutions(Iterable<? extends Execution> values)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • clearExecutions

      public DescribeBatchOperationResponse.Builder clearExecutions()
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • removeExecutions

      public DescribeBatchOperationResponse.Builder removeExecutions(int index)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • getExecutionsBuilder

      public Execution.Builder getExecutionsBuilder(int index)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • getExecutionsOrBuilder

      public ExecutionOrBuilder getExecutionsOrBuilder(int index)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
      Specified by:
      getExecutionsOrBuilder in interface DescribeBatchOperationResponseOrBuilder
    • getExecutionsOrBuilderList

      public List<? extends ExecutionOrBuilder> getExecutionsOrBuilderList()
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
      Specified by:
      getExecutionsOrBuilderList in interface DescribeBatchOperationResponseOrBuilder
    • addExecutionsBuilder

      public Execution.Builder addExecutionsBuilder()
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • addExecutionsBuilder

      public Execution.Builder addExecutionsBuilder(int index)
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • getExecutionsBuilderList

      public List<Execution.Builder> getExecutionsBuilderList()
       Executions is the list of workflow OR standalone activity executions to apply the batch operation
       
      repeated .temporal.api.common.v1.Execution executions = 12;
    • setUnknownFields

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

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