Class TransitionRouteGroupsSettings.Builder (0.14.0)

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

Builder for TransitionRouteGroupsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TransitionRouteGroupsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TransitionRouteGroupsSettings settings)

protected Builder(TransitionRouteGroupsSettings settings)
Parameter
NameDescription
settingsTransitionRouteGroupsSettings

Builder(TransitionRouteGroupsStubSettings.Builder stubSettings)

protected Builder(TransitionRouteGroupsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTransitionRouteGroupsStubSettings.Builder

Methods

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

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

build()

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

createTransitionRouteGroupSettings()

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

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

Returns
TypeDescription
Builder<CreateTransitionRouteGroupRequest,TransitionRouteGroup>

deleteTransitionRouteGroupSettings()

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

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

Returns
TypeDescription
Builder<DeleteTransitionRouteGroupRequest,Empty>

getLocationSettings()

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

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

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

getStubSettingsBuilder()

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

getTransitionRouteGroupSettings()

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

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

Returns
TypeDescription
Builder<GetTransitionRouteGroupRequest,TransitionRouteGroup>

listLocationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListTransitionRouteGroupsRequest,ListTransitionRouteGroupsResponse,ListTransitionRouteGroupsPagedResponse>

updateTransitionRouteGroupSettings()

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

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

Returns
TypeDescription
Builder<UpdateTransitionRouteGroupRequest,TransitionRouteGroup>