Class IamCredentialsStubSettings.Builder (2.46.0)

public static class IamCredentialsStubSettings.Builder extends StubSettings.Builder<IamCredentialsStubSettings,IamCredentialsStubSettings.Builder>

Builder for IamCredentialsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > IamCredentialsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(IamCredentialsStubSettings settings)

protected Builder(IamCredentialsStubSettings settings)
Parameter
Name Description
settings IamCredentialsStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public IamCredentialsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
IamCredentialsStubSettings.Builder

build()

public IamCredentialsStubSettings build()
Returns
Type Description
IamCredentialsStubSettings
Overrides
Exceptions
Type Description
IOException

generateAccessTokenSettings()

public UnaryCallSettings.Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenSettings()

Returns the builder for the settings used for calls to generateAccessToken.

Returns
Type Description
Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

generateIdTokenSettings()

public UnaryCallSettings.Builder<GenerateIdTokenRequest,GenerateIdTokenResponse> generateIdTokenSettings()

Returns the builder for the settings used for calls to generateIdToken.

Returns
Type Description
Builder<GenerateIdTokenRequest,GenerateIdTokenResponse>

signBlobSettings()

public UnaryCallSettings.Builder<SignBlobRequest,SignBlobResponse> signBlobSettings()

Returns the builder for the settings used for calls to signBlob.

Returns
Type Description
Builder<SignBlobRequest,SignBlobResponse>

signJwtSettings()

public UnaryCallSettings.Builder<SignJwtRequest,SignJwtResponse> signJwtSettings()

Returns the builder for the settings used for calls to signJwt.

Returns
Type Description
Builder<SignJwtRequest,SignJwtResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>