Class SimulatorSettings.Builder (0.11.0)

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

Builder for SimulatorSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SimulatorSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SimulatorSettings settings)

protected Builder(SimulatorSettings settings)
Parameter
NameDescription
settingsSimulatorSettings

Builder(SimulatorStubSettings.Builder stubSettings)

protected Builder(SimulatorStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSimulatorStubSettings.Builder

Methods

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

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

build()

public SimulatorSettings build()
Returns
TypeDescription
SimulatorSettings
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>

getStubSettingsBuilder()

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

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>