Class DiskTypesSettings.Builder (1.47.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
NameDescription
clientContextClientContext

Builder(DiskTypesSettings settings)

protected Builder(DiskTypesSettings settings)
Parameter
NameDescription
settingsDiskTypesSettings

Builder(DiskTypesStubSettings.Builder stubSettings)

protected Builder(DiskTypesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDiskTypesStubSettings.Builder

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DiskTypesSettings.Builder

build()

public DiskTypesSettings build()
Returns
TypeDescription
DiskTypesSettings
Overrides
Exceptions
TypeDescription
IOException

getSettings()

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

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

Returns
TypeDescription
Builder<GetDiskTypeRequest,DiskType>

getStubSettingsBuilder()

public DiskTypesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DiskTypesStubSettings.Builder

listSettings()

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

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

Returns
TypeDescription
Builder<ListDiskTypesRequest,DiskTypeList,ListPagedResponse>