Class RegionDiskTypesSettings.Builder (1.56.0)

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

Builder for RegionDiskTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionDiskTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionDiskTypesSettings settings)

protected Builder(RegionDiskTypesSettings settings)
Parameter
Name Description
settings RegionDiskTypesSettings

Builder(RegionDiskTypesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getSettings()

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

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

Returns
Type Description
Builder<GetRegionDiskTypeRequest,DiskType>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListRegionDiskTypesRequest,RegionDiskTypeList,RegionDiskTypesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionDiskTypesRequest,RegionDiskTypeList,ListPagedResponse>