Class TransitionRouteGroupsStubSettings.Builder (0.46.0)

See more code actions.
public static class TransitionRouteGroupsStubSettings.Builder extends StubSettings.Builder<TransitionRouteGroupsStubSettings,TransitionRouteGroupsStubSettings.Builder>

Builder for TransitionRouteGroupsStubSettings.

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>

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.

deleteTransitionRouteGroupSettings()

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

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

Returns
Type Description
Builder<DeleteTransitionRouteGroupRequest,Empty>

getEndpoint()

public String getEndpoint()

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

Returns
Type Description
String
Overrides

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.

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.

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.