Class ExecuteMultiOperationRequest.Builder

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

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

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

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

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

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

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

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

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

      public ExecuteMultiOperationRequest.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<ExecuteMultiOperationRequest.Builder>
      Throws:
      IOException
    • getNamespace

      public String getNamespace()
      string namespace = 1;
      Specified by:
      getNamespace in interface ExecuteMultiOperationRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface ExecuteMultiOperationRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public ExecuteMultiOperationRequest.Builder setNamespace(String value)
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public ExecuteMultiOperationRequest.Builder clearNamespace()
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public ExecuteMultiOperationRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getOperationsList

      public List<ExecuteMultiOperationRequest.Operation> getOperationsList()
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
      Specified by:
      getOperationsList in interface ExecuteMultiOperationRequestOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
      Specified by:
      getOperationsCount in interface ExecuteMultiOperationRequestOrBuilder
    • getOperations

      public ExecuteMultiOperationRequest.Operation getOperations(int index)
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
      Specified by:
      getOperations in interface ExecuteMultiOperationRequestOrBuilder
    • setOperations

       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • setOperations

       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • addOperations

       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • addOperations

       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • addOperations

       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • addOperations

       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • addAllOperations

       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • clearOperations

      public ExecuteMultiOperationRequest.Builder clearOperations()
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • removeOperations

      public ExecuteMultiOperationRequest.Builder removeOperations(int index)
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • getOperationsBuilder

      public ExecuteMultiOperationRequest.Operation.Builder getOperationsBuilder(int index)
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • getOperationsOrBuilder

      public ExecuteMultiOperationRequest.OperationOrBuilder getOperationsOrBuilder(int index)
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
      Specified by:
      getOperationsOrBuilder in interface ExecuteMultiOperationRequestOrBuilder
    • getOperationsOrBuilderList

      public List<? extends ExecuteMultiOperationRequest.OperationOrBuilder> getOperationsOrBuilderList()
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
      Specified by:
      getOperationsOrBuilderList in interface ExecuteMultiOperationRequestOrBuilder
    • addOperationsBuilder

      public ExecuteMultiOperationRequest.Operation.Builder addOperationsBuilder()
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • addOperationsBuilder

      public ExecuteMultiOperationRequest.Operation.Builder addOperationsBuilder(int index)
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • getOperationsBuilderList

      public List<ExecuteMultiOperationRequest.Operation.Builder> getOperationsBuilderList()
       List of operations to execute within a single workflow.
      
       Preconditions:
       - The list of operations must not be empty.
       - The workflow ids must match across operations.
       - The only valid list of operations at this time is [StartWorkflow, UpdateWorkflow], in this order.
      
       Note that additional operation-specific restrictions have to be considered.
       
      repeated .temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation operations = 2;
    • getResourceId

      public String getResourceId()
       Resource ID for routing. Should match operations[0].start_workflow.workflow_id
       
      string resource_id = 3;
      Specified by:
      getResourceId in interface ExecuteMultiOperationRequestOrBuilder
      Returns:
      The resourceId.
    • getResourceIdBytes

      public com.google.protobuf.ByteString getResourceIdBytes()
       Resource ID for routing. Should match operations[0].start_workflow.workflow_id
       
      string resource_id = 3;
      Specified by:
      getResourceIdBytes in interface ExecuteMultiOperationRequestOrBuilder
      Returns:
      The bytes for resourceId.
    • setResourceId

      public ExecuteMultiOperationRequest.Builder setResourceId(String value)
       Resource ID for routing. Should match operations[0].start_workflow.workflow_id
       
      string resource_id = 3;
      Parameters:
      value - The resourceId to set.
      Returns:
      This builder for chaining.
    • clearResourceId

      public ExecuteMultiOperationRequest.Builder clearResourceId()
       Resource ID for routing. Should match operations[0].start_workflow.workflow_id
       
      string resource_id = 3;
      Returns:
      This builder for chaining.
    • setResourceIdBytes

      public ExecuteMultiOperationRequest.Builder setResourceIdBytes(com.google.protobuf.ByteString value)
       Resource ID for routing. Should match operations[0].start_workflow.workflow_id
       
      string resource_id = 3;
      Parameters:
      value - The bytes for resourceId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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