Class RateLimitQuotaUsageReports.Builder

    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • 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.Builder<RateLimitQuotaUsageReports.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaUsageReports.Builder>
      • getDefaultInstanceForType

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

        public RateLimitQuotaUsageReports build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RateLimitQuotaUsageReports buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaUsageReports.Builder>
      • mergeFrom

        public RateLimitQuotaUsageReports.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimitQuotaUsageReports.Builder>
        Throws:
        java.io.IOException
      • getDomain

        public java.lang.String getDomain()
         All quota requests must specify the domain. This enables sharing the quota
         server between different applications without fear of overlap.
         E.g., "envoy".
        
         Should only be provided in the first report, all subsequent messages on the same
         stream are considered to be in the same domain. In case the domain needs to be
         changes, close the stream, and reopen a new one with the different domain.
         
        string domain = 1 [(.validate.rules) = { ... }
        Specified by:
        getDomain in interface RateLimitQuotaUsageReportsOrBuilder
        Returns:
        The domain.
      • getDomainBytes

        public com.google.protobuf.ByteString getDomainBytes()
         All quota requests must specify the domain. This enables sharing the quota
         server between different applications without fear of overlap.
         E.g., "envoy".
        
         Should only be provided in the first report, all subsequent messages on the same
         stream are considered to be in the same domain. In case the domain needs to be
         changes, close the stream, and reopen a new one with the different domain.
         
        string domain = 1 [(.validate.rules) = { ... }
        Specified by:
        getDomainBytes in interface RateLimitQuotaUsageReportsOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public RateLimitQuotaUsageReports.Builder setDomain​(java.lang.String value)
         All quota requests must specify the domain. This enables sharing the quota
         server between different applications without fear of overlap.
         E.g., "envoy".
        
         Should only be provided in the first report, all subsequent messages on the same
         stream are considered to be in the same domain. In case the domain needs to be
         changes, close the stream, and reopen a new one with the different domain.
         
        string domain = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public RateLimitQuotaUsageReports.Builder clearDomain()
         All quota requests must specify the domain. This enables sharing the quota
         server between different applications without fear of overlap.
         E.g., "envoy".
        
         Should only be provided in the first report, all subsequent messages on the same
         stream are considered to be in the same domain. In case the domain needs to be
         changes, close the stream, and reopen a new one with the different domain.
         
        string domain = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setDomainBytes

        public RateLimitQuotaUsageReports.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         All quota requests must specify the domain. This enables sharing the quota
         server between different applications without fear of overlap.
         E.g., "envoy".
        
         Should only be provided in the first report, all subsequent messages on the same
         stream are considered to be in the same domain. In case the domain needs to be
         changes, close the stream, and reopen a new one with the different domain.
         
        string domain = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • ensureBucketQuotaUsagesIsMutable

        private void ensureBucketQuotaUsagesIsMutable()
      • getBucketQuotaUsagesCount

        public int getBucketQuotaUsagesCount()
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
        Specified by:
        getBucketQuotaUsagesCount in interface RateLimitQuotaUsageReportsOrBuilder
      • setBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder setBucketQuotaUsages​(int index,
                                                                       RateLimitQuotaUsageReports.BucketQuotaUsage value)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • setBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder setBucketQuotaUsages​(int index,
                                                                       RateLimitQuotaUsageReports.BucketQuotaUsage.Builder builderForValue)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • addBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder addBucketQuotaUsages​(RateLimitQuotaUsageReports.BucketQuotaUsage value)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • addBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder addBucketQuotaUsages​(int index,
                                                                       RateLimitQuotaUsageReports.BucketQuotaUsage value)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • addBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder addBucketQuotaUsages​(int index,
                                                                       RateLimitQuotaUsageReports.BucketQuotaUsage.Builder builderForValue)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • addAllBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder addAllBucketQuotaUsages​(java.lang.Iterable<? extends RateLimitQuotaUsageReports.BucketQuotaUsage> values)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • clearBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder clearBucketQuotaUsages()
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • removeBucketQuotaUsages

        public RateLimitQuotaUsageReports.Builder removeBucketQuotaUsages​(int index)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • getBucketQuotaUsagesBuilder

        public RateLimitQuotaUsageReports.BucketQuotaUsage.Builder getBucketQuotaUsagesBuilder​(int index)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • addBucketQuotaUsagesBuilder

        public RateLimitQuotaUsageReports.BucketQuotaUsage.Builder addBucketQuotaUsagesBuilder()
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • addBucketQuotaUsagesBuilder

        public RateLimitQuotaUsageReports.BucketQuotaUsage.Builder addBucketQuotaUsagesBuilder​(int index)
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }
      • getBucketQuotaUsagesBuilderList

        public java.util.List<RateLimitQuotaUsageReports.BucketQuotaUsage.Builder> getBucketQuotaUsagesBuilderList()
         A list of quota usage reports. The list is processed by the RLQS server in the same order
         it's provided by the client.
         
        repeated .envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage bucket_quota_usages = 2 [(.validate.rules) = { ... }