Class AcceleratorTypesSettings.Builder (1.30.0)

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

Builder for AcceleratorTypesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AcceleratorTypesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AcceleratorTypesSettings settings)

protected Builder(AcceleratorTypesSettings settings)
Parameter
NameDescription
settingsAcceleratorTypesSettings

Builder(AcceleratorTypesStubSettings.Builder stubSettings)

protected Builder(AcceleratorTypesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAcceleratorTypesStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListAcceleratorTypesRequest,AcceleratorTypeAggregatedList,AcceleratorTypesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListAcceleratorTypesRequest,AcceleratorTypeAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetAcceleratorTypeRequest,AcceleratorType> getSettings()

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

Returns
TypeDescription
Builder<GetAcceleratorTypeRequest,AcceleratorType>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListAcceleratorTypesRequest,AcceleratorTypeList,AcceleratorTypesClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListAcceleratorTypesRequest,AcceleratorTypeList,ListPagedResponse>