Class OkHttpResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.service.auth.v3.OkHttpResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OkHttpResponse.BuilderaddAllHeaders(Iterable<? extends HeaderValueOption> values)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuilderaddAllHeadersToRemove(Iterable<String> values)HTTP entity headers to remove from the original request before dispatching it to the upstream.OkHttpResponse.BuilderaddAllQueryParametersToRemove(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.OkHttpResponse.BuilderaddAllQueryParametersToSet(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.OkHttpResponse.BuilderaddAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.BuilderaddHeaders(int index, HeaderValueOption value)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuilderaddHeaders(int index, HeaderValueOption.Builder builderForValue)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuilderaddHeaders(HeaderValueOption value)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuilderaddHeaders(HeaderValueOption.Builder builderForValue)HTTP entity headers in addition to the original request headers.HeaderValueOption.BuilderaddHeadersBuilder()HTTP entity headers in addition to the original request headers.HeaderValueOption.BuilderaddHeadersBuilder(int index)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuilderaddHeadersToRemove(String value)HTTP entity headers to remove from the original request before dispatching it to the upstream.OkHttpResponse.BuilderaddHeadersToRemoveBytes(com.google.protobuf.ByteString value)HTTP entity headers to remove from the original request before dispatching it to the upstream.OkHttpResponse.BuilderaddQueryParametersToRemove(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.OkHttpResponse.BuilderaddQueryParametersToRemoveBytes(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.OkHttpResponse.BuilderaddQueryParametersToSet(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.OkHttpResponse.BuilderaddQueryParametersToSet(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.OkHttpResponse.BuilderaddQueryParametersToSet(QueryParameter value)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.OkHttpResponse.BuilderaddQueryParametersToSet(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.QueryParameter.BuilderaddQueryParametersToSetBuilder()This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.QueryParameter.BuilderaddQueryParametersToSetBuilder(int index)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.OkHttpResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OkHttpResponse.BuilderaddResponseHeadersToAdd(int index, HeaderValueOption value)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.BuilderaddResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.BuilderaddResponseHeadersToAdd(HeaderValueOption value)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.BuilderaddResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)This field allows the authorization service to send HTTP response headers to the downstream client on success.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder()This field allows the authorization service to send HTTP response headers to the downstream client on success.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder(int index)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponsebuild()OkHttpResponsebuildPartial()OkHttpResponse.Builderclear()OkHttpResponse.BuilderclearDynamicMetadata()Deprecated.OkHttpResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OkHttpResponse.BuilderclearHeaders()HTTP entity headers in addition to the original request headers.OkHttpResponse.BuilderclearHeadersToRemove()HTTP entity headers to remove from the original request before dispatching it to the upstream.OkHttpResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OkHttpResponse.BuilderclearQueryParametersToRemove()This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream.OkHttpResponse.BuilderclearQueryParametersToSet()This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.OkHttpResponse.BuilderclearResponseHeadersToAdd()This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.Builderclone()OkHttpResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.StructgetDynamicMetadata()Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated.com.google.protobuf.Struct.BuildergetDynamicMetadataBuilder()Deprecated.com.google.protobuf.StructOrBuildergetDynamicMetadataOrBuilder()Deprecated.HeaderValueOptiongetHeaders(int index)HTTP entity headers in addition to the original request headers.HeaderValueOption.BuildergetHeadersBuilder(int index)HTTP entity headers in addition to the original request headers.List<HeaderValueOption.Builder>getHeadersBuilderList()HTTP entity headers in addition to the original request headers.intgetHeadersCount()HTTP entity headers in addition to the original request headers.List<HeaderValueOption>getHeadersList()HTTP entity headers in addition to the original request headers.HeaderValueOptionOrBuildergetHeadersOrBuilder(int index)HTTP entity headers in addition to the original request headers.List<? extends HeaderValueOptionOrBuilder>getHeadersOrBuilderList()HTTP entity headers in addition to the original request headers.StringgetHeadersToRemove(int index)HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.ByteStringgetHeadersToRemoveBytes(int index)HTTP entity headers to remove from the original request before dispatching it to the upstream.intgetHeadersToRemoveCount()HTTP entity headers to remove from the original request before dispatching it to the upstream.com.google.protobuf.ProtocolStringListgetHeadersToRemoveList()HTTP entity headers to remove from the original request before dispatching it to the upstream.StringgetQueryParametersToRemove(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.com.google.protobuf.ByteStringgetQueryParametersToRemoveBytes(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.intgetQueryParametersToRemoveCount()This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream.com.google.protobuf.ProtocolStringListgetQueryParametersToRemoveList()This field allows the authorization service to specify which query parameters should be removed from the original request before it is sent upstream.QueryParametergetQueryParametersToSet(int index)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.QueryParameter.BuildergetQueryParametersToSetBuilder(int index)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.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.intgetQueryParametersToSetCount()This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.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.QueryParameterOrBuildergetQueryParametersToSetOrBuilder(int index)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.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.HeaderValueOptiongetResponseHeadersToAdd(int index)This field allows the authorization service to send HTTP response headers to the downstream client on success.HeaderValueOption.BuildergetResponseHeadersToAddBuilder(int index)This field allows the authorization service to send HTTP response headers to the downstream client on success.List<HeaderValueOption.Builder>getResponseHeadersToAddBuilderList()This field allows the authorization service to send HTTP response headers to the downstream client on success.intgetResponseHeadersToAddCount()This field allows the authorization service to send HTTP response headers to the downstream client on success.List<HeaderValueOption>getResponseHeadersToAddList()This field allows the authorization service to send HTTP response headers to the downstream client on success.HeaderValueOptionOrBuildergetResponseHeadersToAddOrBuilder(int index)This field allows the authorization service to send HTTP response headers to the downstream client on success.List<? extends HeaderValueOptionOrBuilder>getResponseHeadersToAddOrBuilderList()This field allows the authorization service to send HTTP response headers to the downstream client on success.booleanhasDynamicMetadata()Deprecated.envoy.service.auth.v3.OkHttpResponse.dynamic_metadata is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OkHttpResponse.BuildermergeDynamicMetadata(com.google.protobuf.Struct value)Deprecated.OkHttpResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OkHttpResponse.BuildermergeFrom(com.google.protobuf.Message other)OkHttpResponse.BuildermergeFrom(OkHttpResponse other)OkHttpResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OkHttpResponse.BuilderremoveHeaders(int index)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuilderremoveQueryParametersToSet(int index)This field allows the authorization service to set (and overwrite) query string parameters on the original request before it is sent upstream.OkHttpResponse.BuilderremoveResponseHeadersToAdd(int index)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.BuildersetDynamicMetadata(com.google.protobuf.Struct value)Deprecated.OkHttpResponse.BuildersetDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue)Deprecated.OkHttpResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OkHttpResponse.BuildersetHeaders(int index, HeaderValueOption value)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuildersetHeaders(int index, HeaderValueOption.Builder builderForValue)HTTP entity headers in addition to the original request headers.OkHttpResponse.BuildersetHeadersToRemove(int index, String value)HTTP entity headers to remove from the original request before dispatching it to the upstream.OkHttpResponse.BuildersetQueryParametersToRemove(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.OkHttpResponse.BuildersetQueryParametersToSet(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.OkHttpResponse.BuildersetQueryParametersToSet(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.OkHttpResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OkHttpResponse.BuildersetResponseHeadersToAdd(int index, HeaderValueOption value)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.BuildersetResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)This field allows the authorization service to send HTTP response headers to the downstream client on success.OkHttpResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
clear
public OkHttpResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
getDefaultInstanceForType
public OkHttpResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OkHttpResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OkHttpResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OkHttpResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
setField
public OkHttpResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
clearField
public OkHttpResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
clearOneof
public OkHttpResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
setRepeatedField
public OkHttpResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
addRepeatedField
public OkHttpResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
mergeFrom
public OkHttpResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OkHttpResponse.Builder>
-
mergeFrom
public OkHttpResponse.Builder mergeFrom(OkHttpResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getHeadersListin interfaceOkHttpResponseOrBuilder
-
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:
getHeadersCountin interfaceOkHttpResponseOrBuilder
-
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:
getHeadersin interfaceOkHttpResponseOrBuilder
-
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:
getHeadersOrBuilderin interfaceOkHttpResponseOrBuilder
-
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:
getHeadersOrBuilderListin interfaceOkHttpResponseOrBuilder
-
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:
getHeadersToRemoveListin interfaceOkHttpResponseOrBuilder- 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:
getHeadersToRemoveCountin interfaceOkHttpResponseOrBuilder- 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:
getHeadersToRemovein interfaceOkHttpResponseOrBuilder- 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:
getHeadersToRemoveBytesin interfaceOkHttpResponseOrBuilder- 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=98This 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:
hasDynamicMetadatain interfaceOkHttpResponseOrBuilder- 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=98This 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:
getDynamicMetadatain interfaceOkHttpResponseOrBuilder- 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:
getDynamicMetadataOrBuilderin interfaceOkHttpResponseOrBuilder
-
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:
getResponseHeadersToAddListin interfaceOkHttpResponseOrBuilder
-
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:
getResponseHeadersToAddCountin interfaceOkHttpResponseOrBuilder
-
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:
getResponseHeadersToAddin interfaceOkHttpResponseOrBuilder
-
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:
getResponseHeadersToAddOrBuilderin interfaceOkHttpResponseOrBuilder
-
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:
getResponseHeadersToAddOrBuilderListin interfaceOkHttpResponseOrBuilder
-
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:
getQueryParametersToSetListin interfaceOkHttpResponseOrBuilder
-
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:
getQueryParametersToSetCountin interfaceOkHttpResponseOrBuilder
-
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:
getQueryParametersToSetin interfaceOkHttpResponseOrBuilder
-
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:
getQueryParametersToSetOrBuilderin interfaceOkHttpResponseOrBuilder
-
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:
getQueryParametersToSetOrBuilderListin interfaceOkHttpResponseOrBuilder
-
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:
getQueryParametersToRemoveListin interfaceOkHttpResponseOrBuilder- 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:
getQueryParametersToRemoveCountin interfaceOkHttpResponseOrBuilder- 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:
getQueryParametersToRemovein interfaceOkHttpResponseOrBuilder- 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:
getQueryParametersToRemoveBytesin interfaceOkHttpResponseOrBuilder- 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
mergeUnknownFields
public final OkHttpResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>
-
-