Class AuthorizationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
io.envoyproxy.envoy.config.filter.http.ext_authz.v2.AuthorizationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AuthorizationRequestOrBuilder,Cloneable
- Enclosing class:
- AuthorizationRequest
public static final class AuthorizationRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
implements AuthorizationRequestOrBuilder
Protobuf type
envoy.config.filter.http.ext_authz.v2.AuthorizationRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeadersToAdd(Iterable<? extends HeaderValue> values) Sets a list of headers that will be included to the request to authorization service.addHeadersToAdd(int index, HeaderValue value) Sets a list of headers that will be included to the request to authorization service.addHeadersToAdd(int index, HeaderValue.Builder builderForValue) Sets a list of headers that will be included to the request to authorization service.addHeadersToAdd(HeaderValue value) Sets a list of headers that will be included to the request to authorization service.addHeadersToAdd(HeaderValue.Builder builderForValue) Sets a list of headers that will be included to the request to authorization service.Sets a list of headers that will be included to the request to authorization service.addHeadersToAddBuilder(int index) Sets a list of headers that will be included to the request to authorization service.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Sets a list of headers that will be included to the request to authorization service.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHeadersToAdd(int index) Sets a list of headers that will be included to the request to authorization service.getHeadersToAddBuilder(int index) Sets a list of headers that will be included to the request to authorization service.Sets a list of headers that will be included to the request to authorization service.intSets a list of headers that will be included to the request to authorization service.Sets a list of headers that will be included to the request to authorization service.getHeadersToAddOrBuilder(int index) Sets a list of headers that will be included to the request to authorization service.List<? extends HeaderValueOrBuilder>Sets a list of headers that will be included to the request to authorization service.booleanAuthorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanAuthorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AuthorizationRequest other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeHeadersToAdd(int index) Sets a list of headers that will be included to the request to authorization service.Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>`.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.ListStringMatcher>`.setHeadersToAdd(int index, HeaderValue value) Sets a list of headers that will be included to the request to authorization service.setHeadersToAdd(int index, HeaderValue.Builder builderForValue) Sets a list of headers that will be included to the request to authorization service.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<AuthorizationRequest.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<AuthorizationRequest.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<AuthorizationRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<AuthorizationRequest.Builder>
-
setField
public AuthorizationRequest.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<AuthorizationRequest.Builder>
-
clearField
public AuthorizationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
-
clearOneof
public AuthorizationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
-
setRepeatedField
public AuthorizationRequest.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<AuthorizationRequest.Builder>
-
addRepeatedField
public AuthorizationRequest.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<AuthorizationRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthorizationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
-
mergeFrom
public AuthorizationRequest.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<AuthorizationRequest.Builder>- Throws:
IOException
-
hasAllowedHeaders
public boolean hasAllowedHeaders()Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1;- Specified by:
hasAllowedHeadersin interfaceAuthorizationRequestOrBuilder- Returns:
- Whether the allowedHeaders field is set.
-
getAllowedHeaders
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1;- Specified by:
getAllowedHeadersin interfaceAuthorizationRequestOrBuilder- Returns:
- The allowedHeaders.
-
setAllowedHeaders
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1; -
setAllowedHeaders
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1; -
mergeAllowedHeaders
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1; -
clearAllowedHeaders
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1; -
getAllowedHeadersBuilder
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1; -
getAllowedHeadersOrBuilder
Authorization request will include the client request headers that have a correspondent match in the :ref:`list <envoy_api_msg_type.matcher.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_config.filter.http.ext_authz.v2.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.ListStringMatcher allowed_headers = 1;- Specified by:
getAllowedHeadersOrBuilderin interfaceAuthorizationRequestOrBuilder
-
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.api.v2.core.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddListin interfaceAuthorizationRequestOrBuilder
-
getHeadersToAddCount
public 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.api.v2.core.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddCountin interfaceAuthorizationRequestOrBuilder
-
getHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddin interfaceAuthorizationRequestOrBuilder
-
setHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
setHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
addHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
addHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
addHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
addHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
addAllHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
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.api.v2.core.HeaderValue headers_to_add = 2; -
removeHeadersToAdd
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.api.v2.core.HeaderValue headers_to_add = 2; -
getHeadersToAddBuilder
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.api.v2.core.HeaderValue headers_to_add = 2; -
getHeadersToAddOrBuilder
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.api.v2.core.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddOrBuilderin interfaceAuthorizationRequestOrBuilder
-
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.api.v2.core.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddOrBuilderListin interfaceAuthorizationRequestOrBuilder
-
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.api.v2.core.HeaderValue headers_to_add = 2; -
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.api.v2.core.HeaderValue headers_to_add = 2; -
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.api.v2.core.HeaderValue headers_to_add = 2; -
setUnknownFields
public final AuthorizationRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
-
mergeUnknownFields
public final AuthorizationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
-