Package flyteidl.service
Class Auth.OAuth2MetadataResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Auth.OAuth2MetadataResponse.Builder>
-
- flyteidl.service.Auth.OAuth2MetadataResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Auth.OAuth2MetadataResponseOrBuilder,Cloneable
- Enclosing class:
- Auth.OAuth2MetadataResponse
public static final class Auth.OAuth2MetadataResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Auth.OAuth2MetadataResponse.Builder> implements Auth.OAuth2MetadataResponseOrBuilder
OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata as defined in https://tools.ietf.org/html/rfc8414
Protobuf typeflyteidl.service.OAuth2MetadataResponse
-
-
Field Summary
Fields Modifier and Type Field Description private ObjectauthorizationEndpoint_private intbitField0_private com.google.protobuf.LazyStringListcodeChallengeMethodsSupported_private com.google.protobuf.LazyStringListgrantTypesSupported_private Objectissuer_private ObjectjwksUri_private com.google.protobuf.LazyStringListresponseTypesSupported_private com.google.protobuf.LazyStringListscopesSupported_private ObjecttokenEndpoint_private com.google.protobuf.LazyStringListtokenEndpointAuthMethodsSupported_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Auth.OAuth2MetadataResponse.BuilderaddAllCodeChallengeMethodsSupported(Iterable<String> values)JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.Auth.OAuth2MetadataResponse.BuilderaddAllGrantTypesSupported(Iterable<String> values)JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddAllResponseTypesSupported(Iterable<String> values)Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddAllScopesSupported(Iterable<String> values)JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddAllTokenEndpointAuthMethodsSupported(Iterable<String> values)JSON array containing a list of client authentication methods supported by this token endpoint.Auth.OAuth2MetadataResponse.BuilderaddCodeChallengeMethodsSupported(String value)JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.Auth.OAuth2MetadataResponse.BuilderaddCodeChallengeMethodsSupportedBytes(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.Auth.OAuth2MetadataResponse.BuilderaddGrantTypesSupported(String value)JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddGrantTypesSupportedBytes(com.google.protobuf.ByteString value)JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Auth.OAuth2MetadataResponse.BuilderaddResponseTypesSupported(String value)Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddResponseTypesSupportedBytes(com.google.protobuf.ByteString value)Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddScopesSupported(String value)JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddScopesSupportedBytes(com.google.protobuf.ByteString value)JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderaddTokenEndpointAuthMethodsSupported(String value)JSON array containing a list of client authentication methods supported by this token endpoint.Auth.OAuth2MetadataResponse.BuilderaddTokenEndpointAuthMethodsSupportedBytes(com.google.protobuf.ByteString value)JSON array containing a list of client authentication methods supported by this token endpoint.Auth.OAuth2MetadataResponsebuild()Auth.OAuth2MetadataResponsebuildPartial()private voidbuildPartial0(Auth.OAuth2MetadataResponse result)private voidbuildPartialRepeatedFields(Auth.OAuth2MetadataResponse result)Auth.OAuth2MetadataResponse.Builderclear()Auth.OAuth2MetadataResponse.BuilderclearAuthorizationEndpoint()URL of the authorization server's authorization endpoint [RFC6749].Auth.OAuth2MetadataResponse.BuilderclearCodeChallengeMethodsSupported()JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.Auth.OAuth2MetadataResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Auth.OAuth2MetadataResponse.BuilderclearGrantTypesSupported()JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderclearIssuer()Defines the issuer string in all JWT tokens this server issues.Auth.OAuth2MetadataResponse.BuilderclearJwksUri()URL of the authorization server's JWK Set [JWK] document.Auth.OAuth2MetadataResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Auth.OAuth2MetadataResponse.BuilderclearResponseTypesSupported()Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderclearScopesSupported()JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.Auth.OAuth2MetadataResponse.BuilderclearTokenEndpoint()URL of the authorization server's token endpoint [RFC6749].Auth.OAuth2MetadataResponse.BuilderclearTokenEndpointAuthMethodsSupported()JSON array containing a list of client authentication methods supported by this token endpoint.Auth.OAuth2MetadataResponse.Builderclone()private voidensureCodeChallengeMethodsSupportedIsMutable()private voidensureGrantTypesSupportedIsMutable()private voidensureResponseTypesSupportedIsMutable()private voidensureScopesSupportedIsMutable()private voidensureTokenEndpointAuthMethodsSupportedIsMutable()StringgetAuthorizationEndpoint()URL of the authorization server's authorization endpoint [RFC6749].com.google.protobuf.ByteStringgetAuthorizationEndpointBytes()URL of the authorization server's authorization endpoint [RFC6749].StringgetCodeChallengeMethodsSupported(int index)JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.com.google.protobuf.ByteStringgetCodeChallengeMethodsSupportedBytes(int index)JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.intgetCodeChallengeMethodsSupportedCount()JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.com.google.protobuf.ProtocolStringListgetCodeChallengeMethodsSupportedList()JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.Auth.OAuth2MetadataResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetGrantTypesSupported(int index)JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.com.google.protobuf.ByteStringgetGrantTypesSupportedBytes(int index)JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.intgetGrantTypesSupportedCount()JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.com.google.protobuf.ProtocolStringListgetGrantTypesSupportedList()JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.StringgetIssuer()Defines the issuer string in all JWT tokens this server issues.com.google.protobuf.ByteStringgetIssuerBytes()Defines the issuer string in all JWT tokens this server issues.StringgetJwksUri()URL of the authorization server's JWK Set [JWK] document.com.google.protobuf.ByteStringgetJwksUriBytes()URL of the authorization server's JWK Set [JWK] document.StringgetResponseTypesSupported(int index)Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.com.google.protobuf.ByteStringgetResponseTypesSupportedBytes(int index)Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.intgetResponseTypesSupportedCount()Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.com.google.protobuf.ProtocolStringListgetResponseTypesSupportedList()Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.StringgetScopesSupported(int index)JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.com.google.protobuf.ByteStringgetScopesSupportedBytes(int index)JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.intgetScopesSupportedCount()JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.com.google.protobuf.ProtocolStringListgetScopesSupportedList()JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.StringgetTokenEndpoint()URL of the authorization server's token endpoint [RFC6749].StringgetTokenEndpointAuthMethodsSupported(int index)JSON array containing a list of client authentication methods supported by this token endpoint.com.google.protobuf.ByteStringgetTokenEndpointAuthMethodsSupportedBytes(int index)JSON array containing a list of client authentication methods supported by this token endpoint.intgetTokenEndpointAuthMethodsSupportedCount()JSON array containing a list of client authentication methods supported by this token endpoint.com.google.protobuf.ProtocolStringListgetTokenEndpointAuthMethodsSupportedList()JSON array containing a list of client authentication methods supported by this token endpoint.com.google.protobuf.ByteStringgetTokenEndpointBytes()URL of the authorization server's token endpoint [RFC6749].protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Auth.OAuth2MetadataResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Auth.OAuth2MetadataResponse.BuildermergeFrom(com.google.protobuf.Message other)Auth.OAuth2MetadataResponse.BuildermergeFrom(Auth.OAuth2MetadataResponse other)Auth.OAuth2MetadataResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Auth.OAuth2MetadataResponse.BuildersetAuthorizationEndpoint(String value)URL of the authorization server's authorization endpoint [RFC6749].Auth.OAuth2MetadataResponse.BuildersetAuthorizationEndpointBytes(com.google.protobuf.ByteString value)URL of the authorization server's authorization endpoint [RFC6749].Auth.OAuth2MetadataResponse.BuildersetCodeChallengeMethodsSupported(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.Auth.OAuth2MetadataResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Auth.OAuth2MetadataResponse.BuildersetGrantTypesSupported(int index, String value)JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuildersetIssuer(String value)Defines the issuer string in all JWT tokens this server issues.Auth.OAuth2MetadataResponse.BuildersetIssuerBytes(com.google.protobuf.ByteString value)Defines the issuer string in all JWT tokens this server issues.Auth.OAuth2MetadataResponse.BuildersetJwksUri(String value)URL of the authorization server's JWK Set [JWK] document.Auth.OAuth2MetadataResponse.BuildersetJwksUriBytes(com.google.protobuf.ByteString value)URL of the authorization server's JWK Set [JWK] document.Auth.OAuth2MetadataResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Auth.OAuth2MetadataResponse.BuildersetResponseTypesSupported(int index, String value)Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.Auth.OAuth2MetadataResponse.BuildersetScopesSupported(int index, String value)JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.Auth.OAuth2MetadataResponse.BuildersetTokenEndpoint(String value)URL of the authorization server's token endpoint [RFC6749].Auth.OAuth2MetadataResponse.BuildersetTokenEndpointAuthMethodsSupported(int index, String value)JSON array containing a list of client authentication methods supported by this token endpoint.Auth.OAuth2MetadataResponse.BuildersetTokenEndpointBytes(com.google.protobuf.ByteString value)URL of the authorization server's token endpoint [RFC6749].Auth.OAuth2MetadataResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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
-
-
-
-
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_
-
-
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<Auth.OAuth2MetadataResponse.Builder>
-
clear
public Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>
-
getDefaultInstanceForType
public Auth.OAuth2MetadataResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Auth.OAuth2MetadataResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Auth.OAuth2MetadataResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Auth.OAuth2MetadataResponse result)
-
buildPartial0
private void buildPartial0(Auth.OAuth2MetadataResponse result)
-
clone
public Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>
-
setField
public Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>
-
clearField
public Auth.OAuth2MetadataResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.OAuth2MetadataResponse.Builder>
-
clearOneof
public Auth.OAuth2MetadataResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.OAuth2MetadataResponse.Builder>
-
setRepeatedField
public Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>
-
addRepeatedField
public Auth.OAuth2MetadataResponse.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<Auth.OAuth2MetadataResponse.Builder>
-
mergeFrom
public Auth.OAuth2MetadataResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Auth.OAuth2MetadataResponse.Builder>
-
mergeFrom
public Auth.OAuth2MetadataResponse.Builder mergeFrom(Auth.OAuth2MetadataResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getIssuerin interfaceAuth.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:
getIssuerBytesin interfaceAuth.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:
getAuthorizationEndpointin interfaceAuth.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:
getAuthorizationEndpointBytesin interfaceAuth.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.
-
getTokenEndpoint
public String getTokenEndpoint()
URL of the authorization server's token endpoint [RFC6749].
string token_endpoint = 3;- Specified by:
getTokenEndpointin interfaceAuth.OAuth2MetadataResponseOrBuilder- Returns:
- The tokenEndpoint.
-
getTokenEndpointBytes
public com.google.protobuf.ByteString getTokenEndpointBytes()
URL of the authorization server's token endpoint [RFC6749].
string token_endpoint = 3;- Specified by:
getTokenEndpointBytesin interfaceAuth.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:
getResponseTypesSupportedListin interfaceAuth.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:
getResponseTypesSupportedCountin interfaceAuth.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:
getResponseTypesSupportedin interfaceAuth.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:
getResponseTypesSupportedBytesin interfaceAuth.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:
getScopesSupportedListin interfaceAuth.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:
getScopesSupportedCountin interfaceAuth.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:
getScopesSupportedin interfaceAuth.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:
getScopesSupportedBytesin interfaceAuth.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:
getTokenEndpointAuthMethodsSupportedListin interfaceAuth.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:
getTokenEndpointAuthMethodsSupportedCountin interfaceAuth.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:
getTokenEndpointAuthMethodsSupportedin interfaceAuth.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:
getTokenEndpointAuthMethodsSupportedBytesin interfaceAuth.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:
getJwksUriin interfaceAuth.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:
getJwksUriBytesin interfaceAuth.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:
getCodeChallengeMethodsSupportedListin interfaceAuth.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:
getCodeChallengeMethodsSupportedCountin interfaceAuth.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:
getCodeChallengeMethodsSupportedin interfaceAuth.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:
getCodeChallengeMethodsSupportedBytesin interfaceAuth.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:
getGrantTypesSupportedListin interfaceAuth.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:
getGrantTypesSupportedCountin interfaceAuth.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:
getGrantTypesSupportedin interfaceAuth.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:
getGrantTypesSupportedBytesin interfaceAuth.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.
-
setUnknownFields
public final Auth.OAuth2MetadataResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.OAuth2MetadataResponse.Builder>
-
mergeUnknownFields
public final Auth.OAuth2MetadataResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.OAuth2MetadataResponse.Builder>
-
-