public static final class RateLimitOuterClass.RateLimit extends com.google.protobuf.GeneratedMessageV3 implements RateLimitOuterClass.RateLimitOrBuilder
envoy.config.filter.http.rate_limit.v2.RateLimit| Modifier and Type | Class and Description |
|---|---|
static class |
RateLimitOuterClass.RateLimit.Builder
Protobuf type
envoy.config.filter.http.rate_limit.v2.RateLimit |
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| Modifier and Type | Field and Description |
|---|---|
static int |
DOMAIN_FIELD_NUMBER |
static int |
REQUEST_TYPE_FIELD_NUMBER |
static int |
STAGE_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RateLimitOuterClass.RateLimit |
getDefaultInstance() |
RateLimitOuterClass.RateLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDomain()
The rate limit domain to use when calling the rate limit service.
|
com.google.protobuf.ByteString |
getDomainBytes()
The rate limit domain to use when calling the rate limit service.
|
com.google.protobuf.Parser<RateLimitOuterClass.RateLimit> |
getParserForType() |
String |
getRequestType()
The type of requests the filter should apply to.
|
com.google.protobuf.ByteString |
getRequestTypeBytes()
The type of requests the filter should apply to.
|
int |
getSerializedSize() |
int |
getStage()
Specifies the rate limit configurations to be applied with the same
stage number.
|
com.google.protobuf.Duration |
getTimeout()
The timeout in milliseconds for the rate limit service RPC.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The timeout in milliseconds for the rate limit service RPC.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTimeout()
The timeout in milliseconds for the rate limit service RPC.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RateLimitOuterClass.RateLimit.Builder |
newBuilder() |
static RateLimitOuterClass.RateLimit.Builder |
newBuilder(RateLimitOuterClass.RateLimit prototype) |
RateLimitOuterClass.RateLimit.Builder |
newBuilderForType() |
protected RateLimitOuterClass.RateLimit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RateLimitOuterClass.RateLimit |
parseDelimitedFrom(InputStream input) |
static RateLimitOuterClass.RateLimit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitOuterClass.RateLimit |
parseFrom(byte[] data) |
static RateLimitOuterClass.RateLimit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitOuterClass.RateLimit |
parseFrom(ByteBuffer data) |
static RateLimitOuterClass.RateLimit |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitOuterClass.RateLimit |
parseFrom(com.google.protobuf.ByteString data) |
static RateLimitOuterClass.RateLimit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitOuterClass.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RateLimitOuterClass.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitOuterClass.RateLimit |
parseFrom(InputStream input) |
static RateLimitOuterClass.RateLimit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RateLimitOuterClass.RateLimit> |
parser() |
RateLimitOuterClass.RateLimit.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 DOMAIN_FIELD_NUMBER
public static final int STAGE_FIELD_NUMBER
public static final int REQUEST_TYPE_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public 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 String getDomain()
The rate limit domain to use when calling the rate limit service.
string domain = 1 [(.validate.rules) = { ... }getDomain in interface RateLimitOuterClass.RateLimitOrBuilderpublic com.google.protobuf.ByteString getDomainBytes()
The rate limit domain to use when calling the rate limit service.
string domain = 1 [(.validate.rules) = { ... }getDomainBytes in interface RateLimitOuterClass.RateLimitOrBuilderpublic int getStage()
Specifies the rate limit configurations to be applied with the same stage number. If not set, the default stage number is 0. .. note:: The filter supports a range of 0 - 10 inclusively for stage numbers.
uint32 stage = 2 [(.validate.rules) = { ... }getStage in interface RateLimitOuterClass.RateLimitOrBuilderpublic String getRequestType()
The type of requests the filter should apply to. The supported types are *internal*, *external* or *both*. A request is considered internal if :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is set to true. If :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a request is considered external. The filter defaults to *both*, and it will apply to all request types.
string request_type = 3;getRequestType in interface RateLimitOuterClass.RateLimitOrBuilderpublic com.google.protobuf.ByteString getRequestTypeBytes()
The type of requests the filter should apply to. The supported types are *internal*, *external* or *both*. A request is considered internal if :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is set to true. If :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a request is considered external. The filter defaults to *both*, and it will apply to all request types.
string request_type = 3;getRequestTypeBytes in interface RateLimitOuterClass.RateLimitOrBuilderpublic boolean hasTimeout()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];hasTimeout in interface RateLimitOuterClass.RateLimitOrBuilderpublic com.google.protobuf.Duration getTimeout()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];getTimeout in interface RateLimitOuterClass.RateLimitOrBuilderpublic com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];getTimeoutOrBuilder in interface RateLimitOuterClass.RateLimitOrBuilderpublic 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 RateLimitOuterClass.RateLimit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimitOuterClass.RateLimit parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimitOuterClass.RateLimit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RateLimitOuterClass.RateLimit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RateLimitOuterClass.RateLimit.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RateLimitOuterClass.RateLimit.Builder newBuilder()
public static RateLimitOuterClass.RateLimit.Builder newBuilder(RateLimitOuterClass.RateLimit prototype)
public RateLimitOuterClass.RateLimit.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RateLimitOuterClass.RateLimit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RateLimitOuterClass.RateLimit getDefaultInstance()
public static com.google.protobuf.Parser<RateLimitOuterClass.RateLimit> parser()
public com.google.protobuf.Parser<RateLimitOuterClass.RateLimit> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RateLimitOuterClass.RateLimit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.