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: 6]Protobuf type
envoy.service.auth.v3.OkHttpResponse| Modifier and Type | Method and Description |
|---|---|
OkHttpResponse.Builder |
addAllHeaders(Iterable<? extends HeaderValueOption> values)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addAllHeadersToRemove(Iterable<String> values)
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
OkHttpResponse.Builder |
addHeaders(HeaderValueOption.Builder builderForValue)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeaders(HeaderValueOption value)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeaders(int index,
HeaderValueOption.Builder builderForValue)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeaders(int index,
HeaderValueOption value)
HTTP entity headers in addition to the original request headers.
|
HeaderValueOption.Builder |
addHeadersBuilder()
HTTP entity headers in addition to the original request headers.
|
HeaderValueOption.Builder |
addHeadersBuilder(int index)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
addHeadersToRemove(String value)
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
OkHttpResponse.Builder |
addHeadersToRemoveBytes(com.google.protobuf.ByteString value)
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
OkHttpResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OkHttpResponse |
build() |
OkHttpResponse |
buildPartial() |
OkHttpResponse.Builder |
clear() |
OkHttpResponse.Builder |
clearDynamicMetadata()
Deprecated.
|
OkHttpResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OkHttpResponse.Builder |
clearHeaders()
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
clearHeadersToRemove()
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
OkHttpResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OkHttpResponse.Builder |
clone() |
OkHttpResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Struct |
getDynamicMetadata()
Deprecated.
|
com.google.protobuf.Struct.Builder |
getDynamicMetadataBuilder()
Deprecated.
|
com.google.protobuf.StructOrBuilder |
getDynamicMetadataOrBuilder()
Deprecated.
|
HeaderValueOption |
getHeaders(int index)
HTTP entity headers in addition to the original request headers.
|
HeaderValueOption.Builder |
getHeadersBuilder(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.
|
int |
getHeadersCount()
HTTP entity headers in addition to the original request headers.
|
List<HeaderValueOption> |
getHeadersList()
HTTP entity headers in addition to the original request headers.
|
HeaderValueOptionOrBuilder |
getHeadersOrBuilder(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.
|
String |
getHeadersToRemove(int index)
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
com.google.protobuf.ByteString |
getHeadersToRemoveBytes(int index)
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
int |
getHeadersToRemoveCount()
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
com.google.protobuf.ProtocolStringList |
getHeadersToRemoveList()
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
boolean |
hasDynamicMetadata()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OkHttpResponse.Builder |
mergeDynamicMetadata(com.google.protobuf.Struct value)
Deprecated.
|
OkHttpResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OkHttpResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
OkHttpResponse.Builder |
mergeFrom(OkHttpResponse other) |
OkHttpResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OkHttpResponse.Builder |
removeHeaders(int index)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue)
Deprecated.
|
OkHttpResponse.Builder |
setDynamicMetadata(com.google.protobuf.Struct value)
Deprecated.
|
OkHttpResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OkHttpResponse.Builder |
setHeaders(int index,
HeaderValueOption.Builder builderForValue)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
setHeaders(int index,
HeaderValueOption value)
HTTP entity headers in addition to the original request headers.
|
OkHttpResponse.Builder |
setHeadersToRemove(int index,
String value)
HTTP entity headers to remove from the original request before dispatching
it to the upstream.
|
OkHttpResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OkHttpResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OkHttpResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OkHttpResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OkHttpResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder mergeFrom(OkHttpResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public OkHttpResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OkHttpResponse.Builder>IOExceptionpublic 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 `append` field in `HeaderValueOption` 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;getHeadersList in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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;getHeadersCount in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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;getHeaders in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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 in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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;getHeadersOrBuilderList in interface OkHttpResponseOrBuilderpublic 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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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 `append` field in `HeaderValueOption` 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;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;getHeadersToRemoveList in interface OkHttpResponseOrBuilderpublic 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;getHeadersToRemoveCount in interface OkHttpResponseOrBuilderpublic 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;getHeadersToRemove in interface OkHttpResponseOrBuilderpublic 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;getHeadersToRemoveBytes in interface OkHttpResponseOrBuilderpublic 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;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;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;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;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;@Deprecated public boolean hasDynamicMetadata()
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];hasDynamicMetadata in interface OkHttpResponseOrBuilder@Deprecated public com.google.protobuf.Struct getDynamicMetadata()
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];getDynamicMetadata in interface OkHttpResponseOrBuilder@Deprecated public OkHttpResponse.Builder setDynamicMetadata(com.google.protobuf.Struct value)
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];@Deprecated public OkHttpResponse.Builder setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue)
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];@Deprecated public OkHttpResponse.Builder mergeDynamicMetadata(com.google.protobuf.Struct value)
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];@Deprecated public OkHttpResponse.Builder clearDynamicMetadata()
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];@Deprecated public com.google.protobuf.Struct.Builder getDynamicMetadataBuilder()
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];@Deprecated public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()
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];getDynamicMetadataOrBuilder in interface OkHttpResponseOrBuilderpublic final OkHttpResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>public final OkHttpResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OkHttpResponse.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.