Class 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.GeneratedMessageV3.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
    • Method Detail

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

        public RateLimitQuotaOverride.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<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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • setUnknownFields

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

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