Class TransitionRouteGroupsStubSettings.Builder (0.53.0)

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

Builder for TransitionRouteGroupsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TransitionRouteGroupsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TransitionRouteGroupsStubSettings settings)

protected Builder(TransitionRouteGroupsStubSettings settings)
Parameter
Name Description
settings TransitionRouteGroupsStubSettings

Methods

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

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

build()

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

createTransitionRouteGroupSettings()

public UnaryCallSettings.Builder<CreateTransitionRouteGroupRequest,TransitionRouteGroup> createTransitionRouteGroupSettings()

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

Returns
Type Description
Builder<CreateTransitionRouteGroupRequest,TransitionRouteGroup>

deleteTransitionRouteGroupSettings()

public UnaryCallSettings.Builder<DeleteTransitionRouteGroupRequest,Empty> deleteTransitionRouteGroupSettings()

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

Returns
Type Description
Builder<DeleteTransitionRouteGroupRequest,Empty>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getTransitionRouteGroupSettings()

public UnaryCallSettings.Builder<GetTransitionRouteGroupRequest,TransitionRouteGroup> getTransitionRouteGroupSettings()

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

Returns
Type Description
Builder<GetTransitionRouteGroupRequest,TransitionRouteGroup>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,TransitionRouteGroupsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listTransitionRouteGroupsSettings()

public PagedCallSettings.Builder<ListTransitionRouteGroupsRequest,ListTransitionRouteGroupsResponse,TransitionRouteGroupsClient.ListTransitionRouteGroupsPagedResponse> listTransitionRouteGroupsSettings()

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

Returns
Type Description
Builder<ListTransitionRouteGroupsRequest,ListTransitionRouteGroupsResponse,ListTransitionRouteGroupsPagedResponse>

unaryMethodSettingsBuilders()

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

updateTransitionRouteGroupSettings()

public UnaryCallSettings.Builder<UpdateTransitionRouteGroupRequest,TransitionRouteGroup> updateTransitionRouteGroupSettings()

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

Returns
Type Description
Builder<UpdateTransitionRouteGroupRequest,TransitionRouteGroup>