Class GrpcEvaluationServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.EvaluationServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcEvaluationServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcEvaluationServiceStub
extends EvaluationServiceStub
gRPC stub implementation for the EvaluationService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcEvaluationServiceStub(EvaluationServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcEvaluationServiceStub, using the given settings.protectedGrpcEvaluationServiceStub(EvaluationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcEvaluationServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcEvaluationServiceStubcreate(ClientContext clientContext) static final GrpcEvaluationServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcEvaluationServiceStubcreate(EvaluationServiceStubSettings settings) booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcEvaluationServiceStub
protected GrpcEvaluationServiceStub(EvaluationServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcEvaluationServiceStub, 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
-
GrpcEvaluationServiceStub
protected GrpcEvaluationServiceStub(EvaluationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcEvaluationServiceStub, 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 GrpcEvaluationServiceStub create(EvaluationServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcEvaluationServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcEvaluationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classEvaluationServiceStub
-
evaluateInstancesCallable
public UnaryCallable<EvaluateInstancesRequest,EvaluateInstancesResponse> evaluateInstancesCallable()- Overrides:
evaluateInstancesCallablein classEvaluationServiceStub
-
evaluateDatasetCallable
- Overrides:
evaluateDatasetCallablein classEvaluationServiceStub
-
evaluateDatasetOperationCallable
public OperationCallable<EvaluateDatasetRequest,EvaluateDatasetResponse, evaluateDatasetOperationCallable()EvaluateDatasetOperationMetadata> - Overrides:
evaluateDatasetOperationCallablein classEvaluationServiceStub
-
generateInstanceRubricsCallable
public UnaryCallable<GenerateInstanceRubricsRequest,GenerateInstanceRubricsResponse> generateInstanceRubricsCallable()- Overrides:
generateInstanceRubricsCallablein classEvaluationServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classEvaluationServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,EvaluationServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classEvaluationServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classEvaluationServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classEvaluationServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classEvaluationServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classEvaluationServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classEvaluationServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-