Class ExperimentsStubSettings.Builder (0.18.0)

See more code actions.
public static class ExperimentsStubSettings.Builder extends StubSettings.Builder<ExperimentsStubSettings,ExperimentsStubSettings.Builder>

Builder for ExperimentsStubSettings.

java.lang.Object > StubSettings.Builder > ExperimentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ExperimentsStubSettings settings)

protected Builder(ExperimentsStubSettings settings)
Parameter
Name Description
settings ExperimentsStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ExperimentsStubSettings.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

build()

public ExperimentsStubSettings build()
Returns
Type Description
ExperimentsStubSettings
Overrides Exceptions
Type Description
IOException

createExperimentSettings()

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

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

Returns

deleteExperimentSettings()

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

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

Returns

getExperimentSettings()

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

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

Returns

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>

listExperimentsSettings()

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

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

Returns

listLocationsSettings()

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

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

Returns
Type Description
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

stopExperimentSettings()

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

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

Returns

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateExperimentSettings()

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

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

Returns