Class VizierServiceSettings.Builder (2.9.8)

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

Builder for VizierServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VizierServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(VizierServiceSettings settings)

protected Builder(VizierServiceSettings settings)
Parameter
NameDescription
settingsVizierServiceSettings

Builder(VizierServiceStubSettings.Builder stubSettings)

protected Builder(VizierServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsVizierServiceStubSettings.Builder

Methods

addTrialMeasurementSettings()

public UnaryCallSettings.Builder<AddTrialMeasurementRequest,Trial> addTrialMeasurementSettings()

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

Returns

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

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

build()

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

checkTrialEarlyStoppingStateOperationSettings()

public OperationCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata> checkTrialEarlyStoppingStateOperationSettings()

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

Returns

checkTrialEarlyStoppingStateSettings()

public UnaryCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,Operation> checkTrialEarlyStoppingStateSettings()

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

Returns

completeTrialSettings()

public UnaryCallSettings.Builder<CompleteTrialRequest,Trial> completeTrialSettings()

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

Returns

createStudySettings()

public UnaryCallSettings.Builder<CreateStudyRequest,Study> createStudySettings()

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

Returns

createTrialSettings()

public UnaryCallSettings.Builder<CreateTrialRequest,Trial> createTrialSettings()

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

Returns

deleteStudySettings()

public UnaryCallSettings.Builder<DeleteStudyRequest,Empty> deleteStudySettings()

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

Returns

deleteTrialSettings()

public UnaryCallSettings.Builder<DeleteTrialRequest,Empty> deleteTrialSettings()

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

Returns

getStubSettingsBuilder()

public VizierServiceStubSettings.Builder getStubSettingsBuilder()
Returns

getStudySettings()

public UnaryCallSettings.Builder<GetStudyRequest,Study> getStudySettings()

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

Returns
TypeDescription
Builder<GetStudyRequest,Study>

getTrialSettings()

public UnaryCallSettings.Builder<GetTrialRequest,Trial> getTrialSettings()

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

Returns
TypeDescription
Builder<GetTrialRequest,Trial>

listOptimalTrialsSettings()

public UnaryCallSettings.Builder<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsSettings()

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

Returns

listStudiesSettings()

public PagedCallSettings.Builder<ListStudiesRequest,ListStudiesResponse,VizierServiceClient.ListStudiesPagedResponse> listStudiesSettings()

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

Returns

listTrialsSettings()

public PagedCallSettings.Builder<ListTrialsRequest,ListTrialsResponse,VizierServiceClient.ListTrialsPagedResponse> listTrialsSettings()

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

Returns

lookupStudySettings()

public UnaryCallSettings.Builder<LookupStudyRequest,Study> lookupStudySettings()

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

Returns

stopTrialSettings()

public UnaryCallSettings.Builder<StopTrialRequest,Trial> stopTrialSettings()

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

Returns

suggestTrialsOperationSettings()

public OperationCallSettings.Builder<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata> suggestTrialsOperationSettings()

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

Returns

suggestTrialsSettings()

public UnaryCallSettings.Builder<SuggestTrialsRequest,Operation> suggestTrialsSettings()

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

Returns