Package io.zeebe.gateway.protocol
Class GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
- io.zeebe.gateway.protocol.GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,GatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
,Cloneable
- Enclosing class:
- GatewayOuterClass.CreateWorkflowInstanceRequest
public static final class GatewayOuterClass.CreateWorkflowInstanceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder> implements GatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
Protobuf typegateway_protocol.CreateWorkflowInstanceRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.CreateWorkflowInstanceRequest
build()
GatewayOuterClass.CreateWorkflowInstanceRequest
buildPartial()
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clear()
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clearBpmnProcessId()
the BPMN process ID of the workflow definitionGatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clearVariables()
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion.GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clearVersion()
the version of the process; set to -1 to use the latest versionGatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clearWorkflowKey()
the unique key identifying the workflow definition (e.g.GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
clone()
String
getBpmnProcessId()
the BPMN process ID of the workflow definitioncom.google.protobuf.ByteString
getBpmnProcessIdBytes()
the BPMN process ID of the workflow definitionGatewayOuterClass.CreateWorkflowInstanceRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getVariables()
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion.com.google.protobuf.ByteString
getVariablesBytes()
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion.int
getVersion()
the version of the process; set to -1 to use the latest versionlong
getWorkflowKey()
the unique key identifying the workflow definition (e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
mergeFrom(com.google.protobuf.Message other)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
mergeFrom(GatewayOuterClass.CreateWorkflowInstanceRequest other)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setBpmnProcessId(String value)
the BPMN process ID of the workflow definitionGatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setBpmnProcessIdBytes(com.google.protobuf.ByteString value)
the BPMN process ID of the workflow definitionGatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setVariables(String value)
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion.GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setVariablesBytes(com.google.protobuf.ByteString value)
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion.GatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setVersion(int value)
the version of the process; set to -1 to use the latest versionGatewayOuterClass.CreateWorkflowInstanceRequest.Builder
setWorkflowKey(long value)
the unique key identifying the workflow definition (e.g.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
clear
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
getDefaultInstanceForType
public GatewayOuterClass.CreateWorkflowInstanceRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GatewayOuterClass.CreateWorkflowInstanceRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GatewayOuterClass.CreateWorkflowInstanceRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
setField
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
clearField
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
clearOneof
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder mergeFrom(GatewayOuterClass.CreateWorkflowInstanceRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateWorkflowInstanceRequest.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<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
- Throws:
IOException
-
getWorkflowKey
public long getWorkflowKey()
the unique key identifying the workflow definition (e.g. returned from a workflow in the DeployWorkflowResponse message)
int64 workflowKey = 1;
- Specified by:
getWorkflowKey
in interfaceGatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
- Returns:
- The workflowKey.
-
setWorkflowKey
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder setWorkflowKey(long value)
the unique key identifying the workflow definition (e.g. returned from a workflow in the DeployWorkflowResponse message)
int64 workflowKey = 1;
- Parameters:
value
- The workflowKey to set.- Returns:
- This builder for chaining.
-
clearWorkflowKey
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder clearWorkflowKey()
the unique key identifying the workflow definition (e.g. returned from a workflow in the DeployWorkflowResponse message)
int64 workflowKey = 1;
- Returns:
- This builder for chaining.
-
getBpmnProcessId
public String getBpmnProcessId()
the BPMN process ID of the workflow definition
string bpmnProcessId = 2;
- Specified by:
getBpmnProcessId
in interfaceGatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
- Returns:
- The bpmnProcessId.
-
getBpmnProcessIdBytes
public com.google.protobuf.ByteString getBpmnProcessIdBytes()
the BPMN process ID of the workflow definition
string bpmnProcessId = 2;
- Specified by:
getBpmnProcessIdBytes
in interfaceGatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
- Returns:
- The bytes for bpmnProcessId.
-
setBpmnProcessId
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder setBpmnProcessId(String value)
the BPMN process ID of the workflow definition
string bpmnProcessId = 2;
- Parameters:
value
- The bpmnProcessId to set.- Returns:
- This builder for chaining.
-
clearBpmnProcessId
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder clearBpmnProcessId()
the BPMN process ID of the workflow definition
string bpmnProcessId = 2;
- Returns:
- This builder for chaining.
-
setBpmnProcessIdBytes
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder setBpmnProcessIdBytes(com.google.protobuf.ByteString value)
the BPMN process ID of the workflow definition
string bpmnProcessId = 2;
- Parameters:
value
- The bytes for bpmnProcessId to set.- Returns:
- This builder for chaining.
-
getVersion
public int getVersion()
the version of the process; set to -1 to use the latest version
int32 version = 3;
- Specified by:
getVersion
in interfaceGatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
- Returns:
- The version.
-
setVersion
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder setVersion(int value)
the version of the process; set to -1 to use the latest version
int32 version = 3;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder clearVersion()
the version of the process; set to -1 to use the latest version
int32 version = 3;
- Returns:
- This builder for chaining.
-
getVariables
public String getVariables()
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 4;
- Specified by:
getVariables
in interfaceGatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 4;
- Specified by:
getVariablesBytes
in interfaceGatewayOuterClass.CreateWorkflowInstanceRequestOrBuilder
- Returns:
- The bytes for variables.
-
setVariables
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder setVariables(String value)
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 4;
- Parameters:
value
- The variables to set.- Returns:
- This builder for chaining.
-
clearVariables
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder clearVariables()
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 4;
- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.CreateWorkflowInstanceRequest.Builder setVariablesBytes(com.google.protobuf.ByteString value)
JSON document that will instantiate the variables for the root variable scope of the workflow instance; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 4;
- Parameters:
value
- The bytes for variables to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.CreateWorkflowInstanceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.CreateWorkflowInstanceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceRequest.Builder>
-
-