Class VizierServiceStubSettings.Builder (3.43.0)

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
Name Description
clientContext ClientContext

Builder(VizierServiceStubSettings settings)

protected Builder(VizierServiceStubSettings settings)
Parameter
Name Description
settings VizierServiceStubSettings

Methods

addTrialMeasurementSettings()

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

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

Returns
Type Description
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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
VizierServiceStubSettings.Builder

build()

public VizierServiceStubSettings build()
Returns
Type Description
VizierServiceStubSettings
Overrides
Exceptions
Type Description
IOException

checkTrialEarlyStoppingStateOperationSettings()

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

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

Returns
Type Description
Builder<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata>

checkTrialEarlyStoppingStateSettings()

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

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

Returns
Type Description
Builder<CheckTrialEarlyStoppingStateRequest,Operation>

completeTrialSettings()

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

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

Returns
Type Description
Builder<CompleteTrialRequest,Trial>

createStudySettings()

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

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

Returns
Type Description
Builder<CreateStudyRequest,Study>

createTrialSettings()

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

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

Returns
Type Description
Builder<CreateTrialRequest,Trial>

deleteStudySettings()

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

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

Returns
Type Description
Builder<DeleteStudyRequest,Empty>

deleteTrialSettings()

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

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

Returns
Type Description
Builder<DeleteTrialRequest,Empty>

getIamPolicySettings()

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

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

Returns
Type Description
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
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStudySettings()

public UnaryCallSettings.Builder<GetStudyRequest,Study> getStudySettings()

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

Returns
Type Description
Builder<GetStudyRequest,Study>

getTrialSettings()

public UnaryCallSettings.Builder<GetTrialRequest,Trial> getTrialSettings()

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

Returns
Type Description
Builder<GetTrialRequest,Trial>

listLocationsSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListOptimalTrialsRequest,ListOptimalTrialsResponse>

listStudiesSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListTrialsRequest,ListTrialsResponse,ListTrialsPagedResponse>

lookupStudySettings()

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

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

Returns
Type Description
Builder<LookupStudyRequest,Study>

setIamPolicySettings()

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

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

Returns
Type Description
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
Type Description
Builder<StopTrialRequest,Trial>

suggestTrialsOperationSettings()

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

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

Returns
Type Description
Builder<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata>

suggestTrialsSettings()

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

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

Returns
Type Description
Builder<SuggestTrialsRequest,Operation>

testIamPermissionsSettings()

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

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

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

unaryMethodSettingsBuilders()

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