Class GrpcVertexRagDataServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.VertexRagDataServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcVertexRagDataServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@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) OperationCallable<BatchCreateRagDataSchemasRequest,BatchCreateRagDataSchemasResponse, BatchCreateRagDataSchemasOperationMetadata> OperationCallable<BatchCreateRagMetadataRequest,BatchCreateRagMetadataResponse, BatchCreateRagMetadataOperationMetadata> OperationCallable<BatchDeleteRagDataSchemasRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<BatchDeleteRagMetadataRequest,com.google.protobuf.Empty, DeleteOperationMetadata> 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> UnaryCallable<DeleteRagDataSchemaRequest,com.google.protobuf.Empty> OperationCallable<DeleteRagFileRequest,com.google.protobuf.Empty, DeleteOperationMetadata> UnaryCallable<DeleteRagMetadataRequest,com.google.protobuf.Empty> 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
-
createRagDataSchemaCallable
- Overrides:
createRagDataSchemaCallablein classVertexRagDataServiceStub
-
batchCreateRagDataSchemasCallable
public UnaryCallable<BatchCreateRagDataSchemasRequest,Operation> batchCreateRagDataSchemasCallable()- Overrides:
batchCreateRagDataSchemasCallablein classVertexRagDataServiceStub
-
batchCreateRagDataSchemasOperationCallable
public OperationCallable<BatchCreateRagDataSchemasRequest,BatchCreateRagDataSchemasResponse, batchCreateRagDataSchemasOperationCallable()BatchCreateRagDataSchemasOperationMetadata> - Overrides:
batchCreateRagDataSchemasOperationCallablein classVertexRagDataServiceStub
-
getRagDataSchemaCallable
- Overrides:
getRagDataSchemaCallablein classVertexRagDataServiceStub
-
listRagDataSchemasCallable
public UnaryCallable<ListRagDataSchemasRequest,ListRagDataSchemasResponse> listRagDataSchemasCallable()- Overrides:
listRagDataSchemasCallablein classVertexRagDataServiceStub
-
listRagDataSchemasPagedCallable
public UnaryCallable<ListRagDataSchemasRequest,VertexRagDataServiceClient.ListRagDataSchemasPagedResponse> listRagDataSchemasPagedCallable()- Overrides:
listRagDataSchemasPagedCallablein classVertexRagDataServiceStub
-
deleteRagDataSchemaCallable
public UnaryCallable<DeleteRagDataSchemaRequest,com.google.protobuf.Empty> deleteRagDataSchemaCallable()- Overrides:
deleteRagDataSchemaCallablein classVertexRagDataServiceStub
-
batchDeleteRagDataSchemasCallable
public UnaryCallable<BatchDeleteRagDataSchemasRequest,Operation> batchDeleteRagDataSchemasCallable()- Overrides:
batchDeleteRagDataSchemasCallablein classVertexRagDataServiceStub
-
batchDeleteRagDataSchemasOperationCallable
public OperationCallable<BatchDeleteRagDataSchemasRequest,com.google.protobuf.Empty, batchDeleteRagDataSchemasOperationCallable()DeleteOperationMetadata> - Overrides:
batchDeleteRagDataSchemasOperationCallablein classVertexRagDataServiceStub
-
createRagMetadataCallable
- Overrides:
createRagMetadataCallablein classVertexRagDataServiceStub
-
batchCreateRagMetadataCallable
- Overrides:
batchCreateRagMetadataCallablein classVertexRagDataServiceStub
-
batchCreateRagMetadataOperationCallable
public OperationCallable<BatchCreateRagMetadataRequest,BatchCreateRagMetadataResponse, batchCreateRagMetadataOperationCallable()BatchCreateRagMetadataOperationMetadata> - Overrides:
batchCreateRagMetadataOperationCallablein classVertexRagDataServiceStub
-
updateRagMetadataCallable
- Overrides:
updateRagMetadataCallablein classVertexRagDataServiceStub
-
getRagMetadataCallable
- Overrides:
getRagMetadataCallablein classVertexRagDataServiceStub
-
listRagMetadataCallable
- Overrides:
listRagMetadataCallablein classVertexRagDataServiceStub
-
listRagMetadataPagedCallable
public UnaryCallable<ListRagMetadataRequest,VertexRagDataServiceClient.ListRagMetadataPagedResponse> listRagMetadataPagedCallable()- Overrides:
listRagMetadataPagedCallablein classVertexRagDataServiceStub
-
deleteRagMetadataCallable
public UnaryCallable<DeleteRagMetadataRequest,com.google.protobuf.Empty> deleteRagMetadataCallable()- Overrides:
deleteRagMetadataCallablein classVertexRagDataServiceStub
-
batchDeleteRagMetadataCallable
- Overrides:
batchDeleteRagMetadataCallablein classVertexRagDataServiceStub
-
batchDeleteRagMetadataOperationCallable
public OperationCallable<BatchDeleteRagMetadataRequest,com.google.protobuf.Empty, batchDeleteRagMetadataOperationCallable()DeleteOperationMetadata> - Overrides:
batchDeleteRagMetadataOperationCallablein 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
-