Class RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder, Serializable
Enclosing class:
RateLimitQuotaBucketSettings

public static final class RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior extends com.google.protobuf.GeneratedMessage implements RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
 Specifies the behavior when the bucket's assignment has expired, and cannot be refreshed for
 any reason.
 
Protobuf type envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • expiredAssignmentBehaviorCase_

      private int expiredAssignmentBehaviorCase_
    • expiredAssignmentBehavior_

      private Object expiredAssignmentBehavior_
    • EXPIRED_ASSIGNMENT_BEHAVIOR_TIMEOUT_FIELD_NUMBER

      public static final int EXPIRED_ASSIGNMENT_BEHAVIOR_TIMEOUT_FIELD_NUMBER
      See Also:
    • expiredAssignmentBehaviorTimeout_

      private com.google.protobuf.Duration expiredAssignmentBehaviorTimeout_
    • FALLBACK_RATE_LIMIT_FIELD_NUMBER

      public static final int FALLBACK_RATE_LIMIT_FIELD_NUMBER
      See Also:
    • REUSE_LAST_ASSIGNMENT_FIELD_NUMBER

      public static final int REUSE_LAST_ASSIGNMENT_FIELD_NUMBER
      See Also:
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior> PARSER
  • Constructor Details

    • ExpiredAssignmentBehavior

      private ExpiredAssignmentBehavior(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • ExpiredAssignmentBehavior

      private ExpiredAssignmentBehavior()
  • 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
    • getExpiredAssignmentBehaviorCase

      Specified by:
      getExpiredAssignmentBehaviorCase in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
    • hasExpiredAssignmentBehaviorTimeout

      public boolean hasExpiredAssignmentBehaviorTimeout()
       Limit the time :ref:`ExpiredAssignmentBehavior
       <envoy_v3_api_msg_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior>`
       is applied. If the server doesn't respond within this duration:
      
       1. Selected ``ExpiredAssignmentBehavior`` is no longer applied.
       2. The bucket is abandoned. 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.
       3. If a new request is matched into the bucket that has become abandoned,
       the data plane restarts the subscription to the bucket. The process of restarting the
       subscription is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
      
       If not set, defaults to zero, and the bucket is abandoned immediately.
       
      .google.protobuf.Duration expired_assignment_behavior_timeout = 1 [(.validate.rules) = { ... }
      Specified by:
      hasExpiredAssignmentBehaviorTimeout in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
      Returns:
      Whether the expiredAssignmentBehaviorTimeout field is set.
    • getExpiredAssignmentBehaviorTimeout

      public com.google.protobuf.Duration getExpiredAssignmentBehaviorTimeout()
       Limit the time :ref:`ExpiredAssignmentBehavior
       <envoy_v3_api_msg_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior>`
       is applied. If the server doesn't respond within this duration:
      
       1. Selected ``ExpiredAssignmentBehavior`` is no longer applied.
       2. The bucket is abandoned. 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.
       3. If a new request is matched into the bucket that has become abandoned,
       the data plane restarts the subscription to the bucket. The process of restarting the
       subscription is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
      
       If not set, defaults to zero, and the bucket is abandoned immediately.
       
      .google.protobuf.Duration expired_assignment_behavior_timeout = 1 [(.validate.rules) = { ... }
      Specified by:
      getExpiredAssignmentBehaviorTimeout in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
      Returns:
      The expiredAssignmentBehaviorTimeout.
    • getExpiredAssignmentBehaviorTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getExpiredAssignmentBehaviorTimeoutOrBuilder()
       Limit the time :ref:`ExpiredAssignmentBehavior
       <envoy_v3_api_msg_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior>`
       is applied. If the server doesn't respond within this duration:
      
       1. Selected ``ExpiredAssignmentBehavior`` is no longer applied.
       2. The bucket is abandoned. 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.
       3. If a new request is matched into the bucket that has become abandoned,
       the data plane restarts the subscription to the bucket. The process of restarting the
       subscription is described in the :ref:`AbandonAction
       <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>`
       message.
      
       If not set, defaults to zero, and the bucket is abandoned immediately.
       
      .google.protobuf.Duration expired_assignment_behavior_timeout = 1 [(.validate.rules) = { ... }
      Specified by:
      getExpiredAssignmentBehaviorTimeoutOrBuilder in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
    • hasFallbackRateLimit

      public boolean hasFallbackRateLimit()
       Apply the rate limiting strategy to all requests matched into the bucket until the RLQS
       server sends a new assignment, or the :ref:`expired_assignment_behavior_timeout
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.expired_assignment_behavior_timeout>`
       runs out.
       
      .envoy.type.v3.RateLimitStrategy fallback_rate_limit = 2;
      Specified by:
      hasFallbackRateLimit in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
      Returns:
      Whether the fallbackRateLimit field is set.
    • getFallbackRateLimit

      public RateLimitStrategy getFallbackRateLimit()
       Apply the rate limiting strategy to all requests matched into the bucket until the RLQS
       server sends a new assignment, or the :ref:`expired_assignment_behavior_timeout
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.expired_assignment_behavior_timeout>`
       runs out.
       
      .envoy.type.v3.RateLimitStrategy fallback_rate_limit = 2;
      Specified by:
      getFallbackRateLimit in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
      Returns:
      The fallbackRateLimit.
    • getFallbackRateLimitOrBuilder

      public RateLimitStrategyOrBuilder getFallbackRateLimitOrBuilder()
       Apply the rate limiting strategy to all requests matched into the bucket until the RLQS
       server sends a new assignment, or the :ref:`expired_assignment_behavior_timeout
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.expired_assignment_behavior_timeout>`
       runs out.
       
      .envoy.type.v3.RateLimitStrategy fallback_rate_limit = 2;
      Specified by:
      getFallbackRateLimitOrBuilder in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
    • hasReuseLastAssignment

      public boolean hasReuseLastAssignment()
       Reuse the last ``active`` assignment until the RLQS server sends a new assignment, or the
       :ref:`expired_assignment_behavior_timeout
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.expired_assignment_behavior_timeout>`
       runs out.
       
      .envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.ReuseLastAssignment reuse_last_assignment = 3;
      Specified by:
      hasReuseLastAssignment in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
      Returns:
      Whether the reuseLastAssignment field is set.
    • getReuseLastAssignment

       Reuse the last ``active`` assignment until the RLQS server sends a new assignment, or the
       :ref:`expired_assignment_behavior_timeout
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.expired_assignment_behavior_timeout>`
       runs out.
       
      .envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.ReuseLastAssignment reuse_last_assignment = 3;
      Specified by:
      getReuseLastAssignment in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
      Returns:
      The reuseLastAssignment.
    • getReuseLastAssignmentOrBuilder

       Reuse the last ``active`` assignment until the RLQS server sends a new assignment, or the
       :ref:`expired_assignment_behavior_timeout
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.expired_assignment_behavior_timeout>`
       runs out.
       
      .envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.ReuseLastAssignment reuse_last_assignment = 3;
      Specified by:
      getReuseLastAssignmentOrBuilder in interface RateLimitQuotaBucketSettings.ExpiredAssignmentBehaviorOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior> parser()
    • getParserForType

      public com.google.protobuf.Parser<RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder