Class TextSuggestionsServiceGrpc (0.2.0)

public final class TextSuggestionsServiceGrpc

Service that exposes Generative AI (GenAI) endpoints for creating and enhancing product text content, such as titles, descriptions, etc.

Inheritance

java.lang.Object > TextSuggestionsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TextSuggestionsServiceGrpc.AsyncService service)

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

getGenerateProductTextSuggestionsMethod()

public static MethodDescriptor<GenerateProductTextSuggestionsRequest,GenerateProductTextSuggestionsResponse> getGenerateProductTextSuggestionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GenerateProductTextSuggestionsRequest,GenerateProductTextSuggestionsResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static TextSuggestionsServiceGrpc.TextSuggestionsServiceBlockingStub 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
TextSuggestionsServiceGrpc.TextSuggestionsServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static TextSuggestionsServiceGrpc.TextSuggestionsServiceBlockingV2Stub 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
TextSuggestionsServiceGrpc.TextSuggestionsServiceBlockingV2Stub

newFutureStub(Channel channel)

public static TextSuggestionsServiceGrpc.TextSuggestionsServiceFutureStub 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
TextSuggestionsServiceGrpc.TextSuggestionsServiceFutureStub

newStub(Channel channel)

public static TextSuggestionsServiceGrpc.TextSuggestionsServiceStub 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
TextSuggestionsServiceGrpc.TextSuggestionsServiceStub