Class RoutesSettings.Builder (1.47.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
NameDescription
clientContextClientContext

Builder(RoutesSettings settings)

protected Builder(RoutesSettings settings)
Parameter
NameDescription
settingsRoutesSettings

Builder(RoutesStubSettings.Builder stubSettings)

protected Builder(RoutesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRoutesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RoutesSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouteRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouteRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRouteRequest,Route>

getStubSettingsBuilder()

public RoutesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
RoutesStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRouteRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRouteRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListRoutesRequest,RouteList,ListPagedResponse>