Package io.dapr.v1
Class DaprProtos.StartWorkflowRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
io.dapr.v1.DaprProtos.StartWorkflowRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.StartWorkflowRequestOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.StartWorkflowRequest
public static final class DaprProtos.StartWorkflowRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
implements DaprProtos.StartWorkflowRequestOrBuilder
StartWorkflowRequest is the request for StartWorkflowBeta1.Protobuf type
dapr.proto.runtime.v1.StartWorkflowRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Input data for the workflow instance.The ID to assign to the started workflow instance.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Name of the workflow component.Name of the workflow.clone()
boolean
containsOptions
(String key) Additional component-specific options for starting the workflow instance.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
getInput()
Input data for the workflow instance.The ID to assign to the started workflow instance.com.google.protobuf.ByteString
The ID to assign to the started workflow instance.Deprecated.Deprecated.int
Additional component-specific options for starting the workflow instance.Additional component-specific options for starting the workflow instance.getOptionsOrDefault
(String key, String defaultValue) Additional component-specific options for starting the workflow instance.getOptionsOrThrow
(String key) Additional component-specific options for starting the workflow instance.Name of the workflow component.com.google.protobuf.ByteString
Name of the workflow component.Name of the workflow.com.google.protobuf.ByteString
Name of the workflow.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllOptions
(Map<String, String> values) Additional component-specific options for starting the workflow instance.putOptions
(String key, String value) Additional component-specific options for starting the workflow instance.removeOptions
(String key) Additional component-specific options for starting the workflow instance.setInput
(com.google.protobuf.ByteString value) Input data for the workflow instance.setInstanceId
(String value) The ID to assign to the started workflow instance.setInstanceIdBytes
(com.google.protobuf.ByteString value) The ID to assign to the started workflow instance.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWorkflowComponent
(String value) Name of the workflow component.setWorkflowComponentBytes
(com.google.protobuf.ByteString value) Name of the workflow component.setWorkflowName
(String value) Name of the workflow.setWorkflowNameBytes
(com.google.protobuf.ByteString value) Name of the workflow.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
setField
public DaprProtos.StartWorkflowRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
clearField
public DaprProtos.StartWorkflowRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
clearOneof
public DaprProtos.StartWorkflowRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
setRepeatedField
public DaprProtos.StartWorkflowRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
addRepeatedField
public DaprProtos.StartWorkflowRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
mergeFrom
public DaprProtos.StartWorkflowRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.StartWorkflowRequest.Builder>
- Throws:
IOException
-
getInstanceId
The ID to assign to the started workflow instance. If empty, a random ID is generated.
string instance_id = 1 [json_name = "instanceID"];
- Specified by:
getInstanceId
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The ID to assign to the started workflow instance. If empty, a random ID is generated.
string instance_id = 1 [json_name = "instanceID"];
- Specified by:
getInstanceIdBytes
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
- Returns:
- The bytes for instanceId.
-
setInstanceId
The ID to assign to the started workflow instance. If empty, a random ID is generated.
string instance_id = 1 [json_name = "instanceID"];
- Parameters:
value
- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The ID to assign to the started workflow instance. If empty, a random ID is generated.
string instance_id = 1 [json_name = "instanceID"];
- Returns:
- This builder for chaining.
-
setInstanceIdBytes
public DaprProtos.StartWorkflowRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value) The ID to assign to the started workflow instance. If empty, a random ID is generated.
string instance_id = 1 [json_name = "instanceID"];
- Parameters:
value
- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getWorkflowComponent
Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
- Specified by:
getWorkflowComponent
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
- Returns:
- The workflowComponent.
-
getWorkflowComponentBytes
public com.google.protobuf.ByteString getWorkflowComponentBytes()Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
- Specified by:
getWorkflowComponentBytes
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
- Returns:
- The bytes for workflowComponent.
-
setWorkflowComponent
Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
- Parameters:
value
- The workflowComponent to set.- Returns:
- This builder for chaining.
-
clearWorkflowComponent
Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
- Returns:
- This builder for chaining.
-
setWorkflowComponentBytes
public DaprProtos.StartWorkflowRequest.Builder setWorkflowComponentBytes(com.google.protobuf.ByteString value) Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
- Parameters:
value
- The bytes for workflowComponent to set.- Returns:
- This builder for chaining.
-
getWorkflowName
Name of the workflow.
string workflow_name = 3 [json_name = "workflowName"];
- Specified by:
getWorkflowName
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
- Returns:
- The workflowName.
-
getWorkflowNameBytes
public com.google.protobuf.ByteString getWorkflowNameBytes()Name of the workflow.
string workflow_name = 3 [json_name = "workflowName"];
- Specified by:
getWorkflowNameBytes
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
- Returns:
- The bytes for workflowName.
-
setWorkflowName
Name of the workflow.
string workflow_name = 3 [json_name = "workflowName"];
- Parameters:
value
- The workflowName to set.- Returns:
- This builder for chaining.
-
clearWorkflowName
Name of the workflow.
string workflow_name = 3 [json_name = "workflowName"];
- Returns:
- This builder for chaining.
-
setWorkflowNameBytes
public DaprProtos.StartWorkflowRequest.Builder setWorkflowNameBytes(com.google.protobuf.ByteString value) Name of the workflow.
string workflow_name = 3 [json_name = "workflowName"];
- Parameters:
value
- The bytes for workflowName to set.- Returns:
- This builder for chaining.
-
getOptionsCount
public int getOptionsCount()Description copied from interface:DaprProtos.StartWorkflowRequestOrBuilder
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
- Specified by:
getOptionsCount
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
-
containsOptions
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
- Specified by:
containsOptions
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
-
getOptions
Deprecated.UsegetOptionsMap()
instead.- Specified by:
getOptions
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
-
getOptionsMap
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
- Specified by:
getOptionsMap
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
-
getOptionsOrDefault
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
- Specified by:
getOptionsOrDefault
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
-
getOptionsOrThrow
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
- Specified by:
getOptionsOrThrow
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
-
clearOptions
-
removeOptions
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
-
getMutableOptions
Deprecated.Use alternate mutation accessors instead. -
putOptions
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
-
putAllOptions
Additional component-specific options for starting the workflow instance.
map<string, string> options = 4;
-
getInput
public com.google.protobuf.ByteString getInput()Input data for the workflow instance.
bytes input = 5;
- Specified by:
getInput
in interfaceDaprProtos.StartWorkflowRequestOrBuilder
- Returns:
- The input.
-
setInput
Input data for the workflow instance.
bytes input = 5;
- Parameters:
value
- The input to set.- Returns:
- This builder for chaining.
-
clearInput
Input data for the workflow instance.
bytes input = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DaprProtos.StartWorkflowRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-
mergeUnknownFields
public final DaprProtos.StartWorkflowRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.StartWorkflowRequest.Builder>
-