Class ImageServiceGrpc (0.10.0)

public final class ImageServiceGrpc

Service that exposes Generative AI (GenAI) endpoints for creating and enhancing product image content.

Inheritance

java.lang.Object > ImageServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ImageServiceGrpc.AsyncService service)

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

getGenerateProductImageBackgroundMethod()

public static MethodDescriptor<GenerateProductImageBackgroundRequest,GenerateProductImageBackgroundResponse> getGenerateProductImageBackgroundMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GenerateProductImageBackgroundRequest,GenerateProductImageBackgroundResponse>

getRemoveProductImageBackgroundMethod()

public static MethodDescriptor<RemoveProductImageBackgroundRequest,RemoveProductImageBackgroundResponse> getRemoveProductImageBackgroundMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RemoveProductImageBackgroundRequest,RemoveProductImageBackgroundResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpscaleProductImageMethod()

public static MethodDescriptor<UpscaleProductImageRequest,UpscaleProductImageResponse> getUpscaleProductImageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpscaleProductImageRequest,UpscaleProductImageResponse>

newBlockingStub(Channel channel)

public static ImageServiceGrpc.ImageServiceBlockingStub 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
ImageServiceGrpc.ImageServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static ImageServiceGrpc.ImageServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ImageServiceGrpc.ImageServiceBlockingV2Stub

newFutureStub(Channel channel)

public static ImageServiceGrpc.ImageServiceFutureStub 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
ImageServiceGrpc.ImageServiceFutureStub

newStub(Channel channel)

public static ImageServiceGrpc.ImageServiceStub 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
ImageServiceGrpc.ImageServiceStub