public static class VizierServiceStubSettings.Builder extends StubSettings.Builder<VizierServiceStubSettings,VizierServiceStubSettings.Builder>
Builder for VizierServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
protected Builder(VizierServiceStubSettings settings)
Parameter
Methods
public UnaryCallSettings.Builder<AddTrialMeasurementRequest,Trial> addTrialMeasurementSettings()
Returns the builder for the settings used for calls to addTrialMeasurement.
Returns
public VizierServiceStubSettings.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 VizierServiceStubSettings 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 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
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |