Class DiskTypesSettings.Builder (1.63.0)

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

Builder for DiskTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DiskTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DiskTypesSettings settings)

protected Builder(DiskTypesSettings settings)
Parameter
Name Description
settings DiskTypesSettings

Builder(DiskTypesStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListDiskTypesRequest,DiskTypeAggregatedList,DiskTypesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListDiskTypesRequest,DiskTypeAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetDiskTypeRequest,DiskType> getSettings()

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

Returns
Type Description
Builder<GetDiskTypeRequest,DiskType>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListDiskTypesRequest,DiskTypeList,DiskTypesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListDiskTypesRequest,DiskTypeList,ListPagedResponse>