Class GrpcVectorSearchServiceStub
java.lang.Object
com.google.cloud.vectorsearch.v1.stub.VectorSearchServiceStub
com.google.cloud.vectorsearch.v1.stub.GrpcVectorSearchServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcVectorSearchServiceStub
extends VectorSearchServiceStub
gRPC stub implementation for the VectorSearchService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcVectorSearchServiceStub(VectorSearchServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcVectorSearchServiceStub, using the given settings.protectedGrpcVectorSearchServiceStub(VectorSearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcVectorSearchServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcVectorSearchServiceStubcreate(ClientContext clientContext) static final GrpcVectorSearchServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcVectorSearchServiceStubcreate(VectorSearchServiceStubSettings settings) OperationCallable<DeleteCollectionRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.vectorsearch.v1.stub.VectorSearchServiceStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcVectorSearchServiceStub
protected GrpcVectorSearchServiceStub(VectorSearchServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcVectorSearchServiceStub, 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
-
GrpcVectorSearchServiceStub
protected GrpcVectorSearchServiceStub(VectorSearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcVectorSearchServiceStub, 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 GrpcVectorSearchServiceStub create(VectorSearchServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcVectorSearchServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcVectorSearchServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classVectorSearchServiceStub
-
listCollectionsCallable
- Overrides:
listCollectionsCallablein classVectorSearchServiceStub
-
listCollectionsPagedCallable
public UnaryCallable<ListCollectionsRequest,VectorSearchServiceClient.ListCollectionsPagedResponse> listCollectionsPagedCallable()- Overrides:
listCollectionsPagedCallablein classVectorSearchServiceStub
-
getCollectionCallable
- Overrides:
getCollectionCallablein classVectorSearchServiceStub
-
createCollectionCallable
- Overrides:
createCollectionCallablein classVectorSearchServiceStub
-
createCollectionOperationCallable
public OperationCallable<CreateCollectionRequest,Collection, createCollectionOperationCallable()OperationMetadata> - Overrides:
createCollectionOperationCallablein classVectorSearchServiceStub
-
updateCollectionCallable
- Overrides:
updateCollectionCallablein classVectorSearchServiceStub
-
updateCollectionOperationCallable
public OperationCallable<UpdateCollectionRequest,Collection, updateCollectionOperationCallable()OperationMetadata> - Overrides:
updateCollectionOperationCallablein classVectorSearchServiceStub
-
deleteCollectionCallable
- Overrides:
deleteCollectionCallablein classVectorSearchServiceStub
-
deleteCollectionOperationCallable
public OperationCallable<DeleteCollectionRequest,com.google.protobuf.Empty, deleteCollectionOperationCallable()OperationMetadata> - Overrides:
deleteCollectionOperationCallablein classVectorSearchServiceStub
-
listIndexesCallable
- Overrides:
listIndexesCallablein classVectorSearchServiceStub
-
listIndexesPagedCallable
public UnaryCallable<ListIndexesRequest,VectorSearchServiceClient.ListIndexesPagedResponse> listIndexesPagedCallable()- Overrides:
listIndexesPagedCallablein classVectorSearchServiceStub
-
getIndexCallable
- Overrides:
getIndexCallablein classVectorSearchServiceStub
-
createIndexCallable
- Overrides:
createIndexCallablein classVectorSearchServiceStub
-
createIndexOperationCallable
- Overrides:
createIndexOperationCallablein classVectorSearchServiceStub
-
updateIndexCallable
- Overrides:
updateIndexCallablein classVectorSearchServiceStub
-
updateIndexOperationCallable
- Overrides:
updateIndexOperationCallablein classVectorSearchServiceStub
-
deleteIndexCallable
- Overrides:
deleteIndexCallablein classVectorSearchServiceStub
-
deleteIndexOperationCallable
public OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty, deleteIndexOperationCallable()OperationMetadata> - Overrides:
deleteIndexOperationCallablein classVectorSearchServiceStub
-
importDataObjectsCallable
- Overrides:
importDataObjectsCallablein classVectorSearchServiceStub
-
importDataObjectsOperationCallable
public OperationCallable<ImportDataObjectsRequest,ImportDataObjectsResponse, importDataObjectsOperationCallable()ImportDataObjectsMetadata> - Overrides:
importDataObjectsOperationCallablein classVectorSearchServiceStub
-
exportDataObjectsCallable
- Overrides:
exportDataObjectsCallablein classVectorSearchServiceStub
-
exportDataObjectsOperationCallable
public OperationCallable<ExportDataObjectsRequest,ExportDataObjectsResponse, exportDataObjectsOperationCallable()ExportDataObjectsMetadata> - Overrides:
exportDataObjectsOperationCallablein classVectorSearchServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classVectorSearchServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,VectorSearchServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classVectorSearchServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classVectorSearchServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classVectorSearchServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-