Class LicensesSettings.Builder (1.56.0)

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

Builder for LicensesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > LicensesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LicensesSettings settings)

protected Builder(LicensesSettings settings)
Parameter
Name Description
settings LicensesSettings

Builder(LicensesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>