Class AuthorizationResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
io.envoyproxy.envoy.config.filter.http.ext_authz.v2.AuthorizationResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AuthorizationResponseOrBuilder,Cloneable
- Enclosing class:
- AuthorizationResponse
public static final class AuthorizationResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
implements AuthorizationResponseOrBuilder
Protobuf type
envoy.config.filter.http.ext_authz.v2.AuthorizationResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhen this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.booleanWhen this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanWhen this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AuthorizationResponse other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.setAllowedClientHeaders(ListStringMatcher.Builder builderForValue) When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response.When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.setAllowedUpstreamHeaders(ListStringMatcher.Builder builderForValue) When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request.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<AuthorizationResponse.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<AuthorizationResponse.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<AuthorizationResponse.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<AuthorizationResponse.Builder>
-
setField
public AuthorizationResponse.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<AuthorizationResponse.Builder>
-
clearField
public AuthorizationResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
-
clearOneof
public AuthorizationResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
-
setRepeatedField
public AuthorizationResponse.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<AuthorizationResponse.Builder>
-
addRepeatedField
public AuthorizationResponse.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<AuthorizationResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthorizationResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
-
mergeFrom
public AuthorizationResponse.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<AuthorizationResponse.Builder>- Throws:
IOException
-
hasAllowedUpstreamHeaders
public boolean hasAllowedUpstreamHeaders()When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1;- Specified by:
hasAllowedUpstreamHeadersin interfaceAuthorizationResponseOrBuilder- Returns:
- Whether the allowedUpstreamHeaders field is set.
-
getAllowedUpstreamHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1;- Specified by:
getAllowedUpstreamHeadersin interfaceAuthorizationResponseOrBuilder- Returns:
- The allowedUpstreamHeaders.
-
setAllowedUpstreamHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1; -
setAllowedUpstreamHeaders
public AuthorizationResponse.Builder setAllowedUpstreamHeaders(ListStringMatcher.Builder builderForValue) When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1; -
mergeAllowedUpstreamHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1; -
clearAllowedUpstreamHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1; -
getAllowedUpstreamHeadersBuilder
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1; -
getAllowedUpstreamHeadersOrBuilder
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the original client request. Note that coexistent headers will be overridden.
.envoy.type.matcher.ListStringMatcher allowed_upstream_headers = 1;- Specified by:
getAllowedUpstreamHeadersOrBuilderin interfaceAuthorizationResponseOrBuilder
-
hasAllowedClientHeaders
public boolean hasAllowedClientHeaders()When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2;- Specified by:
hasAllowedClientHeadersin interfaceAuthorizationResponseOrBuilder- Returns:
- Whether the allowedClientHeaders field is set.
-
getAllowedClientHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2;- Specified by:
getAllowedClientHeadersin interfaceAuthorizationResponseOrBuilder- Returns:
- The allowedClientHeaders.
-
setAllowedClientHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2; -
setAllowedClientHeaders
public AuthorizationResponse.Builder setAllowedClientHeaders(ListStringMatcher.Builder builderForValue) When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2; -
mergeAllowedClientHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2; -
clearAllowedClientHeaders
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2; -
getAllowedClientHeadersBuilder
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2; -
getAllowedClientHeadersOrBuilder
When this :ref:`list <envoy_api_msg_type.matcher.ListStringMatcher>` is set, authorization response headers that have a correspondent match will be added to the client's response. Note that when this list is *not* set, all the authorization response headers, except *Authority (Host)* will be in the response to the client. When a header is included in this list, *Path*, *Status*, *Content-Length*, *WWWAuthenticate* and *Location* are automatically added.
.envoy.type.matcher.ListStringMatcher allowed_client_headers = 2;- Specified by:
getAllowedClientHeadersOrBuilderin interfaceAuthorizationResponseOrBuilder
-
setUnknownFields
public final AuthorizationResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
-
mergeUnknownFields
public final AuthorizationResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuthorizationResponse.Builder>
-