Class RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior

    • Field Detail

      • bitField0_

        private int bitField0_
      • expiredAssignmentBehaviorCase_

        private int expiredAssignmentBehaviorCase_
      • expiredAssignmentBehavior_

        private java.lang.Object expiredAssignmentBehavior_
      • EXPIRED_ASSIGNMENT_BEHAVIOR_TIMEOUT_FIELD_NUMBER

        public static final int EXPIRED_ASSIGNMENT_BEHAVIOR_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • expiredAssignmentBehaviorTimeout_

        private com.google.protobuf.Duration expiredAssignmentBehaviorTimeout_
      • FALLBACK_RATE_LIMIT_FIELD_NUMBER

        public static final int FALLBACK_RATE_LIMIT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REUSE_LAST_ASSIGNMENT_FIELD_NUMBER

        public static final int REUSE_LAST_ASSIGNMENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • ExpiredAssignmentBehavior

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

        private ExpiredAssignmentBehavior()
    • Method Detail

      • 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
      • 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.
      • 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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.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​(java.lang.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​(java.nio.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,
                                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                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
      • 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