Class LicensesStubSettings.Builder (1.57.0)

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

Builder for LicensesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LicensesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LicensesStubSettings settings)

protected Builder(LicensesStubSettings settings)
Parameter
Name Description
settings LicensesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteLicenseRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteLicenseRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteLicenseRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteLicenseRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyLicenseRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<GetIamPolicyLicenseRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetLicenseRequest,License> getSettings()

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

Returns
Type Description
Builder<GetLicenseRequest,License>

insertOperationSettings()

public OperationCallSettings.Builder<InsertLicenseRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertLicenseRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertLicenseRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertLicenseRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListLicensesRequest,LicensesListResponse,LicensesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListLicensesRequest,LicensesListResponse,ListPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyLicenseRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<SetIamPolicyLicenseRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsLicenseRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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