Class GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder,Cloneable
- Enclosing class:
- GatewayOuterClass.CreateProcessInstanceWithResultResponse
public static final class GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
implements GatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder
Protobuf type
gateway_protocol.CreateProcessInstanceWithResultResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()the BPMN process ID of the process definition which was used to create the process instanceclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) the key of the process definition which was used to create the process instancethe unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g.JSON document consists of visible variables in the root scopethe version of the process definition which was used to create the process instanceclone()the BPMN process ID of the process definition which was used to create the process instancecom.google.protobuf.ByteStringthe BPMN process ID of the process definition which was used to create the process instancestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongthe key of the process definition which was used to create the process instancelongthe unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g.JSON document consists of visible variables in the root scopecom.google.protobuf.ByteStringJSON document consists of visible variables in the root scopeintthe version of the process definition which was used to create the process instanceprotected 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 definition which was used to create the process instancesetBpmnProcessIdBytes(com.google.protobuf.ByteString value) the BPMN process ID of the process definition which was used to create the process instancesetProcessDefinitionKey(long value) the key of the process definition which was used to create the process instancesetProcessInstanceKey(long value) the unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVariables(String value) JSON document consists of visible variables in the root scopesetVariablesBytes(com.google.protobuf.ByteString value) JSON document consists of visible variables in the root scopesetVersion(int value) the version of the process definition which was used to create the process instanceMethods 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.CreateProcessInstanceWithResultResponse.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.CreateProcessInstanceWithResultResponse.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.CreateProcessInstanceWithResultResponse.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.CreateProcessInstanceWithResultResponse.Builder>
-
setField
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.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.CreateProcessInstanceWithResultResponse.Builder>
-
clearField
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
-
clearOneof
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
-
setRepeatedField
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.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.CreateProcessInstanceWithResultResponse.Builder>
-
addRepeatedField
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.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.CreateProcessInstanceWithResultResponse.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.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.CreateProcessInstanceWithResultResponse.Builder>- Throws:
IOException
-
getProcessDefinitionKey
public long getProcessDefinitionKey()the key of the process definition which was used to create the process instance
int64 processDefinitionKey = 1;- Specified by:
getProcessDefinitionKeyin interfaceGatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder- Returns:
- The processDefinitionKey.
-
setProcessDefinitionKey
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder setProcessDefinitionKey(long value) the key of the process definition which was used to create the process instance
int64 processDefinitionKey = 1;- Parameters:
value- The processDefinitionKey to set.- Returns:
- This builder for chaining.
-
clearProcessDefinitionKey
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder clearProcessDefinitionKey()the key of the process definition which was used to create the process instance
int64 processDefinitionKey = 1;- Returns:
- This builder for chaining.
-
getBpmnProcessId
the BPMN process ID of the process definition which was used to create the process instance
string bpmnProcessId = 2;- Specified by:
getBpmnProcessIdin interfaceGatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder- Returns:
- The bpmnProcessId.
-
getBpmnProcessIdBytes
public com.google.protobuf.ByteString getBpmnProcessIdBytes()the BPMN process ID of the process definition which was used to create the process instance
string bpmnProcessId = 2;- Specified by:
getBpmnProcessIdBytesin interfaceGatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder- Returns:
- The bytes for bpmnProcessId.
-
setBpmnProcessId
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder setBpmnProcessId(String value) the BPMN process ID of the process definition which was used to create the process instance
string bpmnProcessId = 2;- Parameters:
value- The bpmnProcessId to set.- Returns:
- This builder for chaining.
-
clearBpmnProcessId
the BPMN process ID of the process definition which was used to create the process instance
string bpmnProcessId = 2;- Returns:
- This builder for chaining.
-
setBpmnProcessIdBytes
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder setBpmnProcessIdBytes(com.google.protobuf.ByteString value) the BPMN process ID of the process definition which was used to create the process instance
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 definition which was used to create the process instance
int32 version = 3;- Specified by:
getVersionin interfaceGatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder- Returns:
- The version.
-
setVersion
the version of the process definition which was used to create the process instance
int32 version = 3;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
the version of the process definition which was used to create the process instance
int32 version = 3;- Returns:
- This builder for chaining.
-
getProcessInstanceKey
public long getProcessInstanceKey()the unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g. CancelProcessInstanceRequest)
int64 processInstanceKey = 4;- Specified by:
getProcessInstanceKeyin interfaceGatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder- Returns:
- The processInstanceKey.
-
setProcessInstanceKey
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder setProcessInstanceKey(long value) the unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g. CancelProcessInstanceRequest)
int64 processInstanceKey = 4;- Parameters:
value- The processInstanceKey to set.- Returns:
- This builder for chaining.
-
clearProcessInstanceKey
the unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g. CancelProcessInstanceRequest)
int64 processInstanceKey = 4;- Returns:
- This builder for chaining.
-
getVariables
JSON document consists of visible variables in the root scope
string variables = 5;- Specified by:
getVariablesin interfaceGatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()JSON document consists of visible variables in the root scope
string variables = 5;- Specified by:
getVariablesBytesin interfaceGatewayOuterClass.CreateProcessInstanceWithResultResponseOrBuilder- Returns:
- The bytes for variables.
-
setVariables
JSON document consists of visible variables in the root scope
string variables = 5;- Parameters:
value- The variables to set.- Returns:
- This builder for chaining.
-
clearVariables
JSON document consists of visible variables in the root scope
string variables = 5;- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder setVariablesBytes(com.google.protobuf.ByteString value) JSON document consists of visible variables in the root scope
string variables = 5;- Parameters:
value- The bytes for variables to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultResponse.Builder>
-