Class IamCredentialsStubSettings.Builder (2.3.2)

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
NameDescription
clientContextClientContext

Builder(IamCredentialsStubSettings settings)

protected Builder(IamCredentialsStubSettings settings)
Parameter
NameDescription
settingsIamCredentialsStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
IamCredentialsStubSettings.Builder

build()

public IamCredentialsStubSettings build()
Returns
TypeDescription
IamCredentialsStubSettings
Overrides Exceptions
TypeDescription
IOException

generateAccessTokenSettings()

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

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

Returns
TypeDescription
Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

generateIdTokenSettings()

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

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

Returns
TypeDescription
Builder<GenerateIdTokenRequest,GenerateIdTokenResponse>

signBlobSettings()

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

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

Returns
TypeDescription
Builder<SignBlobRequest,SignBlobResponse>

signJwtSettings()

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

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

Returns
TypeDescription
Builder<SignJwtRequest,SignJwtResponse>

unaryMethodSettingsBuilders()

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