Class GrpcVizierServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1.stub.VizierServiceStub
com.google.cloud.aiplatform.v1.stub.GrpcVizierServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the VizierService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcVizierServiceStub, using the given settings.protectedGrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcVizierServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) OperationCallable<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse, CheckTrialEarlyStoppingStateMetatdata> final voidclose()static final GrpcVizierServiceStubcreate(ClientContext clientContext) static final GrpcVizierServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcVizierServiceStubcreate(VizierServiceStubSettings settings) UnaryCallable<DeleteStudyRequest,com.google.protobuf.Empty> UnaryCallable<DeleteTrialRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcVizierServiceStub
protected GrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcVizierServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcVizierServiceStub
protected GrpcVizierServiceStub(VizierServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcVizierServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcVizierServiceStub create(VizierServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcVizierServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classVizierServiceStub
-
createStudyCallable
- Overrides:
createStudyCallablein classVizierServiceStub
-
getStudyCallable
- Overrides:
getStudyCallablein classVizierServiceStub
-
listStudiesCallable
- Overrides:
listStudiesCallablein classVizierServiceStub
-
listStudiesPagedCallable
public UnaryCallable<ListStudiesRequest,VizierServiceClient.ListStudiesPagedResponse> listStudiesPagedCallable()- Overrides:
listStudiesPagedCallablein classVizierServiceStub
-
deleteStudyCallable
- Overrides:
deleteStudyCallablein classVizierServiceStub
-
lookupStudyCallable
- Overrides:
lookupStudyCallablein classVizierServiceStub
-
suggestTrialsCallable
- Overrides:
suggestTrialsCallablein classVizierServiceStub
-
suggestTrialsOperationCallable
public OperationCallable<SuggestTrialsRequest,SuggestTrialsResponse, suggestTrialsOperationCallable()SuggestTrialsMetadata> - Overrides:
suggestTrialsOperationCallablein classVizierServiceStub
-
createTrialCallable
- Overrides:
createTrialCallablein classVizierServiceStub
-
getTrialCallable
- Overrides:
getTrialCallablein classVizierServiceStub
-
listTrialsCallable
- Overrides:
listTrialsCallablein classVizierServiceStub
-
listTrialsPagedCallable
public UnaryCallable<ListTrialsRequest,VizierServiceClient.ListTrialsPagedResponse> listTrialsPagedCallable()- Overrides:
listTrialsPagedCallablein classVizierServiceStub
-
addTrialMeasurementCallable
- Overrides:
addTrialMeasurementCallablein classVizierServiceStub
-
completeTrialCallable
- Overrides:
completeTrialCallablein classVizierServiceStub
-
deleteTrialCallable
- Overrides:
deleteTrialCallablein classVizierServiceStub
-
checkTrialEarlyStoppingStateCallable
public UnaryCallable<CheckTrialEarlyStoppingStateRequest,Operation> checkTrialEarlyStoppingStateCallable()- Overrides:
checkTrialEarlyStoppingStateCallablein classVizierServiceStub
-
checkTrialEarlyStoppingStateOperationCallable
public OperationCallable<CheckTrialEarlyStoppingStateRequest,CheckTrialEarlyStoppingStateResponse, checkTrialEarlyStoppingStateOperationCallable()CheckTrialEarlyStoppingStateMetatdata> - Overrides:
checkTrialEarlyStoppingStateOperationCallablein classVizierServiceStub
-
stopTrialCallable
- Overrides:
stopTrialCallablein classVizierServiceStub
-
listOptimalTrialsCallable
public UnaryCallable<ListOptimalTrialsRequest,ListOptimalTrialsResponse> listOptimalTrialsCallable()- Overrides:
listOptimalTrialsCallablein classVizierServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classVizierServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,VizierServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classVizierServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classVizierServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classVizierServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classVizierServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classVizierServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classVizierServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-