Class GrpcVertexRagServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1.stub.VertexRagServiceStub
com.google.cloud.aiplatform.v1.stub.GrpcVertexRagServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcVertexRagServiceStub
extends VertexRagServiceStub
gRPC stub implementation for the VertexRagService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcVertexRagServiceStub(VertexRagServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcVertexRagServiceStub, using the given settings.protectedGrpcVertexRagServiceStub(VertexRagServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcVertexRagServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionOperationCallable<AsyncRetrieveContextsRequest,AsyncRetrieveContextsResponse, AsyncRetrieveContextsOperationMetadata> booleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcVertexRagServiceStubcreate(ClientContext clientContext) static final GrpcVertexRagServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcVertexRagServiceStubcreate(VertexRagServiceStubSettings settings) booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcVertexRagServiceStub
protected GrpcVertexRagServiceStub(VertexRagServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcVertexRagServiceStub, 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
-
GrpcVertexRagServiceStub
protected GrpcVertexRagServiceStub(VertexRagServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcVertexRagServiceStub, 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 GrpcVertexRagServiceStub create(VertexRagServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcVertexRagServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classVertexRagServiceStub
-
retrieveContextsCallable
- Overrides:
retrieveContextsCallablein classVertexRagServiceStub
-
augmentPromptCallable
- Overrides:
augmentPromptCallablein classVertexRagServiceStub
-
corroborateContentCallable
public UnaryCallable<CorroborateContentRequest,CorroborateContentResponse> corroborateContentCallable()- Overrides:
corroborateContentCallablein classVertexRagServiceStub
-
askContextsCallable
- Overrides:
askContextsCallablein classVertexRagServiceStub
-
asyncRetrieveContextsCallable
- Overrides:
asyncRetrieveContextsCallablein classVertexRagServiceStub
-
asyncRetrieveContextsOperationCallable
public OperationCallable<AsyncRetrieveContextsRequest,AsyncRetrieveContextsResponse, asyncRetrieveContextsOperationCallable()AsyncRetrieveContextsOperationMetadata> - Overrides:
asyncRetrieveContextsOperationCallablein classVertexRagServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classVertexRagServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,VertexRagServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classVertexRagServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classVertexRagServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classVertexRagServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classVertexRagServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classVertexRagServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classVertexRagServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-