Class MatchServiceGrpc.MatchServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<MatchServiceGrpc.MatchServiceStub>
-
- com.google.cloud.aiplatform.v1beta1.MatchServiceGrpc.MatchServiceStub
-
- Enclosing class:
- MatchServiceGrpc
public static final class MatchServiceGrpc.MatchServiceStub extends io.grpc.stub.AbstractAsyncStub<MatchServiceGrpc.MatchServiceStub>
A stub to allow clients to do asynchronous rpc calls to service MatchService.MatchService is a Google managed service for efficient vector similarity search at scale.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MatchServiceGrpc.MatchServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
findNeighbors(FindNeighborsRequest request, io.grpc.stub.StreamObserver<FindNeighborsResponse> responseObserver)
Finds the nearest neighbors of each vector within the request.void
readIndexDatapoints(ReadIndexDatapointsRequest request, io.grpc.stub.StreamObserver<ReadIndexDatapointsResponse> responseObserver)
Reads the datapoints/vectors of the given IDs.
-
-
-
Method Detail
-
build
protected MatchServiceGrpc.MatchServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<MatchServiceGrpc.MatchServiceStub>
-
findNeighbors
public void findNeighbors(FindNeighborsRequest request, io.grpc.stub.StreamObserver<FindNeighborsResponse> responseObserver)
Finds the nearest neighbors of each vector within the request.
-
readIndexDatapoints
public void readIndexDatapoints(ReadIndexDatapointsRequest request, io.grpc.stub.StreamObserver<ReadIndexDatapointsResponse> responseObserver)
Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.
-
-