Class GatewayOuterClass.CreateProcessInstanceResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceResponse.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.CreateProcessInstanceResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,GatewayOuterClass.CreateProcessInstanceResponseOrBuilder
,Cloneable
- Enclosing class:
- GatewayOuterClass.CreateProcessInstanceResponse
public static final class GatewayOuterClass.CreateProcessInstanceResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceResponse.Builder>
implements GatewayOuterClass.CreateProcessInstanceResponseOrBuilder
Protobuf type
gateway_protocol.CreateProcessInstanceResponse
-
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.the tenant identifier of the created process instancethe 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.ByteString
the BPMN process ID of the process definition which was used to create the process instancestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
the key of the process definition which was used to create the process instancelong
the unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g.the tenant identifier of the created process instancecom.google.protobuf.ByteString
the tenant identifier of the created process instanceint
the version of the process definition which was used to create the process instanceprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
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) 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) setTenantId
(String value) the tenant identifier of the created process instancesetTenantIdBytes
(com.google.protobuf.ByteString value) the tenant identifier of the created process instancesetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVersion
(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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.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<GatewayOuterClass.CreateProcessInstanceResponse.Builder>
-
setField
public GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-
clearField
public GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-
clearOneof
public GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-
setRepeatedField
public GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-
addRepeatedField
public GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceResponse.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.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:
getProcessDefinitionKey
in interfaceGatewayOuterClass.CreateProcessInstanceResponseOrBuilder
- Returns:
- The processDefinitionKey.
-
setProcessDefinitionKey
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
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:
getBpmnProcessId
in interfaceGatewayOuterClass.CreateProcessInstanceResponseOrBuilder
- 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:
getBpmnProcessIdBytes
in interfaceGatewayOuterClass.CreateProcessInstanceResponseOrBuilder
- Returns:
- The bytes for bpmnProcessId.
-
setBpmnProcessId
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.CreateProcessInstanceResponse.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:
getVersion
in interfaceGatewayOuterClass.CreateProcessInstanceResponseOrBuilder
- 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:
getProcessInstanceKey
in interfaceGatewayOuterClass.CreateProcessInstanceResponseOrBuilder
- Returns:
- The processInstanceKey.
-
setProcessInstanceKey
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.
-
getTenantId
the tenant identifier of the created process instance
string tenantId = 5;
- Specified by:
getTenantId
in interfaceGatewayOuterClass.CreateProcessInstanceResponseOrBuilder
- Returns:
- The tenantId.
-
getTenantIdBytes
public com.google.protobuf.ByteString getTenantIdBytes()the tenant identifier of the created process instance
string tenantId = 5;
- Specified by:
getTenantIdBytes
in interfaceGatewayOuterClass.CreateProcessInstanceResponseOrBuilder
- Returns:
- The bytes for tenantId.
-
setTenantId
the tenant identifier of the created process instance
string tenantId = 5;
- Parameters:
value
- The tenantId to set.- Returns:
- This builder for chaining.
-
clearTenantId
the tenant identifier of the created process instance
string tenantId = 5;
- Returns:
- This builder for chaining.
-
setTenantIdBytes
public GatewayOuterClass.CreateProcessInstanceResponse.Builder setTenantIdBytes(com.google.protobuf.ByteString value) the tenant identifier of the created process instance
string tenantId = 5;
- Parameters:
value
- The bytes for tenantId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.CreateProcessInstanceResponse.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.CreateProcessInstanceResponse.Builder>
-