Class RateLimit.Override.DynamicMetadata.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<RateLimit.Override.DynamicMetadata.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • 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<RateLimit.Override.DynamicMetadata.Builder>
      • getDefaultInstanceForType

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

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

        public RateLimit.Override.DynamicMetadata 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<RateLimit.Override.DynamicMetadata.Builder>
      • mergeFrom

        public RateLimit.Override.DynamicMetadata.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<RateLimit.Override.DynamicMetadata.Builder>
        Throws:
        java.io.IOException
      • hasMetadataKey

        public boolean hasMetadataKey()
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
        Specified by:
        hasMetadataKey in interface RateLimit.Override.DynamicMetadataOrBuilder
        Returns:
        Whether the metadataKey field is set.
      • getMetadataKey

        public MetadataKey getMetadataKey()
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
        Specified by:
        getMetadataKey in interface RateLimit.Override.DynamicMetadataOrBuilder
        Returns:
        The metadataKey.
      • setMetadataKey

        public RateLimit.Override.DynamicMetadata.Builder setMetadataKey​(MetadataKey value)
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
      • setMetadataKey

        public RateLimit.Override.DynamicMetadata.Builder setMetadataKey​(MetadataKey.Builder builderForValue)
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
      • mergeMetadataKey

        public RateLimit.Override.DynamicMetadata.Builder mergeMetadataKey​(MetadataKey value)
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
      • clearMetadataKey

        public RateLimit.Override.DynamicMetadata.Builder clearMetadataKey()
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
      • getMetadataKeyBuilder

        public MetadataKey.Builder getMetadataKeyBuilder()
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
      • getMetadataKeyOrBuilder

        public MetadataKeyOrBuilder getMetadataKeyOrBuilder()
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }
        Specified by:
        getMetadataKeyOrBuilder in interface RateLimit.Override.DynamicMetadataOrBuilder
      • getMetadataKeyFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<MetadataKey,​MetadataKey.Builder,​MetadataKeyOrBuilder> getMetadataKeyFieldBuilder()
         Metadata struct that defines the key and path to retrieve the struct value.
         The value must be a struct containing an integer "requests_per_unit" property
         and a "unit" property with a value parseable to :ref:`RateLimitUnit
         enum <envoy_v3_api_enum_type.v3.RateLimitUnit>`
         
        .envoy.type.metadata.v3.MetadataKey metadata_key = 1 [(.validate.rules) = { ... }