Class AuthorizationResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typeenvoy.config.filter.http.ext_authz.v2.AuthorizationResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuthorizationResponsebuild()AuthorizationResponsebuildPartial()AuthorizationResponse.Builderclear()AuthorizationResponse.BuilderclearAllowedClientHeaders()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.AuthorizationResponse.BuilderclearAllowedUpstreamHeaders()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.AuthorizationResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AuthorizationResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AuthorizationResponse.Builderclone()ListStringMatchergetAllowedClientHeaders()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.ListStringMatcher.BuildergetAllowedClientHeadersBuilder()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.ListStringMatcherOrBuildergetAllowedClientHeadersOrBuilder()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.ListStringMatchergetAllowedUpstreamHeaders()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.ListStringMatcher.BuildergetAllowedUpstreamHeadersBuilder()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.ListStringMatcherOrBuildergetAllowedUpstreamHeadersOrBuilder()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.AuthorizationResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleanhasAllowedClientHeaders()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.booleanhasAllowedUpstreamHeaders()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AuthorizationResponse.BuildermergeAllowedClientHeaders(ListStringMatcher value)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.AuthorizationResponse.BuildermergeAllowedUpstreamHeaders(ListStringMatcher value)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.AuthorizationResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AuthorizationResponse.BuildermergeFrom(com.google.protobuf.Message other)AuthorizationResponse.BuildermergeFrom(AuthorizationResponse other)AuthorizationResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AuthorizationResponse.BuildersetAllowedClientHeaders(ListStringMatcher value)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.AuthorizationResponse.BuildersetAllowedClientHeaders(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.AuthorizationResponse.BuildersetAllowedUpstreamHeaders(ListStringMatcher value)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.AuthorizationResponse.BuildersetAllowedUpstreamHeaders(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.AuthorizationResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuthorizationResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AuthorizationResponse.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<AuthorizationResponse.Builder>
-
clear
public 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
public AuthorizationResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuthorizationResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuthorizationResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuthorizationResponse.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
public AuthorizationResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthorizationResponse.Builder>
-
mergeFrom
public AuthorizationResponse.Builder mergeFrom(AuthorizationResponse other)
-
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
public ListStringMatcher 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
public AuthorizationResponse.Builder setAllowedUpstreamHeaders(ListStringMatcher value)
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
public AuthorizationResponse.Builder mergeAllowedUpstreamHeaders(ListStringMatcher value)
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
public AuthorizationResponse.Builder 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
public ListStringMatcher.Builder 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
public ListStringMatcherOrBuilder 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
public ListStringMatcher 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
public AuthorizationResponse.Builder setAllowedClientHeaders(ListStringMatcher value)
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
public AuthorizationResponse.Builder mergeAllowedClientHeaders(ListStringMatcher value)
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
public AuthorizationResponse.Builder 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
public ListStringMatcher.Builder 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
public ListStringMatcherOrBuilder 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>
-
-