Class GrpcReasoningEngineExecutionServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1.stub.ReasoningEngineExecutionServiceStub
com.google.cloud.aiplatform.v1.stub.GrpcReasoningEngineExecutionServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcReasoningEngineExecutionServiceStub
extends ReasoningEngineExecutionServiceStub
gRPC stub implementation for the ReasoningEngineExecutionService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcReasoningEngineExecutionServiceStub(ReasoningEngineExecutionServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcReasoningEngineExecutionServiceStub, using the given settings.protectedGrpcReasoningEngineExecutionServiceStub(ReasoningEngineExecutionServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcReasoningEngineExecutionServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionOperationCallable<AsyncQueryReasoningEngineRequest,AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata> booleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcReasoningEngineExecutionServiceStubcreate(ClientContext clientContext) static final GrpcReasoningEngineExecutionServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcReasoningEngineExecutionServiceStubbooleanbooleanUnaryCallable<ListLocationsRequest,ReasoningEngineExecutionServiceClient.ListLocationsPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcReasoningEngineExecutionServiceStub
protected GrpcReasoningEngineExecutionServiceStub(ReasoningEngineExecutionServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcReasoningEngineExecutionServiceStub, 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
-
GrpcReasoningEngineExecutionServiceStub
protected GrpcReasoningEngineExecutionServiceStub(ReasoningEngineExecutionServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcReasoningEngineExecutionServiceStub, 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 GrpcReasoningEngineExecutionServiceStub create(ReasoningEngineExecutionServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcReasoningEngineExecutionServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcReasoningEngineExecutionServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classReasoningEngineExecutionServiceStub
-
queryReasoningEngineCallable
public UnaryCallable<QueryReasoningEngineRequest,QueryReasoningEngineResponse> queryReasoningEngineCallable()- Overrides:
queryReasoningEngineCallablein classReasoningEngineExecutionServiceStub
-
streamQueryReasoningEngineCallable
public ServerStreamingCallable<StreamQueryReasoningEngineRequest,HttpBody> streamQueryReasoningEngineCallable()- Overrides:
streamQueryReasoningEngineCallablein classReasoningEngineExecutionServiceStub
-
asyncQueryReasoningEngineCallable
public UnaryCallable<AsyncQueryReasoningEngineRequest,Operation> asyncQueryReasoningEngineCallable()- Overrides:
asyncQueryReasoningEngineCallablein classReasoningEngineExecutionServiceStub
-
asyncQueryReasoningEngineOperationCallable
public OperationCallable<AsyncQueryReasoningEngineRequest,AsyncQueryReasoningEngineResponse, asyncQueryReasoningEngineOperationCallable()AsyncQueryReasoningEngineOperationMetadata> - Overrides:
asyncQueryReasoningEngineOperationCallablein classReasoningEngineExecutionServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classReasoningEngineExecutionServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ReasoningEngineExecutionServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classReasoningEngineExecutionServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classReasoningEngineExecutionServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classReasoningEngineExecutionServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classReasoningEngineExecutionServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classReasoningEngineExecutionServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classReasoningEngineExecutionServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-