Class LicenseCodesSettings.Builder (1.52.0)

public static class LicenseCodesSettings.Builder extends ClientSettings.Builder<LicenseCodesSettings,LicenseCodesSettings.Builder>

Builder for LicenseCodesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > LicenseCodesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LicenseCodesSettings settings)

protected Builder(LicenseCodesSettings settings)
Parameter
Name Description
settings LicenseCodesSettings

Builder(LicenseCodesStubSettings.Builder stubSettings)

protected Builder(LicenseCodesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings LicenseCodesStubSettings.Builder

Methods

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

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

build()

public LicenseCodesSettings build()
Returns
Type Description
LicenseCodesSettings
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>

getStubSettingsBuilder()

public LicenseCodesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
LicenseCodesStubSettings.Builder

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsLicenseCodeRequest,TestPermissionsResponse>