Class ImageAnnotatorGrpc (3.31.0)

public final class ImageAnnotatorGrpc

Service that performs Google Cloud Vision API detection tasks over client images, such as face, landmark, logo, label, and text detection. The ImageAnnotator service returns detected entities from the images.

Inheritance

java.lang.Object > ImageAnnotatorGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(ImageAnnotatorGrpc.AsyncService service)

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

getBatchAnnotateImagesMethod()

public static MethodDescriptor<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> getBatchAnnotateImagesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static ImageAnnotatorGrpc.ImageAnnotatorBlockingStub 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
ImageAnnotatorGrpc.ImageAnnotatorBlockingStub

newFutureStub(Channel channel)

public static ImageAnnotatorGrpc.ImageAnnotatorFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ImageAnnotatorGrpc.ImageAnnotatorFutureStub

newStub(Channel channel)

public static ImageAnnotatorGrpc.ImageAnnotatorStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ImageAnnotatorGrpc.ImageAnnotatorStub