Class SimulatorSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<SimulatorSettings,SimulatorSettings.Builder>
-
- com.google.cloud.policysimulator.v1.SimulatorSettings.Builder
-
- Enclosing class:
- SimulatorSettings
public static class SimulatorSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SimulatorSettings,SimulatorSettings.Builder>
Builder for SimulatorSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(SimulatorSettings settings)
protected
Builder(SimulatorStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimulatorSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.SimulatorSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateReplayRequest,Replay,ReplayOperationMetadata>
createReplayOperationSettings()
Returns the builder for the settings used for calls to createReplay.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReplayRequest,com.google.longrunning.Operation>
createReplaySettings()
Returns the builder for the settings used for calls to createReplay.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReplayRequest,Replay>
getReplaySettings()
Returns the builder for the settings used for calls to getReplay.SimulatorStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListReplayResultsRequest,ListReplayResultsResponse,SimulatorClient.ListReplayResultsPagedResponse>
listReplayResultsSettings()
Returns the builder for the settings used for calls to listReplayResults.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(SimulatorSettings settings)
-
Builder
protected Builder(SimulatorStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public SimulatorStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public SimulatorSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
getReplaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetReplayRequest,Replay> getReplaySettings()
Returns the builder for the settings used for calls to getReplay.
-
createReplaySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateReplayRequest,com.google.longrunning.Operation> createReplaySettings()
Returns the builder for the settings used for calls to createReplay.
-
createReplayOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateReplayRequest,Replay,ReplayOperationMetadata> createReplayOperationSettings()
Returns the builder for the settings used for calls to createReplay.
-
listReplayResultsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListReplayResultsRequest,ListReplayResultsResponse,SimulatorClient.ListReplayResultsPagedResponse> listReplayResultsSettings()
Returns the builder for the settings used for calls to listReplayResults.
-
build
public SimulatorSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<SimulatorSettings,SimulatorSettings.Builder>
- Throws:
IOException
-
-