Class AuthorizationRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationRequest.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.ext_authz.v3.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 typeenvoy.extensions.filters.http.ext_authz.v3.AuthorizationRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationRequest.BuilderaddAllHeadersToAdd(Iterable<? extends HeaderValue> values)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuilderaddHeadersToAdd(int index, HeaderValue value)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuilderaddHeadersToAdd(int index, HeaderValue.Builder builderForValue)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuilderaddHeadersToAdd(HeaderValue value)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuilderaddHeadersToAdd(HeaderValue.Builder builderForValue)Sets a list of headers that will be included to the request to authorization service.HeaderValue.BuilderaddHeadersToAddBuilder()Sets a list of headers that will be included to the request to authorization service.HeaderValue.BuilderaddHeadersToAddBuilder(int index)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuthorizationRequestbuild()AuthorizationRequestbuildPartial()AuthorizationRequest.Builderclear()AuthorizationRequest.BuilderclearAllowedHeaders()Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.AuthorizationRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AuthorizationRequest.BuilderclearHeadersToAdd()Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AuthorizationRequest.Builderclone()ListStringMatchergetAllowedHeaders()Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.ListStringMatcher.BuildergetAllowedHeadersBuilder()Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.ListStringMatcherOrBuildergetAllowedHeadersOrBuilder()Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.AuthorizationRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HeaderValuegetHeadersToAdd(int index)Sets a list of headers that will be included to the request to authorization service.HeaderValue.BuildergetHeadersToAddBuilder(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.intgetHeadersToAddCount()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.HeaderValueOrBuildergetHeadersToAddOrBuilder(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.booleanhasAllowedHeaders()Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AuthorizationRequest.BuildermergeAllowedHeaders(ListStringMatcher value)Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.AuthorizationRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AuthorizationRequest.BuildermergeFrom(com.google.protobuf.Message other)AuthorizationRequest.BuildermergeFrom(AuthorizationRequest other)AuthorizationRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AuthorizationRequest.BuilderremoveHeadersToAdd(int index)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuildersetAllowedHeaders(ListStringMatcher value)Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.AuthorizationRequest.BuildersetAllowedHeaders(ListStringMatcher.Builder builderForValue)Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body.AuthorizationRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuthorizationRequest.BuildersetHeadersToAdd(int index, HeaderValue value)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuildersetHeadersToAdd(int index, HeaderValue.Builder builderForValue)Sets a list of headers that will be included to the request to authorization service.AuthorizationRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AuthorizationRequest.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<AuthorizationRequest.Builder>
-
clear
public 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
public AuthorizationRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuthorizationRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuthorizationRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuthorizationRequest.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
public AuthorizationRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthorizationRequest.Builder>
-
mergeFrom
public AuthorizationRequest.Builder mergeFrom(AuthorizationRequest other)
-
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 includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;- Specified by:
hasAllowedHeadersin interfaceAuthorizationRequestOrBuilder- Returns:
- Whether the allowedHeaders field is set.
-
getAllowedHeaders
public ListStringMatcher getAllowedHeaders()
Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;- Specified by:
getAllowedHeadersin interfaceAuthorizationRequestOrBuilder- Returns:
- The allowedHeaders.
-
setAllowedHeaders
public AuthorizationRequest.Builder setAllowedHeaders(ListStringMatcher value)
Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;
-
setAllowedHeaders
public AuthorizationRequest.Builder setAllowedHeaders(ListStringMatcher.Builder builderForValue)
Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;
-
mergeAllowedHeaders
public AuthorizationRequest.Builder mergeAllowedHeaders(ListStringMatcher value)
Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;
-
clearAllowedHeaders
public AuthorizationRequest.Builder clearAllowedHeaders()
Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;
-
getAllowedHeadersBuilder
public ListStringMatcher.Builder getAllowedHeadersBuilder()
Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;
-
getAllowedHeadersOrBuilder
public ListStringMatcherOrBuilder getAllowedHeadersOrBuilder()
Authorization request includes the client request headers that have a correspondent match in the :ref:`list <envoy_v3_api_msg_type.matcher.v3.ListStringMatcher>`. .. note:: In addition to the the user's supplied matchers, ``Host``, ``Method``, ``Path``, ``Content-Length``, and ``Authorization`` are **automatically included** to the list. .. note:: By default, ``Content-Length`` header is set to ``0`` and the request to the authorization service has no message body. However, the authorization request *may* include the buffered client request body (controlled by :ref:`with_request_body <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.ExtAuthz.with_request_body>` setting) hence the value of its ``Content-Length`` reflects the size of its payload size.
.envoy.type.matcher.v3.ListStringMatcher allowed_headers = 1;- Specified by:
getAllowedHeadersOrBuilderin interfaceAuthorizationRequestOrBuilder
-
getHeadersToAddList
public 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.v3.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.config.core.v3.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddCountin interfaceAuthorizationRequestOrBuilder
-
getHeadersToAdd
public 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.v3.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddin interfaceAuthorizationRequestOrBuilder
-
setHeadersToAdd
public 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.v3.HeaderValue headers_to_add = 2;
-
setHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
addHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
addHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
addHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
addHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
addAllHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
clearHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
removeHeadersToAdd
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.v3.HeaderValue headers_to_add = 2;
-
getHeadersToAddBuilder
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.v3.HeaderValue headers_to_add = 2;
-
getHeadersToAddOrBuilder
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.v3.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddOrBuilderin interfaceAuthorizationRequestOrBuilder
-
getHeadersToAddOrBuilderList
public 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.v3.HeaderValue headers_to_add = 2;- Specified by:
getHeadersToAddOrBuilderListin interfaceAuthorizationRequestOrBuilder
-
addHeadersToAddBuilder
public 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.v3.HeaderValue headers_to_add = 2;
-
addHeadersToAddBuilder
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.v3.HeaderValue headers_to_add = 2;
-
getHeadersToAddBuilderList
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.v3.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>
-
-