Class DiskTypesStubSettings.Builder (1.30.0)

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

Builder for DiskTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DiskTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DiskTypesStubSettings settings)

protected Builder(DiskTypesStubSettings settings)
Parameter
NameDescription
settingsDiskTypesStubSettings

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 DiskTypesStubSettings.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
DiskTypesStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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