Class VizierServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<VizierServiceSettings,VizierServiceSettings.Builder>
-
- com.google.cloud.aiplatform.v1beta1.VizierServiceSettings.Builder
-
- Enclosing class:
- VizierServiceSettings
public static class VizierServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<VizierServiceSettings,VizierServiceSettings.Builder>
Builder for VizierServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(VizierServiceStubSettings.Builder stubSettings)
protected
Builder(VizierServiceSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AddTrialMeasurementRequest,Trial>
addTrialMeasurementSettings()
Returns the builder for the settings used for calls to addTrialMeasurement.VizierServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.VizierServiceSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata>
checkTrialEarlyStoppingStateOperationSettings()
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,com.google.longrunning.Operation>
checkTrialEarlyStoppingStateSettings()
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.com.google.api.gax.rpc.UnaryCallSettings.Builder<CompleteTrialRequest,Trial>
completeTrialSettings()
Returns the builder for the settings used for calls to completeTrial.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateStudyRequest,Study>
createStudySettings()
Returns the builder for the settings used for calls to createStudy.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTrialRequest,Trial>
createTrialSettings()
Returns the builder for the settings used for calls to createTrial.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteStudyRequest,com.google.protobuf.Empty>
deleteStudySettings()
Returns the builder for the settings used for calls to deleteStudy.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTrialRequest,com.google.protobuf.Empty>
deleteTrialSettings()
Returns the builder for the settings used for calls to deleteTrial.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.VizierServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetStudyRequest,Study>
getStudySettings()
Returns the builder for the settings used for calls to getStudy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTrialRequest,Trial>
getTrialSettings()
Returns the builder for the settings used for calls to getTrial.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,VizierServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListOptimalTrialsRequest,ListOptimalTrialsResponse>
listOptimalTrialsSettings()
Returns the builder for the settings used for calls to listOptimalTrials.com.google.api.gax.rpc.PagedCallSettings.Builder<ListStudiesRequest,ListStudiesResponse,VizierServiceClient.ListStudiesPagedResponse>
listStudiesSettings()
Returns the builder for the settings used for calls to listStudies.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTrialsRequest,ListTrialsResponse,VizierServiceClient.ListTrialsPagedResponse>
listTrialsSettings()
Returns the builder for the settings used for calls to listTrials.com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupStudyRequest,Study>
lookupStudySettings()
Returns the builder for the settings used for calls to lookupStudy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopTrialRequest,Trial>
stopTrialSettings()
Returns the builder for the settings used for calls to stopTrial.com.google.api.gax.rpc.OperationCallSettings.Builder<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata>
suggestTrialsOperationSettings()
Returns the builder for the settings used for calls to suggestTrials.com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestTrialsRequest,com.google.longrunning.Operation>
suggestTrialsSettings()
Returns the builder for the settings used for calls to suggestTrials.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(VizierServiceSettings settings)
-
Builder
protected Builder(VizierServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public VizierServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public VizierServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
createStudySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateStudyRequest,Study> createStudySettings()
Returns the builder for the settings used for calls to createStudy.
-
getStudySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetStudyRequest,Study> getStudySettings()
Returns the builder for the settings used for calls to getStudy.
-
listStudiesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListStudiesRequest,ListStudiesResponse,VizierServiceClient.ListStudiesPagedResponse> listStudiesSettings()
Returns the builder for the settings used for calls to listStudies.
-
deleteStudySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteStudyRequest,com.google.protobuf.Empty> deleteStudySettings()
Returns the builder for the settings used for calls to deleteStudy.
-
lookupStudySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupStudyRequest,Study> lookupStudySettings()
Returns the builder for the settings used for calls to lookupStudy.
-
suggestTrialsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SuggestTrialsRequest,com.google.longrunning.Operation> suggestTrialsSettings()
Returns the builder for the settings used for calls to suggestTrials.
-
suggestTrialsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SuggestTrialsRequest,SuggestTrialsResponse,SuggestTrialsMetadata> suggestTrialsOperationSettings()
Returns the builder for the settings used for calls to suggestTrials.
-
createTrialSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTrialRequest,Trial> createTrialSettings()
Returns the builder for the settings used for calls to createTrial.
-
getTrialSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTrialRequest,Trial> getTrialSettings()
Returns the builder for the settings used for calls to getTrial.
-
listTrialsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTrialsRequest,ListTrialsResponse,VizierServiceClient.ListTrialsPagedResponse> listTrialsSettings()
Returns the builder for the settings used for calls to listTrials.
-
addTrialMeasurementSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddTrialMeasurementRequest,Trial> addTrialMeasurementSettings()
Returns the builder for the settings used for calls to addTrialMeasurement.
-
completeTrialSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CompleteTrialRequest,Trial> completeTrialSettings()
Returns the builder for the settings used for calls to completeTrial.
-
deleteTrialSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTrialRequest,com.google.protobuf.Empty> deleteTrialSettings()
Returns the builder for the settings used for calls to deleteTrial.
-
checkTrialEarlyStoppingStateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,com.google.longrunning.Operation> checkTrialEarlyStoppingStateSettings()
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.
-
checkTrialEarlyStoppingStateOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse,CheckTrialEarlyStoppingStateMetatdata> checkTrialEarlyStoppingStateOperationSettings()
Returns the builder for the settings used for calls to checkTrialEarlyStoppingState.
-
stopTrialSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopTrialRequest,Trial> stopTrialSettings()
Returns the builder for the settings used for calls to stopTrial.
-
listOptimalTrialsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsSettings()
Returns the builder for the settings used for calls to listOptimalTrials.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,VizierServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public VizierServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<VizierServiceSettings,VizierServiceSettings.Builder>
- Throws:
IOException
-
-