Class SimulatorStubSettings.Builder (0.9.0)

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

Builder for SimulatorStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SimulatorStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SimulatorStubSettings settings)

protected Builder(SimulatorStubSettings settings)
Parameter
NameDescription
settingsSimulatorStubSettings

Methods

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

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

build()

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

createReplayOperationSettings()

public OperationCallSettings.Builder<CreateReplayRequest,Replay,ReplayOperationMetadata> createReplayOperationSettings()

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

Returns
TypeDescription
Builder<CreateReplayRequest,Replay,ReplayOperationMetadata>

createReplaySettings()

public UnaryCallSettings.Builder<CreateReplayRequest,Operation> createReplaySettings()

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

Returns
TypeDescription
Builder<CreateReplayRequest,Operation>

getReplaySettings()

public UnaryCallSettings.Builder<GetReplayRequest,Replay> getReplaySettings()

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

Returns
TypeDescription
Builder<GetReplayRequest,Replay>

listReplayResultsSettings()

public PagedCallSettings.Builder<ListReplayResultsRequest,ListReplayResultsResponse,SimulatorClient.ListReplayResultsPagedResponse> listReplayResultsSettings()

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

Returns
TypeDescription
Builder<ListReplayResultsRequest,ListReplayResultsResponse,ListReplayResultsPagedResponse>

unaryMethodSettingsBuilders()

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