Class LicensesStubSettings.Builder (1.33.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
NameDescription
clientContextClientContext

Builder(LicensesStubSettings settings)

protected Builder(LicensesStubSettings settings)
Parameter
NameDescription
settingsLicensesStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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