Class LicenseCodesStubSettings.Builder (1.37.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
NameDescription
clientContextClientContext

Builder(LicenseCodesStubSettings settings)

protected Builder(LicenseCodesStubSettings settings)
Parameter
NameDescription
settingsLicenseCodesStubSettings

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

build()

public LicenseCodesStubSettings build()
Returns
TypeDescription
LicenseCodesStubSettings
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>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsLicenseCodeRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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