Class RoutesStubSettings.Builder (1.52.0)

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

Builder for RoutesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RoutesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RoutesStubSettings settings)

protected Builder(RoutesStubSettings settings)
Parameter
Name Description
settings RoutesStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteRouteRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteRouteRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteRouteRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteRouteRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetRouteRequest,Route> getSettings()

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

Returns
Type Description
Builder<GetRouteRequest,Route>

insertOperationSettings()

public OperationCallSettings.Builder<InsertRouteRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertRouteRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertRouteRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertRouteRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRoutesRequest,RouteList,RoutesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRoutesRequest,RouteList,ListPagedResponse>

unaryMethodSettingsBuilders()

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