Class ProviderOAuthConfig (0.27.0)

publicfinalclass ProviderOAuthConfigextendsGeneratedMessageV3implementsProviderOAuthConfigOrBuilder

ProviderOAuthConfig is the OAuth config for a provider.

Protobuf type google.cloud.developerconnect.v1.ProviderOAuthConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

SCOPES_FIELD_NUMBER

publicstaticfinalintSCOPES_FIELD_NUMBER
Field Value
Type Description
int

SYSTEM_PROVIDER_ID_FIELD_NUMBER

publicstaticfinalintSYSTEM_PROVIDER_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticProviderOAuthConfiggetDefaultInstance()
Returns
Type Description
ProviderOAuthConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticProviderOAuthConfig.BuildernewBuilder()
Returns
Type Description
ProviderOAuthConfig.Builder

newBuilder(ProviderOAuthConfig prototype)

publicstaticProviderOAuthConfig.BuildernewBuilder(ProviderOAuthConfigprototype)
Parameter
Name Description
prototype ProviderOAuthConfig
Returns
Type Description
ProviderOAuthConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticProviderOAuthConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticProviderOAuthConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticProviderOAuthConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticProviderOAuthConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticProviderOAuthConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticProviderOAuthConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticProviderOAuthConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticProviderOAuthConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticProviderOAuthConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticProviderOAuthConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticProviderOAuthConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticProviderOAuthConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProviderOAuthConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ProviderOAuthConfig>parser()
Returns
Type Description
Parser<ProviderOAuthConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicProviderOAuthConfiggetDefaultInstanceForType()
Returns
Type Description
ProviderOAuthConfig

getOauthProviderIdCase()

publicProviderOAuthConfig.OauthProviderIdCasegetOauthProviderIdCase()
Returns
Type Description
ProviderOAuthConfig.OauthProviderIdCase

getParserForType()

publicParser<ProviderOAuthConfig>getParserForType()
Returns
Type Description
Parser<ProviderOAuthConfig>
Overrides

getScopes(int index)

publicStringgetScopes(intindex)

Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.

repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The scopes at the given index.

getScopesBytes(int index)

publicByteStringgetScopesBytes(intindex)

Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.

repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the scopes at the given index.

getScopesCount()

publicintgetScopesCount()

Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.

repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of scopes.

getScopesList()

publicProtocolStringListgetScopesList()

Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.

repeated string scopes = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the scopes.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSystemProviderId()

publicSystemProvidergetSystemProviderId()

Immutable. Developer Connect provided OAuth.

.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
SystemProvider

The systemProviderId.

getSystemProviderIdValue()

publicintgetSystemProviderIdValue()

Immutable. Developer Connect provided OAuth.

.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for systemProviderId.

hasSystemProviderId()

publicbooleanhasSystemProviderId()

Immutable. Developer Connect provided OAuth.

.google.cloud.developerconnect.v1.SystemProvider system_provider_id = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the systemProviderId field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicProviderOAuthConfig.BuildernewBuilderForType()
Returns
Type Description
ProviderOAuthConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedProviderOAuthConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProviderOAuthConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicProviderOAuthConfig.BuildertoBuilder()
Returns
Type Description
ProviderOAuthConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.