Class GatewayOuterClass.EvaluateDecisionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
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.ByteStringthe ID of the decision to be evaluatedlongthe unique key identifying the decision to be evaluated (e.g.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorthe tenant identifier of the decisioncom.google.protobuf.ByteStringthe 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.ByteStringJSON 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.FieldAccessorTablefinal booleanmergeFrom(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, 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.EvaluateDecisionRequest.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.EvaluateDecisionRequest.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.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
setField
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
clearField
public GatewayOuterClass.EvaluateDecisionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
-
clearOneof
public GatewayOuterClass.EvaluateDecisionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.EvaluateDecisionRequest.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.EvaluateDecisionRequest.Builder>
-
mergeFrom
public GatewayOuterClass.EvaluateDecisionRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
-
mergeFrom
public GatewayOuterClass.EvaluateDecisionRequest.Builder mergeFrom(GatewayOuterClass.EvaluateDecisionRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getDecisionKeyin 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:
getDecisionIdin 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:
getDecisionIdBytesin 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:
getVariablesin 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:
getVariablesBytesin 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:
getTenantIdin interfaceGatewayOuterClass.EvaluateDecisionRequestOrBuilder- Returns:
- The tenantId.
-
getTenantIdBytes
public com.google.protobuf.ByteString getTenantIdBytes()the tenant identifier of the decision
string tenantId = 4;- Specified by:
getTenantIdBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.EvaluateDecisionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
-