Class ExperimentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ExperimentsSettings,ExperimentsSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3.ExperimentsSettings.Builder
-
- Enclosing class:
- ExperimentsSettings
public static class ExperimentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ExperimentsSettings,ExperimentsSettings.Builder>
Builder for ExperimentsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ExperimentsSettings settings)
protected
Builder(ExperimentsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimentsSettings.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.ExperimentsSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExperimentRequest,Experiment>
createExperimentSettings()
Returns the builder for the settings used for calls to createExperiment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExperimentRequest,com.google.protobuf.Empty>
deleteExperimentSettings()
Returns the builder for the settings used for calls to deleteExperiment.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExperimentRequest,Experiment>
getExperimentSettings()
Returns the builder for the settings used for calls to getExperiment.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.ExperimentsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListExperimentsRequest,ListExperimentsResponse,ExperimentsClient.ListExperimentsPagedResponse>
listExperimentsSettings()
Returns the builder for the settings used for calls to listExperiments.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ExperimentsClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartExperimentRequest,Experiment>
startExperimentSettings()
Returns the builder for the settings used for calls to startExperiment.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopExperimentRequest,Experiment>
stopExperimentSettings()
Returns the builder for the settings used for calls to stopExperiment.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExperimentRequest,Experiment>
updateExperimentSettings()
Returns the builder for the settings used for calls to updateExperiment.-
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(ExperimentsSettings settings)
-
Builder
protected Builder(ExperimentsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ExperimentsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ExperimentsSettings.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.
-
listExperimentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListExperimentsRequest,ListExperimentsResponse,ExperimentsClient.ListExperimentsPagedResponse> listExperimentsSettings()
Returns the builder for the settings used for calls to listExperiments.
-
getExperimentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExperimentRequest,Experiment> getExperimentSettings()
Returns the builder for the settings used for calls to getExperiment.
-
createExperimentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExperimentRequest,Experiment> createExperimentSettings()
Returns the builder for the settings used for calls to createExperiment.
-
updateExperimentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExperimentRequest,Experiment> updateExperimentSettings()
Returns the builder for the settings used for calls to updateExperiment.
-
deleteExperimentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExperimentRequest,com.google.protobuf.Empty> deleteExperimentSettings()
Returns the builder for the settings used for calls to deleteExperiment.
-
startExperimentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartExperimentRequest,Experiment> startExperimentSettings()
Returns the builder for the settings used for calls to startExperiment.
-
stopExperimentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopExperimentRequest,Experiment> stopExperimentSettings()
Returns the builder for the settings used for calls to stopExperiment.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ExperimentsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public ExperimentsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ExperimentsSettings,ExperimentsSettings.Builder>
- Throws:
IOException
-
-