Class RegionDiskTypesSettings.Builder (1.23.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
NameDescription
clientContextClientContext

Builder(RegionDiskTypesSettings settings)

protected Builder(RegionDiskTypesSettings settings)
Parameter
NameDescription
settingsRegionDiskTypesSettings

Builder(RegionDiskTypesStubSettings.Builder stubSettings)

protected Builder(RegionDiskTypesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionDiskTypesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RegionDiskTypesSettings.Builder

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionDiskTypeRequest,DiskType>

getStubSettingsBuilder()

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

listSettings()

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

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

Returns
TypeDescription
Builder<ListRegionDiskTypesRequest,RegionDiskTypeList,ListPagedResponse>