public static final class AuthorizationRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder> implements AuthorizationRequestOrBuilder
envoy.extensions.filters.http.ext_authz.v4alpha.AuthorizationRequest| Modifier and Type | Method and Description |
|---|---|
AuthorizationRequest.Builder |
addAllHeadersToAdd(Iterable<? extends HeaderValue> values)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
addHeadersToAdd(HeaderValue.Builder builderForValue)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
addHeadersToAdd(HeaderValue value)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
addHeadersToAdd(int index,
HeaderValue.Builder builderForValue)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
addHeadersToAdd(int index,
HeaderValue value)
Sets a list of headers that will be included to the request to authorization service.
|
HeaderValue.Builder |
addHeadersToAddBuilder()
Sets a list of headers that will be included to the request to authorization service.
|
HeaderValue.Builder |
addHeadersToAddBuilder(int index)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthorizationRequest |
build() |
AuthorizationRequest |
buildPartial() |
AuthorizationRequest.Builder |
clear() |
AuthorizationRequest.Builder |
clearAllowedHeaders()
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
AuthorizationRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AuthorizationRequest.Builder |
clearHeadersToAdd()
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AuthorizationRequest.Builder |
clone() |
ListStringMatcher |
getAllowedHeaders()
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
ListStringMatcher.Builder |
getAllowedHeadersBuilder()
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
ListStringMatcherOrBuilder |
getAllowedHeadersOrBuilder()
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
AuthorizationRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HeaderValue |
getHeadersToAdd(int index)
Sets a list of headers that will be included to the request to authorization service.
|
HeaderValue.Builder |
getHeadersToAddBuilder(int index)
Sets a list of headers that will be included to the request to authorization service.
|
List<HeaderValue.Builder> |
getHeadersToAddBuilderList()
Sets a list of headers that will be included to the request to authorization service.
|
int |
getHeadersToAddCount()
Sets a list of headers that will be included to the request to authorization service.
|
List<HeaderValue> |
getHeadersToAddList()
Sets a list of headers that will be included to the request to authorization service.
|
HeaderValueOrBuilder |
getHeadersToAddOrBuilder(int index)
Sets a list of headers that will be included to the request to authorization service.
|
List<? extends HeaderValueOrBuilder> |
getHeadersToAddOrBuilderList()
Sets a list of headers that will be included to the request to authorization service.
|
boolean |
hasAllowedHeaders()
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AuthorizationRequest.Builder |
mergeAllowedHeaders(ListStringMatcher value)
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
AuthorizationRequest.Builder |
mergeFrom(AuthorizationRequest other) |
AuthorizationRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthorizationRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AuthorizationRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AuthorizationRequest.Builder |
removeHeadersToAdd(int index)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
setAllowedHeaders(ListStringMatcher.Builder builderForValue)
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
AuthorizationRequest.Builder |
setAllowedHeaders(ListStringMatcher value)
Authorization request will include the client request headers that have a correspondent match
in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`.
|
AuthorizationRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthorizationRequest.Builder |
setHeadersToAdd(int index,
HeaderValue.Builder builderForValue)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
setHeadersToAdd(int index,
HeaderValue value)
Sets a list of headers that will be included to the request to authorization service.
|
AuthorizationRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AuthorizationRequest.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<AuthorizationRequest.Builder>public AuthorizationRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.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<AuthorizationRequest.Builder>public AuthorizationRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AuthorizationRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AuthorizationRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AuthorizationRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>public AuthorizationRequest.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<AuthorizationRequest.Builder>public AuthorizationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>public AuthorizationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>public AuthorizationRequest.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<AuthorizationRequest.Builder>public AuthorizationRequest.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<AuthorizationRequest.Builder>public AuthorizationRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthorizationRequest.Builder>public AuthorizationRequest.Builder mergeFrom(AuthorizationRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>public AuthorizationRequest.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<AuthorizationRequest.Builder>IOExceptionpublic boolean hasAllowedHeaders()
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;hasAllowedHeaders in interface AuthorizationRequestOrBuilderpublic ListStringMatcher getAllowedHeaders()
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;getAllowedHeaders in interface AuthorizationRequestOrBuilderpublic AuthorizationRequest.Builder setAllowedHeaders(ListStringMatcher value)
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;public AuthorizationRequest.Builder setAllowedHeaders(ListStringMatcher.Builder builderForValue)
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;public AuthorizationRequest.Builder mergeAllowedHeaders(ListStringMatcher value)
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;public AuthorizationRequest.Builder clearAllowedHeaders()
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;public ListStringMatcher.Builder getAllowedHeadersBuilder()
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;public ListStringMatcherOrBuilder getAllowedHeadersOrBuilder()
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.v4alpha.ListStringMatcher>`. Note that in addition to the user's supplied matchers: 1. *Host*, *Method*, *Path* and *Content-Length* are automatically included to the list. 2. *Content-Length* will be set to 0 and the request to the authorization service will not have a message body. However, the authorization request can include the buffered client request body (controlled by :ref:`with_request_body <envoy_api_field_extensions.filters.http.ext_authz.v4alpha.ExtAuthz.with_request_body>` setting), consequently the value of *Content-Length* of the authorization request reflects the size of its payload size.
.envoy.type.matcher.v4alpha.ListStringMatcher allowed_headers = 1;getAllowedHeadersOrBuilder in interface AuthorizationRequestOrBuilderpublic List<HeaderValue> getHeadersToAddList()
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;getHeadersToAddList in interface AuthorizationRequestOrBuilderpublic int getHeadersToAddCount()
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;getHeadersToAddCount in interface AuthorizationRequestOrBuilderpublic HeaderValue getHeadersToAdd(int index)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;getHeadersToAdd in interface AuthorizationRequestOrBuilderpublic AuthorizationRequest.Builder setHeadersToAdd(int index, HeaderValue value)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder setHeadersToAdd(int index, HeaderValue.Builder builderForValue)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder addHeadersToAdd(HeaderValue value)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder addHeadersToAdd(int index, HeaderValue value)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder addHeadersToAdd(HeaderValue.Builder builderForValue)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder addHeadersToAdd(int index, HeaderValue.Builder builderForValue)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder addAllHeadersToAdd(Iterable<? extends HeaderValue> values)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder clearHeadersToAdd()
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public AuthorizationRequest.Builder removeHeadersToAdd(int index)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public HeaderValue.Builder getHeadersToAddBuilder(int index)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public HeaderValueOrBuilder getHeadersToAddOrBuilder(int index)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;getHeadersToAddOrBuilder in interface AuthorizationRequestOrBuilderpublic List<? extends HeaderValueOrBuilder> getHeadersToAddOrBuilderList()
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;getHeadersToAddOrBuilderList in interface AuthorizationRequestOrBuilderpublic HeaderValue.Builder addHeadersToAddBuilder()
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public HeaderValue.Builder addHeadersToAddBuilder(int index)
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public List<HeaderValue.Builder> getHeadersToAddBuilderList()
Sets a list of headers that will be included to the request to authorization service. Note that client request of the same key will be overridden.
repeated .envoy.config.core.v4alpha.HeaderValue headers_to_add = 2;public final AuthorizationRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>public final AuthorizationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.