Class ClientId.Builder (1.37.1)

publicstaticclass ClientId.Builder

Inheritance

java.lang.Object > ClientId.Builder

Constructors

Builder()

protectedBuilder()

Builder(ClientId clientId)

protectedBuilder(ClientIdclientId)
Parameter
Name Description
clientId ClientId

Methods

build()

publicClientIdbuild()
Returns
Type Description
ClientId

getClientSecret()

publicStringgetClientSecret()
Returns
Type Description
String

setClientId(String clientId)

publicClientId.BuildersetClientId(StringclientId)
Parameter
Name Description
clientId String
Returns
Type Description
ClientId.Builder

setClientSecret(String clientSecret)

publicClientId.BuildersetClientSecret(StringclientSecret)
Parameter
Name Description
clientSecret String
Returns
Type Description
ClientId.Builder

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年10月30日 UTC.