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 Summary
Modifier and TypeMethodDescriptionaddAllOperations(Iterable<? extends ExecuteMultiOperationRequest.Operation> values) List of operations to execute within a single workflow.addOperations(int index, ExecuteMultiOperationRequest.Operation value) List of operations to execute within a single workflow.addOperations(int index, ExecuteMultiOperationRequest.Operation.Builder builderForValue) List of operations to execute within a single workflow.List of operations to execute within a single workflow.addOperations(ExecuteMultiOperationRequest.Operation.Builder builderForValue) List of operations to execute within a single workflow.List of operations to execute within a single workflow.addOperationsBuilder(int index) List of operations to execute within a single workflow.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) string namespace = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) List of operations to execute within a single workflow.Resource ID for routing.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;getOperations(int index) List of operations to execute within a single workflow.getOperationsBuilder(int index) List of operations to execute within a single workflow.List of operations to execute within a single workflow.intList of operations to execute within a single workflow.List of operations to execute within a single workflow.getOperationsOrBuilder(int index) List of operations to execute within a single workflow.List of operations to execute within a single workflow.Resource ID for routing.com.google.protobuf.ByteStringResource ID for routing.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeOperations(int index) List of operations to execute within a single workflow.setNamespace(String value) string namespace = 1;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 1;setOperations(int index, ExecuteMultiOperationRequest.Operation value) List of operations to execute within a single workflow.setOperations(int index, ExecuteMultiOperationRequest.Operation.Builder builderForValue) List of operations to execute within a single workflow.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceId(String value) Resource ID for routing.setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
setField
public ExecuteMultiOperationRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
clearField
public ExecuteMultiOperationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
clearOneof
public ExecuteMultiOperationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
setRepeatedField
public ExecuteMultiOperationRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
addRepeatedField
public ExecuteMultiOperationRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecuteMultiOperationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecuteMultiOperationRequest.Builder>- Throws:
IOException
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceExecuteMultiOperationRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceExecuteMultiOperationRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
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:
getOperationsListin interfaceExecuteMultiOperationRequestOrBuilder
-
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:
getOperationsCountin interfaceExecuteMultiOperationRequestOrBuilder
-
getOperations
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:
getOperationsin interfaceExecuteMultiOperationRequestOrBuilder
-
setOperations
public ExecuteMultiOperationRequest.Builder setOperations(int index, ExecuteMultiOperationRequest.Operation value) 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
public ExecuteMultiOperationRequest.Builder setOperations(int index, ExecuteMultiOperationRequest.Operation.Builder builderForValue) 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
public ExecuteMultiOperationRequest.Builder addOperations(ExecuteMultiOperationRequest.Operation value) 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
public ExecuteMultiOperationRequest.Builder addOperations(int index, ExecuteMultiOperationRequest.Operation value) 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
public ExecuteMultiOperationRequest.Builder addOperations(ExecuteMultiOperationRequest.Operation.Builder builderForValue) 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
public ExecuteMultiOperationRequest.Builder addOperations(int index, ExecuteMultiOperationRequest.Operation.Builder builderForValue) 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
public ExecuteMultiOperationRequest.Builder addAllOperations(Iterable<? extends ExecuteMultiOperationRequest.Operation> values) 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
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
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
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
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:
getOperationsOrBuilderin interfaceExecuteMultiOperationRequestOrBuilder
-
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:
getOperationsOrBuilderListin interfaceExecuteMultiOperationRequestOrBuilder
-
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
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
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
Resource ID for routing. Should match operations[0].start_workflow.workflow_id
string resource_id = 3;- Specified by:
getResourceIdin interfaceExecuteMultiOperationRequestOrBuilder- 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:
getResourceIdBytesin interfaceExecuteMultiOperationRequestOrBuilder- Returns:
- The bytes for resourceId.
-
setResourceId
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-
mergeUnknownFields
public final ExecuteMultiOperationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecuteMultiOperationRequest.Builder>
-