Class GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder,Cloneable
- Enclosing class:
- GatewayOuterClass.CreateProcessInstanceWithResultRequest
public static final class GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
implements GatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder
Protobuf type
gateway_protocol.CreateProcessInstanceWithResultRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllFetchVariables(Iterable<String> values) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.addFetchVariables(String value) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.addFetchVariablesBytes(com.google.protobuf.ByteString value) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .gateway_protocol.CreateProcessInstanceRequest request = 1;timeout (in ms).clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFetchVariables(int index) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.com.google.protobuf.ByteStringgetFetchVariablesBytes(int index) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.intlist of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.com.google.protobuf.ProtocolStringListlist of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned..gateway_protocol.CreateProcessInstanceRequest request = 1;.gateway_protocol.CreateProcessInstanceRequest request = 1;.gateway_protocol.CreateProcessInstanceRequest request = 1;longtimeout (in ms).boolean.gateway_protocol.CreateProcessInstanceRequest request = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .gateway_protocol.CreateProcessInstanceRequest request = 1;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFetchVariables(int index, String value) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .gateway_protocol.CreateProcessInstanceRequest request = 1;setRequest(GatewayOuterClass.CreateProcessInstanceRequest.Builder builderForValue) .gateway_protocol.CreateProcessInstanceRequest request = 1;setRequestTimeout(long value) timeout (in ms).setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods 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.CreateProcessInstanceWithResultRequest.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.CreateProcessInstanceWithResultRequest.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.CreateProcessInstanceWithResultRequest.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.CreateProcessInstanceWithResultRequest.Builder>
-
setField
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.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.CreateProcessInstanceWithResultRequest.Builder>
-
clearField
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
-
clearOneof
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.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.CreateProcessInstanceWithResultRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.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.CreateProcessInstanceWithResultRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
-
mergeFrom
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.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.CreateProcessInstanceWithResultRequest.Builder>- Throws:
IOException
-
hasRequest
public boolean hasRequest().gateway_protocol.CreateProcessInstanceRequest request = 1;- Specified by:
hasRequestin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
.gateway_protocol.CreateProcessInstanceRequest request = 1;- Specified by:
getRequestin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder- Returns:
- The request.
-
setRequest
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder setRequest(GatewayOuterClass.CreateProcessInstanceRequest value) .gateway_protocol.CreateProcessInstanceRequest request = 1; -
setRequest
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder setRequest(GatewayOuterClass.CreateProcessInstanceRequest.Builder builderForValue) .gateway_protocol.CreateProcessInstanceRequest request = 1; -
mergeRequest
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder mergeRequest(GatewayOuterClass.CreateProcessInstanceRequest value) .gateway_protocol.CreateProcessInstanceRequest request = 1; -
clearRequest
.gateway_protocol.CreateProcessInstanceRequest request = 1; -
getRequestBuilder
.gateway_protocol.CreateProcessInstanceRequest request = 1; -
getRequestOrBuilder
.gateway_protocol.CreateProcessInstanceRequest request = 1;- Specified by:
getRequestOrBuilderin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder
-
getRequestTimeout
public long getRequestTimeout()timeout (in ms). the request will be closed if the process is not completed before the requestTimeout. if requestTimeout = 0, uses the generic requestTimeout configured in the gateway.
int64 requestTimeout = 2;- Specified by:
getRequestTimeoutin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder- Returns:
- The requestTimeout.
-
setRequestTimeout
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder setRequestTimeout(long value) timeout (in ms). the request will be closed if the process is not completed before the requestTimeout. if requestTimeout = 0, uses the generic requestTimeout configured in the gateway.
int64 requestTimeout = 2;- Parameters:
value- The requestTimeout to set.- Returns:
- This builder for chaining.
-
clearRequestTimeout
timeout (in ms). the request will be closed if the process is not completed before the requestTimeout. if requestTimeout = 0, uses the generic requestTimeout configured in the gateway.
int64 requestTimeout = 2;- Returns:
- This builder for chaining.
-
getFetchVariablesList
public com.google.protobuf.ProtocolStringList getFetchVariablesList()list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Specified by:
getFetchVariablesListin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder- Returns:
- A list containing the fetchVariables.
-
getFetchVariablesCount
public int getFetchVariablesCount()list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Specified by:
getFetchVariablesCountin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder- Returns:
- The count of fetchVariables.
-
getFetchVariables
list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Specified by:
getFetchVariablesin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fetchVariables at the given index.
-
getFetchVariablesBytes
public com.google.protobuf.ByteString getFetchVariablesBytes(int index) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Specified by:
getFetchVariablesBytesin interfaceGatewayOuterClass.CreateProcessInstanceWithResultRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fetchVariables at the given index.
-
setFetchVariables
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder setFetchVariables(int index, String value) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Parameters:
index- The index to set the value at.value- The fetchVariables to set.- Returns:
- This builder for chaining.
-
addFetchVariables
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder addFetchVariables(String value) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Parameters:
value- The fetchVariables to add.- Returns:
- This builder for chaining.
-
addAllFetchVariables
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder addAllFetchVariables(Iterable<String> values) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Parameters:
values- The fetchVariables to add.- Returns:
- This builder for chaining.
-
clearFetchVariables
list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Returns:
- This builder for chaining.
-
addFetchVariablesBytes
public GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder addFetchVariablesBytes(com.google.protobuf.ByteString value) list of names of variables to be included in `CreateProcessInstanceWithResultResponse.variables` if empty, all visible variables in the root scope will be returned.
repeated string fetchVariables = 3;- Parameters:
value- The bytes of the fetchVariables to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.CreateProcessInstanceWithResultRequest.Builder>
-