public static final class RateLimit.Action extends com.google.protobuf.GeneratedMessageV3 implements RateLimit.ActionOrBuilder
[#next-free-field: 7]Protobuf type
envoy.api.v2.route.RateLimit.Action| Modifier and Type | Class and Description |
|---|---|
static class |
RateLimit.Action.ActionSpecifierCase |
static class |
RateLimit.Action.Builder
[#next-free-field: 7]
Protobuf type
envoy.api.v2.route.RateLimit.Action |
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_api_msg_RouteConfiguration>`
settings:
* :ref:`cluster <envoy_api_field_route.RouteAction.cluster>` indicates the upstream cluster
to route to
|
static interface |
RateLimit.Action.DestinationClusterOrBuilder |
static class |
RateLimit.Action.GenericKey
The following descriptor entry is appended to the descriptor:
.. code-block:: cpp
("generic_key", "<descriptor_value>")
Protobuf type
envoy.api.v2.route.RateLimit.Action.GenericKey |
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>")
Protobuf type
envoy.api.v2.route.RateLimit.Action.HeaderValueMatch |
static interface |
RateLimit.Action.HeaderValueMatchOrBuilder |
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>")
Protobuf type
envoy.api.v2.route.RateLimit.Action.RemoteAddress |
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>")
Protobuf type
envoy.api.v2.route.RateLimit.Action.RequestHeaders |
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 |
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| Modifier and Type | Field and Description |
|---|---|
static int |
DESTINATION_CLUSTER_FIELD_NUMBER |
static int |
GENERIC_KEY_FIELD_NUMBER |
static int |
HEADER_VALUE_MATCH_FIELD_NUMBER |
static int |
REMOTE_ADDRESS_FIELD_NUMBER |
static int |
REQUEST_HEADERS_FIELD_NUMBER |
static int |
SOURCE_CLUSTER_FIELD_NUMBER |
| Modifier and Type | Method and 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.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.
|
com.google.protobuf.Parser<RateLimit.Action> |
getParserForType() |
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 |
hasGenericKey()
Rate limit on a generic key.
|
int |
hashCode() |
boolean |
hasHeaderValueMatch()
Rate limit on the existence of request headers.
|
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(ByteBuffer data) |
static RateLimit.Action |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<RateLimit.Action> |
parser() |
RateLimit.Action.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SOURCE_CLUSTER_FIELD_NUMBER
public static final int DESTINATION_CLUSTER_FIELD_NUMBER
public static final int REQUEST_HEADERS_FIELD_NUMBER
public static final int REMOTE_ADDRESS_FIELD_NUMBER
public static final int GENERIC_KEY_FIELD_NUMBER
public static final int HEADER_VALUE_MATCH_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RateLimit.Action.ActionSpecifierCase getActionSpecifierCase()
getActionSpecifierCase in interface RateLimit.ActionOrBuilderpublic boolean hasSourceCluster()
Rate limit on source cluster.
.envoy.api.v2.route.RateLimit.Action.SourceCluster source_cluster = 1;hasSourceCluster in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.SourceCluster getSourceCluster()
Rate limit on source cluster.
.envoy.api.v2.route.RateLimit.Action.SourceCluster source_cluster = 1;getSourceCluster in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.SourceClusterOrBuilder getSourceClusterOrBuilder()
Rate limit on source cluster.
.envoy.api.v2.route.RateLimit.Action.SourceCluster source_cluster = 1;getSourceClusterOrBuilder in interface RateLimit.ActionOrBuilderpublic boolean hasDestinationCluster()
Rate limit on destination cluster.
.envoy.api.v2.route.RateLimit.Action.DestinationCluster destination_cluster = 2;hasDestinationCluster in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.DestinationCluster getDestinationCluster()
Rate limit on destination cluster.
.envoy.api.v2.route.RateLimit.Action.DestinationCluster destination_cluster = 2;getDestinationCluster in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.DestinationClusterOrBuilder getDestinationClusterOrBuilder()
Rate limit on destination cluster.
.envoy.api.v2.route.RateLimit.Action.DestinationCluster destination_cluster = 2;getDestinationClusterOrBuilder in interface RateLimit.ActionOrBuilderpublic boolean hasRequestHeaders()
Rate limit on request headers.
.envoy.api.v2.route.RateLimit.Action.RequestHeaders request_headers = 3;hasRequestHeaders in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.RequestHeaders getRequestHeaders()
Rate limit on request headers.
.envoy.api.v2.route.RateLimit.Action.RequestHeaders request_headers = 3;getRequestHeaders in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.RequestHeadersOrBuilder getRequestHeadersOrBuilder()
Rate limit on request headers.
.envoy.api.v2.route.RateLimit.Action.RequestHeaders request_headers = 3;getRequestHeadersOrBuilder in interface RateLimit.ActionOrBuilderpublic boolean hasRemoteAddress()
Rate limit on remote address.
.envoy.api.v2.route.RateLimit.Action.RemoteAddress remote_address = 4;hasRemoteAddress in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.RemoteAddress getRemoteAddress()
Rate limit on remote address.
.envoy.api.v2.route.RateLimit.Action.RemoteAddress remote_address = 4;getRemoteAddress in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.RemoteAddressOrBuilder getRemoteAddressOrBuilder()
Rate limit on remote address.
.envoy.api.v2.route.RateLimit.Action.RemoteAddress remote_address = 4;getRemoteAddressOrBuilder in interface RateLimit.ActionOrBuilderpublic boolean hasGenericKey()
Rate limit on a generic key.
.envoy.api.v2.route.RateLimit.Action.GenericKey generic_key = 5;hasGenericKey in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.GenericKey getGenericKey()
Rate limit on a generic key.
.envoy.api.v2.route.RateLimit.Action.GenericKey generic_key = 5;getGenericKey in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.GenericKeyOrBuilder getGenericKeyOrBuilder()
Rate limit on a generic key.
.envoy.api.v2.route.RateLimit.Action.GenericKey generic_key = 5;getGenericKeyOrBuilder in interface RateLimit.ActionOrBuilderpublic boolean hasHeaderValueMatch()
Rate limit on the existence of request headers.
.envoy.api.v2.route.RateLimit.Action.HeaderValueMatch header_value_match = 6;hasHeaderValueMatch in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.HeaderValueMatch getHeaderValueMatch()
Rate limit on the existence of request headers.
.envoy.api.v2.route.RateLimit.Action.HeaderValueMatch header_value_match = 6;getHeaderValueMatch in interface RateLimit.ActionOrBuilderpublic RateLimit.Action.HeaderValueMatchOrBuilder getHeaderValueMatchOrBuilder()
Rate limit on the existence of request headers.
.envoy.api.v2.route.RateLimit.Action.HeaderValueMatch header_value_match = 6;getHeaderValueMatchOrBuilder in interface RateLimit.ActionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RateLimit.Action parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimit.Action parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimit.Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimit.Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimit.Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimit.Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimit.Action parseFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimit.Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimit.Action parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimit.Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimit.Action parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RateLimit.Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RateLimit.Action.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RateLimit.Action.Builder newBuilder()
public static RateLimit.Action.Builder newBuilder(RateLimit.Action prototype)
public RateLimit.Action.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RateLimit.Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RateLimit.Action getDefaultInstance()
public static com.google.protobuf.Parser<RateLimit.Action> parser()
public com.google.protobuf.Parser<RateLimit.Action> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RateLimit.Action getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.