Class RateLimit.Action.RequestHeaders.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.RequestHeaders.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.GeneratedMessageV3.Builder<RateLimit.Action.RequestHeaders.Builder>
      • getDefaultInstanceForType

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

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

        public RateLimit.Action.RequestHeaders 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.GeneratedMessageV3.Builder<RateLimit.Action.RequestHeaders.Builder>
      • getHeaderName

        public String getHeaderName()
         The header name to be queried from the request headers. The header’s
         value is used to populate the value of the descriptor entry for the
         descriptor_key.
         
        string header_name = 1 [(.validate.rules) = { ... }
        Specified by:
        getHeaderName in interface RateLimit.Action.RequestHeadersOrBuilder
        Returns:
        The headerName.
      • getHeaderNameBytes

        public com.google.protobuf.ByteString getHeaderNameBytes()
         The header name to be queried from the request headers. The header’s
         value is used to populate the value of the descriptor entry for the
         descriptor_key.
         
        string header_name = 1 [(.validate.rules) = { ... }
        Specified by:
        getHeaderNameBytes in interface RateLimit.Action.RequestHeadersOrBuilder
        Returns:
        The bytes for headerName.
      • setHeaderName

        public RateLimit.Action.RequestHeaders.Builder setHeaderName​(String value)
         The header name to be queried from the request headers. The header’s
         value is used to populate the value of the descriptor entry for the
         descriptor_key.
         
        string header_name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The headerName to set.
        Returns:
        This builder for chaining.
      • clearHeaderName

        public RateLimit.Action.RequestHeaders.Builder clearHeaderName()
         The header name to be queried from the request headers. The header’s
         value is used to populate the value of the descriptor entry for the
         descriptor_key.
         
        string header_name = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setHeaderNameBytes

        public RateLimit.Action.RequestHeaders.Builder setHeaderNameBytes​(com.google.protobuf.ByteString value)
         The header name to be queried from the request headers. The header’s
         value is used to populate the value of the descriptor entry for the
         descriptor_key.
         
        string header_name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for headerName to set.
        Returns:
        This builder for chaining.
      • getDescriptorKeyBytes

        public com.google.protobuf.ByteString getDescriptorKeyBytes()
         The key to use in the descriptor entry.
         
        string descriptor_key = 2 [(.validate.rules) = { ... }
        Specified by:
        getDescriptorKeyBytes in interface RateLimit.Action.RequestHeadersOrBuilder
        Returns:
        The bytes for descriptorKey.
      • setDescriptorKey

        public RateLimit.Action.RequestHeaders.Builder setDescriptorKey​(String value)
         The key to use in the descriptor entry.
         
        string descriptor_key = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The descriptorKey to set.
        Returns:
        This builder for chaining.
      • clearDescriptorKey

        public RateLimit.Action.RequestHeaders.Builder clearDescriptorKey()
         The key to use in the descriptor entry.
         
        string descriptor_key = 2 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setDescriptorKeyBytes

        public RateLimit.Action.RequestHeaders.Builder setDescriptorKeyBytes​(com.google.protobuf.ByteString value)
         The key to use in the descriptor entry.
         
        string descriptor_key = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for descriptorKey to set.
        Returns:
        This builder for chaining.