public static final class Rls.RateLimitResponse extends com.google.protobuf.GeneratedMessageV3 implements Rls.RateLimitResponseOrBuilder
A response from a ShouldRateLimit call. [#not-implemented-hide:] Hiding API for now.Protobuf type
envoy.service.ratelimit.v2.RateLimitResponse| Modifier and Type | Class and Description |
|---|---|
static class |
Rls.RateLimitResponse.Builder
A response from a ShouldRateLimit call.
|
static class |
Rls.RateLimitResponse.Code
Protobuf enum
envoy.service.ratelimit.v2.RateLimitResponse.Code |
static class |
Rls.RateLimitResponse.DescriptorStatus
Protobuf type
envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus |
static interface |
Rls.RateLimitResponse.DescriptorStatusOrBuilder |
static class |
Rls.RateLimitResponse.RateLimit
Defines an actual rate limit in terms of requests per unit of time and the unit itself.
|
static interface |
Rls.RateLimitResponse.RateLimitOrBuilder |
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 |
HEADERS_FIELD_NUMBER |
static int |
OVERALL_CODE_FIELD_NUMBER |
static int |
STATUSES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Rls.RateLimitResponse |
getDefaultInstance() |
Rls.RateLimitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Base.HeaderValue |
getHeaders(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3; |
int |
getHeadersCount()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3; |
List<Base.HeaderValue> |
getHeadersList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3; |
Base.HeaderValueOrBuilder |
getHeadersOrBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3; |
List<? extends Base.HeaderValueOrBuilder> |
getHeadersOrBuilderList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3; |
Rls.RateLimitResponse.Code |
getOverallCode()
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
int |
getOverallCodeValue()
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
com.google.protobuf.Parser<Rls.RateLimitResponse> |
getParserForType() |
int |
getSerializedSize() |
Rls.RateLimitResponse.DescriptorStatus |
getStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
int |
getStatusesCount()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
List<Rls.RateLimitResponse.DescriptorStatus> |
getStatusesList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.DescriptorStatusOrBuilder |
getStatusesOrBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
List<? extends Rls.RateLimitResponse.DescriptorStatusOrBuilder> |
getStatusesOrBuilderList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rls.RateLimitResponse.Builder |
newBuilder() |
static Rls.RateLimitResponse.Builder |
newBuilder(Rls.RateLimitResponse prototype) |
Rls.RateLimitResponse.Builder |
newBuilderForType() |
protected Rls.RateLimitResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Rls.RateLimitResponse |
parseDelimitedFrom(InputStream input) |
static Rls.RateLimitResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitResponse |
parseFrom(byte[] data) |
static Rls.RateLimitResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitResponse |
parseFrom(ByteBuffer data) |
static Rls.RateLimitResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Rls.RateLimitResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rls.RateLimitResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitResponse |
parseFrom(InputStream input) |
static Rls.RateLimitResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rls.RateLimitResponse> |
parser() |
Rls.RateLimitResponse.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 OVERALL_CODE_FIELD_NUMBER
public static final int STATUSES_FIELD_NUMBER
public static final int HEADERS_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 int getOverallCodeValue()
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v2.RateLimitResponse.Code overall_code = 1;getOverallCodeValue in interface Rls.RateLimitResponseOrBuilderpublic Rls.RateLimitResponse.Code getOverallCode()
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v2.RateLimitResponse.Code overall_code = 1;getOverallCode in interface Rls.RateLimitResponseOrBuilderpublic List<Rls.RateLimitResponse.DescriptorStatus> getStatusesList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesList in interface Rls.RateLimitResponseOrBuilderpublic List<? extends Rls.RateLimitResponse.DescriptorStatusOrBuilder> getStatusesOrBuilderList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesOrBuilderList in interface Rls.RateLimitResponseOrBuilderpublic int getStatusesCount()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesCount in interface Rls.RateLimitResponseOrBuilderpublic Rls.RateLimitResponse.DescriptorStatus getStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2;getStatuses in interface Rls.RateLimitResponseOrBuilderpublic Rls.RateLimitResponse.DescriptorStatusOrBuilder getStatusesOrBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesOrBuilder in interface Rls.RateLimitResponseOrBuilderpublic List<Base.HeaderValue> getHeadersList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3;getHeadersList in interface Rls.RateLimitResponseOrBuilderpublic List<? extends Base.HeaderValueOrBuilder> getHeadersOrBuilderList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3;getHeadersOrBuilderList in interface Rls.RateLimitResponseOrBuilderpublic int getHeadersCount()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3;getHeadersCount in interface Rls.RateLimitResponseOrBuilderpublic Base.HeaderValue getHeaders(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3;getHeaders in interface Rls.RateLimitResponseOrBuilderpublic Base.HeaderValueOrBuilder getHeadersOrBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3;getHeadersOrBuilder in interface Rls.RateLimitResponseOrBuilderpublic 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 Rls.RateLimitResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rls.RateLimitResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rls.RateLimitResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rls.RateLimitResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rls.RateLimitResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rls.RateLimitResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Rls.RateLimitResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Rls.RateLimitResponse.Builder newBuilder()
public static Rls.RateLimitResponse.Builder newBuilder(Rls.RateLimitResponse prototype)
public Rls.RateLimitResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Rls.RateLimitResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Rls.RateLimitResponse getDefaultInstance()
public static com.google.protobuf.Parser<Rls.RateLimitResponse> parser()
public com.google.protobuf.Parser<Rls.RateLimitResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Rls.RateLimitResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.