Class PlacementServiceSettings.Builder (0.1.0)

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

Builder for PlacementServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PlacementServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(PlacementServiceSettings settings)

protected Builder(PlacementServiceSettings settings)
Parameter
Name Description
settings PlacementServiceSettings

Builder(PlacementServiceStubSettings.Builder stubSettings)

protected Builder(PlacementServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings PlacementServiceStubSettings.Builder

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>