Class RateLimitQuotaOverride.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RateLimitQuotaOverride.Builder>
com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder>
io.envoyproxy.envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaOverride.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RateLimitQuotaOverrideOrBuilder, Cloneable
Enclosing class:
RateLimitQuotaOverride

public static final class RateLimitQuotaOverride.Builder extends com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder> implements RateLimitQuotaOverrideOrBuilder
 Per-route and per-host configuration overrides. The more specific definition completely
 overrides the less specific definition.
 
Protobuf type envoy.extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaOverride
  • Field Details

    • bitField0_

      private int bitField0_
    • domain_

      private Object domain_
    • bucketMatchers_

      private Matcher bucketMatchers_
    • bucketMatchersBuilder_

      private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder,MatcherOrBuilder> bucketMatchersBuilder_
  • 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<RateLimitQuotaOverride.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<RateLimitQuotaOverride.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<RateLimitQuotaOverride.Builder>
    • getDefaultInstanceForType

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

      public RateLimitQuotaOverride build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RateLimitQuotaOverride 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(RateLimitQuotaOverride result)
    • mergeFrom

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

      public RateLimitQuotaOverride.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<RateLimitQuotaOverride.Builder>
      Throws:
      IOException
    • getDomain

      public String getDomain()
       The application domain to use when calling the service. This enables sharing the quota
       server between different applications without fear of overlap.
       E.g., "envoy".
      
       If empty, inherits the value from the less specific definition.
       
      string domain = 1;
      Specified by:
      getDomain in interface RateLimitQuotaOverrideOrBuilder
      Returns:
      The domain.
    • getDomainBytes

      public com.google.protobuf.ByteString getDomainBytes()
       The application domain to use when calling the service. This enables sharing the quota
       server between different applications without fear of overlap.
       E.g., "envoy".
      
       If empty, inherits the value from the less specific definition.
       
      string domain = 1;
      Specified by:
      getDomainBytes in interface RateLimitQuotaOverrideOrBuilder
      Returns:
      The bytes for domain.
    • setDomain

      public RateLimitQuotaOverride.Builder setDomain(String value)
       The application domain to use when calling the service. This enables sharing the quota
       server between different applications without fear of overlap.
       E.g., "envoy".
      
       If empty, inherits the value from the less specific definition.
       
      string domain = 1;
      Parameters:
      value - The domain to set.
      Returns:
      This builder for chaining.
    • clearDomain

      public RateLimitQuotaOverride.Builder clearDomain()
       The application domain to use when calling the service. This enables sharing the quota
       server between different applications without fear of overlap.
       E.g., "envoy".
      
       If empty, inherits the value from the less specific definition.
       
      string domain = 1;
      Returns:
      This builder for chaining.
    • setDomainBytes

      public RateLimitQuotaOverride.Builder setDomainBytes(com.google.protobuf.ByteString value)
       The application domain to use when calling the service. This enables sharing the quota
       server between different applications without fear of overlap.
       E.g., "envoy".
      
       If empty, inherits the value from the less specific definition.
       
      string domain = 1;
      Parameters:
      value - The bytes for domain to set.
      Returns:
      This builder for chaining.
    • hasBucketMatchers

      public boolean hasBucketMatchers()
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
      Specified by:
      hasBucketMatchers in interface RateLimitQuotaOverrideOrBuilder
      Returns:
      Whether the bucketMatchers field is set.
    • getBucketMatchers

      public Matcher getBucketMatchers()
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
      Specified by:
      getBucketMatchers in interface RateLimitQuotaOverrideOrBuilder
      Returns:
      The bucketMatchers.
    • setBucketMatchers

      public RateLimitQuotaOverride.Builder setBucketMatchers(Matcher value)
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
    • setBucketMatchers

      public RateLimitQuotaOverride.Builder setBucketMatchers(Matcher.Builder builderForValue)
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
    • mergeBucketMatchers

      public RateLimitQuotaOverride.Builder mergeBucketMatchers(Matcher value)
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
    • clearBucketMatchers

      public RateLimitQuotaOverride.Builder clearBucketMatchers()
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
    • getBucketMatchersBuilder

      public Matcher.Builder getBucketMatchersBuilder()
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
    • getBucketMatchersOrBuilder

      public MatcherOrBuilder getBucketMatchersOrBuilder()
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;
      Specified by:
      getBucketMatchersOrBuilder in interface RateLimitQuotaOverrideOrBuilder
    • internalGetBucketMatchersFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder,MatcherOrBuilder> internalGetBucketMatchersFieldBuilder()
       The match tree to use for grouping incoming requests into buckets.
      
       If set, fully overrides the bucket matchers provided on the less specific definition.
       If not set, inherits the value from the less specific definition.
      
       See usage example: :ref:`RateLimitQuotaFilterConfig.bucket_matchers
       <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaFilterConfig.bucket_matchers>`.
       
      .xds.type.matcher.v3.Matcher bucket_matchers = 2;