Class AttributeContext.HttpRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
io.envoyproxy.envoy.service.auth.v3.AttributeContext.HttpRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AttributeContext.HttpRequestOrBuilder, Cloneable
Enclosing class:
AttributeContext.HttpRequest

public static final class AttributeContext.HttpRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder> implements AttributeContext.HttpRequestOrBuilder
 This message defines attributes for an HTTP request.
 HTTP/1.x, HTTP/2, gRPC are all considered as HTTP requests.
 [#next-free-field: 14]
 
Protobuf type envoy.service.auth.v3.AttributeContext.HttpRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.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<AttributeContext.HttpRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AttributeContext.HttpRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • setField

      public AttributeContext.HttpRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • clearField

      public AttributeContext.HttpRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • clearOneof

      public AttributeContext.HttpRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • setRepeatedField

      public AttributeContext.HttpRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • addRepeatedField

      public AttributeContext.HttpRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • mergeFrom

      public AttributeContext.HttpRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttributeContext.HttpRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public AttributeContext.HttpRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<AttributeContext.HttpRequest.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       The unique ID for a request, which can be propagated to downstream
       systems. The ID should have low probability of collision
       within a single day for a specific service.
       For HTTP requests, it should be X-Request-ID or equivalent.
       
      string id = 1;
      Specified by:
      getId in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       The unique ID for a request, which can be propagated to downstream
       systems. The ID should have low probability of collision
       within a single day for a specific service.
       For HTTP requests, it should be X-Request-ID or equivalent.
       
      string id = 1;
      Specified by:
      getIdBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

       The unique ID for a request, which can be propagated to downstream
       systems. The ID should have low probability of collision
       within a single day for a specific service.
       For HTTP requests, it should be X-Request-ID or equivalent.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       The unique ID for a request, which can be propagated to downstream
       systems. The ID should have low probability of collision
       within a single day for a specific service.
       For HTTP requests, it should be X-Request-ID or equivalent.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public AttributeContext.HttpRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
       The unique ID for a request, which can be propagated to downstream
       systems. The ID should have low probability of collision
       within a single day for a specific service.
       For HTTP requests, it should be X-Request-ID or equivalent.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getMethod

      public String getMethod()
       The HTTP request method, such as ``GET``, ``POST``.
       
      string method = 2;
      Specified by:
      getMethod in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
       The HTTP request method, such as ``GET``, ``POST``.
       
      string method = 2;
      Specified by:
      getMethodBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for method.
    • setMethod

      public AttributeContext.HttpRequest.Builder setMethod(String value)
       The HTTP request method, such as ``GET``, ``POST``.
       
      string method = 2;
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

       The HTTP request method, such as ``GET``, ``POST``.
       
      string method = 2;
      Returns:
      This builder for chaining.
    • setMethodBytes

      public AttributeContext.HttpRequest.Builder setMethodBytes(com.google.protobuf.ByteString value)
       The HTTP request method, such as ``GET``, ``POST``.
       
      string method = 2;
      Parameters:
      value - The bytes for method to set.
      Returns:
      This builder for chaining.
    • getHeadersCount

      public int getHeadersCount()
      Description copied from interface: AttributeContext.HttpRequestOrBuilder
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      getHeadersCount in interface AttributeContext.HttpRequestOrBuilder
    • containsHeaders

      public boolean containsHeaders(String key)
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      containsHeaders in interface AttributeContext.HttpRequestOrBuilder
    • getHeaders

      @Deprecated public Map<String,String> getHeaders()
      Deprecated.
      Use getHeadersMap() instead.
      Specified by:
      getHeaders in interface AttributeContext.HttpRequestOrBuilder
    • getHeadersMap

      public Map<String,String> getHeadersMap()
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      getHeadersMap in interface AttributeContext.HttpRequestOrBuilder
    • getHeadersOrDefault

      public String getHeadersOrDefault(String key, String defaultValue)
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      getHeadersOrDefault in interface AttributeContext.HttpRequestOrBuilder
    • getHeadersOrThrow

      public String getHeadersOrThrow(String key)
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      getHeadersOrThrow in interface AttributeContext.HttpRequestOrBuilder
    • clearHeaders

      public AttributeContext.HttpRequest.Builder clearHeaders()
    • removeHeaders

      public AttributeContext.HttpRequest.Builder removeHeaders(String key)
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
    • getMutableHeaders

      @Deprecated public Map<String,String> getMutableHeaders()
      Deprecated.
      Use alternate mutation accessors instead.
    • putHeaders

      public AttributeContext.HttpRequest.Builder putHeaders(String key, String value)
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
    • putAllHeaders

      public AttributeContext.HttpRequest.Builder putAllHeaders(Map<String,String> values)
       The HTTP request headers. If multiple headers share the same key, they
       must be merged according to the HTTP spec. All header keys must be
       lower-cased, because HTTP header keys are case-insensitive.
       Header value is encoded as UTF-8 string. Non-UTF-8 characters will be replaced by "!".
       This field will not be set if
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
       
      map<string, string> headers = 3 [(.udpa.annotations.field_migrate) = { ... }
    • hasHeaderMap

      public boolean hasHeaderMap()
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      hasHeaderMap in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      Whether the headerMap field is set.
    • getHeaderMap

      public HeaderMap getHeaderMap()
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      getHeaderMap in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The headerMap.
    • setHeaderMap

      public AttributeContext.HttpRequest.Builder setHeaderMap(HeaderMap value)
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
    • setHeaderMap

      public AttributeContext.HttpRequest.Builder setHeaderMap(HeaderMap.Builder builderForValue)
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
    • mergeHeaderMap

      public AttributeContext.HttpRequest.Builder mergeHeaderMap(HeaderMap value)
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
    • clearHeaderMap

      public AttributeContext.HttpRequest.Builder clearHeaderMap()
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
    • getHeaderMapBuilder

      public HeaderMap.Builder getHeaderMapBuilder()
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
    • getHeaderMapOrBuilder

      public HeaderMapOrBuilder getHeaderMapOrBuilder()
       A list of the raw HTTP request headers. This is used instead of
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>` when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Note that this is not actually a map type. ``header_map`` contains a single repeated field
       ``headers``.
      
       Here, only the ``key`` and ``raw_value`` fields will be populated for each HeaderValue, and
       that is only when
       :ref:`encode_raw_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.encode_raw_headers>`
       is set to true.
      
       Also, unlike the
       :ref:`headers <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.headers>`
       field, headers with the same key are not combined into a single comma separated header.
       
      .envoy.config.core.v3.HeaderMap header_map = 13 [(.udpa.annotations.field_migrate) = { ... }
      Specified by:
      getHeaderMapOrBuilder in interface AttributeContext.HttpRequestOrBuilder
    • getPath

      public String getPath()
       The request target, as it appears in the first line of the HTTP request. This includes
       the URL path and query-string. No decoding is performed.
       
      string path = 4;
      Specified by:
      getPath in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       The request target, as it appears in the first line of the HTTP request. This includes
       the URL path and query-string. No decoding is performed.
       
      string path = 4;
      Specified by:
      getPathBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for path.
    • setPath

       The request target, as it appears in the first line of the HTTP request. This includes
       the URL path and query-string. No decoding is performed.
       
      string path = 4;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

       The request target, as it appears in the first line of the HTTP request. This includes
       the URL path and query-string. No decoding is performed.
       
      string path = 4;
      Returns:
      This builder for chaining.
    • setPathBytes

      public AttributeContext.HttpRequest.Builder setPathBytes(com.google.protobuf.ByteString value)
       The request target, as it appears in the first line of the HTTP request. This includes
       the URL path and query-string. No decoding is performed.
       
      string path = 4;
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getHost

      public String getHost()
       The HTTP request ``Host`` or ``:authority`` header value.
       
      string host = 5;
      Specified by:
      getHost in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The host.
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
       The HTTP request ``Host`` or ``:authority`` header value.
       
      string host = 5;
      Specified by:
      getHostBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for host.
    • setHost

       The HTTP request ``Host`` or ``:authority`` header value.
       
      string host = 5;
      Parameters:
      value - The host to set.
      Returns:
      This builder for chaining.
    • clearHost

       The HTTP request ``Host`` or ``:authority`` header value.
       
      string host = 5;
      Returns:
      This builder for chaining.
    • setHostBytes

      public AttributeContext.HttpRequest.Builder setHostBytes(com.google.protobuf.ByteString value)
       The HTTP request ``Host`` or ``:authority`` header value.
       
      string host = 5;
      Parameters:
      value - The bytes for host to set.
      Returns:
      This builder for chaining.
    • getScheme

      public String getScheme()
       The HTTP URL scheme, such as ``http`` and ``https``.
       
      string scheme = 6;
      Specified by:
      getScheme in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The scheme.
    • getSchemeBytes

      public com.google.protobuf.ByteString getSchemeBytes()
       The HTTP URL scheme, such as ``http`` and ``https``.
       
      string scheme = 6;
      Specified by:
      getSchemeBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for scheme.
    • setScheme

      public AttributeContext.HttpRequest.Builder setScheme(String value)
       The HTTP URL scheme, such as ``http`` and ``https``.
       
      string scheme = 6;
      Parameters:
      value - The scheme to set.
      Returns:
      This builder for chaining.
    • clearScheme

       The HTTP URL scheme, such as ``http`` and ``https``.
       
      string scheme = 6;
      Returns:
      This builder for chaining.
    • setSchemeBytes

      public AttributeContext.HttpRequest.Builder setSchemeBytes(com.google.protobuf.ByteString value)
       The HTTP URL scheme, such as ``http`` and ``https``.
       
      string scheme = 6;
      Parameters:
      value - The bytes for scheme to set.
      Returns:
      This builder for chaining.
    • getQuery

      public String getQuery()
       This field is always empty, and exists for compatibility reasons. The HTTP URL query is
       included in ``path`` field.
       
      string query = 7;
      Specified by:
      getQuery in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
       This field is always empty, and exists for compatibility reasons. The HTTP URL query is
       included in ``path`` field.
       
      string query = 7;
      Specified by:
      getQueryBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for query.
    • setQuery

       This field is always empty, and exists for compatibility reasons. The HTTP URL query is
       included in ``path`` field.
       
      string query = 7;
      Parameters:
      value - The query to set.
      Returns:
      This builder for chaining.
    • clearQuery

       This field is always empty, and exists for compatibility reasons. The HTTP URL query is
       included in ``path`` field.
       
      string query = 7;
      Returns:
      This builder for chaining.
    • setQueryBytes

      public AttributeContext.HttpRequest.Builder setQueryBytes(com.google.protobuf.ByteString value)
       This field is always empty, and exists for compatibility reasons. The HTTP URL query is
       included in ``path`` field.
       
      string query = 7;
      Parameters:
      value - The bytes for query to set.
      Returns:
      This builder for chaining.
    • getFragment

      public String getFragment()
       This field is always empty, and exists for compatibility reasons. The URL fragment is
       not submitted as part of HTTP requests; it is unknowable.
       
      string fragment = 8;
      Specified by:
      getFragment in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The fragment.
    • getFragmentBytes

      public com.google.protobuf.ByteString getFragmentBytes()
       This field is always empty, and exists for compatibility reasons. The URL fragment is
       not submitted as part of HTTP requests; it is unknowable.
       
      string fragment = 8;
      Specified by:
      getFragmentBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for fragment.
    • setFragment

      public AttributeContext.HttpRequest.Builder setFragment(String value)
       This field is always empty, and exists for compatibility reasons. The URL fragment is
       not submitted as part of HTTP requests; it is unknowable.
       
      string fragment = 8;
      Parameters:
      value - The fragment to set.
      Returns:
      This builder for chaining.
    • clearFragment

      public AttributeContext.HttpRequest.Builder clearFragment()
       This field is always empty, and exists for compatibility reasons. The URL fragment is
       not submitted as part of HTTP requests; it is unknowable.
       
      string fragment = 8;
      Returns:
      This builder for chaining.
    • setFragmentBytes

      public AttributeContext.HttpRequest.Builder setFragmentBytes(com.google.protobuf.ByteString value)
       This field is always empty, and exists for compatibility reasons. The URL fragment is
       not submitted as part of HTTP requests; it is unknowable.
       
      string fragment = 8;
      Parameters:
      value - The bytes for fragment to set.
      Returns:
      This builder for chaining.
    • getSize

      public long getSize()
       The HTTP request size in bytes. If unknown, it must be -1.
       
      int64 size = 9;
      Specified by:
      getSize in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The size.
    • setSize

      public AttributeContext.HttpRequest.Builder setSize(long value)
       The HTTP request size in bytes. If unknown, it must be -1.
       
      int64 size = 9;
      Parameters:
      value - The size to set.
      Returns:
      This builder for chaining.
    • clearSize

       The HTTP request size in bytes. If unknown, it must be -1.
       
      int64 size = 9;
      Returns:
      This builder for chaining.
    • getProtocol

      public String getProtocol()
       The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
      
       See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all
       possible values.
       
      string protocol = 10;
      Specified by:
      getProtocol in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The protocol.
    • getProtocolBytes

      public com.google.protobuf.ByteString getProtocolBytes()
       The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
      
       See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all
       possible values.
       
      string protocol = 10;
      Specified by:
      getProtocolBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for protocol.
    • setProtocol

      public AttributeContext.HttpRequest.Builder setProtocol(String value)
       The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
      
       See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all
       possible values.
       
      string protocol = 10;
      Parameters:
      value - The protocol to set.
      Returns:
      This builder for chaining.
    • clearProtocol

      public AttributeContext.HttpRequest.Builder clearProtocol()
       The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
      
       See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all
       possible values.
       
      string protocol = 10;
      Returns:
      This builder for chaining.
    • setProtocolBytes

      public AttributeContext.HttpRequest.Builder setProtocolBytes(com.google.protobuf.ByteString value)
       The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
      
       See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all
       possible values.
       
      string protocol = 10;
      Parameters:
      value - The bytes for protocol to set.
      Returns:
      This builder for chaining.
    • getBody

      public String getBody()
       The HTTP request body.
       
      string body = 11;
      Specified by:
      getBody in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The body.
    • getBodyBytes

      public com.google.protobuf.ByteString getBodyBytes()
       The HTTP request body.
       
      string body = 11;
      Specified by:
      getBodyBytes in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The bytes for body.
    • setBody

       The HTTP request body.
       
      string body = 11;
      Parameters:
      value - The body to set.
      Returns:
      This builder for chaining.
    • clearBody

       The HTTP request body.
       
      string body = 11;
      Returns:
      This builder for chaining.
    • setBodyBytes

      public AttributeContext.HttpRequest.Builder setBodyBytes(com.google.protobuf.ByteString value)
       The HTTP request body.
       
      string body = 11;
      Parameters:
      value - The bytes for body to set.
      Returns:
      This builder for chaining.
    • getRawBody

      public com.google.protobuf.ByteString getRawBody()
       The HTTP request body in bytes. This is used instead of
       :ref:`body <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.body>` when
       :ref:`pack_as_bytes <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.BufferSettings.pack_as_bytes>`
       is set to true.
       
      bytes raw_body = 12;
      Specified by:
      getRawBody in interface AttributeContext.HttpRequestOrBuilder
      Returns:
      The rawBody.
    • setRawBody

      public AttributeContext.HttpRequest.Builder setRawBody(com.google.protobuf.ByteString value)
       The HTTP request body in bytes. This is used instead of
       :ref:`body <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.body>` when
       :ref:`pack_as_bytes <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.BufferSettings.pack_as_bytes>`
       is set to true.
       
      bytes raw_body = 12;
      Parameters:
      value - The rawBody to set.
      Returns:
      This builder for chaining.
    • clearRawBody

      public AttributeContext.HttpRequest.Builder clearRawBody()
       The HTTP request body in bytes. This is used instead of
       :ref:`body <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.body>` when
       :ref:`pack_as_bytes <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.BufferSettings.pack_as_bytes>`
       is set to true.
       
      bytes raw_body = 12;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final AttributeContext.HttpRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>
    • mergeUnknownFields

      public final AttributeContext.HttpRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.HttpRequest.Builder>