Class MatchServiceGrpc (3.42.0)

public final class MatchServiceGrpc

MatchService is a Google managed service for efficient vector similarity search at scale.

Inheritance

java.lang.Object > MatchServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(MatchServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(MatchServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceMatchServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getFindNeighborsMethod()

public static MethodDescriptor<FindNeighborsRequest,FindNeighborsResponse> getFindNeighborsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<FindNeighborsRequest,FindNeighborsResponse>

getReadIndexDatapointsMethod()

public static MethodDescriptor<ReadIndexDatapointsRequest,ReadIndexDatapointsResponse> getReadIndexDatapointsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ReadIndexDatapointsRequest,ReadIndexDatapointsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static MatchServiceGrpc.MatchServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
MatchServiceGrpc.MatchServiceBlockingStub

newFutureStub(Channel channel)

public static MatchServiceGrpc.MatchServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
MatchServiceGrpc.MatchServiceFutureStub

newStub(Channel channel)

public static MatchServiceGrpc.MatchServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
MatchServiceGrpc.MatchServiceStub