Class GrpcVertexRagDataServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1.stub.VertexRagDataServiceStub
com.google.cloud.aiplatform.v1.stub.GrpcVertexRagDataServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcVertexRagDataServiceStub
extends VertexRagDataServiceStub
gRPC stub implementation for the VertexRagDataService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcVertexRagDataServiceStub, using the given settings.protectedGrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcVertexRagDataServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcVertexRagDataServiceStubcreate(ClientContext clientContext) static final GrpcVertexRagDataServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcVertexRagDataServiceStubcreate(VertexRagDataServiceStubSettings settings) OperationCallable<DeleteRagCorpusRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteRagFileRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanvoidshutdown()voidOperationCallable<UpdateRagEngineConfigRequest,RagEngineConfig, UpdateRagEngineConfigOperationMetadata>
-
Constructor Details
-
GrpcVertexRagDataServiceStub
protected GrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcVertexRagDataServiceStub, 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
-
GrpcVertexRagDataServiceStub
protected GrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcVertexRagDataServiceStub, 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 GrpcVertexRagDataServiceStub create(VertexRagDataServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcVertexRagDataServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcVertexRagDataServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classVertexRagDataServiceStub
-
createRagCorpusCallable
- Overrides:
createRagCorpusCallablein classVertexRagDataServiceStub
-
createRagCorpusOperationCallable
public OperationCallable<CreateRagCorpusRequest,RagCorpus, createRagCorpusOperationCallable()CreateRagCorpusOperationMetadata> - Overrides:
createRagCorpusOperationCallablein classVertexRagDataServiceStub
-
updateRagCorpusCallable
- Overrides:
updateRagCorpusCallablein classVertexRagDataServiceStub
-
updateRagCorpusOperationCallable
public OperationCallable<UpdateRagCorpusRequest,RagCorpus, updateRagCorpusOperationCallable()UpdateRagCorpusOperationMetadata> - Overrides:
updateRagCorpusOperationCallablein classVertexRagDataServiceStub
-
getRagCorpusCallable
- Overrides:
getRagCorpusCallablein classVertexRagDataServiceStub
-
listRagCorporaCallable
- Overrides:
listRagCorporaCallablein classVertexRagDataServiceStub
-
listRagCorporaPagedCallable
public UnaryCallable<ListRagCorporaRequest,VertexRagDataServiceClient.ListRagCorporaPagedResponse> listRagCorporaPagedCallable()- Overrides:
listRagCorporaPagedCallablein classVertexRagDataServiceStub
-
deleteRagCorpusCallable
- Overrides:
deleteRagCorpusCallablein classVertexRagDataServiceStub
-
deleteRagCorpusOperationCallable
public OperationCallable<DeleteRagCorpusRequest,com.google.protobuf.Empty, deleteRagCorpusOperationCallable()DeleteOperationMetadata> - Overrides:
deleteRagCorpusOperationCallablein classVertexRagDataServiceStub
-
uploadRagFileCallable
- Overrides:
uploadRagFileCallablein classVertexRagDataServiceStub
-
importRagFilesCallable
- Overrides:
importRagFilesCallablein classVertexRagDataServiceStub
-
importRagFilesOperationCallable
public OperationCallable<ImportRagFilesRequest,ImportRagFilesResponse, importRagFilesOperationCallable()ImportRagFilesOperationMetadata> - Overrides:
importRagFilesOperationCallablein classVertexRagDataServiceStub
-
getRagFileCallable
- Overrides:
getRagFileCallablein classVertexRagDataServiceStub
-
listRagFilesCallable
- Overrides:
listRagFilesCallablein classVertexRagDataServiceStub
-
listRagFilesPagedCallable
public UnaryCallable<ListRagFilesRequest,VertexRagDataServiceClient.ListRagFilesPagedResponse> listRagFilesPagedCallable()- Overrides:
listRagFilesPagedCallablein classVertexRagDataServiceStub
-
deleteRagFileCallable
- Overrides:
deleteRagFileCallablein classVertexRagDataServiceStub
-
deleteRagFileOperationCallable
public OperationCallable<DeleteRagFileRequest,com.google.protobuf.Empty, deleteRagFileOperationCallable()DeleteOperationMetadata> - Overrides:
deleteRagFileOperationCallablein classVertexRagDataServiceStub
-
updateRagEngineConfigCallable
- Overrides:
updateRagEngineConfigCallablein classVertexRagDataServiceStub
-
updateRagEngineConfigOperationCallable
public OperationCallable<UpdateRagEngineConfigRequest,RagEngineConfig, updateRagEngineConfigOperationCallable()UpdateRagEngineConfigOperationMetadata> - Overrides:
updateRagEngineConfigOperationCallablein classVertexRagDataServiceStub
-
getRagEngineConfigCallable
- Overrides:
getRagEngineConfigCallablein classVertexRagDataServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classVertexRagDataServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,VertexRagDataServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classVertexRagDataServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classVertexRagDataServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classVertexRagDataServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classVertexRagDataServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classVertexRagDataServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classVertexRagDataServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-