Class VizierServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<VizierServiceStubSettings,VizierServiceStubSettings.Builder>
-
- com.google.cloud.aiplatform.v1.stub.VizierServiceStubSettings.Builder
-
- Enclosing class:
- VizierServiceStubSettings
public static class VizierServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<VizierServiceStubSettings,VizierServiceStubSettings.Builder>
Builder for VizierServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(VizierServiceStubSettings 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.VizierServiceStubSettings.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.VizierServiceStubSettings
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.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(VizierServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public VizierServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 VizierServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<VizierServiceStubSettings,VizierServiceStubSettings.Builder>
- Throws:
IOException
-
-