Class GatewayOuterClass.CreateProcessInstanceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.CreateProcessInstanceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.CreateProcessInstanceRequestOrBuilder,Cloneable
- Enclosing class:
- GatewayOuterClass.CreateProcessInstanceRequest
public static final class GatewayOuterClass.CreateProcessInstanceRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
implements GatewayOuterClass.CreateProcessInstanceRequestOrBuilder
Protobuf type
gateway_protocol.CreateProcessInstanceRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()the BPMN process ID of the process definitionclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) the unique key identifying the process definition (e.g.JSON document that will instantiate the variables for the root variable scope of the process instance; it must be a JSON object, as variables will be mapped in a key-value fashion.the version of the process; set to -1 to use the latest versionclone()the BPMN process ID of the process definitioncom.google.protobuf.ByteStringthe BPMN process ID of the process definitionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongthe unique key identifying the process definition (e.g.JSON document that will instantiate the variables for the root variable scope of the process instance; it must be a JSON object, as variables will be mapped in a key-value fashion.com.google.protobuf.ByteStringJSON document that will instantiate the variables for the root variable scope of the process instance; it must be a JSON object, as variables will be mapped in a key-value fashion.intthe version of the process; set to -1 to use the latest versionprotected 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) setBpmnProcessId(String value) the BPMN process ID of the process definitionsetBpmnProcessIdBytes(com.google.protobuf.ByteString value) the BPMN process ID of the process definitionsetProcessDefinitionKey(long value) the unique key identifying the process definition (e.g.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVariables(String value) JSON document that will instantiate the variables for the root variable scope of the process instance; it must be a JSON object, as variables will be mapped in a key-value fashion.setVariablesBytes(com.google.protobuf.ByteString value) JSON document that will instantiate the variables for the root variable scope of the process instance; it must be a JSON object, as variables will be mapped in a key-value fashion.setVersion(int value) the version of the process; set to -1 to use the latest versionMethods 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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<GatewayOuterClass.CreateProcessInstanceRequest.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<GatewayOuterClass.CreateProcessInstanceRequest.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<GatewayOuterClass.CreateProcessInstanceRequest.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<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
setField
public GatewayOuterClass.CreateProcessInstanceRequest.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<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
clearField
public GatewayOuterClass.CreateProcessInstanceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
clearOneof
public GatewayOuterClass.CreateProcessInstanceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.CreateProcessInstanceRequest.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<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.CreateProcessInstanceRequest.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<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceRequest.Builder mergeFrom(GatewayOuterClass.CreateProcessInstanceRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceRequest.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<GatewayOuterClass.CreateProcessInstanceRequest.Builder>- Throws:
IOException
-
getProcessDefinitionKey
public long getProcessDefinitionKey()the unique key identifying the process definition (e.g. returned from a process in the DeployProcessResponse message)
int64 processDefinitionKey = 1;- Specified by:
getProcessDefinitionKeyin interfaceGatewayOuterClass.CreateProcessInstanceRequestOrBuilder- Returns:
- The processDefinitionKey.
-
setProcessDefinitionKey
the unique key identifying the process definition (e.g. returned from a process in the DeployProcessResponse message)
int64 processDefinitionKey = 1;- Parameters:
value- The processDefinitionKey to set.- Returns:
- This builder for chaining.
-
clearProcessDefinitionKey
the unique key identifying the process definition (e.g. returned from a process in the DeployProcessResponse message)
int64 processDefinitionKey = 1;- Returns:
- This builder for chaining.
-
getBpmnProcessId
the BPMN process ID of the process definition
string bpmnProcessId = 2;- Specified by:
getBpmnProcessIdin interfaceGatewayOuterClass.CreateProcessInstanceRequestOrBuilder- Returns:
- The bpmnProcessId.
-
getBpmnProcessIdBytes
public com.google.protobuf.ByteString getBpmnProcessIdBytes()the BPMN process ID of the process definition
string bpmnProcessId = 2;- Specified by:
getBpmnProcessIdBytesin interfaceGatewayOuterClass.CreateProcessInstanceRequestOrBuilder- Returns:
- The bytes for bpmnProcessId.
-
setBpmnProcessId
the BPMN process ID of the process definition
string bpmnProcessId = 2;- Parameters:
value- The bpmnProcessId to set.- Returns:
- This builder for chaining.
-
clearBpmnProcessId
the BPMN process ID of the process definition
string bpmnProcessId = 2;- Returns:
- This builder for chaining.
-
setBpmnProcessIdBytes
public GatewayOuterClass.CreateProcessInstanceRequest.Builder setBpmnProcessIdBytes(com.google.protobuf.ByteString value) the BPMN process ID of the process 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:
getVersionin interfaceGatewayOuterClass.CreateProcessInstanceRequestOrBuilder- Returns:
- The version.
-
setVersion
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
the version of the process; set to -1 to use the latest version
int32 version = 3;- Returns:
- This builder for chaining.
-
getVariables
JSON document that will instantiate the variables for the root variable scope of the process 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:
getVariablesin interfaceGatewayOuterClass.CreateProcessInstanceRequestOrBuilder- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()JSON document that will instantiate the variables for the root variable scope of the process 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:
getVariablesBytesin interfaceGatewayOuterClass.CreateProcessInstanceRequestOrBuilder- Returns:
- The bytes for variables.
-
setVariables
JSON document that will instantiate the variables for the root variable scope of the process 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
JSON document that will instantiate the variables for the root variable scope of the process 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.CreateProcessInstanceRequest.Builder setVariablesBytes(com.google.protobuf.ByteString value) JSON document that will instantiate the variables for the root variable scope of the process 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.CreateProcessInstanceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.CreateProcessInstanceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceRequest.Builder>
-