Class Auth.OAuth2MetadataResponse.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • issuer_

        private Object issuer_
      • authorizationEndpoint_

        private Object authorizationEndpoint_
      • tokenEndpoint_

        private Object tokenEndpoint_
      • responseTypesSupported_

        private com.google.protobuf.LazyStringList responseTypesSupported_
      • scopesSupported_

        private com.google.protobuf.LazyStringList scopesSupported_
      • tokenEndpointAuthMethodsSupported_

        private com.google.protobuf.LazyStringList tokenEndpointAuthMethodsSupported_
      • jwksUri_

        private Object jwksUri_
      • codeChallengeMethodsSupported_

        private com.google.protobuf.LazyStringList codeChallengeMethodsSupported_
      • grantTypesSupported_

        private com.google.protobuf.LazyStringList grantTypesSupported_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 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<Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>
      • getDefaultInstanceForType

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

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

        public Auth.OAuth2MetadataResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>
        Throws:
        IOException
      • getIssuer

        public String getIssuer()
         Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
         issuer.
         
        string issuer = 1;
        Specified by:
        getIssuer in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The issuer.
      • getIssuerBytes

        public com.google.protobuf.ByteString getIssuerBytes()
         Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
         issuer.
         
        string issuer = 1;
        Specified by:
        getIssuerBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The bytes for issuer.
      • setIssuer

        public Auth.OAuth2MetadataResponse.Builder setIssuer​(String value)
         Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
         issuer.
         
        string issuer = 1;
        Parameters:
        value - The issuer to set.
        Returns:
        This builder for chaining.
      • clearIssuer

        public Auth.OAuth2MetadataResponse.Builder clearIssuer()
         Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
         issuer.
         
        string issuer = 1;
        Returns:
        This builder for chaining.
      • setIssuerBytes

        public Auth.OAuth2MetadataResponse.Builder setIssuerBytes​(com.google.protobuf.ByteString value)
         Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
         issuer.
         
        string issuer = 1;
        Parameters:
        value - The bytes for issuer to set.
        Returns:
        This builder for chaining.
      • getAuthorizationEndpoint

        public String getAuthorizationEndpoint()
         URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
         supported that use the authorization endpoint.
         
        string authorization_endpoint = 2;
        Specified by:
        getAuthorizationEndpoint in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The authorizationEndpoint.
      • getAuthorizationEndpointBytes

        public com.google.protobuf.ByteString getAuthorizationEndpointBytes()
         URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
         supported that use the authorization endpoint.
         
        string authorization_endpoint = 2;
        Specified by:
        getAuthorizationEndpointBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The bytes for authorizationEndpoint.
      • setAuthorizationEndpoint

        public Auth.OAuth2MetadataResponse.Builder setAuthorizationEndpoint​(String value)
         URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
         supported that use the authorization endpoint.
         
        string authorization_endpoint = 2;
        Parameters:
        value - The authorizationEndpoint to set.
        Returns:
        This builder for chaining.
      • clearAuthorizationEndpoint

        public Auth.OAuth2MetadataResponse.Builder clearAuthorizationEndpoint()
         URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
         supported that use the authorization endpoint.
         
        string authorization_endpoint = 2;
        Returns:
        This builder for chaining.
      • setAuthorizationEndpointBytes

        public Auth.OAuth2MetadataResponse.Builder setAuthorizationEndpointBytes​(com.google.protobuf.ByteString value)
         URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
         supported that use the authorization endpoint.
         
        string authorization_endpoint = 2;
        Parameters:
        value - The bytes for authorizationEndpoint to set.
        Returns:
        This builder for chaining.
      • getTokenEndpointBytes

        public com.google.protobuf.ByteString getTokenEndpointBytes()
         URL of the authorization server's token endpoint [RFC6749].
         
        string token_endpoint = 3;
        Specified by:
        getTokenEndpointBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The bytes for tokenEndpoint.
      • setTokenEndpoint

        public Auth.OAuth2MetadataResponse.Builder setTokenEndpoint​(String value)
         URL of the authorization server's token endpoint [RFC6749].
         
        string token_endpoint = 3;
        Parameters:
        value - The tokenEndpoint to set.
        Returns:
        This builder for chaining.
      • clearTokenEndpoint

        public Auth.OAuth2MetadataResponse.Builder clearTokenEndpoint()
         URL of the authorization server's token endpoint [RFC6749].
         
        string token_endpoint = 3;
        Returns:
        This builder for chaining.
      • setTokenEndpointBytes

        public Auth.OAuth2MetadataResponse.Builder setTokenEndpointBytes​(com.google.protobuf.ByteString value)
         URL of the authorization server's token endpoint [RFC6749].
         
        string token_endpoint = 3;
        Parameters:
        value - The bytes for tokenEndpoint to set.
        Returns:
        This builder for chaining.
      • ensureResponseTypesSupportedIsMutable

        private void ensureResponseTypesSupportedIsMutable()
      • getResponseTypesSupportedList

        public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList()
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Specified by:
        getResponseTypesSupportedList in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        A list containing the responseTypesSupported.
      • getResponseTypesSupportedCount

        public int getResponseTypesSupportedCount()
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Specified by:
        getResponseTypesSupportedCount in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The count of responseTypesSupported.
      • getResponseTypesSupported

        public String getResponseTypesSupported​(int index)
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Specified by:
        getResponseTypesSupported in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The responseTypesSupported at the given index.
      • getResponseTypesSupportedBytes

        public com.google.protobuf.ByteString getResponseTypesSupportedBytes​(int index)
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Specified by:
        getResponseTypesSupportedBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the responseTypesSupported at the given index.
      • setResponseTypesSupported

        public Auth.OAuth2MetadataResponse.Builder setResponseTypesSupported​(int index,
                                                                             String value)
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Parameters:
        index - The index to set the value at.
        value - The responseTypesSupported to set.
        Returns:
        This builder for chaining.
      • addResponseTypesSupported

        public Auth.OAuth2MetadataResponse.Builder addResponseTypesSupported​(String value)
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Parameters:
        value - The responseTypesSupported to add.
        Returns:
        This builder for chaining.
      • addAllResponseTypesSupported

        public Auth.OAuth2MetadataResponse.Builder addAllResponseTypesSupported​(Iterable<String> values)
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Parameters:
        values - The responseTypesSupported to add.
        Returns:
        This builder for chaining.
      • clearResponseTypesSupported

        public Auth.OAuth2MetadataResponse.Builder clearResponseTypesSupported()
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Returns:
        This builder for chaining.
      • addResponseTypesSupportedBytes

        public Auth.OAuth2MetadataResponse.Builder addResponseTypesSupportedBytes​(com.google.protobuf.ByteString value)
         Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
         
        repeated string response_types_supported = 4;
        Parameters:
        value - The bytes of the responseTypesSupported to add.
        Returns:
        This builder for chaining.
      • ensureScopesSupportedIsMutable

        private void ensureScopesSupportedIsMutable()
      • getScopesSupportedList

        public com.google.protobuf.ProtocolStringList getScopesSupportedList()
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Specified by:
        getScopesSupportedList in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        A list containing the scopesSupported.
      • getScopesSupportedCount

        public int getScopesSupportedCount()
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Specified by:
        getScopesSupportedCount in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The count of scopesSupported.
      • getScopesSupported

        public String getScopesSupported​(int index)
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Specified by:
        getScopesSupported in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The scopesSupported at the given index.
      • getScopesSupportedBytes

        public com.google.protobuf.ByteString getScopesSupportedBytes​(int index)
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Specified by:
        getScopesSupportedBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the scopesSupported at the given index.
      • setScopesSupported

        public Auth.OAuth2MetadataResponse.Builder setScopesSupported​(int index,
                                                                      String value)
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Parameters:
        index - The index to set the value at.
        value - The scopesSupported to set.
        Returns:
        This builder for chaining.
      • addScopesSupported

        public Auth.OAuth2MetadataResponse.Builder addScopesSupported​(String value)
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Parameters:
        value - The scopesSupported to add.
        Returns:
        This builder for chaining.
      • addAllScopesSupported

        public Auth.OAuth2MetadataResponse.Builder addAllScopesSupported​(Iterable<String> values)
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Parameters:
        values - The scopesSupported to add.
        Returns:
        This builder for chaining.
      • clearScopesSupported

        public Auth.OAuth2MetadataResponse.Builder clearScopesSupported()
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Returns:
        This builder for chaining.
      • addScopesSupportedBytes

        public Auth.OAuth2MetadataResponse.Builder addScopesSupportedBytes​(com.google.protobuf.ByteString value)
         JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
         
        repeated string scopes_supported = 5;
        Parameters:
        value - The bytes of the scopesSupported to add.
        Returns:
        This builder for chaining.
      • ensureTokenEndpointAuthMethodsSupportedIsMutable

        private void ensureTokenEndpointAuthMethodsSupportedIsMutable()
      • getTokenEndpointAuthMethodsSupportedList

        public com.google.protobuf.ProtocolStringList getTokenEndpointAuthMethodsSupportedList()
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Specified by:
        getTokenEndpointAuthMethodsSupportedList in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        A list containing the tokenEndpointAuthMethodsSupported.
      • getTokenEndpointAuthMethodsSupportedCount

        public int getTokenEndpointAuthMethodsSupportedCount()
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Specified by:
        getTokenEndpointAuthMethodsSupportedCount in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The count of tokenEndpointAuthMethodsSupported.
      • getTokenEndpointAuthMethodsSupported

        public String getTokenEndpointAuthMethodsSupported​(int index)
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Specified by:
        getTokenEndpointAuthMethodsSupported in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tokenEndpointAuthMethodsSupported at the given index.
      • getTokenEndpointAuthMethodsSupportedBytes

        public com.google.protobuf.ByteString getTokenEndpointAuthMethodsSupportedBytes​(int index)
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Specified by:
        getTokenEndpointAuthMethodsSupportedBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tokenEndpointAuthMethodsSupported at the given index.
      • setTokenEndpointAuthMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder setTokenEndpointAuthMethodsSupported​(int index,
                                                                                        String value)
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Parameters:
        index - The index to set the value at.
        value - The tokenEndpointAuthMethodsSupported to set.
        Returns:
        This builder for chaining.
      • addTokenEndpointAuthMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder addTokenEndpointAuthMethodsSupported​(String value)
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Parameters:
        value - The tokenEndpointAuthMethodsSupported to add.
        Returns:
        This builder for chaining.
      • addAllTokenEndpointAuthMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder addAllTokenEndpointAuthMethodsSupported​(Iterable<String> values)
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Parameters:
        values - The tokenEndpointAuthMethodsSupported to add.
        Returns:
        This builder for chaining.
      • clearTokenEndpointAuthMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder clearTokenEndpointAuthMethodsSupported()
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Returns:
        This builder for chaining.
      • addTokenEndpointAuthMethodsSupportedBytes

        public Auth.OAuth2MetadataResponse.Builder addTokenEndpointAuthMethodsSupportedBytes​(com.google.protobuf.ByteString value)
         JSON array containing a list of client authentication methods supported by this token endpoint.
         
        repeated string token_endpoint_auth_methods_supported = 6;
        Parameters:
        value - The bytes of the tokenEndpointAuthMethodsSupported to add.
        Returns:
        This builder for chaining.
      • getJwksUri

        public String getJwksUri()
         URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
         client uses to validate signatures from the authorization server.
         
        string jwks_uri = 7;
        Specified by:
        getJwksUri in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The jwksUri.
      • getJwksUriBytes

        public com.google.protobuf.ByteString getJwksUriBytes()
         URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
         client uses to validate signatures from the authorization server.
         
        string jwks_uri = 7;
        Specified by:
        getJwksUriBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The bytes for jwksUri.
      • setJwksUri

        public Auth.OAuth2MetadataResponse.Builder setJwksUri​(String value)
         URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
         client uses to validate signatures from the authorization server.
         
        string jwks_uri = 7;
        Parameters:
        value - The jwksUri to set.
        Returns:
        This builder for chaining.
      • clearJwksUri

        public Auth.OAuth2MetadataResponse.Builder clearJwksUri()
         URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
         client uses to validate signatures from the authorization server.
         
        string jwks_uri = 7;
        Returns:
        This builder for chaining.
      • setJwksUriBytes

        public Auth.OAuth2MetadataResponse.Builder setJwksUriBytes​(com.google.protobuf.ByteString value)
         URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
         client uses to validate signatures from the authorization server.
         
        string jwks_uri = 7;
        Parameters:
        value - The bytes for jwksUri to set.
        Returns:
        This builder for chaining.
      • ensureCodeChallengeMethodsSupportedIsMutable

        private void ensureCodeChallengeMethodsSupportedIsMutable()
      • getCodeChallengeMethodsSupportedList

        public com.google.protobuf.ProtocolStringList getCodeChallengeMethodsSupportedList()
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Specified by:
        getCodeChallengeMethodsSupportedList in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        A list containing the codeChallengeMethodsSupported.
      • getCodeChallengeMethodsSupportedCount

        public int getCodeChallengeMethodsSupportedCount()
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Specified by:
        getCodeChallengeMethodsSupportedCount in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The count of codeChallengeMethodsSupported.
      • getCodeChallengeMethodsSupported

        public String getCodeChallengeMethodsSupported​(int index)
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Specified by:
        getCodeChallengeMethodsSupported in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The codeChallengeMethodsSupported at the given index.
      • getCodeChallengeMethodsSupportedBytes

        public com.google.protobuf.ByteString getCodeChallengeMethodsSupportedBytes​(int index)
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Specified by:
        getCodeChallengeMethodsSupportedBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the codeChallengeMethodsSupported at the given index.
      • setCodeChallengeMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder setCodeChallengeMethodsSupported​(int index,
                                                                                    String value)
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Parameters:
        index - The index to set the value at.
        value - The codeChallengeMethodsSupported to set.
        Returns:
        This builder for chaining.
      • addCodeChallengeMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder addCodeChallengeMethodsSupported​(String value)
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Parameters:
        value - The codeChallengeMethodsSupported to add.
        Returns:
        This builder for chaining.
      • addAllCodeChallengeMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder addAllCodeChallengeMethodsSupported​(Iterable<String> values)
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Parameters:
        values - The codeChallengeMethodsSupported to add.
        Returns:
        This builder for chaining.
      • clearCodeChallengeMethodsSupported

        public Auth.OAuth2MetadataResponse.Builder clearCodeChallengeMethodsSupported()
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Returns:
        This builder for chaining.
      • addCodeChallengeMethodsSupportedBytes

        public Auth.OAuth2MetadataResponse.Builder addCodeChallengeMethodsSupportedBytes​(com.google.protobuf.ByteString value)
         JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
         this authorization server.
         
        repeated string code_challenge_methods_supported = 8;
        Parameters:
        value - The bytes of the codeChallengeMethodsSupported to add.
        Returns:
        This builder for chaining.
      • ensureGrantTypesSupportedIsMutable

        private void ensureGrantTypesSupportedIsMutable()
      • getGrantTypesSupportedList

        public com.google.protobuf.ProtocolStringList getGrantTypesSupportedList()
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Specified by:
        getGrantTypesSupportedList in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        A list containing the grantTypesSupported.
      • getGrantTypesSupportedCount

        public int getGrantTypesSupportedCount()
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Specified by:
        getGrantTypesSupportedCount in interface Auth.OAuth2MetadataResponseOrBuilder
        Returns:
        The count of grantTypesSupported.
      • getGrantTypesSupported

        public String getGrantTypesSupported​(int index)
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Specified by:
        getGrantTypesSupported in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The grantTypesSupported at the given index.
      • getGrantTypesSupportedBytes

        public com.google.protobuf.ByteString getGrantTypesSupportedBytes​(int index)
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Specified by:
        getGrantTypesSupportedBytes in interface Auth.OAuth2MetadataResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the grantTypesSupported at the given index.
      • setGrantTypesSupported

        public Auth.OAuth2MetadataResponse.Builder setGrantTypesSupported​(int index,
                                                                          String value)
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Parameters:
        index - The index to set the value at.
        value - The grantTypesSupported to set.
        Returns:
        This builder for chaining.
      • addGrantTypesSupported

        public Auth.OAuth2MetadataResponse.Builder addGrantTypesSupported​(String value)
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Parameters:
        value - The grantTypesSupported to add.
        Returns:
        This builder for chaining.
      • addAllGrantTypesSupported

        public Auth.OAuth2MetadataResponse.Builder addAllGrantTypesSupported​(Iterable<String> values)
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Parameters:
        values - The grantTypesSupported to add.
        Returns:
        This builder for chaining.
      • clearGrantTypesSupported

        public Auth.OAuth2MetadataResponse.Builder clearGrantTypesSupported()
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Returns:
        This builder for chaining.
      • addGrantTypesSupportedBytes

        public Auth.OAuth2MetadataResponse.Builder addGrantTypesSupportedBytes​(com.google.protobuf.ByteString value)
         JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
         
        repeated string grant_types_supported = 9;
        Parameters:
        value - The bytes of the grantTypesSupported to add.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>