Class RegionDiskTypesStubSettings.Builder (1.15.0)

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

Builder for RegionDiskTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionDiskTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegionDiskTypesStubSettings settings)

protected Builder(RegionDiskTypesStubSettings settings)
Parameter
NameDescription
settingsRegionDiskTypesStubSettings

Methods

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

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

build()

public RegionDiskTypesStubSettings build()
Returns
TypeDescription
RegionDiskTypesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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