Class AcceleratorTypesStubSettings.Builder (1.46.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
NameDescription
clientContextClientContext

Builder(AcceleratorTypesStubSettings settings)

protected Builder(AcceleratorTypesStubSettings settings)
Parameter
NameDescription
settingsAcceleratorTypesStubSettings

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 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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AcceleratorTypesStubSettings.Builder

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

Returns
TypeDescription
Builder<GetAcceleratorTypeRequest,AcceleratorType>

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>

unaryMethodSettingsBuilders()

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