public static class VizierServiceStubSettings.Builder extends StubSettings.Builder<VizierServiceStubSettings,VizierServiceStubSettings.Builder>
Builder for VizierServiceStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(VizierServiceStubSettings settings)
Methods
public UnaryCallSettings.Builder<AddTrialMeasurementRequest,Trial> addTrialMeasurementSettings()
Returns the builder for the settings used for calls to addTrialMeasurement.
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.
public VizierServiceStubSettings build()
Overrides
public OperationCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata> checkTrialEarlyStoppingStateOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.
public UnaryCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,Operation> checkTrialEarlyStoppingStateSettings()
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.
public UnaryCallSettings.Builder<CompleteTrialRequest,Trial> completeTrialSettings()
Returns the builder for the settings used for calls to completeTrial.
public UnaryCallSettings.Builder<CreateStudyRequest,Study> createStudySettings()
Returns the builder for the settings used for calls to createStudy.
public UnaryCallSettings.Builder<CreateTrialRequest,Trial> createTrialSettings()
Returns the builder for the settings used for calls to createTrial.
public UnaryCallSettings.Builder<DeleteStudyRequest,Empty> deleteStudySettings()
Returns the builder for the settings used for calls to deleteStudy.
public UnaryCallSettings.Builder<DeleteTrialRequest,Empty> deleteTrialSettings()
Returns the builder for the settings used for calls to deleteTrial.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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 >
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 >
public UnaryCallSettings.Builder<GetStudyRequest,Study> getStudySettings()
Returns the builder for the settings used for calls to getStudy.
public UnaryCallSettings.Builder<GetTrialRequest,Trial> getTrialSettings()
Returns the builder for the settings used for calls to getTrial.
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,VizierServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public UnaryCallSettings.Builder<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsSettings()
Returns the builder for the settings used for calls to listOptimalTrials.
public PagedCallSettings.Builder<ListStudiesRequest,ListStudiesResponse,VizierServiceClient.ListStudiesPagedResponse> listStudiesSettings()
Returns the builder for the settings used for calls to listStudies.
public PagedCallSettings.Builder<ListTrialsRequest,ListTrialsResponse,VizierServiceClient.ListTrialsPagedResponse> listTrialsSettings()
Returns the builder for the settings used for calls to listTrials.
public UnaryCallSettings.Builder<LookupStudyRequest,Study> lookupStudySettings()
Returns the builder for the settings used for calls to lookupStudy.
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 >
public UnaryCallSettings.Builder<StopTrialRequest,Trial> stopTrialSettings()
Returns the builder for the settings used for calls to stopTrial.
public OperationCallSettings.Builder<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata> suggestTrialsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to suggestTrials.
public UnaryCallSettings.Builder<SuggestTrialsRequest,Operation> suggestTrialsSettings()
Returns the builder for the settings used for calls to suggestTrials.
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 >
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>