Class StoragePoolsStubSettings.Builder (1.56.0)

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

Builder for StoragePoolsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > StoragePoolsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StoragePoolsStubSettings settings)

protected Builder(StoragePoolsStubSettings settings)
Parameter
Name Description
settings StoragePoolsStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListStoragePoolsRequest,StoragePoolAggregatedList,StoragePoolsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListStoragePoolsRequest,StoragePoolAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteStoragePoolRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteStoragePoolRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyStoragePoolRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetStoragePoolRequest,StoragePool> getSettings()

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

Returns
Type Description
Builder<GetStoragePoolRequest,StoragePool>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertStoragePoolRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertStoragePoolRequest,Operation>

listDisksSettings()

public PagedCallSettings.Builder<ListDisksStoragePoolsRequest,StoragePoolListDisks,StoragePoolsClient.ListDisksPagedResponse> listDisksSettings()

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

Returns
Type Description
Builder<ListDisksStoragePoolsRequest,StoragePoolListDisks,ListDisksPagedResponse>

listSettings()

public PagedCallSettings.Builder<ListStoragePoolsRequest,StoragePoolList,StoragePoolsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListStoragePoolsRequest,StoragePoolList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyStoragePoolRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsStoragePoolRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

public OperationCallSettings.Builder<UpdateStoragePoolRequest,Operation,Operation> updateOperationSettings()

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

Returns
Type Description
Builder<UpdateStoragePoolRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateStoragePoolRequest,Operation> updateSettings()

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

Returns
Type Description
Builder<UpdateStoragePoolRequest,Operation>