Class PlacementServiceStubSettings.Builder (0.1.0)

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

Builder for PlacementServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PlacementServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(PlacementServiceStubSettings settings)

protected Builder(PlacementServiceStubSettings settings)
Parameter
Name Description
settings PlacementServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getPlacementSettings()

public UnaryCallSettings.Builder<GetPlacementRequest,Placement> getPlacementSettings()

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

Returns
Type Description
Builder<GetPlacementRequest,Placement>

listPlacementsSettings()

public PagedCallSettings.Builder<ListPlacementsRequest,ListPlacementsResponse,PlacementServiceClient.ListPlacementsPagedResponse> listPlacementsSettings()

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

Returns
Type Description
Builder<ListPlacementsRequest,ListPlacementsResponse,ListPlacementsPagedResponse>

unaryMethodSettingsBuilders()

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