Class AuthorizationResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
io.envoyproxy.envoy.extensions.filters.http.ext_authz.v3.AuthorizationResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AuthorizationResponseOrBuilder, Cloneable
Enclosing class:
AuthorizationResponse

public static final class AuthorizationResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder> implements AuthorizationResponseOrBuilder
 [#next-free-field: 6]
 
Protobuf type envoy.extensions.filters.http.ext_authz.v3.AuthorizationResponse
  • Method Details

    • 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<AuthorizationResponse.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<AuthorizationResponse.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<AuthorizationResponse.Builder>
    • getDefaultInstanceForType

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

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

      public AuthorizationResponse 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<AuthorizationResponse.Builder>
    • setField

      public AuthorizationResponse.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<AuthorizationResponse.Builder>
    • clearField

      public AuthorizationResponse.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<AuthorizationResponse.Builder>
    • clearOneof

      public AuthorizationResponse.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<AuthorizationResponse.Builder>
    • setRepeatedField

      public AuthorizationResponse.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<AuthorizationResponse.Builder>
    • addRepeatedField

      public AuthorizationResponse.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<AuthorizationResponse.Builder>
    • mergeFrom

      public AuthorizationResponse.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<AuthorizationResponse.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<AuthorizationResponse.Builder>
    • mergeFrom

      public AuthorizationResponse.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<AuthorizationResponse.Builder>
      Throws:
      IOException
    • hasAllowedUpstreamHeaders

      public boolean hasAllowedUpstreamHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
      Specified by:
      hasAllowedUpstreamHeaders in interface AuthorizationResponseOrBuilder
      Returns:
      Whether the allowedUpstreamHeaders field is set.
    • getAllowedUpstreamHeaders

      public ListStringMatcher getAllowedUpstreamHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
      Specified by:
      getAllowedUpstreamHeaders in interface AuthorizationResponseOrBuilder
      Returns:
      The allowedUpstreamHeaders.
    • setAllowedUpstreamHeaders

      public AuthorizationResponse.Builder setAllowedUpstreamHeaders(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
    • setAllowedUpstreamHeaders

      public AuthorizationResponse.Builder setAllowedUpstreamHeaders(ListStringMatcher.Builder builderForValue)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
    • mergeAllowedUpstreamHeaders

      public AuthorizationResponse.Builder mergeAllowedUpstreamHeaders(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
    • clearAllowedUpstreamHeaders

      public AuthorizationResponse.Builder clearAllowedUpstreamHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
    • getAllowedUpstreamHeadersBuilder

      public ListStringMatcher.Builder getAllowedUpstreamHeadersBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
    • getAllowedUpstreamHeadersOrBuilder

      public ListStringMatcherOrBuilder getAllowedUpstreamHeadersOrBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be overridden.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers = 1;
      Specified by:
      getAllowedUpstreamHeadersOrBuilder in interface AuthorizationResponseOrBuilder
    • hasAllowedUpstreamHeadersToAppend

      public boolean hasAllowedUpstreamHeadersToAppend()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
      Specified by:
      hasAllowedUpstreamHeadersToAppend in interface AuthorizationResponseOrBuilder
      Returns:
      Whether the allowedUpstreamHeadersToAppend field is set.
    • getAllowedUpstreamHeadersToAppend

      public ListStringMatcher getAllowedUpstreamHeadersToAppend()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
      Specified by:
      getAllowedUpstreamHeadersToAppend in interface AuthorizationResponseOrBuilder
      Returns:
      The allowedUpstreamHeadersToAppend.
    • setAllowedUpstreamHeadersToAppend

      public AuthorizationResponse.Builder setAllowedUpstreamHeadersToAppend(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
    • setAllowedUpstreamHeadersToAppend

      public AuthorizationResponse.Builder setAllowedUpstreamHeadersToAppend(ListStringMatcher.Builder builderForValue)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
    • mergeAllowedUpstreamHeadersToAppend

      public AuthorizationResponse.Builder mergeAllowedUpstreamHeadersToAppend(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
    • clearAllowedUpstreamHeadersToAppend

      public AuthorizationResponse.Builder clearAllowedUpstreamHeadersToAppend()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
    • getAllowedUpstreamHeadersToAppendBuilder

      public ListStringMatcher.Builder getAllowedUpstreamHeadersToAppendBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
    • getAllowedUpstreamHeadersToAppendOrBuilder

      public ListStringMatcherOrBuilder getAllowedUpstreamHeadersToAppendOrBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the original client request.
      
       .. note::
         Existing headers will be appended.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_upstream_headers_to_append = 3;
      Specified by:
      getAllowedUpstreamHeadersToAppendOrBuilder in interface AuthorizationResponseOrBuilder
    • hasAllowedClientHeaders

      public boolean hasAllowedClientHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
      Specified by:
      hasAllowedClientHeaders in interface AuthorizationResponseOrBuilder
      Returns:
      Whether the allowedClientHeaders field is set.
    • getAllowedClientHeaders

      public ListStringMatcher getAllowedClientHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
      Specified by:
      getAllowedClientHeaders in interface AuthorizationResponseOrBuilder
      Returns:
      The allowedClientHeaders.
    • setAllowedClientHeaders

      public AuthorizationResponse.Builder setAllowedClientHeaders(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
    • setAllowedClientHeaders

      public AuthorizationResponse.Builder setAllowedClientHeaders(ListStringMatcher.Builder builderForValue)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
    • mergeAllowedClientHeaders

      public AuthorizationResponse.Builder mergeAllowedClientHeaders(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
    • clearAllowedClientHeaders

      public AuthorizationResponse.Builder clearAllowedClientHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
    • getAllowedClientHeadersBuilder

      public ListStringMatcher.Builder getAllowedClientHeadersBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
    • getAllowedClientHeadersOrBuilder

      public ListStringMatcherOrBuilder getAllowedClientHeadersOrBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response.
       When a header is included in this list, ``Path``, ``Status``, ``Content-Length``, ``WWW-Authenticate`` and
       ``Location`` are automatically added.
      
       .. note::
         When this list is *not* set, all the authorization response headers, except
         ``Authority (Host)``, will be in the response to the client.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers = 2;
      Specified by:
      getAllowedClientHeadersOrBuilder in interface AuthorizationResponseOrBuilder
    • hasAllowedClientHeadersOnSuccess

      public boolean hasAllowedClientHeadersOnSuccess()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
      Specified by:
      hasAllowedClientHeadersOnSuccess in interface AuthorizationResponseOrBuilder
      Returns:
      Whether the allowedClientHeadersOnSuccess field is set.
    • getAllowedClientHeadersOnSuccess

      public ListStringMatcher getAllowedClientHeadersOnSuccess()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
      Specified by:
      getAllowedClientHeadersOnSuccess in interface AuthorizationResponseOrBuilder
      Returns:
      The allowedClientHeadersOnSuccess.
    • setAllowedClientHeadersOnSuccess

      public AuthorizationResponse.Builder setAllowedClientHeadersOnSuccess(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
    • setAllowedClientHeadersOnSuccess

      public AuthorizationResponse.Builder setAllowedClientHeadersOnSuccess(ListStringMatcher.Builder builderForValue)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
    • mergeAllowedClientHeadersOnSuccess

      public AuthorizationResponse.Builder mergeAllowedClientHeadersOnSuccess(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
    • clearAllowedClientHeadersOnSuccess

      public AuthorizationResponse.Builder clearAllowedClientHeadersOnSuccess()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
    • getAllowedClientHeadersOnSuccessBuilder

      public ListStringMatcher.Builder getAllowedClientHeadersOnSuccessBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
    • getAllowedClientHeadersOnSuccessOrBuilder

      public ListStringMatcherOrBuilder getAllowedClientHeadersOnSuccessOrBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be added to the client's response when
       the authorization response itself is successful, i.e. not failed or denied. When this list is
       *not* set, no additional headers will be added to the client's response on success.
       
      .envoy.type.matcher.v3.ListStringMatcher allowed_client_headers_on_success = 4;
      Specified by:
      getAllowedClientHeadersOnSuccessOrBuilder in interface AuthorizationResponseOrBuilder
    • hasDynamicMetadataFromHeaders

      public boolean hasDynamicMetadataFromHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
      Specified by:
      hasDynamicMetadataFromHeaders in interface AuthorizationResponseOrBuilder
      Returns:
      Whether the dynamicMetadataFromHeaders field is set.
    • getDynamicMetadataFromHeaders

      public ListStringMatcher getDynamicMetadataFromHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
      Specified by:
      getDynamicMetadataFromHeaders in interface AuthorizationResponseOrBuilder
      Returns:
      The dynamicMetadataFromHeaders.
    • setDynamicMetadataFromHeaders

      public AuthorizationResponse.Builder setDynamicMetadataFromHeaders(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
    • setDynamicMetadataFromHeaders

      public AuthorizationResponse.Builder setDynamicMetadataFromHeaders(ListStringMatcher.Builder builderForValue)
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
    • mergeDynamicMetadataFromHeaders

      public AuthorizationResponse.Builder mergeDynamicMetadataFromHeaders(ListStringMatcher value)
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
    • clearDynamicMetadataFromHeaders

      public AuthorizationResponse.Builder clearDynamicMetadataFromHeaders()
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
    • getDynamicMetadataFromHeadersBuilder

      public ListStringMatcher.Builder getDynamicMetadataFromHeadersBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
    • getDynamicMetadataFromHeadersOrBuilder

      public ListStringMatcherOrBuilder getDynamicMetadataFromHeadersOrBuilder()
       When this list is set, authorization
       response headers that have a correspondent match will be emitted as dynamic metadata to be consumed
       by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter
       that requires it:
      
       - :ref:`envoy.filters.http.ext_authz <config_http_filters_ext_authz_dynamic_metadata>` for HTTP filter.
       - :ref:`envoy.filters.network.ext_authz <config_network_filters_ext_authz_dynamic_metadata>` for network filter.
       
      .envoy.type.matcher.v3.ListStringMatcher dynamic_metadata_from_headers = 5;
      Specified by:
      getDynamicMetadataFromHeadersOrBuilder in interface AuthorizationResponseOrBuilder
    • setUnknownFields

      public final AuthorizationResponse.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<AuthorizationResponse.Builder>
    • mergeUnknownFields

      public final AuthorizationResponse.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<AuthorizationResponse.Builder>