Class VizierServiceSettings.Builder (3.14.0)

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
TypeDescription
Builder<AddTrialMeasurementRequest,Trial>

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
TypeDescription
VizierServiceSettings.Builder

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
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>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public VizierServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
VizierServiceStubSettings.Builder

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>

listLocationsSettings()

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

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

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>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

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>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>