Class GatewayOuterClass.DecisionMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.DecisionMetadata.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DecisionMetadata.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.DecisionMetadataOrBuilder, Cloneable
Enclosing class:
GatewayOuterClass.DecisionMetadata

public static final class GatewayOuterClass.DecisionMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder> implements GatewayOuterClass.DecisionMetadataOrBuilder
Protobuf type gateway_protocol.DecisionMetadata
  • 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.DecisionMetadata.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.DecisionMetadata.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.DecisionMetadata.Builder>
    • getDefaultInstanceForType

      public GatewayOuterClass.DecisionMetadata 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

      public GatewayOuterClass.DecisionMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder>
    • setField

      public GatewayOuterClass.DecisionMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder>
    • clearField

      public GatewayOuterClass.DecisionMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder>
    • clearOneof

      public GatewayOuterClass.DecisionMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder>
    • setRepeatedField

      public GatewayOuterClass.DecisionMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder>
    • addRepeatedField

      public GatewayOuterClass.DecisionMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.DecisionMetadata.Builder>
    • mergeFrom

      public GatewayOuterClass.DecisionMetadata.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.DecisionMetadata.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.DecisionMetadata.Builder>
    • mergeFrom

      public GatewayOuterClass.DecisionMetadata.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.DecisionMetadata.Builder>
      Throws:
      IOException
    • getDmnDecisionId

      public String getDmnDecisionId()
       the dmn decision ID, as parsed during deployment; together with the
       versions forms a unique identifier for a specific decision
       
      string dmnDecisionId = 1;
      Specified by:
      getDmnDecisionId in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The dmnDecisionId.
    • getDmnDecisionIdBytes

      public com.google.protobuf.ByteString getDmnDecisionIdBytes()
       the dmn decision ID, as parsed during deployment; together with the
       versions forms a unique identifier for a specific decision
       
      string dmnDecisionId = 1;
      Specified by:
      getDmnDecisionIdBytes in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The bytes for dmnDecisionId.
    • setDmnDecisionId

      public GatewayOuterClass.DecisionMetadata.Builder setDmnDecisionId(String value)
       the dmn decision ID, as parsed during deployment; together with the
       versions forms a unique identifier for a specific decision
       
      string dmnDecisionId = 1;
      Parameters:
      value - The dmnDecisionId to set.
      Returns:
      This builder for chaining.
    • clearDmnDecisionId

      public GatewayOuterClass.DecisionMetadata.Builder clearDmnDecisionId()
       the dmn decision ID, as parsed during deployment; together with the
       versions forms a unique identifier for a specific decision
       
      string dmnDecisionId = 1;
      Returns:
      This builder for chaining.
    • setDmnDecisionIdBytes

      public GatewayOuterClass.DecisionMetadata.Builder setDmnDecisionIdBytes(com.google.protobuf.ByteString value)
       the dmn decision ID, as parsed during deployment; together with the
       versions forms a unique identifier for a specific decision
       
      string dmnDecisionId = 1;
      Parameters:
      value - The bytes for dmnDecisionId to set.
      Returns:
      This builder for chaining.
    • getDmnDecisionName

      public String getDmnDecisionName()
       the dmn name of the decision, as parsed during deployment
       
      string dmnDecisionName = 2;
      Specified by:
      getDmnDecisionName in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The dmnDecisionName.
    • getDmnDecisionNameBytes

      public com.google.protobuf.ByteString getDmnDecisionNameBytes()
       the dmn name of the decision, as parsed during deployment
       
      string dmnDecisionName = 2;
      Specified by:
      getDmnDecisionNameBytes in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The bytes for dmnDecisionName.
    • setDmnDecisionName

      public GatewayOuterClass.DecisionMetadata.Builder setDmnDecisionName(String value)
       the dmn name of the decision, as parsed during deployment
       
      string dmnDecisionName = 2;
      Parameters:
      value - The dmnDecisionName to set.
      Returns:
      This builder for chaining.
    • clearDmnDecisionName

      public GatewayOuterClass.DecisionMetadata.Builder clearDmnDecisionName()
       the dmn name of the decision, as parsed during deployment
       
      string dmnDecisionName = 2;
      Returns:
      This builder for chaining.
    • setDmnDecisionNameBytes

      public GatewayOuterClass.DecisionMetadata.Builder setDmnDecisionNameBytes(com.google.protobuf.ByteString value)
       the dmn name of the decision, as parsed during deployment
       
      string dmnDecisionName = 2;
      Parameters:
      value - The bytes for dmnDecisionName to set.
      Returns:
      This builder for chaining.
    • getVersion

      public int getVersion()
       the assigned decision version
       
      int32 version = 3;
      Specified by:
      getVersion in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The version.
    • setVersion

      public GatewayOuterClass.DecisionMetadata.Builder setVersion(int value)
       the assigned decision version
       
      int32 version = 3;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

       the assigned decision version
       
      int32 version = 3;
      Returns:
      This builder for chaining.
    • getDecisionKey

      public long getDecisionKey()
       the assigned decision key, which acts as a unique identifier for this
       decision
       
      int64 decisionKey = 4;
      Specified by:
      getDecisionKey in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The decisionKey.
    • setDecisionKey

      public GatewayOuterClass.DecisionMetadata.Builder setDecisionKey(long value)
       the assigned decision key, which acts as a unique identifier for this
       decision
       
      int64 decisionKey = 4;
      Parameters:
      value - The decisionKey to set.
      Returns:
      This builder for chaining.
    • clearDecisionKey

      public GatewayOuterClass.DecisionMetadata.Builder clearDecisionKey()
       the assigned decision key, which acts as a unique identifier for this
       decision
       
      int64 decisionKey = 4;
      Returns:
      This builder for chaining.
    • getDmnDecisionRequirementsId

      public String getDmnDecisionRequirementsId()
       the dmn ID of the decision requirements graph that this decision is part
       of, as parsed during deployment
       
      string dmnDecisionRequirementsId = 5;
      Specified by:
      getDmnDecisionRequirementsId in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The dmnDecisionRequirementsId.
    • getDmnDecisionRequirementsIdBytes

      public com.google.protobuf.ByteString getDmnDecisionRequirementsIdBytes()
       the dmn ID of the decision requirements graph that this decision is part
       of, as parsed during deployment
       
      string dmnDecisionRequirementsId = 5;
      Specified by:
      getDmnDecisionRequirementsIdBytes in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The bytes for dmnDecisionRequirementsId.
    • setDmnDecisionRequirementsId

      public GatewayOuterClass.DecisionMetadata.Builder setDmnDecisionRequirementsId(String value)
       the dmn ID of the decision requirements graph that this decision is part
       of, as parsed during deployment
       
      string dmnDecisionRequirementsId = 5;
      Parameters:
      value - The dmnDecisionRequirementsId to set.
      Returns:
      This builder for chaining.
    • clearDmnDecisionRequirementsId

      public GatewayOuterClass.DecisionMetadata.Builder clearDmnDecisionRequirementsId()
       the dmn ID of the decision requirements graph that this decision is part
       of, as parsed during deployment
       
      string dmnDecisionRequirementsId = 5;
      Returns:
      This builder for chaining.
    • setDmnDecisionRequirementsIdBytes

      public GatewayOuterClass.DecisionMetadata.Builder setDmnDecisionRequirementsIdBytes(com.google.protobuf.ByteString value)
       the dmn ID of the decision requirements graph that this decision is part
       of, as parsed during deployment
       
      string dmnDecisionRequirementsId = 5;
      Parameters:
      value - The bytes for dmnDecisionRequirementsId to set.
      Returns:
      This builder for chaining.
    • getDecisionRequirementsKey

      public long getDecisionRequirementsKey()
       the assigned key of the decision requirements graph that this decision is
       part of
       
      int64 decisionRequirementsKey = 6;
      Specified by:
      getDecisionRequirementsKey in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The decisionRequirementsKey.
    • setDecisionRequirementsKey

      public GatewayOuterClass.DecisionMetadata.Builder setDecisionRequirementsKey(long value)
       the assigned key of the decision requirements graph that this decision is
       part of
       
      int64 decisionRequirementsKey = 6;
      Parameters:
      value - The decisionRequirementsKey to set.
      Returns:
      This builder for chaining.
    • clearDecisionRequirementsKey

      public GatewayOuterClass.DecisionMetadata.Builder clearDecisionRequirementsKey()
       the assigned key of the decision requirements graph that this decision is
       part of
       
      int64 decisionRequirementsKey = 6;
      Returns:
      This builder for chaining.
    • getTenantId

      public String getTenantId()
       the tenant id of the deployed decision
       
      string tenantId = 7;
      Specified by:
      getTenantId in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The tenantId.
    • getTenantIdBytes

      public com.google.protobuf.ByteString getTenantIdBytes()
       the tenant id of the deployed decision
       
      string tenantId = 7;
      Specified by:
      getTenantIdBytes in interface GatewayOuterClass.DecisionMetadataOrBuilder
      Returns:
      The bytes for tenantId.
    • setTenantId

       the tenant id of the deployed decision
       
      string tenantId = 7;
      Parameters:
      value - The tenantId to set.
      Returns:
      This builder for chaining.
    • clearTenantId

       the tenant id of the deployed decision
       
      string tenantId = 7;
      Returns:
      This builder for chaining.
    • setTenantIdBytes

      public GatewayOuterClass.DecisionMetadata.Builder setTenantIdBytes(com.google.protobuf.ByteString value)
       the tenant id of the deployed decision
       
      string tenantId = 7;
      Parameters:
      value - The bytes for tenantId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GatewayOuterClass.DecisionMetadata.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.DecisionMetadata.Builder>
    • mergeUnknownFields

      public final GatewayOuterClass.DecisionMetadata.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.DecisionMetadata.Builder>