public static class VizierServiceSettings.Builder extends ClientSettings.Builder<VizierServiceSettings,VizierServiceSettings.Builder>
Builder for VizierServiceSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
protected Builder(VizierServiceSettings settings)
Parameter
protected Builder(VizierServiceStubSettings.Builder stubSettings)
Parameter
Methods
public UnaryCallSettings.Builder<AddTrialMeasurementRequest,Trial> addTrialMeasurementSettings()
Returns the builder for the settings used for calls to addTrialMeasurement.
Returns
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
Returns
public VizierServiceSettings build()
Returns
Overrides
Exceptions
public OperationCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata> checkTrialEarlyStoppingStateOperationSettings()
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.
Returns
public UnaryCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,Operation> checkTrialEarlyStoppingStateSettings()
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.
Returns
public UnaryCallSettings.Builder<CompleteTrialRequest,Trial> completeTrialSettings()
Returns the builder for the settings used for calls to completeTrial.
Returns
public UnaryCallSettings.Builder<CreateStudyRequest,Study> createStudySettings()
Returns the builder for the settings used for calls to createStudy.
Returns
public UnaryCallSettings.Builder<CreateTrialRequest,Trial> createTrialSettings()
Returns the builder for the settings used for calls to createTrial.
Returns
public UnaryCallSettings.Builder<DeleteStudyRequest,Empty> deleteStudySettings()
Returns the builder for the settings used for calls to deleteStudy.
Returns
public UnaryCallSettings.Builder<DeleteTrialRequest,Empty> deleteTrialSettings()
Returns the builder for the settings used for calls to deleteTrial.
Returns
public VizierServiceStubSettings.Builder getStubSettingsBuilder()
Returns
public UnaryCallSettings.Builder<GetStudyRequest,Study> getStudySettings()
Returns the builder for the settings used for calls to getStudy.
Returns
public UnaryCallSettings.Builder<GetTrialRequest,Trial> getTrialSettings()
Returns the builder for the settings used for calls to getTrial.
Returns
public UnaryCallSettings.Builder<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsSettings()
Returns the builder for the settings used for calls to listOptimalTrials.
Returns
public PagedCallSettings.Builder<ListStudiesRequest,ListStudiesResponse,VizierServiceClient.ListStudiesPagedResponse> listStudiesSettings()
Returns the builder for the settings used for calls to listStudies.
Returns
public PagedCallSettings.Builder<ListTrialsRequest,ListTrialsResponse,VizierServiceClient.ListTrialsPagedResponse> listTrialsSettings()
Returns the builder for the settings used for calls to listTrials.
Returns
public UnaryCallSettings.Builder<LookupStudyRequest,Study> lookupStudySettings()
Returns the builder for the settings used for calls to lookupStudy.
Returns
public UnaryCallSettings.Builder<StopTrialRequest,Trial> stopTrialSettings()
Returns the builder for the settings used for calls to stopTrial.
Returns
public OperationCallSettings.Builder<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata> suggestTrialsOperationSettings()
Returns the builder for the settings used for calls to suggestTrials.
Returns
public UnaryCallSettings.Builder<SuggestTrialsRequest,Operation> suggestTrialsSettings()
Returns the builder for the settings used for calls to suggestTrials.
Returns