Class StoragePoolsSettings.Builder (1.105.0)

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

Builder for StoragePoolsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > StoragePoolsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(StoragePoolsSettings settings)

protected Builder(StoragePoolsSettings settings)
Parameter
Name Description
settings StoragePoolsSettings

Builder(StoragePoolsStubSettings.Builder stubSettings)

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

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 StoragePoolsSettings.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
StoragePoolsSettings.Builder

build()

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

getStubSettingsBuilder()

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

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>

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>