Class VizierServiceStubSettings.Builder (2.7.4)

public static class VizierServiceStubSettings.Builder extends StubSettings.Builder<VizierServiceStubSettings,VizierServiceStubSettings.Builder>

Builder for VizierServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VizierServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(VizierServiceStubSettings settings)

protected Builder(VizierServiceStubSettings settings)
Parameter
NameDescription
settingsVizierServiceStubSettings

Methods

addTrialMeasurementSettings()

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

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

Returns
TypeDescription
Builder<AddTrialMeasurementRequest,Trial>

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

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
VizierServiceStubSettings.Builder

build()

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

checkTrialEarlyStoppingStateOperationSettings()

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

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

Returns
TypeDescription
Builder<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata>

checkTrialEarlyStoppingStateSettings()

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

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

Returns
TypeDescription
Builder<CheckTrialEarlyStoppingStateRequest,Operation>

completeTrialSettings()

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

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

Returns
TypeDescription
Builder<CompleteTrialRequest,Trial>

createStudySettings()

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

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

Returns
TypeDescription
Builder<CreateStudyRequest,Study>

createTrialSettings()

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

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

Returns
TypeDescription
Builder<CreateTrialRequest,Trial>

deleteStudySettings()

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

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

Returns
TypeDescription
Builder<DeleteStudyRequest,Empty>

deleteTrialSettings()

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

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

Returns
TypeDescription
Builder<DeleteTrialRequest,Empty>

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
TypeDescription
Builder<ListOptimalTrialsRequest,ListOptimalTrialsResponse>

listStudiesSettings()

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

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

Returns
TypeDescription
Builder<ListStudiesRequest,ListStudiesResponse,ListStudiesPagedResponse>

listTrialsSettings()

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

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

Returns
TypeDescription
Builder<ListTrialsRequest,ListTrialsResponse,ListTrialsPagedResponse>

lookupStudySettings()

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

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

Returns
TypeDescription
Builder<LookupStudyRequest,Study>

stopTrialSettings()

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

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

Returns
TypeDescription
Builder<StopTrialRequest,Trial>

suggestTrialsOperationSettings()

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

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

Returns
TypeDescription
Builder<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata>

suggestTrialsSettings()

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

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

Returns
TypeDescription
Builder<SuggestTrialsRequest,Operation>

unaryMethodSettingsBuilders()

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