Class RateLimitPerRoute
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoute
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RateLimitPerRouteOrBuilder,Serializable
public final class RateLimitPerRoute extends com.google.protobuf.GeneratedMessageV3 implements RateLimitPerRouteOrBuilder
Protobuf typeenvoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoute- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRateLimitPerRoute.BuilderProtobuf typeenvoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoutestatic classRateLimitPerRoute.OverrideOptionsThe override option determines how the filter handles the cases where there is an override config at a more specific level than this one (from least to most specific: virtual host, route, cluster weight).static classRateLimitPerRoute.VhRateLimitsOptionsProtobuf enumenvoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoute.VhRateLimitsOptions-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intOVERRIDE_OPTION_FIELD_NUMBERstatic intRATE_LIMITS_FIELD_NUMBERstatic intVH_RATE_LIMITS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static RateLimitPerRoutegetDefaultInstance()RateLimitPerRoutegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()RateLimitPerRoute.OverrideOptionsgetOverrideOption()Specifies if the rate limit filter should include the lower levels (route level, virtual host level or cluster weight level) rate limits override options.intgetOverrideOptionValue()Specifies if the rate limit filter should include the lower levels (route level, virtual host level or cluster weight level) rate limits override options.com.google.protobuf.Parser<RateLimitPerRoute>getParserForType()RateLimitConfiggetRateLimits(int index)Rate limit configuration.intgetRateLimitsCount()Rate limit configuration.List<RateLimitConfig>getRateLimitsList()Rate limit configuration.RateLimitConfigOrBuildergetRateLimitsOrBuilder(int index)Rate limit configuration.List<? extends RateLimitConfigOrBuilder>getRateLimitsOrBuilderList()Rate limit configuration.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()RateLimitPerRoute.VhRateLimitsOptionsgetVhRateLimits()Specifies if the rate limit filter should include the virtual host rate limits.intgetVhRateLimitsValue()Specifies if the rate limit filter should include the virtual host rate limits.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RateLimitPerRoute.BuildernewBuilder()static RateLimitPerRoute.BuildernewBuilder(RateLimitPerRoute prototype)RateLimitPerRoute.BuildernewBuilderForType()protected RateLimitPerRoute.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RateLimitPerRouteparseDelimitedFrom(InputStream input)static RateLimitPerRouteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitPerRouteparseFrom(byte[] data)static RateLimitPerRouteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitPerRouteparseFrom(com.google.protobuf.ByteString data)static RateLimitPerRouteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitPerRouteparseFrom(com.google.protobuf.CodedInputStream input)static RateLimitPerRouteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitPerRouteparseFrom(InputStream input)static RateLimitPerRouteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitPerRouteparseFrom(ByteBuffer data)static RateLimitPerRouteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RateLimitPerRoute>parser()RateLimitPerRoute.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VH_RATE_LIMITS_FIELD_NUMBER
public static final int VH_RATE_LIMITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDE_OPTION_FIELD_NUMBER
public static final int OVERRIDE_OPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RATE_LIMITS_FIELD_NUMBER
public static final int RATE_LIMITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVhRateLimitsValue
public int getVhRateLimitsValue()
Specifies if the rate limit filter should include the virtual host rate limits.
.envoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoute.VhRateLimitsOptions vh_rate_limits = 1 [(.validate.rules) = { ... }- Specified by:
getVhRateLimitsValuein interfaceRateLimitPerRouteOrBuilder- Returns:
- The enum numeric value on the wire for vhRateLimits.
-
getVhRateLimits
public RateLimitPerRoute.VhRateLimitsOptions getVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate limits.
.envoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoute.VhRateLimitsOptions vh_rate_limits = 1 [(.validate.rules) = { ... }- Specified by:
getVhRateLimitsin interfaceRateLimitPerRouteOrBuilder- Returns:
- The vhRateLimits.
-
getOverrideOptionValue
public int getOverrideOptionValue()
Specifies if the rate limit filter should include the lower levels (route level, virtual host level or cluster weight level) rate limits override options. [#not-implemented-hide:]
.envoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoute.OverrideOptions override_option = 2 [(.validate.rules) = { ... }- Specified by:
getOverrideOptionValuein interfaceRateLimitPerRouteOrBuilder- Returns:
- The enum numeric value on the wire for overrideOption.
-
getOverrideOption
public RateLimitPerRoute.OverrideOptions getOverrideOption()
Specifies if the rate limit filter should include the lower levels (route level, virtual host level or cluster weight level) rate limits override options. [#not-implemented-hide:]
.envoy.extensions.filters.http.ratelimit.v3.RateLimitPerRoute.OverrideOptions override_option = 2 [(.validate.rules) = { ... }- Specified by:
getOverrideOptionin interfaceRateLimitPerRouteOrBuilder- Returns:
- The overrideOption.
-
getRateLimitsList
public List<RateLimitConfig> getRateLimitsList()
Rate limit configuration. If not set, uses the :ref:`VirtualHost.rate_limits<envoy_v3_api_field_config.route.v3.VirtualHost.rate_limits>` or :ref:`RouteAction.rate_limits<envoy_v3_api_field_config.route.v3.RouteAction.rate_limits>` fields instead. [#not-implemented-hide:]
repeated .envoy.extensions.filters.http.ratelimit.v3.RateLimitConfig rate_limits = 3;- Specified by:
getRateLimitsListin interfaceRateLimitPerRouteOrBuilder
-
getRateLimitsOrBuilderList
public List<? extends RateLimitConfigOrBuilder> getRateLimitsOrBuilderList()
Rate limit configuration. If not set, uses the :ref:`VirtualHost.rate_limits<envoy_v3_api_field_config.route.v3.VirtualHost.rate_limits>` or :ref:`RouteAction.rate_limits<envoy_v3_api_field_config.route.v3.RouteAction.rate_limits>` fields instead. [#not-implemented-hide:]
repeated .envoy.extensions.filters.http.ratelimit.v3.RateLimitConfig rate_limits = 3;- Specified by:
getRateLimitsOrBuilderListin interfaceRateLimitPerRouteOrBuilder
-
getRateLimitsCount
public int getRateLimitsCount()
Rate limit configuration. If not set, uses the :ref:`VirtualHost.rate_limits<envoy_v3_api_field_config.route.v3.VirtualHost.rate_limits>` or :ref:`RouteAction.rate_limits<envoy_v3_api_field_config.route.v3.RouteAction.rate_limits>` fields instead. [#not-implemented-hide:]
repeated .envoy.extensions.filters.http.ratelimit.v3.RateLimitConfig rate_limits = 3;- Specified by:
getRateLimitsCountin interfaceRateLimitPerRouteOrBuilder
-
getRateLimits
public RateLimitConfig getRateLimits(int index)
Rate limit configuration. If not set, uses the :ref:`VirtualHost.rate_limits<envoy_v3_api_field_config.route.v3.VirtualHost.rate_limits>` or :ref:`RouteAction.rate_limits<envoy_v3_api_field_config.route.v3.RouteAction.rate_limits>` fields instead. [#not-implemented-hide:]
repeated .envoy.extensions.filters.http.ratelimit.v3.RateLimitConfig rate_limits = 3;- Specified by:
getRateLimitsin interfaceRateLimitPerRouteOrBuilder
-
getRateLimitsOrBuilder
public RateLimitConfigOrBuilder getRateLimitsOrBuilder(int index)
Rate limit configuration. If not set, uses the :ref:`VirtualHost.rate_limits<envoy_v3_api_field_config.route.v3.VirtualHost.rate_limits>` or :ref:`RouteAction.rate_limits<envoy_v3_api_field_config.route.v3.RouteAction.rate_limits>` fields instead. [#not-implemented-hide:]
repeated .envoy.extensions.filters.http.ratelimit.v3.RateLimitConfig rate_limits = 3;- Specified by:
getRateLimitsOrBuilderin interfaceRateLimitPerRouteOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RateLimitPerRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitPerRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitPerRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitPerRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitPerRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitPerRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitPerRoute parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimitPerRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RateLimitPerRoute parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RateLimitPerRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimitPerRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimitPerRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RateLimitPerRoute.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RateLimitPerRoute.Builder newBuilder()
-
newBuilder
public static RateLimitPerRoute.Builder newBuilder(RateLimitPerRoute prototype)
-
toBuilder
public RateLimitPerRoute.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RateLimitPerRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RateLimitPerRoute getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RateLimitPerRoute> parser()
-
getParserForType
public com.google.protobuf.Parser<RateLimitPerRoute> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RateLimitPerRoute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-