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

Builder(AcceleratorTypesSettings settings)

protected Builder(AcceleratorTypesSettings settings)
Parameter
Name Description
settings AcceleratorTypesSettings

Builder(AcceleratorTypesStubSettings.Builder stubSettings)

protected Builder(AcceleratorTypesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AcceleratorTypesStubSettings.Builder

Methods

aggregatedListSettings()

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

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

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

build()

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

getSettings()

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

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

Returns
Type Description
Builder<GetAcceleratorTypeRequest,AcceleratorType>

getStubSettingsBuilder()

public AcceleratorTypesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AcceleratorTypesStubSettings.Builder

listSettings()

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

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

Returns
Type Description
Builder<ListAcceleratorTypesRequest,AcceleratorTypeList,ListPagedResponse>