Class DiskTypesStubSettings.Builder (1.59.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
Name Description
clientContext ClientContext

Builder(DiskTypesStubSettings settings)

protected Builder(DiskTypesStubSettings settings)
Parameter
Name Description
settings DiskTypesStubSettings

Methods

aggregatedListSettings()

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

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

Returns
Type Description
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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
DiskTypesStubSettings.Builder

build()

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

getSettings()

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

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

Returns
Type Description
Builder<GetDiskTypeRequest,DiskType>

listSettings()

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

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

Returns
Type Description
Builder<ListDiskTypesRequest,DiskTypeList,ListPagedResponse>

unaryMethodSettingsBuilders()

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