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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
    • getDefaultInstanceForType

      public GatewayOuterClass.EvaluateDecisionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GatewayOuterClass.EvaluateDecisionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface GatewayOuterClass.EvaluateDecisionRequestOrBuilder
      Returns:
      The decisionKey.
    • setDecisionKey

      public GatewayOuterClass.EvaluateDecisionRequest.Builder setDecisionKey(long value)
       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

      public String getDecisionId()
       the ID of the decision to be evaluated
       
      string decisionId = 2;
      Specified by:
      getDecisionId in interface GatewayOuterClass.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 interface GatewayOuterClass.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

      public String 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 interface GatewayOuterClass.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 interface GatewayOuterClass.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.
    • setUnknownFields

      public final GatewayOuterClass.EvaluateDecisionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>
    • mergeUnknownFields

      public final GatewayOuterClass.EvaluateDecisionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.EvaluateDecisionRequest.Builder>