public static class SimulatorStubSettings.Builder extends StubSettings.Builder<SimulatorStubSettings,SimulatorStubSettings.Builder>
Builder for SimulatorStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(SimulatorStubSettings settings)
protected Builder(SimulatorStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
SimulatorStubSettings |
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 | |
---|---|
Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
SimulatorStubSettings.Builder |
build()
public SimulatorStubSettings build()
Returns | |
---|---|
Type | Description |
SimulatorStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createReplayOperationSettings()
public OperationCallSettings.Builder<CreateReplayRequest,Replay,ReplayOperationMetadata> createReplayOperationSettings()
Returns the builder for the settings used for calls to createReplay.
Returns | |
---|---|
Type | Description |
Builder<CreateReplayRequest,Replay,ReplayOperationMetadata> |
createReplaySettings()
public UnaryCallSettings.Builder<CreateReplayRequest,Operation> createReplaySettings()
Returns the builder for the settings used for calls to createReplay.
Returns | |
---|---|
Type | Description |
Builder<CreateReplayRequest,Operation> |
getReplaySettings()
public UnaryCallSettings.Builder<GetReplayRequest,Replay> getReplaySettings()
Returns the builder for the settings used for calls to getReplay.
Returns | |
---|---|
Type | Description |
Builder<GetReplayRequest,Replay> |
listReplayResultsSettings()
public PagedCallSettings.Builder<ListReplayResultsRequest,ListReplayResultsResponse,SimulatorClient.ListReplayResultsPagedResponse> listReplayResultsSettings()
Returns the builder for the settings used for calls to listReplayResults.
Returns | |
---|---|
Type | Description |
Builder<ListReplayResultsRequest,ListReplayResultsResponse,ListReplayResultsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |