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 int
private Matcher
private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> private Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(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.private com.google.protobuf.SingleFieldBuilder
<Matcher, Matcher.Builder, MatcherOrBuilder> 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.Descriptor
com.google.protobuf.Descriptors.Descriptor
The application domain to use when calling the service.com.google.protobuf.ByteString
The application domain to use when calling the service.boolean
The match tree to use for grouping incoming requests into buckets.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeBucketMatchers
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, bucketMatchersBuilder_MatcherOrBuilder>
-
-
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 classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaOverride.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaOverride.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getDomain
in 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:
getDomainBytes
in 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:
hasBucketMatchers
in 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:
getBucketMatchers
in 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:
getBucketMatchersOrBuilder
in interfaceRateLimitQuotaOverrideOrBuilder
-
getBucketMatchersFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder, getBucketMatchersFieldBuilder()MatcherOrBuilder> 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;
-