public static final class RateLimitResponse.RateLimit extends com.google.protobuf.GeneratedMessageV3 implements RateLimitResponse.RateLimitOrBuilder
Defines an actual rate limit in terms of requests per unit of time and the unit itself.Protobuf type
envoy.service.ratelimit.v3.RateLimitResponse.RateLimit| Modifier and Type | Class and Description |
|---|---|
static class |
RateLimitResponse.RateLimit.Builder
Defines an actual rate limit in terms of requests per unit of time and the unit itself.
|
static class |
RateLimitResponse.RateLimit.Unit
Identifies the unit of of time for rate limit.
|
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 |
NAME_FIELD_NUMBER |
static int |
REQUESTS_PER_UNIT_FIELD_NUMBER |
static int |
UNIT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RateLimitResponse.RateLimit |
getDefaultInstance() |
RateLimitResponse.RateLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
A name or description of this limit.
|
com.google.protobuf.ByteString |
getNameBytes()
A name or description of this limit.
|
com.google.protobuf.Parser<RateLimitResponse.RateLimit> |
getParserForType() |
int |
getRequestsPerUnit()
The number of requests per unit of time.
|
int |
getSerializedSize() |
RateLimitResponse.RateLimit.Unit |
getUnit()
The unit of time.
|
int |
getUnitValue()
The unit of time.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RateLimitResponse.RateLimit.Builder |
newBuilder() |
static RateLimitResponse.RateLimit.Builder |
newBuilder(RateLimitResponse.RateLimit prototype) |
RateLimitResponse.RateLimit.Builder |
newBuilderForType() |
protected RateLimitResponse.RateLimit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RateLimitResponse.RateLimit |
parseDelimitedFrom(InputStream input) |
static RateLimitResponse.RateLimit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitResponse.RateLimit |
parseFrom(byte[] data) |
static RateLimitResponse.RateLimit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitResponse.RateLimit |
parseFrom(ByteBuffer data) |
static RateLimitResponse.RateLimit |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitResponse.RateLimit |
parseFrom(com.google.protobuf.ByteString data) |
static RateLimitResponse.RateLimit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitResponse.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RateLimitResponse.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitResponse.RateLimit |
parseFrom(InputStream input) |
static RateLimitResponse.RateLimit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RateLimitResponse.RateLimit> |
parser() |
RateLimitResponse.RateLimit.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 NAME_FIELD_NUMBER
public static final int REQUESTS_PER_UNIT_FIELD_NUMBER
public static final int UNIT_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 String getName()
A name or description of this limit.
string name = 3;getName in interface RateLimitResponse.RateLimitOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
A name or description of this limit.
string name = 3;getNameBytes in interface RateLimitResponse.RateLimitOrBuilderpublic int getRequestsPerUnit()
The number of requests per unit of time.
uint32 requests_per_unit = 1;getRequestsPerUnit in interface RateLimitResponse.RateLimitOrBuilderpublic int getUnitValue()
The unit of time.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit.Unit unit = 2;getUnitValue in interface RateLimitResponse.RateLimitOrBuilderpublic RateLimitResponse.RateLimit.Unit getUnit()
The unit of time.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit.Unit unit = 2;getUnit in interface RateLimitResponse.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 RateLimitResponse.RateLimit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitResponse.RateLimit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitResponse.RateLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitResponse.RateLimit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitResponse.RateLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitResponse.RateLimit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitResponse.RateLimit parseFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimitResponse.RateLimit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimitResponse.RateLimit parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimitResponse.RateLimit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimitResponse.RateLimit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RateLimitResponse.RateLimit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RateLimitResponse.RateLimit.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RateLimitResponse.RateLimit.Builder newBuilder()
public static RateLimitResponse.RateLimit.Builder newBuilder(RateLimitResponse.RateLimit prototype)
public RateLimitResponse.RateLimit.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RateLimitResponse.RateLimit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RateLimitResponse.RateLimit getDefaultInstance()
public static com.google.protobuf.Parser<RateLimitResponse.RateLimit> parser()
public com.google.protobuf.Parser<RateLimitResponse.RateLimit> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RateLimitResponse.RateLimit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.