Class OAuth2Config.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, OAuth2ConfigOrBuilder, Cloneable
    Enclosing class:
    OAuth2Config

    public static final class OAuth2Config.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
    implements OAuth2ConfigOrBuilder
     OAuth config
     [#next-free-field: 11]
     
    Protobuf type envoy.extensions.filters.http.oauth2.v3.OAuth2Config
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • clear

        public OAuth2Config.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • getDefaultInstanceForType

        public OAuth2Config getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public OAuth2Config build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public OAuth2Config buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public OAuth2Config.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • setField

        public OAuth2Config.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • clearField

        public OAuth2Config.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • clearOneof

        public OAuth2Config.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • setRepeatedField

        public OAuth2Config.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • addRepeatedField

        public OAuth2Config.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • mergeFrom

        public OAuth2Config.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OAuth2Config.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • mergeFrom

        public OAuth2Config.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OAuth2Config.Builder>
        Throws:
        IOException
      • hasTokenEndpoint

        public boolean hasTokenEndpoint()
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
        Specified by:
        hasTokenEndpoint in interface OAuth2ConfigOrBuilder
        Returns:
        Whether the tokenEndpoint field is set.
      • getTokenEndpoint

        public HttpUri getTokenEndpoint()
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
        Specified by:
        getTokenEndpoint in interface OAuth2ConfigOrBuilder
        Returns:
        The tokenEndpoint.
      • setTokenEndpoint

        public OAuth2Config.Builder setTokenEndpoint​(HttpUri value)
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
      • setTokenEndpoint

        public OAuth2Config.Builder setTokenEndpoint​(HttpUri.Builder builderForValue)
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
      • mergeTokenEndpoint

        public OAuth2Config.Builder mergeTokenEndpoint​(HttpUri value)
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
      • clearTokenEndpoint

        public OAuth2Config.Builder clearTokenEndpoint()
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
      • getTokenEndpointBuilder

        public HttpUri.Builder getTokenEndpointBuilder()
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
      • getAuthorizationEndpoint

        public String getAuthorizationEndpoint()
         The endpoint redirect to for authorization in response to unauthorized requests.
         
        string authorization_endpoint = 2 [(.validate.rules) = { ... }
        Specified by:
        getAuthorizationEndpoint in interface OAuth2ConfigOrBuilder
        Returns:
        The authorizationEndpoint.
      • getAuthorizationEndpointBytes

        public com.google.protobuf.ByteString getAuthorizationEndpointBytes()
         The endpoint redirect to for authorization in response to unauthorized requests.
         
        string authorization_endpoint = 2 [(.validate.rules) = { ... }
        Specified by:
        getAuthorizationEndpointBytes in interface OAuth2ConfigOrBuilder
        Returns:
        The bytes for authorizationEndpoint.
      • setAuthorizationEndpoint

        public OAuth2Config.Builder setAuthorizationEndpoint​(String value)
         The endpoint redirect to for authorization in response to unauthorized requests.
         
        string authorization_endpoint = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The authorizationEndpoint to set.
        Returns:
        This builder for chaining.
      • clearAuthorizationEndpoint

        public OAuth2Config.Builder clearAuthorizationEndpoint()
         The endpoint redirect to for authorization in response to unauthorized requests.
         
        string authorization_endpoint = 2 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setAuthorizationEndpointBytes

        public OAuth2Config.Builder setAuthorizationEndpointBytes​(com.google.protobuf.ByteString value)
         The endpoint redirect to for authorization in response to unauthorized requests.
         
        string authorization_endpoint = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for authorizationEndpoint to set.
        Returns:
        This builder for chaining.
      • hasCredentials

        public boolean hasCredentials()
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
        Specified by:
        hasCredentials in interface OAuth2ConfigOrBuilder
        Returns:
        Whether the credentials field is set.
      • getCredentials

        public OAuth2Credentials getCredentials()
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
        Specified by:
        getCredentials in interface OAuth2ConfigOrBuilder
        Returns:
        The credentials.
      • setCredentials

        public OAuth2Config.Builder setCredentials​(OAuth2Credentials value)
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
      • setCredentials

        public OAuth2Config.Builder setCredentials​(OAuth2Credentials.Builder builderForValue)
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
      • mergeCredentials

        public OAuth2Config.Builder mergeCredentials​(OAuth2Credentials value)
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
      • clearCredentials

        public OAuth2Config.Builder clearCredentials()
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
      • getCredentialsBuilder

        public OAuth2Credentials.Builder getCredentialsBuilder()
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
      • getRedirectUri

        public String getRedirectUri()
         The redirect URI passed to the authorization endpoint. Supports header formatting
         tokens. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
         This URI should not contain any query parameters.
         
        string redirect_uri = 4 [(.validate.rules) = { ... }
        Specified by:
        getRedirectUri in interface OAuth2ConfigOrBuilder
        Returns:
        The redirectUri.
      • getRedirectUriBytes

        public com.google.protobuf.ByteString getRedirectUriBytes()
         The redirect URI passed to the authorization endpoint. Supports header formatting
         tokens. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
         This URI should not contain any query parameters.
         
        string redirect_uri = 4 [(.validate.rules) = { ... }
        Specified by:
        getRedirectUriBytes in interface OAuth2ConfigOrBuilder
        Returns:
        The bytes for redirectUri.
      • setRedirectUri

        public OAuth2Config.Builder setRedirectUri​(String value)
         The redirect URI passed to the authorization endpoint. Supports header formatting
         tokens. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
         This URI should not contain any query parameters.
         
        string redirect_uri = 4 [(.validate.rules) = { ... }
        Parameters:
        value - The redirectUri to set.
        Returns:
        This builder for chaining.
      • clearRedirectUri

        public OAuth2Config.Builder clearRedirectUri()
         The redirect URI passed to the authorization endpoint. Supports header formatting
         tokens. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
         This URI should not contain any query parameters.
         
        string redirect_uri = 4 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setRedirectUriBytes

        public OAuth2Config.Builder setRedirectUriBytes​(com.google.protobuf.ByteString value)
         The redirect URI passed to the authorization endpoint. Supports header formatting
         tokens. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
         This URI should not contain any query parameters.
         
        string redirect_uri = 4 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for redirectUri to set.
        Returns:
        This builder for chaining.
      • hasRedirectPathMatcher

        public boolean hasRedirectPathMatcher()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
        Specified by:
        hasRedirectPathMatcher in interface OAuth2ConfigOrBuilder
        Returns:
        Whether the redirectPathMatcher field is set.
      • getRedirectPathMatcher

        public PathMatcher getRedirectPathMatcher()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
        Specified by:
        getRedirectPathMatcher in interface OAuth2ConfigOrBuilder
        Returns:
        The redirectPathMatcher.
      • setRedirectPathMatcher

        public OAuth2Config.Builder setRedirectPathMatcher​(PathMatcher value)
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
      • setRedirectPathMatcher

        public OAuth2Config.Builder setRedirectPathMatcher​(PathMatcher.Builder builderForValue)
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
      • mergeRedirectPathMatcher

        public OAuth2Config.Builder mergeRedirectPathMatcher​(PathMatcher value)
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
      • clearRedirectPathMatcher

        public OAuth2Config.Builder clearRedirectPathMatcher()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
      • getRedirectPathMatcherBuilder

        public PathMatcher.Builder getRedirectPathMatcherBuilder()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
      • getRedirectPathMatcherOrBuilder

        public PathMatcherOrBuilder getRedirectPathMatcherOrBuilder()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
        Specified by:
        getRedirectPathMatcherOrBuilder in interface OAuth2ConfigOrBuilder
      • hasSignoutPath

        public boolean hasSignoutPath()
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
        Specified by:
        hasSignoutPath in interface OAuth2ConfigOrBuilder
        Returns:
        Whether the signoutPath field is set.
      • getSignoutPath

        public PathMatcher getSignoutPath()
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
        Specified by:
        getSignoutPath in interface OAuth2ConfigOrBuilder
        Returns:
        The signoutPath.
      • setSignoutPath

        public OAuth2Config.Builder setSignoutPath​(PathMatcher value)
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
      • setSignoutPath

        public OAuth2Config.Builder setSignoutPath​(PathMatcher.Builder builderForValue)
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
      • mergeSignoutPath

        public OAuth2Config.Builder mergeSignoutPath​(PathMatcher value)
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
      • clearSignoutPath

        public OAuth2Config.Builder clearSignoutPath()
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
      • getSignoutPathBuilder

        public PathMatcher.Builder getSignoutPathBuilder()
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
      • getForwardBearerToken

        public boolean getForwardBearerToken()
         Forward the OAuth token as a Bearer to upstream web service.
         
        bool forward_bearer_token = 7;
        Specified by:
        getForwardBearerToken in interface OAuth2ConfigOrBuilder
        Returns:
        The forwardBearerToken.
      • setForwardBearerToken

        public OAuth2Config.Builder setForwardBearerToken​(boolean value)
         Forward the OAuth token as a Bearer to upstream web service.
         
        bool forward_bearer_token = 7;
        Parameters:
        value - The forwardBearerToken to set.
        Returns:
        This builder for chaining.
      • clearForwardBearerToken

        public OAuth2Config.Builder clearForwardBearerToken()
         Forward the OAuth token as a Bearer to upstream web service.
         
        bool forward_bearer_token = 7;
        Returns:
        This builder for chaining.
      • getPassThroughMatcherList

        public List<HeaderMatcher> getPassThroughMatcherList()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
        Specified by:
        getPassThroughMatcherList in interface OAuth2ConfigOrBuilder
      • getPassThroughMatcherCount

        public int getPassThroughMatcherCount()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
        Specified by:
        getPassThroughMatcherCount in interface OAuth2ConfigOrBuilder
      • getPassThroughMatcher

        public HeaderMatcher getPassThroughMatcher​(int index)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
        Specified by:
        getPassThroughMatcher in interface OAuth2ConfigOrBuilder
      • setPassThroughMatcher

        public OAuth2Config.Builder setPassThroughMatcher​(int index,
                                                          HeaderMatcher value)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • setPassThroughMatcher

        public OAuth2Config.Builder setPassThroughMatcher​(int index,
                                                          HeaderMatcher.Builder builderForValue)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • addPassThroughMatcher

        public OAuth2Config.Builder addPassThroughMatcher​(HeaderMatcher value)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • addPassThroughMatcher

        public OAuth2Config.Builder addPassThroughMatcher​(int index,
                                                          HeaderMatcher value)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • addPassThroughMatcher

        public OAuth2Config.Builder addPassThroughMatcher​(HeaderMatcher.Builder builderForValue)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • addPassThroughMatcher

        public OAuth2Config.Builder addPassThroughMatcher​(int index,
                                                          HeaderMatcher.Builder builderForValue)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • addAllPassThroughMatcher

        public OAuth2Config.Builder addAllPassThroughMatcher​(Iterable<? extends HeaderMatcher> values)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • clearPassThroughMatcher

        public OAuth2Config.Builder clearPassThroughMatcher()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • removePassThroughMatcher

        public OAuth2Config.Builder removePassThroughMatcher​(int index)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getPassThroughMatcherBuilder

        public HeaderMatcher.Builder getPassThroughMatcherBuilder​(int index)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getPassThroughMatcherOrBuilder

        public HeaderMatcherOrBuilder getPassThroughMatcherOrBuilder​(int index)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
        Specified by:
        getPassThroughMatcherOrBuilder in interface OAuth2ConfigOrBuilder
      • addPassThroughMatcherBuilder

        public HeaderMatcher.Builder addPassThroughMatcherBuilder()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • addPassThroughMatcherBuilder

        public HeaderMatcher.Builder addPassThroughMatcherBuilder​(int index)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getPassThroughMatcherBuilderList

        public List<HeaderMatcher.Builder> getPassThroughMatcherBuilderList()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getAuthScopesList

        public com.google.protobuf.ProtocolStringList getAuthScopesList()
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Specified by:
        getAuthScopesList in interface OAuth2ConfigOrBuilder
        Returns:
        A list containing the authScopes.
      • getAuthScopesCount

        public int getAuthScopesCount()
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Specified by:
        getAuthScopesCount in interface OAuth2ConfigOrBuilder
        Returns:
        The count of authScopes.
      • getAuthScopes

        public String getAuthScopes​(int index)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Specified by:
        getAuthScopes in interface OAuth2ConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The authScopes at the given index.
      • getAuthScopesBytes

        public com.google.protobuf.ByteString getAuthScopesBytes​(int index)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Specified by:
        getAuthScopesBytes in interface OAuth2ConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the authScopes at the given index.
      • setAuthScopes

        public OAuth2Config.Builder setAuthScopes​(int index,
                                                  String value)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Parameters:
        index - The index to set the value at.
        value - The authScopes to set.
        Returns:
        This builder for chaining.
      • addAuthScopes

        public OAuth2Config.Builder addAuthScopes​(String value)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Parameters:
        value - The authScopes to add.
        Returns:
        This builder for chaining.
      • addAllAuthScopes

        public OAuth2Config.Builder addAllAuthScopes​(Iterable<String> values)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Parameters:
        values - The authScopes to add.
        Returns:
        This builder for chaining.
      • clearAuthScopes

        public OAuth2Config.Builder clearAuthScopes()
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Returns:
        This builder for chaining.
      • addAuthScopesBytes

        public OAuth2Config.Builder addAuthScopesBytes​(com.google.protobuf.ByteString value)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Parameters:
        value - The bytes of the authScopes to add.
        Returns:
        This builder for chaining.
      • getResourcesList

        public com.google.protobuf.ProtocolStringList getResourcesList()
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Specified by:
        getResourcesList in interface OAuth2ConfigOrBuilder
        Returns:
        A list containing the resources.
      • getResourcesCount

        public int getResourcesCount()
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Specified by:
        getResourcesCount in interface OAuth2ConfigOrBuilder
        Returns:
        The count of resources.
      • getResources

        public String getResources​(int index)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Specified by:
        getResources in interface OAuth2ConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resources at the given index.
      • getResourcesBytes

        public com.google.protobuf.ByteString getResourcesBytes​(int index)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Specified by:
        getResourcesBytes in interface OAuth2ConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resources at the given index.
      • setResources

        public OAuth2Config.Builder setResources​(int index,
                                                 String value)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Parameters:
        index - The index to set the value at.
        value - The resources to set.
        Returns:
        This builder for chaining.
      • addResources

        public OAuth2Config.Builder addResources​(String value)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Parameters:
        value - The resources to add.
        Returns:
        This builder for chaining.
      • addAllResources

        public OAuth2Config.Builder addAllResources​(Iterable<String> values)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Parameters:
        values - The resources to add.
        Returns:
        This builder for chaining.
      • clearResources

        public OAuth2Config.Builder clearResources()
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Returns:
        This builder for chaining.
      • addResourcesBytes

        public OAuth2Config.Builder addResourcesBytes​(com.google.protobuf.ByteString value)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Parameters:
        value - The bytes of the resources to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OAuth2Config.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
      • mergeUnknownFields

        public final OAuth2Config.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>