Class VizierServiceSettings.Builder (3.13.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

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

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

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

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

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

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

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>