Class StoragePoolTypesSettings.Builder (1.55.0)

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

Builder for StoragePoolTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > StoragePoolTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StoragePoolTypesSettings settings)

protected Builder(StoragePoolTypesSettings settings)
Parameter
Name Description
settings StoragePoolTypesSettings

Builder(StoragePoolTypesStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListStoragePoolTypesRequest,StoragePoolTypeAggregatedList,StoragePoolTypesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListStoragePoolTypesRequest,StoragePoolTypeAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetStoragePoolTypeRequest,StoragePoolType> getSettings()

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

Returns
Type Description
Builder<GetStoragePoolTypeRequest,StoragePoolType>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListStoragePoolTypesRequest,StoragePoolTypeList,StoragePoolTypesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListStoragePoolTypesRequest,StoragePoolTypeList,ListPagedResponse>