Package io.zeebe.gateway.protocol
Class GatewayOuterClass.SetVariablesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
-
- io.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 typegateway_protocol.SetVariablesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayOuterClass.SetVariablesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.SetVariablesRequest
build()
GatewayOuterClass.SetVariablesRequest
buildPartial()
GatewayOuterClass.SetVariablesRequest.Builder
clear()
GatewayOuterClass.SetVariablesRequest.Builder
clearElementInstanceKey()
the unique identifier of a particular element; can be the workflow instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)GatewayOuterClass.SetVariablesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GatewayOuterClass.SetVariablesRequest.Builder
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.GatewayOuterClass.SetVariablesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GatewayOuterClass.SetVariablesRequest.Builder
clearVariables()
a JSON serialized document describing variables as key value pairs; the root of the document must be an objectGatewayOuterClass.SetVariablesRequest.Builder
clone()
GatewayOuterClass.SetVariablesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getElementInstanceKey()
the unique identifier of a particular element; can be the workflow instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)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.String
getVariables()
a JSON serialized document describing variables as key value pairs; the root of the document must be an objectcom.google.protobuf.ByteString
getVariablesBytes()
a JSON serialized document describing variables as key value pairs; the root of the document must be an objectprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GatewayOuterClass.SetVariablesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GatewayOuterClass.SetVariablesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
GatewayOuterClass.SetVariablesRequest.Builder
mergeFrom(GatewayOuterClass.SetVariablesRequest other)
GatewayOuterClass.SetVariablesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.SetVariablesRequest.Builder
setElementInstanceKey(long value)
the unique identifier of a particular element; can be the workflow instance key (as obtained during instance creation), or a given element, such as a service task (see elementInstanceKey on the job message)GatewayOuterClass.SetVariablesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GatewayOuterClass.SetVariablesRequest.Builder
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.GatewayOuterClass.SetVariablesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GatewayOuterClass.SetVariablesRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GatewayOuterClass.SetVariablesRequest.Builder
setVariables(String value)
a JSON serialized document describing variables as key value pairs; the root of the document must be an objectGatewayOuterClass.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-
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.SetVariablesRequest.Builder>
-
clear
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
getDefaultInstanceForType
public GatewayOuterClass.SetVariablesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GatewayOuterClass.SetVariablesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GatewayOuterClass.SetVariablesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
setField
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
clearField
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
clearOneof
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
mergeFrom
public GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
mergeFrom
public GatewayOuterClass.SetVariablesRequest.Builder mergeFrom(GatewayOuterClass.SetVariablesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.SetVariablesRequest.Builder>
- Throws:
IOException
-
getElementInstanceKey
public long getElementInstanceKey()
the unique identifier of a particular element; can be the workflow 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:
getElementInstanceKey
in interfaceGatewayOuterClass.SetVariablesRequestOrBuilder
- Returns:
- The elementInstanceKey.
-
setElementInstanceKey
public GatewayOuterClass.SetVariablesRequest.Builder setElementInstanceKey(long value)
the unique identifier of a particular element; can be the workflow 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
public GatewayOuterClass.SetVariablesRequest.Builder clearElementInstanceKey()
the unique identifier of a particular element; can be the workflow 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
public String 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:
getVariables
in 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:
getVariablesBytes
in interfaceGatewayOuterClass.SetVariablesRequestOrBuilder
- Returns:
- The bytes for variables.
-
setVariables
public GatewayOuterClass.SetVariablesRequest.Builder setVariables(String 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 variables to set.- Returns:
- This builder for chaining.
-
clearVariables
public GatewayOuterClass.SetVariablesRequest.Builder 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:
getLocal
in interfaceGatewayOuterClass.SetVariablesRequestOrBuilder
- Returns:
- The local.
-
setLocal
public GatewayOuterClass.SetVariablesRequest.Builder 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. 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
public GatewayOuterClass.SetVariablesRequest.Builder 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.SetVariablesRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.SetVariablesRequest.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.SetVariablesRequest.Builder>
-
-