Class StoragePoolTypesStubSettings.Builder (1.56.0)

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

Builder for StoragePoolTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > StoragePoolTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StoragePoolTypesStubSettings settings)

protected Builder(StoragePoolTypesStubSettings settings)
Parameter
Name Description
settings StoragePoolTypesStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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