public static class ExperimentsSettings.Builder extends ClientSettings.Builder<ExperimentsSettings,ExperimentsSettings.Builder>
Builder for ExperimentsSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(ExperimentsSettings settings)
protected Builder(ExperimentsSettings settings)
Builder(ExperimentsStubSettings.Builder stubSettings)
protected Builder(ExperimentsStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ExperimentsSettings.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.
build()
public ExperimentsSettings build()
Overrides
createExperimentSettings()
public UnaryCallSettings.Builder<CreateExperimentRequest,Experiment> createExperimentSettings()
Returns the builder for the settings used for calls to createExperiment.
deleteExperimentSettings()
public UnaryCallSettings.Builder<DeleteExperimentRequest,Empty> deleteExperimentSettings()
Returns the builder for the settings used for calls to deleteExperiment.
getExperimentSettings()
public UnaryCallSettings.Builder<GetExperimentRequest,Experiment> getExperimentSettings()
Returns the builder for the settings used for calls to getExperiment.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public ExperimentsStubSettings.Builder getStubSettingsBuilder()
listExperimentsSettings()
public PagedCallSettings.Builder<ListExperimentsRequest,ListExperimentsResponse,ExperimentsClient.ListExperimentsPagedResponse> listExperimentsSettings()
Returns the builder for the settings used for calls to listExperiments.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ExperimentsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
startExperimentSettings()
public UnaryCallSettings.Builder<StartExperimentRequest,Experiment> startExperimentSettings()
Returns the builder for the settings used for calls to startExperiment.
stopExperimentSettings()
public UnaryCallSettings.Builder<StopExperimentRequest,Experiment> stopExperimentSettings()
Returns the builder for the settings used for calls to stopExperiment.
updateExperimentSettings()
public UnaryCallSettings.Builder<UpdateExperimentRequest,Experiment> updateExperimentSettings()
Returns the builder for the settings used for calls to updateExperiment.