Class AcceleratorTypesStubSettings.Builder (1.52.0)

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

Builder for AcceleratorTypesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AcceleratorTypesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AcceleratorTypesStubSettings settings)

protected Builder(AcceleratorTypesStubSettings settings)
Parameter
Name Description
settings AcceleratorTypesStubSettings

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

build()

public AcceleratorTypesStubSettings build()
Returns
Type Description
AcceleratorTypesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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