Class RateLimit.Action
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.route.v3.RateLimit.Action
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RateLimit.ActionOrBuilder
,Serializable
- Enclosing class:
- RateLimit
public static final class RateLimit.Action extends com.google.protobuf.GeneratedMessageV3 implements RateLimit.ActionOrBuilder
[#next-free-field: 12]
Protobuf typeenvoy.config.route.v3.RateLimit.Action
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RateLimit.Action.ActionSpecifierCase
static class
RateLimit.Action.Builder
[#next-free-field: 12]static class
RateLimit.Action.DestinationCluster
The following descriptor entry is appended to the descriptor: .. code-block:: cpp ("destination_cluster", "<routed target cluster>") Once a request matches against a route table rule, a routed cluster is determined by one of the following :ref:`route table configuration <envoy_v3_api_msg_config.route.v3.RouteConfiguration>` settings: * :ref:`cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` indicates the upstream cluster to route tostatic interface
RateLimit.Action.DestinationClusterOrBuilder
static class
RateLimit.Action.DynamicMetaData
The following descriptor entry is appended when the :ref:`dynamic metadata <well_known_dynamic_metadata>` contains a key value: .. code-block:: cpp ("<descriptor_key>", "<value_queried_from_dynamic_metadata>") .. attention:: This action has been deprecated in favor of the :ref:`metadata <envoy_v3_api_msg_config.route.v3.RateLimit.Action.MetaData>` actionstatic interface
RateLimit.Action.DynamicMetaDataOrBuilder
static class
RateLimit.Action.GenericKey
The following descriptor entry is appended to the descriptor: .. code-block:: cpp ("generic_key", "<descriptor_value>")static interface
RateLimit.Action.GenericKeyOrBuilder
static class
RateLimit.Action.HeaderValueMatch
The following descriptor entry is appended to the descriptor: .. code-block:: cpp ("header_match", "<descriptor_value>")static interface
RateLimit.Action.HeaderValueMatchOrBuilder
static class
RateLimit.Action.MaskedRemoteAddress
The following descriptor entry is appended to the descriptor and is populated using the masked address from :ref:`x-forwarded-for <config_http_conn_man_headers_x-forwarded-for>`: .. code-block:: cpp ("masked_remote_address", "<masked address from x-forwarded-for>")static interface
RateLimit.Action.MaskedRemoteAddressOrBuilder
static class
RateLimit.Action.MetaData
The following descriptor entry is appended when the metadata contains a key value: .. code-block:: cpp ("<descriptor_key>", "<value_queried_from_metadata>") [#next-free-field: 6]static interface
RateLimit.Action.MetaDataOrBuilder
static class
RateLimit.Action.QueryParameterValueMatch
The following descriptor entry is appended to the descriptor: .. code-block:: cpp ("query_match", "<descriptor_value>")static interface
RateLimit.Action.QueryParameterValueMatchOrBuilder
static class
RateLimit.Action.RemoteAddress
The following descriptor entry is appended to the descriptor and is populated using the trusted address from :ref:`x-forwarded-for <config_http_conn_man_headers_x-forwarded-for>`: .. code-block:: cpp ("remote_address", "<trusted address from x-forwarded-for>")static interface
RateLimit.Action.RemoteAddressOrBuilder
static class
RateLimit.Action.RequestHeaders
The following descriptor entry is appended when a header contains a key that matches the ``header_name``: .. code-block:: cpp ("<descriptor_key>", "<header_value_queried_from_header>")static interface
RateLimit.Action.RequestHeadersOrBuilder
static class
RateLimit.Action.SourceCluster
The following descriptor entry is appended to the descriptor: .. code-block:: cpp ("source_cluster", "<local service cluster>") <local service cluster> is derived from the :option:`--service-cluster` option.static interface
RateLimit.Action.SourceClusterOrBuilder
-
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 int
DESTINATION_CLUSTER_FIELD_NUMBER
static int
DYNAMIC_METADATA_FIELD_NUMBER
static int
EXTENSION_FIELD_NUMBER
static int
GENERIC_KEY_FIELD_NUMBER
static int
HEADER_VALUE_MATCH_FIELD_NUMBER
static int
MASKED_REMOTE_ADDRESS_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
QUERY_PARAMETER_VALUE_MATCH_FIELD_NUMBER
static int
REMOTE_ADDRESS_FIELD_NUMBER
static int
REQUEST_HEADERS_FIELD_NUMBER
static int
SOURCE_CLUSTER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
RateLimit.Action.ActionSpecifierCase
getActionSpecifierCase()
static RateLimit.Action
getDefaultInstance()
RateLimit.Action
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
RateLimit.Action.DestinationCluster
getDestinationCluster()
Rate limit on destination cluster.RateLimit.Action.DestinationClusterOrBuilder
getDestinationClusterOrBuilder()
Rate limit on destination cluster.RateLimit.Action.DynamicMetaData
getDynamicMetadata()
Deprecated.envoy.config.route.v3.RateLimit.Action.dynamic_metadata is deprecated.RateLimit.Action.DynamicMetaDataOrBuilder
getDynamicMetadataOrBuilder()
Deprecated.TypedExtensionConfig
getExtension()
Rate limit descriptor extension.TypedExtensionConfigOrBuilder
getExtensionOrBuilder()
Rate limit descriptor extension.RateLimit.Action.GenericKey
getGenericKey()
Rate limit on a generic key.RateLimit.Action.GenericKeyOrBuilder
getGenericKeyOrBuilder()
Rate limit on a generic key.RateLimit.Action.HeaderValueMatch
getHeaderValueMatch()
Rate limit on the existence of request headers.RateLimit.Action.HeaderValueMatchOrBuilder
getHeaderValueMatchOrBuilder()
Rate limit on the existence of request headers.RateLimit.Action.MaskedRemoteAddress
getMaskedRemoteAddress()
Rate limit on masked remote address.RateLimit.Action.MaskedRemoteAddressOrBuilder
getMaskedRemoteAddressOrBuilder()
Rate limit on masked remote address.RateLimit.Action.MetaData
getMetadata()
Rate limit on metadata.RateLimit.Action.MetaDataOrBuilder
getMetadataOrBuilder()
Rate limit on metadata.com.google.protobuf.Parser<RateLimit.Action>
getParserForType()
RateLimit.Action.QueryParameterValueMatch
getQueryParameterValueMatch()
Rate limit on the existence of query parameters.RateLimit.Action.QueryParameterValueMatchOrBuilder
getQueryParameterValueMatchOrBuilder()
Rate limit on the existence of query parameters.RateLimit.Action.RemoteAddress
getRemoteAddress()
Rate limit on remote address.RateLimit.Action.RemoteAddressOrBuilder
getRemoteAddressOrBuilder()
Rate limit on remote address.RateLimit.Action.RequestHeaders
getRequestHeaders()
Rate limit on request headers.RateLimit.Action.RequestHeadersOrBuilder
getRequestHeadersOrBuilder()
Rate limit on request headers.int
getSerializedSize()
RateLimit.Action.SourceCluster
getSourceCluster()
Rate limit on source cluster.RateLimit.Action.SourceClusterOrBuilder
getSourceClusterOrBuilder()
Rate limit on source cluster.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasDestinationCluster()
Rate limit on destination cluster.boolean
hasDynamicMetadata()
Deprecated.envoy.config.route.v3.RateLimit.Action.dynamic_metadata is deprecated.boolean
hasExtension()
Rate limit descriptor extension.boolean
hasGenericKey()
Rate limit on a generic key.int
hashCode()
boolean
hasHeaderValueMatch()
Rate limit on the existence of request headers.boolean
hasMaskedRemoteAddress()
Rate limit on masked remote address.boolean
hasMetadata()
Rate limit on metadata.boolean
hasQueryParameterValueMatch()
Rate limit on the existence of query parameters.boolean
hasRemoteAddress()
Rate limit on remote address.boolean
hasRequestHeaders()
Rate limit on request headers.boolean
hasSourceCluster()
Rate limit on source cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static RateLimit.Action.Builder
newBuilder()
static RateLimit.Action.Builder
newBuilder(RateLimit.Action prototype)
RateLimit.Action.Builder
newBuilderForType()
protected RateLimit.Action.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static RateLimit.Action
parseDelimitedFrom(InputStream input)
static RateLimit.Action
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RateLimit.Action
parseFrom(byte[] data)
static RateLimit.Action
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RateLimit.Action
parseFrom(com.google.protobuf.ByteString data)
static RateLimit.Action
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RateLimit.Action
parseFrom(com.google.protobuf.CodedInputStream input)
static RateLimit.Action
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RateLimit.Action
parseFrom(InputStream input)
static RateLimit.Action
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RateLimit.Action
parseFrom(ByteBuffer data)
static RateLimit.Action
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<RateLimit.Action>
parser()
RateLimit.Action.Builder
toBuilder()
void
writeTo(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
-
SOURCE_CLUSTER_FIELD_NUMBER
public static final int SOURCE_CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESTINATION_CLUSTER_FIELD_NUMBER
public static final int DESTINATION_CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_HEADERS_FIELD_NUMBER
public static final int REQUEST_HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_ADDRESS_FIELD_NUMBER
public static final int REMOTE_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERIC_KEY_FIELD_NUMBER
public static final int GENERIC_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_VALUE_MATCH_FIELD_NUMBER
public static final int HEADER_VALUE_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_METADATA_FIELD_NUMBER
public static final int DYNAMIC_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENSION_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MASKED_REMOTE_ADDRESS_FIELD_NUMBER
public static final int MASKED_REMOTE_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_PARAMETER_VALUE_MATCH_FIELD_NUMBER
public static final int QUERY_PARAMETER_VALUE_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getActionSpecifierCase
public RateLimit.Action.ActionSpecifierCase getActionSpecifierCase()
- Specified by:
getActionSpecifierCase
in interfaceRateLimit.ActionOrBuilder
-
hasSourceCluster
public boolean hasSourceCluster()
Rate limit on source cluster.
.envoy.config.route.v3.RateLimit.Action.SourceCluster source_cluster = 1;
- Specified by:
hasSourceCluster
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the sourceCluster field is set.
-
getSourceCluster
public RateLimit.Action.SourceCluster getSourceCluster()
Rate limit on source cluster.
.envoy.config.route.v3.RateLimit.Action.SourceCluster source_cluster = 1;
- Specified by:
getSourceCluster
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The sourceCluster.
-
getSourceClusterOrBuilder
public RateLimit.Action.SourceClusterOrBuilder getSourceClusterOrBuilder()
Rate limit on source cluster.
.envoy.config.route.v3.RateLimit.Action.SourceCluster source_cluster = 1;
- Specified by:
getSourceClusterOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasDestinationCluster
public boolean hasDestinationCluster()
Rate limit on destination cluster.
.envoy.config.route.v3.RateLimit.Action.DestinationCluster destination_cluster = 2;
- Specified by:
hasDestinationCluster
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the destinationCluster field is set.
-
getDestinationCluster
public RateLimit.Action.DestinationCluster getDestinationCluster()
Rate limit on destination cluster.
.envoy.config.route.v3.RateLimit.Action.DestinationCluster destination_cluster = 2;
- Specified by:
getDestinationCluster
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The destinationCluster.
-
getDestinationClusterOrBuilder
public RateLimit.Action.DestinationClusterOrBuilder getDestinationClusterOrBuilder()
Rate limit on destination cluster.
.envoy.config.route.v3.RateLimit.Action.DestinationCluster destination_cluster = 2;
- Specified by:
getDestinationClusterOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasRequestHeaders
public boolean hasRequestHeaders()
Rate limit on request headers.
.envoy.config.route.v3.RateLimit.Action.RequestHeaders request_headers = 3;
- Specified by:
hasRequestHeaders
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the requestHeaders field is set.
-
getRequestHeaders
public RateLimit.Action.RequestHeaders getRequestHeaders()
Rate limit on request headers.
.envoy.config.route.v3.RateLimit.Action.RequestHeaders request_headers = 3;
- Specified by:
getRequestHeaders
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The requestHeaders.
-
getRequestHeadersOrBuilder
public RateLimit.Action.RequestHeadersOrBuilder getRequestHeadersOrBuilder()
Rate limit on request headers.
.envoy.config.route.v3.RateLimit.Action.RequestHeaders request_headers = 3;
- Specified by:
getRequestHeadersOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasRemoteAddress
public boolean hasRemoteAddress()
Rate limit on remote address.
.envoy.config.route.v3.RateLimit.Action.RemoteAddress remote_address = 4;
- Specified by:
hasRemoteAddress
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the remoteAddress field is set.
-
getRemoteAddress
public RateLimit.Action.RemoteAddress getRemoteAddress()
Rate limit on remote address.
.envoy.config.route.v3.RateLimit.Action.RemoteAddress remote_address = 4;
- Specified by:
getRemoteAddress
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The remoteAddress.
-
getRemoteAddressOrBuilder
public RateLimit.Action.RemoteAddressOrBuilder getRemoteAddressOrBuilder()
Rate limit on remote address.
.envoy.config.route.v3.RateLimit.Action.RemoteAddress remote_address = 4;
- Specified by:
getRemoteAddressOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasGenericKey
public boolean hasGenericKey()
Rate limit on a generic key.
.envoy.config.route.v3.RateLimit.Action.GenericKey generic_key = 5;
- Specified by:
hasGenericKey
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the genericKey field is set.
-
getGenericKey
public RateLimit.Action.GenericKey getGenericKey()
Rate limit on a generic key.
.envoy.config.route.v3.RateLimit.Action.GenericKey generic_key = 5;
- Specified by:
getGenericKey
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The genericKey.
-
getGenericKeyOrBuilder
public RateLimit.Action.GenericKeyOrBuilder getGenericKeyOrBuilder()
Rate limit on a generic key.
.envoy.config.route.v3.RateLimit.Action.GenericKey generic_key = 5;
- Specified by:
getGenericKeyOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasHeaderValueMatch
public boolean hasHeaderValueMatch()
Rate limit on the existence of request headers.
.envoy.config.route.v3.RateLimit.Action.HeaderValueMatch header_value_match = 6;
- Specified by:
hasHeaderValueMatch
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the headerValueMatch field is set.
-
getHeaderValueMatch
public RateLimit.Action.HeaderValueMatch getHeaderValueMatch()
Rate limit on the existence of request headers.
.envoy.config.route.v3.RateLimit.Action.HeaderValueMatch header_value_match = 6;
- Specified by:
getHeaderValueMatch
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The headerValueMatch.
-
getHeaderValueMatchOrBuilder
public RateLimit.Action.HeaderValueMatchOrBuilder getHeaderValueMatchOrBuilder()
Rate limit on the existence of request headers.
.envoy.config.route.v3.RateLimit.Action.HeaderValueMatch header_value_match = 6;
- Specified by:
getHeaderValueMatchOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasDynamicMetadata
@Deprecated public boolean hasDynamicMetadata()
Deprecated.envoy.config.route.v3.RateLimit.Action.dynamic_metadata is deprecated. See envoy/config/route/v3/route_components.proto;l=2120Rate limit on dynamic metadata. .. attention:: This field has been deprecated in favor of the :ref:`metadata <envoy_v3_api_field_config.route.v3.RateLimit.Action.metadata>` field
.envoy.config.route.v3.RateLimit.Action.DynamicMetaData dynamic_metadata = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0", (.envoy.annotations.disallowed_by_default) = true];
- Specified by:
hasDynamicMetadata
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the dynamicMetadata field is set.
-
getDynamicMetadata
@Deprecated public RateLimit.Action.DynamicMetaData getDynamicMetadata()
Deprecated.envoy.config.route.v3.RateLimit.Action.dynamic_metadata is deprecated. See envoy/config/route/v3/route_components.proto;l=2120Rate limit on dynamic metadata. .. attention:: This field has been deprecated in favor of the :ref:`metadata <envoy_v3_api_field_config.route.v3.RateLimit.Action.metadata>` field
.envoy.config.route.v3.RateLimit.Action.DynamicMetaData dynamic_metadata = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0", (.envoy.annotations.disallowed_by_default) = true];
- Specified by:
getDynamicMetadata
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The dynamicMetadata.
-
getDynamicMetadataOrBuilder
@Deprecated public RateLimit.Action.DynamicMetaDataOrBuilder getDynamicMetadataOrBuilder()
Deprecated.Rate limit on dynamic metadata. .. attention:: This field has been deprecated in favor of the :ref:`metadata <envoy_v3_api_field_config.route.v3.RateLimit.Action.metadata>` field
.envoy.config.route.v3.RateLimit.Action.DynamicMetaData dynamic_metadata = 7 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0", (.envoy.annotations.disallowed_by_default) = true];
- Specified by:
getDynamicMetadataOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasMetadata
public boolean hasMetadata()
Rate limit on metadata.
.envoy.config.route.v3.RateLimit.Action.MetaData metadata = 8;
- Specified by:
hasMetadata
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public RateLimit.Action.MetaData getMetadata()
Rate limit on metadata.
.envoy.config.route.v3.RateLimit.Action.MetaData metadata = 8;
- Specified by:
getMetadata
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public RateLimit.Action.MetaDataOrBuilder getMetadataOrBuilder()
Rate limit on metadata.
.envoy.config.route.v3.RateLimit.Action.MetaData metadata = 8;
- Specified by:
getMetadataOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasExtension
public boolean hasExtension()
Rate limit descriptor extension. See the rate limit descriptor extensions documentation. :ref:`HTTP matching input functions <arch_overview_matching_api>` are permitted as descriptor extensions. The input functions are only looked up if there is no rate limit descriptor extension matching the type URL. [#extension-category: envoy.rate_limit_descriptors]
.envoy.config.core.v3.TypedExtensionConfig extension = 9;
- Specified by:
hasExtension
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the extension field is set.
-
getExtension
public TypedExtensionConfig getExtension()
Rate limit descriptor extension. See the rate limit descriptor extensions documentation. :ref:`HTTP matching input functions <arch_overview_matching_api>` are permitted as descriptor extensions. The input functions are only looked up if there is no rate limit descriptor extension matching the type URL. [#extension-category: envoy.rate_limit_descriptors]
.envoy.config.core.v3.TypedExtensionConfig extension = 9;
- Specified by:
getExtension
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The extension.
-
getExtensionOrBuilder
public TypedExtensionConfigOrBuilder getExtensionOrBuilder()
Rate limit descriptor extension. See the rate limit descriptor extensions documentation. :ref:`HTTP matching input functions <arch_overview_matching_api>` are permitted as descriptor extensions. The input functions are only looked up if there is no rate limit descriptor extension matching the type URL. [#extension-category: envoy.rate_limit_descriptors]
.envoy.config.core.v3.TypedExtensionConfig extension = 9;
- Specified by:
getExtensionOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasMaskedRemoteAddress
public boolean hasMaskedRemoteAddress()
Rate limit on masked remote address.
.envoy.config.route.v3.RateLimit.Action.MaskedRemoteAddress masked_remote_address = 10;
- Specified by:
hasMaskedRemoteAddress
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the maskedRemoteAddress field is set.
-
getMaskedRemoteAddress
public RateLimit.Action.MaskedRemoteAddress getMaskedRemoteAddress()
Rate limit on masked remote address.
.envoy.config.route.v3.RateLimit.Action.MaskedRemoteAddress masked_remote_address = 10;
- Specified by:
getMaskedRemoteAddress
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The maskedRemoteAddress.
-
getMaskedRemoteAddressOrBuilder
public RateLimit.Action.MaskedRemoteAddressOrBuilder getMaskedRemoteAddressOrBuilder()
Rate limit on masked remote address.
.envoy.config.route.v3.RateLimit.Action.MaskedRemoteAddress masked_remote_address = 10;
- Specified by:
getMaskedRemoteAddressOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
hasQueryParameterValueMatch
public boolean hasQueryParameterValueMatch()
Rate limit on the existence of query parameters.
.envoy.config.route.v3.RateLimit.Action.QueryParameterValueMatch query_parameter_value_match = 11;
- Specified by:
hasQueryParameterValueMatch
in interfaceRateLimit.ActionOrBuilder
- Returns:
- Whether the queryParameterValueMatch field is set.
-
getQueryParameterValueMatch
public RateLimit.Action.QueryParameterValueMatch getQueryParameterValueMatch()
Rate limit on the existence of query parameters.
.envoy.config.route.v3.RateLimit.Action.QueryParameterValueMatch query_parameter_value_match = 11;
- Specified by:
getQueryParameterValueMatch
in interfaceRateLimit.ActionOrBuilder
- Returns:
- The queryParameterValueMatch.
-
getQueryParameterValueMatchOrBuilder
public RateLimit.Action.QueryParameterValueMatchOrBuilder getQueryParameterValueMatchOrBuilder()
Rate limit on the existence of query parameters.
.envoy.config.route.v3.RateLimit.Action.QueryParameterValueMatch query_parameter_value_match = 11;
- Specified by:
getQueryParameterValueMatchOrBuilder
in interfaceRateLimit.ActionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RateLimit.Action parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimit.Action parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimit.Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimit.Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimit.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimit.Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimit.Action parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimit.Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RateLimit.Action parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RateLimit.Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimit.Action parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimit.Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RateLimit.Action.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RateLimit.Action.Builder newBuilder()
-
newBuilder
public static RateLimit.Action.Builder newBuilder(RateLimit.Action prototype)
-
toBuilder
public RateLimit.Action.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RateLimit.Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RateLimit.Action getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RateLimit.Action> parser()
-
getParserForType
public com.google.protobuf.Parser<RateLimit.Action> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RateLimit.Action getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-