Class LicenseCodesSettings.Builder (1.44.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
NameDescription
clientContextClientContext

Builder(LicenseCodesSettings settings)

protected Builder(LicenseCodesSettings settings)
Parameter
NameDescription
settingsLicenseCodesSettings

Builder(LicenseCodesStubSettings.Builder stubSettings)

protected Builder(LicenseCodesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsLicenseCodesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
LicenseCodesSettings.Builder

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetLicenseCodeRequest,LicenseCode>

getStubSettingsBuilder()

public LicenseCodesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
LicenseCodesStubSettings.Builder

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsLicenseCodeRequest,TestPermissionsResponse>