Class RateLimitQuotaUsageReports.BucketQuotaUsage

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder, java.io.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:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • TIME_ELAPSED_FIELD_NUMBER

        public static final int TIME_ELAPSED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • timeElapsed_

        private com.google.protobuf.Duration timeElapsed_
      • NUM_REQUESTS_ALLOWED_FIELD_NUMBER

        public static final int NUM_REQUESTS_ALLOWED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • numRequestsAllowed_

        private long numRequestsAllowed_
      • NUM_REQUESTS_DENIED_FIELD_NUMBER

        public static final int NUM_REQUESTS_DENIED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • numRequestsDenied_

        private long numRequestsDenied_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • BucketQuotaUsage

        private BucketQuotaUsage​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • BucketQuotaUsage

        private BucketQuotaUsage()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.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 interface RateLimitQuotaUsageReports.BucketQuotaUsageOrBuilder
        Returns:
        Whether the bucketId field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom​(java.nio.ByteBuffer data)
                                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom​(java.nio.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​(java.io.InputStream input,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static RateLimitQuotaUsageReports.BucketQuotaUsage parseDelimitedFrom​(java.io.InputStream input,
                                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static RateLimitQuotaUsageReports.BucketQuotaUsage parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getParserForType

        public com.google.protobuf.Parser<RateLimitQuotaUsageReports.BucketQuotaUsage> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public RateLimitQuotaUsageReports.BucketQuotaUsage getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder