Class ExperimentsSettings.Builder (0.14.2)

public static class ExperimentsSettings.Builder extends ClientSettings.Builder<ExperimentsSettings,ExperimentsSettings.Builder>

Builder for ExperimentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ExperimentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ExperimentsSettings settings)

protected Builder(ExperimentsSettings settings)
Parameter
NameDescription
settingsExperimentsSettings

Builder(ExperimentsStubSettings.Builder stubSettings)

protected Builder(ExperimentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsExperimentsStubSettings.Builder

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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ExperimentsSettings.Builder

build()

public ExperimentsSettings build()
Returns
TypeDescription
ExperimentsSettings
Overrides Exceptions
TypeDescription
IOException

createExperimentSettings()

public UnaryCallSettings.Builder<CreateExperimentRequest,Experiment> createExperimentSettings()

Returns the builder for the settings used for calls to createExperiment.

Returns
TypeDescription
Builder<CreateExperimentRequest,Experiment>

deleteExperimentSettings()

public UnaryCallSettings.Builder<DeleteExperimentRequest,Empty> deleteExperimentSettings()

Returns the builder for the settings used for calls to deleteExperiment.

Returns
TypeDescription
Builder<DeleteExperimentRequest,Empty>

getExperimentSettings()

public UnaryCallSettings.Builder<GetExperimentRequest,Experiment> getExperimentSettings()

Returns the builder for the settings used for calls to getExperiment.

Returns
TypeDescription
Builder<GetExperimentRequest,Experiment>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public ExperimentsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ExperimentsStubSettings.Builder

listExperimentsSettings()

public PagedCallSettings.Builder<ListExperimentsRequest,ListExperimentsResponse,ExperimentsClient.ListExperimentsPagedResponse> listExperimentsSettings()

Returns the builder for the settings used for calls to listExperiments.

Returns
TypeDescription
Builder<ListExperimentsRequest,ListExperimentsResponse,ListExperimentsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ExperimentsClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

startExperimentSettings()

public UnaryCallSettings.Builder<StartExperimentRequest,Experiment> startExperimentSettings()

Returns the builder for the settings used for calls to startExperiment.

Returns
TypeDescription
Builder<StartExperimentRequest,Experiment>

stopExperimentSettings()

public UnaryCallSettings.Builder<StopExperimentRequest,Experiment> stopExperimentSettings()

Returns the builder for the settings used for calls to stopExperiment.

Returns
TypeDescription
Builder<StopExperimentRequest,Experiment>

updateExperimentSettings()

public UnaryCallSettings.Builder<UpdateExperimentRequest,Experiment> updateExperimentSettings()

Returns the builder for the settings used for calls to updateExperiment.

Returns
TypeDescription
Builder<UpdateExperimentRequest,Experiment>