Class RoutesSettings.Builder (1.64.0)

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

Builder for RoutesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RoutesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RoutesSettings settings)

protected Builder(RoutesSettings settings)
Parameter
Name Description
settings RoutesSettings

Builder(RoutesStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>