Class OkHttpResponse.Builder

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

public static final class OkHttpResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder> implements OkHttpResponseOrBuilder
 HTTP attributes for an OK response.
 [#next-free-field: 9]
 
Protobuf type envoy.service.auth.v3.OkHttpResponse
  • 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<OkHttpResponse.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public OkHttpResponse.Builder mergeFrom(OkHttpResponse other)
    • isInitialized

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

      public OkHttpResponse.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<OkHttpResponse.Builder>
      Throws:
      IOException
    • getHeadersList

      public List<HeaderValueOption> getHeadersList()
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
      Specified by:
      getHeadersList in interface OkHttpResponseOrBuilder
    • getHeadersCount

      public int getHeadersCount()
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
      Specified by:
      getHeadersCount in interface OkHttpResponseOrBuilder
    • getHeaders

      public HeaderValueOption getHeaders(int index)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
      Specified by:
      getHeaders in interface OkHttpResponseOrBuilder
    • setHeaders

      public OkHttpResponse.Builder setHeaders(int index, HeaderValueOption value)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • setHeaders

      public OkHttpResponse.Builder setHeaders(int index, HeaderValueOption.Builder builderForValue)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • addHeaders

      public OkHttpResponse.Builder addHeaders(HeaderValueOption value)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • addHeaders

      public OkHttpResponse.Builder addHeaders(int index, HeaderValueOption value)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • addHeaders

      public OkHttpResponse.Builder addHeaders(HeaderValueOption.Builder builderForValue)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • addHeaders

      public OkHttpResponse.Builder addHeaders(int index, HeaderValueOption.Builder builderForValue)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • addAllHeaders

      public OkHttpResponse.Builder addAllHeaders(Iterable<? extends HeaderValueOption> values)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • clearHeaders

      public OkHttpResponse.Builder clearHeaders()
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • removeHeaders

      public OkHttpResponse.Builder removeHeaders(int index)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • getHeadersBuilder

      public HeaderValueOption.Builder getHeadersBuilder(int index)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • getHeadersOrBuilder

      public HeaderValueOptionOrBuilder getHeadersOrBuilder(int index)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
      Specified by:
      getHeadersOrBuilder in interface OkHttpResponseOrBuilder
    • getHeadersOrBuilderList

      public List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
      Specified by:
      getHeadersOrBuilderList in interface OkHttpResponseOrBuilder
    • addHeadersBuilder

      public HeaderValueOption.Builder addHeadersBuilder()
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • addHeadersBuilder

      public HeaderValueOption.Builder addHeadersBuilder(int index)
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • getHeadersBuilderList

      public List<HeaderValueOption.Builder> getHeadersBuilderList()
       HTTP entity headers in addition to the original request headers. This allows the authorization
       service to append, to add or to override headers from the original request before
       dispatching it to the upstream. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>` defaults to
       false when used in this message. By setting the ``append`` field to ``true``,
       the filter will append the correspondent header value to the matched request header.
       By leaving ``append`` as false, the filter will either add a new header, or override an existing
       one if there is a match.
       
      repeated .envoy.config.core.v3.HeaderValueOption headers = 2;
    • getHeadersToRemoveList

      public com.google.protobuf.ProtocolStringList getHeadersToRemoveList()
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Specified by:
      getHeadersToRemoveList in interface OkHttpResponseOrBuilder
      Returns:
      A list containing the headersToRemove.
    • getHeadersToRemoveCount

      public int getHeadersToRemoveCount()
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Specified by:
      getHeadersToRemoveCount in interface OkHttpResponseOrBuilder
      Returns:
      The count of headersToRemove.
    • getHeadersToRemove

      public String getHeadersToRemove(int index)
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Specified by:
      getHeadersToRemove in interface OkHttpResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The headersToRemove at the given index.
    • getHeadersToRemoveBytes

      public com.google.protobuf.ByteString getHeadersToRemoveBytes(int index)
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Specified by:
      getHeadersToRemoveBytes in interface OkHttpResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the headersToRemove at the given index.
    • setHeadersToRemove

      public OkHttpResponse.Builder setHeadersToRemove(int index, String value)
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Parameters:
      index - The index to set the value at.
      value - The headersToRemove to set.
      Returns:
      This builder for chaining.
    • addHeadersToRemove

      public OkHttpResponse.Builder addHeadersToRemove(String value)
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Parameters:
      value - The headersToRemove to add.
      Returns:
      This builder for chaining.
    • addAllHeadersToRemove

      public OkHttpResponse.Builder addAllHeadersToRemove(Iterable<String> values)
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Parameters:
      values - The headersToRemove to add.
      Returns:
      This builder for chaining.
    • clearHeadersToRemove

      public OkHttpResponse.Builder clearHeadersToRemove()
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Returns:
      This builder for chaining.
    • addHeadersToRemoveBytes

      public OkHttpResponse.Builder addHeadersToRemoveBytes(com.google.protobuf.ByteString value)
       HTTP entity headers to remove from the original request before dispatching
       it to the upstream. This allows the authorization service to act on auth
       related headers (like ``Authorization``), process them, and consume them.
       Under this model, the upstream will either receive the request (if it's
       authorized) or not receive it (if it's not), but will not see headers
       containing authorization credentials.
      
       Pseudo headers (such as ``:authority``, ``:method``, ``:path`` etc), as well as
       the header ``Host``, may not be removed as that would make the request
       malformed. If mentioned in ``headers_to_remove`` these special headers will
       be ignored.
      
       When using the HTTP service this must instead be set by the HTTP
       authorization service as a comma separated list like so:
       ``x-envoy-auth-headers-to-remove: one-auth-header, another-auth-header``.
       
      repeated string headers_to_remove = 5;
      Parameters:
      value - The bytes of the headersToRemove to add.
      Returns:
      This builder for chaining.
    • hasDynamicMetadata

      @Deprecated public boolean hasDynamicMetadata()
      Deprecated.
      envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated. See envoy/service/auth/v3/external_auth.proto;l=97
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      hasDynamicMetadata in interface OkHttpResponseOrBuilder
      Returns:
      Whether the dynamicMetadata field is set.
    • getDynamicMetadata

      @Deprecated public com.google.protobuf.Struct getDynamicMetadata()
      Deprecated.
      envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated. See envoy/service/auth/v3/external_auth.proto;l=97
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getDynamicMetadata in interface OkHttpResponseOrBuilder
      Returns:
      The dynamicMetadata.
    • setDynamicMetadata

      @Deprecated public OkHttpResponse.Builder setDynamicMetadata(com.google.protobuf.Struct value)
      Deprecated.
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • setDynamicMetadata

      @Deprecated public OkHttpResponse.Builder setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue)
      Deprecated.
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • mergeDynamicMetadata

      @Deprecated public OkHttpResponse.Builder mergeDynamicMetadata(com.google.protobuf.Struct value)
      Deprecated.
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • clearDynamicMetadata

      @Deprecated public OkHttpResponse.Builder clearDynamicMetadata()
      Deprecated.
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getDynamicMetadataBuilder

      @Deprecated public com.google.protobuf.Struct.Builder getDynamicMetadataBuilder()
      Deprecated.
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getDynamicMetadataOrBuilder

      @Deprecated public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()
      Deprecated.
       This field has been deprecated in favor of :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`. Until it is removed,
       setting this field overrides :ref:`CheckResponse.dynamic_metadata
       <envoy_v3_api_field_service.auth.v3.CheckResponse.dynamic_metadata>`.
       
      .google.protobuf.Struct dynamic_metadata = 3 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Specified by:
      getDynamicMetadataOrBuilder in interface OkHttpResponseOrBuilder
    • getResponseHeadersToAddList

      public List<HeaderValueOption> getResponseHeadersToAddList()
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
      Specified by:
      getResponseHeadersToAddList in interface OkHttpResponseOrBuilder
    • getResponseHeadersToAddCount

      public int getResponseHeadersToAddCount()
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
      Specified by:
      getResponseHeadersToAddCount in interface OkHttpResponseOrBuilder
    • getResponseHeadersToAdd

      public HeaderValueOption getResponseHeadersToAdd(int index)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
      Specified by:
      getResponseHeadersToAdd in interface OkHttpResponseOrBuilder
    • setResponseHeadersToAdd

      public OkHttpResponse.Builder setResponseHeadersToAdd(int index, HeaderValueOption value)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • setResponseHeadersToAdd

      public OkHttpResponse.Builder setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • addResponseHeadersToAdd

      public OkHttpResponse.Builder addResponseHeadersToAdd(HeaderValueOption value)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • addResponseHeadersToAdd

      public OkHttpResponse.Builder addResponseHeadersToAdd(int index, HeaderValueOption value)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • addResponseHeadersToAdd

      public OkHttpResponse.Builder addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • addResponseHeadersToAdd

      public OkHttpResponse.Builder addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • addAllResponseHeadersToAdd

      public OkHttpResponse.Builder addAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • clearResponseHeadersToAdd

      public OkHttpResponse.Builder clearResponseHeadersToAdd()
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • removeResponseHeadersToAdd

      public OkHttpResponse.Builder removeResponseHeadersToAdd(int index)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • getResponseHeadersToAddBuilder

      public HeaderValueOption.Builder getResponseHeadersToAddBuilder(int index)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • getResponseHeadersToAddOrBuilder

      public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
      Specified by:
      getResponseHeadersToAddOrBuilder in interface OkHttpResponseOrBuilder
    • getResponseHeadersToAddOrBuilderList

      public List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
      Specified by:
      getResponseHeadersToAddOrBuilderList in interface OkHttpResponseOrBuilder
    • addResponseHeadersToAddBuilder

      public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • addResponseHeadersToAddBuilder

      public HeaderValueOption.Builder addResponseHeadersToAddBuilder(int index)
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • getResponseHeadersToAddBuilderList

      public List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
       This field allows the authorization service to send HTTP response headers
       to the downstream client on success. Note that the :ref:`append field in HeaderValueOption <envoy_v3_api_field_config.core.v3.HeaderValueOption.append>`
       defaults to false when used in this message.
       
      repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 6;
    • getQueryParametersToSetList

      public List<QueryParameter> getQueryParametersToSetList()
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
      Specified by:
      getQueryParametersToSetList in interface OkHttpResponseOrBuilder
    • getQueryParametersToSetCount

      public int getQueryParametersToSetCount()
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
      Specified by:
      getQueryParametersToSetCount in interface OkHttpResponseOrBuilder
    • getQueryParametersToSet

      public QueryParameter getQueryParametersToSet(int index)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
      Specified by:
      getQueryParametersToSet in interface OkHttpResponseOrBuilder
    • setQueryParametersToSet

      public OkHttpResponse.Builder setQueryParametersToSet(int index, QueryParameter value)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • setQueryParametersToSet

      public OkHttpResponse.Builder setQueryParametersToSet(int index, QueryParameter.Builder builderForValue)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • addQueryParametersToSet

      public OkHttpResponse.Builder addQueryParametersToSet(QueryParameter value)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • addQueryParametersToSet

      public OkHttpResponse.Builder addQueryParametersToSet(int index, QueryParameter value)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • addQueryParametersToSet

      public OkHttpResponse.Builder addQueryParametersToSet(QueryParameter.Builder builderForValue)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • addQueryParametersToSet

      public OkHttpResponse.Builder addQueryParametersToSet(int index, QueryParameter.Builder builderForValue)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • addAllQueryParametersToSet

      public OkHttpResponse.Builder addAllQueryParametersToSet(Iterable<? extends QueryParameter> values)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • clearQueryParametersToSet

      public OkHttpResponse.Builder clearQueryParametersToSet()
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • removeQueryParametersToSet

      public OkHttpResponse.Builder removeQueryParametersToSet(int index)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • getQueryParametersToSetBuilder

      public QueryParameter.Builder getQueryParametersToSetBuilder(int index)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • getQueryParametersToSetOrBuilder

      public QueryParameterOrBuilder getQueryParametersToSetOrBuilder(int index)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
      Specified by:
      getQueryParametersToSetOrBuilder in interface OkHttpResponseOrBuilder
    • getQueryParametersToSetOrBuilderList

      public List<? extends QueryParameterOrBuilder> getQueryParametersToSetOrBuilderList()
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
      Specified by:
      getQueryParametersToSetOrBuilderList in interface OkHttpResponseOrBuilder
    • addQueryParametersToSetBuilder

      public QueryParameter.Builder addQueryParametersToSetBuilder()
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • addQueryParametersToSetBuilder

      public QueryParameter.Builder addQueryParametersToSetBuilder(int index)
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • getQueryParametersToSetBuilderList

      public List<QueryParameter.Builder> getQueryParametersToSetBuilderList()
       This field allows the authorization service to set (and overwrite) query
       string parameters on the original request before it is sent upstream.
       
      repeated .envoy.config.core.v3.QueryParameter query_parameters_to_set = 7;
    • getQueryParametersToRemoveList

      public com.google.protobuf.ProtocolStringList getQueryParametersToRemoveList()
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Specified by:
      getQueryParametersToRemoveList in interface OkHttpResponseOrBuilder
      Returns:
      A list containing the queryParametersToRemove.
    • getQueryParametersToRemoveCount

      public int getQueryParametersToRemoveCount()
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Specified by:
      getQueryParametersToRemoveCount in interface OkHttpResponseOrBuilder
      Returns:
      The count of queryParametersToRemove.
    • getQueryParametersToRemove

      public String getQueryParametersToRemove(int index)
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Specified by:
      getQueryParametersToRemove in interface OkHttpResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The queryParametersToRemove at the given index.
    • getQueryParametersToRemoveBytes

      public com.google.protobuf.ByteString getQueryParametersToRemoveBytes(int index)
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Specified by:
      getQueryParametersToRemoveBytes in interface OkHttpResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the queryParametersToRemove at the given index.
    • setQueryParametersToRemove

      public OkHttpResponse.Builder setQueryParametersToRemove(int index, String value)
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Parameters:
      index - The index to set the value at.
      value - The queryParametersToRemove to set.
      Returns:
      This builder for chaining.
    • addQueryParametersToRemove

      public OkHttpResponse.Builder addQueryParametersToRemove(String value)
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Parameters:
      value - The queryParametersToRemove to add.
      Returns:
      This builder for chaining.
    • addAllQueryParametersToRemove

      public OkHttpResponse.Builder addAllQueryParametersToRemove(Iterable<String> values)
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Parameters:
      values - The queryParametersToRemove to add.
      Returns:
      This builder for chaining.
    • clearQueryParametersToRemove

      public OkHttpResponse.Builder clearQueryParametersToRemove()
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Returns:
      This builder for chaining.
    • addQueryParametersToRemoveBytes

      public OkHttpResponse.Builder addQueryParametersToRemoveBytes(com.google.protobuf.ByteString value)
       This field allows the authorization service to specify which query parameters
       should be removed from the original request before it is sent upstream. Each
       element in this list is a case-sensitive query parameter name to be removed.
       
      repeated string query_parameters_to_remove = 8;
      Parameters:
      value - The bytes of the queryParametersToRemove to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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