Class TransitionRouteGroupsSettings.Builder (0.65.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
Name Description
clientContext ClientContext

Builder(TransitionRouteGroupsSettings settings)

protected Builder(TransitionRouteGroupsSettings settings)
Parameter
Name Description
settings TransitionRouteGroupsSettings

Builder(TransitionRouteGroupsStubSettings.Builder stubSettings)

protected Builder(TransitionRouteGroupsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TransitionRouteGroupsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
TransitionRouteGroupsSettings.Builder

build()

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

getStubSettingsBuilder()

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

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>

updateTransitionRouteGroupSettings()

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

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

Returns
Type Description
Builder<UpdateTransitionRouteGroupRequest,TransitionRouteGroup>