Class RateLimitQuotaResponse.BucketAction.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
io.envoyproxy.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RateLimitQuotaResponse.BucketActionOrBuilder, Cloneable
Enclosing class:
RateLimitQuotaResponse.BucketAction

public static final class RateLimitQuotaResponse.BucketAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder> implements RateLimitQuotaResponse.BucketActionOrBuilder
 Commands the data plane to apply one of the actions to the bucket with the
 :ref:`bucket_id <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.bucket_id>`.
 
Protobuf type envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • 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.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.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.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
    • getDefaultInstanceForType

      public RateLimitQuotaResponse.BucketAction 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 RateLimitQuotaResponse.BucketAction buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(RateLimitQuotaResponse.BucketAction result)
    • buildPartialOneofs

      private void buildPartialOneofs(RateLimitQuotaResponse.BucketAction result)
    • mergeFrom

      public RateLimitQuotaResponse.BucketAction.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<RateLimitQuotaResponse.BucketAction.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
    • mergeFrom

      public RateLimitQuotaResponse.BucketAction.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<RateLimitQuotaResponse.BucketAction.Builder>
      Throws:
      IOException
    • getBucketActionCase

      Specified by:
      getBucketActionCase in interface RateLimitQuotaResponse.BucketActionOrBuilder
    • clearBucketAction

      public RateLimitQuotaResponse.BucketAction.Builder clearBucketAction()
    • hasBucketId

      public boolean hasBucketId()
       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
      Specified by:
      hasBucketId in interface RateLimitQuotaResponse.BucketActionOrBuilder
      Returns:
      Whether the bucketId field is set.
    • getBucketId

      public BucketId getBucketId()
       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
      Specified by:
      getBucketId in interface RateLimitQuotaResponse.BucketActionOrBuilder
      Returns:
      The bucketId.
    • setBucketId

       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
    • setBucketId

      public RateLimitQuotaResponse.BucketAction.Builder setBucketId(BucketId.Builder builderForValue)
       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
    • mergeBucketId

       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
    • clearBucketId

       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
    • getBucketIdBuilder

      public BucketId.Builder getBucketIdBuilder()
       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
    • getBucketIdOrBuilder

      public BucketIdOrBuilder getBucketIdOrBuilder()
       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
      Specified by:
      getBucketIdOrBuilder in interface RateLimitQuotaResponse.BucketActionOrBuilder
    • getBucketIdFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<BucketId,BucketId.Builder,BucketIdOrBuilder> getBucketIdFieldBuilder()
       ``BucketId`` for which request the action is applied.
       
      .envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
    • hasQuotaAssignmentAction

      public boolean hasQuotaAssignmentAction()
       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
      Specified by:
      hasQuotaAssignmentAction in interface RateLimitQuotaResponse.BucketActionOrBuilder
      Returns:
      Whether the quotaAssignmentAction field is set.
    • getQuotaAssignmentAction

       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
      Specified by:
      getQuotaAssignmentAction in interface RateLimitQuotaResponse.BucketActionOrBuilder
      Returns:
      The quotaAssignmentAction.
    • setQuotaAssignmentAction

       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
    • setQuotaAssignmentAction

       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
    • mergeQuotaAssignmentAction

       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
    • clearQuotaAssignmentAction

      public RateLimitQuotaResponse.BucketAction.Builder clearQuotaAssignmentAction()
       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
    • getQuotaAssignmentActionBuilder

       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
    • getQuotaAssignmentActionOrBuilder

      public RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder getQuotaAssignmentActionOrBuilder()
       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
      Specified by:
      getQuotaAssignmentActionOrBuilder in interface RateLimitQuotaResponse.BucketActionOrBuilder
    • getQuotaAssignmentActionFieldBuilder

       Apply the quota assignment to the bucket.
      
       Commands the data plane to apply a rate limiting strategy to the bucket.
       The process of applying and expiring the rate limiting strategy is detailed in the
       :ref:`QuotaAssignmentAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;
    • hasAbandonAction

      public boolean hasAbandonAction()
       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
      Specified by:
      hasAbandonAction in interface RateLimitQuotaResponse.BucketActionOrBuilder
      Returns:
      Whether the abandonAction field is set.
    • getAbandonAction

       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
      Specified by:
      getAbandonAction in interface RateLimitQuotaResponse.BucketActionOrBuilder
      Returns:
      The abandonAction.
    • setAbandonAction

       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
    • setAbandonAction

       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
    • mergeAbandonAction

       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
    • clearAbandonAction

      public RateLimitQuotaResponse.BucketAction.Builder clearAbandonAction()
       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
    • getAbandonActionBuilder

       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
    • getAbandonActionOrBuilder

       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
      Specified by:
      getAbandonActionOrBuilder in interface RateLimitQuotaResponse.BucketActionOrBuilder
    • getAbandonActionFieldBuilder

       Abandon the bucket.
      
       Commands the data plane to abandon the bucket.
       The process of abandoning the bucket is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
       
      .envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;