Class LicensesSettings.Builder (1.43.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
NameDescription
clientContextClientContext

Builder(LicensesSettings settings)

protected Builder(LicensesSettings settings)
Parameter
NameDescription
settingsLicensesSettings

Builder(LicensesStubSettings.Builder stubSettings)

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteLicenseRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteLicenseRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyLicenseRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetLicenseRequest,License>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertLicenseRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertLicenseRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListLicensesRequest,LicensesListResponse,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyLicenseRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsLicenseRequest,TestPermissionsResponse>