Class RateLimitQuotaUsageReports.BucketQuotaUsage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
,Serializable
- Enclosing class:
RateLimitQuotaUsageReports
public static final class RateLimitQuotaUsageReports.BucketQuotaUsage
extends com.google.protobuf.GeneratedMessage
implements RateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
The usage report for a bucket. .. note:: Note that the first report sent for a ``BucketId`` indicates to the RLQS server that the RLQS client is subscribing for the future assignments for this ``BucketId``.Protobuf type
envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
The usage report for a bucket.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
static final int
private BucketId
private static final RateLimitQuotaUsageReports.BucketQuotaUsage
private byte
static final int
static final int
private long
private long
private static final com.google.protobuf.Parser
<RateLimitQuotaUsageReports.BucketQuotaUsage> private static final long
static final int
private com.google.protobuf.Duration
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
BucketQuotaUsage
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
``BucketId`` for which request quota usage is reported.``BucketId`` for which request quota usage is reported.static final com.google.protobuf.Descriptors.Descriptor
long
Requests the data plane has allowed through.long
Requests throttled.com.google.protobuf.Parser
<RateLimitQuotaUsageReports.BucketQuotaUsage> int
com.google.protobuf.Duration
Time elapsed since the last report.com.google.protobuf.DurationOrBuilder
Time elapsed since the last report.boolean
``BucketId`` for which request quota usage is reported.int
hashCode()
boolean
Time elapsed since the last report.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<RateLimitQuotaUsageReports.BucketQuotaUsage> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
BUCKET_ID_FIELD_NUMBER
public static final int BUCKET_ID_FIELD_NUMBER- See Also:
-
bucketId_
-
TIME_ELAPSED_FIELD_NUMBER
public static final int TIME_ELAPSED_FIELD_NUMBER- See Also:
-
timeElapsed_
private com.google.protobuf.Duration timeElapsed_ -
NUM_REQUESTS_ALLOWED_FIELD_NUMBER
public static final int NUM_REQUESTS_ALLOWED_FIELD_NUMBER- See Also:
-
numRequestsAllowed_
private long numRequestsAllowed_ -
NUM_REQUESTS_DENIED_FIELD_NUMBER
public static final int NUM_REQUESTS_DENIED_FIELD_NUMBER- See Also:
-
numRequestsDenied_
private long numRequestsDenied_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
BucketQuotaUsage
private BucketQuotaUsage(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
BucketQuotaUsage
private BucketQuotaUsage()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasBucketId
public boolean hasBucketId()``BucketId`` for which request quota usage is reported.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
- Specified by:
hasBucketId
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
- Returns:
- Whether the bucketId field is set.
-
getBucketId
``BucketId`` for which request quota usage is reported.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
- Specified by:
getBucketId
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
- Returns:
- The bucketId.
-
getBucketIdOrBuilder
``BucketId`` for which request quota usage is reported.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }
- Specified by:
getBucketIdOrBuilder
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
-
hasTimeElapsed
public boolean hasTimeElapsed()Time elapsed since the last report.
.google.protobuf.Duration time_elapsed = 2 [(.validate.rules) = { ... }
- Specified by:
hasTimeElapsed
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
- Returns:
- Whether the timeElapsed field is set.
-
getTimeElapsed
public com.google.protobuf.Duration getTimeElapsed()Time elapsed since the last report.
.google.protobuf.Duration time_elapsed = 2 [(.validate.rules) = { ... }
- Specified by:
getTimeElapsed
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
- Returns:
- The timeElapsed.
-
getTimeElapsedOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeElapsedOrBuilder()Time elapsed since the last report.
.google.protobuf.Duration time_elapsed = 2 [(.validate.rules) = { ... }
- Specified by:
getTimeElapsedOrBuilder
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
-
getNumRequestsAllowed
public long getNumRequestsAllowed()Requests the data plane has allowed through.
uint64 num_requests_allowed = 3;
- Specified by:
getNumRequestsAllowed
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
- Returns:
- The numRequestsAllowed.
-
getNumRequestsDenied
public long getNumRequestsDenied()Requests throttled.
uint64 num_requests_denied = 4;
- Specified by:
getNumRequestsDenied
in interfaceRateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
- Returns:
- The numRequestsDenied.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- 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 RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static RateLimitQuotaUsageReports.BucketQuotaUsage.Builder newBuilder(RateLimitQuotaUsageReports.BucketQuotaUsage prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RateLimitQuotaUsageReports.BucketQuotaUsage.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-