Class ImageAnnotatorGrpc (3.43.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
Type Description
String

Static Methods

bindService(ImageAnnotatorGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ImageAnnotatorGrpc.AsyncService service)
Parameter
Name Description
service ImageAnnotatorGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAsyncBatchAnnotateFilesMethod()

public static MethodDescriptor<AsyncBatchAnnotateFilesRequest,Operation> getAsyncBatchAnnotateFilesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AsyncBatchAnnotateFilesRequest,Operation>

getAsyncBatchAnnotateImagesMethod()

public static MethodDescriptor<AsyncBatchAnnotateImagesRequest,Operation> getAsyncBatchAnnotateImagesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AsyncBatchAnnotateImagesRequest,Operation>

getBatchAnnotateFilesMethod()

public static MethodDescriptor<BatchAnnotateFilesRequest,BatchAnnotateFilesResponse> getBatchAnnotateFilesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchAnnotateFilesRequest,BatchAnnotateFilesResponse>

getBatchAnnotateImagesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
ImageAnnotatorGrpc.ImageAnnotatorStub