Class GatewayOuterClass.SetVariablesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.SetVariablesRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.SetVariablesRequestOrBuilder,Cloneable
- Enclosing class:
- GatewayOuterClass.SetVariablesRequest
public static final class GatewayOuterClass.SetVariablesRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
implements GatewayOuterClass.SetVariablesRequestOrBuilder
Protobuf type
gateway_protocol.SetVariablesRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()the unique identifier of a particular element; can be the process instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)if true, the variables will be merged strictly into the local scope (as indicated by elementInstanceKey); this means the variables is not propagated to upper scopes.a JSON serialized document describing variables as key value pairs; the root of the document must be an objectstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongthe unique identifier of a particular element; can be the process instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)booleangetLocal()if true, the variables will be merged strictly into the local scope (as indicated by elementInstanceKey); this means the variables is not propagated to upper scopes.a JSON serialized document describing variables as key value pairs; the root of the document must be an objectcom.google.protobuf.ByteStringa JSON serialized document describing variables as key value pairs; the root of the document must be an objectprotected 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) setElementInstanceKey(long value) the unique identifier of a particular element; can be the process instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)setLocal(boolean value) if true, the variables will be merged strictly into the local scope (as indicated by elementInstanceKey); this means the variables is not propagated to upper scopes.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVariables(String value) a JSON serialized document describing variables as key value pairs; the root of the document must be an objectsetVariablesBytes(com.google.protobuf.ByteString value) a JSON serialized document describing variables as key value pairs; the root of the document must be an objectMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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.SetVariablesRequest.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.SetVariablesRequest.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.SetVariablesRequest.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
-
mergeFrom
public GatewayOuterClass.SetVariablesRequest.Builder mergeFrom(GatewayOuterClass.SetVariablesRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
-
mergeFrom
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>- Throws:
IOException
-
getElementInstanceKey
public long getElementInstanceKey()the unique identifier of a particular element; can be the process instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)
int64 elementInstanceKey = 1;- Specified by:
getElementInstanceKeyin interfaceGatewayOuterClass.SetVariablesRequestOrBuilder- Returns:
- The elementInstanceKey.
-
setElementInstanceKey
the unique identifier of a particular element; can be the process instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)
int64 elementInstanceKey = 1;- Parameters:
value- The elementInstanceKey to set.- Returns:
- This builder for chaining.
-
clearElementInstanceKey
the unique identifier of a particular element; can be the process instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)
int64 elementInstanceKey = 1;- Returns:
- This builder for chaining.
-
getVariables
a JSON serialized document describing variables as key value pairs; the root of the document must be an object
string variables = 2;- Specified by:
getVariablesin interfaceGatewayOuterClass.SetVariablesRequestOrBuilder- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()a JSON serialized document describing variables as key value pairs; the root of the document must be an object
string variables = 2;- Specified by:
getVariablesBytesin interfaceGatewayOuterClass.SetVariablesRequestOrBuilder- Returns:
- The bytes for variables.
-
setVariables
a JSON serialized document describing variables as key value pairs; the root of the document must be an object
string variables = 2;- Parameters:
value- The variables to set.- Returns:
- This builder for chaining.
-
clearVariables
a JSON serialized document describing variables as key value pairs; the root of the document must be an object
string variables = 2;- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.SetVariablesRequest.Builder setVariablesBytes(com.google.protobuf.ByteString value) a JSON serialized document describing variables as key value pairs; the root of the document must be an object
string variables = 2;- Parameters:
value- The bytes for variables to set.- Returns:
- This builder for chaining.
-
getLocal
public boolean getLocal()if true, the variables will be merged strictly into the local scope (as indicated by elementInstanceKey); this means the variables is not propagated to upper scopes. for example, let's say we have two scopes, '1' and '2', with each having effective variables as: 1 => `{ "foo" : 2 }`, and 2 => `{ "bar" : 1 }`. if we send an update request with elementInstanceKey = 2, variables `{ "foo" : 5 }`, and local is true, then scope 1 will be unchanged, and scope 2 will now be `{ "bar" : 1, "foo" 5 }`. if local was false, however, then scope 1 would be `{ "foo": 5 }`, and scope 2 would be `{ "bar" : 1 }`.bool local = 3;- Specified by:
getLocalin interfaceGatewayOuterClass.SetVariablesRequestOrBuilder- Returns:
- The local.
-
setLocal
if true, the variables will be merged strictly into the local scope (as indicated by elementInstanceKey); this means the variables is not propagated to upper scopes. for example, let's say we have two scopes, '1' and '2', with each having effective variables as: 1 => `{ "foo" : 2 }`, and 2 => `{ "bar" : 1 }`. if we send an update request with elementInstanceKey = 2, variables `{ "foo" : 5 }`, and local is true, then scope 1 will be unchanged, and scope 2 will now be `{ "bar" : 1, "foo" 5 }`. if local was false, however, then scope 1 would be `{ "foo": 5 }`, and scope 2 would be `{ "bar" : 1 }`.bool local = 3;- Parameters:
value- The local to set.- Returns:
- This builder for chaining.
-
clearLocal
if true, the variables will be merged strictly into the local scope (as indicated by elementInstanceKey); this means the variables is not propagated to upper scopes. for example, let's say we have two scopes, '1' and '2', with each having effective variables as: 1 => `{ "foo" : 2 }`, and 2 => `{ "bar" : 1 }`. if we send an update request with elementInstanceKey = 2, variables `{ "foo" : 5 }`, and local is true, then scope 1 will be unchanged, and scope 2 will now be `{ "bar" : 1, "foo" 5 }`. if local was false, however, then scope 1 would be `{ "foo": 5 }`, and scope 2 would be `{ "bar" : 1 }`.bool local = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.SetVariablesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.SetVariablesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
-