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 Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Matcherprivate com.google.protobuf.SingleFieldBuilder<Matcher, Matcher.Builder, MatcherOrBuilder> private Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(RateLimitQuotaOverride result) clear()The match tree to use for grouping incoming requests into buckets.The application domain to use when calling the service.The match tree to use for grouping incoming requests into buckets.The match tree to use for grouping incoming requests into buckets.The match tree to use for grouping incoming requests into buckets.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe application domain to use when calling the service.com.google.protobuf.ByteStringThe application domain to use when calling the service.booleanThe match tree to use for grouping incoming requests into buckets.private com.google.protobuf.SingleFieldBuilder<Matcher, Matcher.Builder, MatcherOrBuilder> The match tree to use for grouping incoming requests into buckets.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanprivate voidmergeBucketMatchers(Matcher value) The match tree to use for grouping incoming requests into buckets.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RateLimitQuotaOverride other) setBucketMatchers(Matcher value) The match tree to use for grouping incoming requests into buckets.setBucketMatchers(Matcher.Builder builderForValue) The match tree to use for grouping incoming requests into buckets.The application domain to use when calling the service.setDomainBytes(com.google.protobuf.ByteString value) The application domain to use when calling the service.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
domain_
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaOverride.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaOverride.Builder>- Throws:
IOException
-
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:
getDomainin interfaceRateLimitQuotaOverrideOrBuilder- 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:
getDomainBytesin interfaceRateLimitQuotaOverrideOrBuilder- Returns:
- The bytes for domain.
-
setDomain
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
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
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:
hasBucketMatchersin interfaceRateLimitQuotaOverrideOrBuilder- Returns:
- Whether the bucketMatchers field is set.
-
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:
getBucketMatchersin interfaceRateLimitQuotaOverrideOrBuilder- Returns:
- The bucketMatchers.
-
setBucketMatchers
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
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
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
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
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
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:
getBucketMatchersOrBuilderin interfaceRateLimitQuotaOverrideOrBuilder
-
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;
-