Class GatewayOuterClass.EvaluateDecisionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.EvaluateDecisionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,GatewayOuterClass.EvaluateDecisionRequestOrBuilder
,Cloneable
- Enclosing class:
- GatewayOuterClass.EvaluateDecisionRequest
public static final class GatewayOuterClass.EvaluateDecisionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
implements GatewayOuterClass.EvaluateDecisionRequestOrBuilder
Protobuf type
gateway_protocol.EvaluateDecisionRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
the ID of the decision to be evaluatedthe unique key identifying the decision to be evaluated (e.g.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) the tenant identifier of the decisionJSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g.clone()
the ID of the decision to be evaluatedcom.google.protobuf.ByteString
the ID of the decision to be evaluatedlong
the unique key identifying the decision to be evaluated (e.g.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
the tenant identifier of the decisioncom.google.protobuf.ByteString
the tenant identifier of the decisionJSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g.com.google.protobuf.ByteString
JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g.protected 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) setDecisionId
(String value) the ID of the decision to be evaluatedsetDecisionIdBytes
(com.google.protobuf.ByteString value) the ID of the decision to be evaluatedsetDecisionKey
(long value) the unique key identifying the decision to be evaluated (e.g.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTenantId
(String value) the tenant identifier of the decisionsetTenantIdBytes
(com.google.protobuf.ByteString value) the tenant identifier of the decisionsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVariables
(String value) JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g.setVariablesBytes
(com.google.protobuf.ByteString value) JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g.Methods 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.EvaluateDecisionRequest.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.EvaluateDecisionRequest.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.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
setField
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
clearField
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
clearOneof
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
mergeFrom
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
mergeFrom
public GatewayOuterClass.EvaluateDecisionRequest.Builder mergeFrom(GatewayOuterClass.EvaluateDecisionRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
-
mergeFrom
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
- Throws:
IOException
-
getDecisionKey
public long getDecisionKey()the unique key identifying the decision to be evaluated (e.g. returned from a decision in the DeployResourceResponse message)
int64 decisionKey = 1;
- Specified by:
getDecisionKey
in interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder
- Returns:
- The decisionKey.
-
setDecisionKey
the unique key identifying the decision to be evaluated (e.g. returned from a decision in the DeployResourceResponse message)
int64 decisionKey = 1;
- Parameters:
value
- The decisionKey to set.- Returns:
- This builder for chaining.
-
clearDecisionKey
the unique key identifying the decision to be evaluated (e.g. returned from a decision in the DeployResourceResponse message)
int64 decisionKey = 1;
- Returns:
- This builder for chaining.
-
getDecisionId
the ID of the decision to be evaluated
string decisionId = 2;
- Specified by:
getDecisionId
in interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder
- Returns:
- The decisionId.
-
getDecisionIdBytes
public com.google.protobuf.ByteString getDecisionIdBytes()the ID of the decision to be evaluated
string decisionId = 2;
- Specified by:
getDecisionIdBytes
in interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder
- Returns:
- The bytes for decisionId.
-
setDecisionId
the ID of the decision to be evaluated
string decisionId = 2;
- Parameters:
value
- The decisionId to set.- Returns:
- This builder for chaining.
-
clearDecisionId
the ID of the decision to be evaluated
string decisionId = 2;
- Returns:
- This builder for chaining.
-
setDecisionIdBytes
public GatewayOuterClass.EvaluateDecisionRequest.Builder setDecisionIdBytes(com.google.protobuf.ByteString value) the ID of the decision to be evaluated
string decisionId = 2;
- Parameters:
value
- The bytes for decisionId to set.- Returns:
- This builder for chaining.
-
getVariables
JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 3;
- Specified by:
getVariables
in interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder
- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 3;
- Specified by:
getVariablesBytes
in interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder
- Returns:
- The bytes for variables.
-
setVariables
JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 3;
- Parameters:
value
- The variables to set.- Returns:
- This builder for chaining.
-
clearVariables
JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 3;
- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.EvaluateDecisionRequest.Builder setVariablesBytes(com.google.protobuf.ByteString value) JSON document that will instantiate the variables for the decision to be evaluated; it must be a JSON object, as variables will be mapped in a key-value fashion, e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.
string variables = 3;
- Parameters:
value
- The bytes for variables to set.- Returns:
- This builder for chaining.
-
getTenantId
the tenant identifier of the decision
string tenantId = 4;
- Specified by:
getTenantId
in interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder
- Returns:
- The tenantId.
-
getTenantIdBytes
public com.google.protobuf.ByteString getTenantIdBytes()the tenant identifier of the decision
string tenantId = 4;
- Specified by:
getTenantIdBytes
in interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder
- Returns:
- The bytes for tenantId.
-
setTenantId
the tenant identifier of the decision
string tenantId = 4;
- Parameters:
value
- The tenantId to set.- Returns:
- This builder for chaining.
-
clearTenantId
the tenant identifier of the decision
string tenantId = 4;
- Returns:
- This builder for chaining.
-
setTenantIdBytes
public GatewayOuterClass.EvaluateDecisionRequest.Builder setTenantIdBytes(com.google.protobuf.ByteString value) the tenant identifier of the decision
string tenantId = 4;
- Parameters:
value
- The bytes for tenantId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-