public static class SimulatorSettings.Builder extends ClientSettings.Builder<SimulatorSettings,SimulatorSettings.Builder>
Builder for SimulatorSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(SimulatorSettings settings)
protected Builder(SimulatorSettings settings)
Parameter | |
---|---|
Name | Description |
settings | SimulatorSettings |
Builder(SimulatorStubSettings.Builder stubSettings)
protected Builder(SimulatorStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings | SimulatorStubSettings.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 | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
SimulatorSettings.Builder |
build()
public SimulatorSettings build()
Returns | |
---|---|
Type | Description |
SimulatorSettings |
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> |
getStubSettingsBuilder()
public SimulatorStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
SimulatorStubSettings.Builder |
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> |