Package io.zeebe.gateway.protocol
Class GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder>
-
- io.zeebe.gateway.protocol.GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,GatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
,Cloneable
- Enclosing class:
- GatewayOuterClass.CreateWorkflowInstanceWithResultResponse
public static final class GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder> implements GatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
Protobuf typegateway_protocol.CreateWorkflowInstanceWithResultResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse
build()
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse
buildPartial()
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clear()
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clearBpmnProcessId()
the BPMN process ID of the workflow definition which was used to create the workflow instanceGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clearVariables()
JSON document consists of visible variables in the root scopeGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clearVersion()
the version of the workflow definition which was used to create the workflow instanceGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clearWorkflowInstanceKey()
the unique identifier of the created workflow instance; to be used wherever a request needs a workflow instance key (e.g.GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clearWorkflowKey()
the key of the workflow definition which was used to create the workflow instanceGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
clone()
String
getBpmnProcessId()
the BPMN process ID of the workflow definition which was used to create the workflow instancecom.google.protobuf.ByteString
getBpmnProcessIdBytes()
the BPMN process ID of the workflow definition which was used to create the workflow instanceGatewayOuterClass.CreateWorkflowInstanceWithResultResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getVariables()
JSON document consists of visible variables in the root scopecom.google.protobuf.ByteString
getVariablesBytes()
JSON document consists of visible variables in the root scopeint
getVersion()
the version of the workflow definition which was used to create the workflow instancelong
getWorkflowInstanceKey()
the unique identifier of the created workflow instance; to be used wherever a request needs a workflow instance key (e.g.long
getWorkflowKey()
the key of the workflow definition which was used to create the workflow instanceprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
mergeFrom(com.google.protobuf.Message other)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
mergeFrom(GatewayOuterClass.CreateWorkflowInstanceWithResultResponse other)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setBpmnProcessId(String value)
the BPMN process ID of the workflow definition which was used to create the workflow instanceGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setBpmnProcessIdBytes(com.google.protobuf.ByteString value)
the BPMN process ID of the workflow definition which was used to create the workflow instanceGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setVariables(String value)
JSON document consists of visible variables in the root scopeGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setVariablesBytes(com.google.protobuf.ByteString value)
JSON document consists of visible variables in the root scopeGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setVersion(int value)
the version of the workflow definition which was used to create the workflow instanceGatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setWorkflowInstanceKey(long value)
the unique identifier of the created workflow instance; to be used wherever a request needs a workflow instance key (e.g.GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder
setWorkflowKey(long value)
the key of the workflow definition which was used to create the workflow instance-
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.CreateWorkflowInstanceWithResultResponse.Builder>
-
clear
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
getDefaultInstanceForType
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
setField
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
clearField
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
clearOneof
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
setRepeatedField
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
addRepeatedField
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
mergeFrom
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
mergeFrom
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder mergeFrom(GatewayOuterClass.CreateWorkflowInstanceWithResultResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder>
-
mergeFrom
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
- Throws:
IOException
-
getWorkflowKey
public long getWorkflowKey()
the key of the workflow definition which was used to create the workflow instance
int64 workflowKey = 1;
- Specified by:
getWorkflowKey
in interfaceGatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
- Returns:
- The workflowKey.
-
setWorkflowKey
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder setWorkflowKey(long value)
the key of the workflow definition which was used to create the workflow instance
int64 workflowKey = 1;
- Parameters:
value
- The workflowKey to set.- Returns:
- This builder for chaining.
-
clearWorkflowKey
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder clearWorkflowKey()
the key of the workflow definition which was used to create the workflow instance
int64 workflowKey = 1;
- Returns:
- This builder for chaining.
-
getBpmnProcessId
public String getBpmnProcessId()
the BPMN process ID of the workflow definition which was used to create the workflow instance
string bpmnProcessId = 2;
- Specified by:
getBpmnProcessId
in interfaceGatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
- Returns:
- The bpmnProcessId.
-
getBpmnProcessIdBytes
public com.google.protobuf.ByteString getBpmnProcessIdBytes()
the BPMN process ID of the workflow definition which was used to create the workflow instance
string bpmnProcessId = 2;
- Specified by:
getBpmnProcessIdBytes
in interfaceGatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
- Returns:
- The bytes for bpmnProcessId.
-
setBpmnProcessId
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder setBpmnProcessId(String value)
the BPMN process ID of the workflow definition which was used to create the workflow instance
string bpmnProcessId = 2;
- Parameters:
value
- The bpmnProcessId to set.- Returns:
- This builder for chaining.
-
clearBpmnProcessId
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder clearBpmnProcessId()
the BPMN process ID of the workflow definition which was used to create the workflow instance
string bpmnProcessId = 2;
- Returns:
- This builder for chaining.
-
setBpmnProcessIdBytes
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder setBpmnProcessIdBytes(com.google.protobuf.ByteString value)
the BPMN process ID of the workflow definition which was used to create the workflow 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 workflow definition which was used to create the workflow instance
int32 version = 3;
- Specified by:
getVersion
in interfaceGatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
- Returns:
- The version.
-
setVersion
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder setVersion(int value)
the version of the workflow definition which was used to create the workflow instance
int32 version = 3;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder clearVersion()
the version of the workflow definition which was used to create the workflow instance
int32 version = 3;
- Returns:
- This builder for chaining.
-
getWorkflowInstanceKey
public long getWorkflowInstanceKey()
the unique identifier of the created workflow instance; to be used wherever a request needs a workflow instance key (e.g. CancelWorkflowInstanceRequest)
int64 workflowInstanceKey = 4;
- Specified by:
getWorkflowInstanceKey
in interfaceGatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
- Returns:
- The workflowInstanceKey.
-
setWorkflowInstanceKey
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder setWorkflowInstanceKey(long value)
the unique identifier of the created workflow instance; to be used wherever a request needs a workflow instance key (e.g. CancelWorkflowInstanceRequest)
int64 workflowInstanceKey = 4;
- Parameters:
value
- The workflowInstanceKey to set.- Returns:
- This builder for chaining.
-
clearWorkflowInstanceKey
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder clearWorkflowInstanceKey()
the unique identifier of the created workflow instance; to be used wherever a request needs a workflow instance key (e.g. CancelWorkflowInstanceRequest)
int64 workflowInstanceKey = 4;
- Returns:
- This builder for chaining.
-
getVariables
public String getVariables()
JSON document consists of visible variables in the root scope
string variables = 5;
- Specified by:
getVariables
in interfaceGatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
- 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:
getVariablesBytes
in interfaceGatewayOuterClass.CreateWorkflowInstanceWithResultResponseOrBuilder
- Returns:
- The bytes for variables.
-
setVariables
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder setVariables(String value)
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
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.Builder clearVariables()
JSON document consists of visible variables in the root scope
string variables = 5;
- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.CreateWorkflowInstanceWithResultResponse.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.CreateWorkflowInstanceWithResultResponse.Builder>
-
-