Class LicenseCodesStubSettings.Builder (1.58.0)

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

Builder for LicenseCodesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LicenseCodesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LicenseCodesStubSettings settings)

protected Builder(LicenseCodesStubSettings settings)
Parameter
Name Description
settings LicenseCodesStubSettings

Methods

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

public LicenseCodesStubSettings.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
LicenseCodesStubSettings.Builder

build()

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

getSettings()

public UnaryCallSettings.Builder<GetLicenseCodeRequest,LicenseCode> getSettings()

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

Returns
Type Description
Builder<GetLicenseCodeRequest,LicenseCode>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsLicenseCodeRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsLicenseCodeRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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