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.config.filter.http.ext_authz.v2.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
Protobuf type envoy.config.filter.http.ext_authz.v2.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 :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization
       response headers that have a correspondent match will be added to the original client request.
       Note that coexistent headers will be overridden.
       
      .envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1;
      Specified by:
      hasAllowedUpstreamHeaders in interface AuthorizationResponseOrBuilder
      Returns:
      Whether the allowedUpstreamHeaders field is set.
    • getAllowedUpstreamHeaders

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

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

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

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

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

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

      public ListStringMatcherOrBuilder getAllowedUpstreamHeadersOrBuilder()
       When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization
       response headers that have a correspondent match will be added to the original client request.
       Note that coexistent headers will be overridden.
       
      .envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1;
      Specified by:
      getAllowedUpstreamHeadersOrBuilder in interface AuthorizationResponseOrBuilder
    • hasAllowedClientHeaders

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

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

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

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

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

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

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

      public ListStringMatcherOrBuilder getAllowedClientHeadersOrBuilder()
       When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization
       response headers that have a correspondent match will be added to the client's response. Note
       that when this list is *not* set, all the authorization response headers, except *Authority
       (Host)* will be in the response to the client. When a header is included in this list, *Path*,
       *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
       
      .envoy.type.matcher.ListStringMatcher allowed_client_headers = 2;
      Specified by:
      getAllowedClientHeadersOrBuilder 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>