Class WidgetServiceGrpc (0.1.0)

public final class WidgetServiceGrpc

Provides APIs for widgets to interact with CES APIs.

Inheritance

java.lang.Object > WidgetServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(WidgetServiceGrpc.AsyncService service)

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

getGenerateChatTokenMethod()

public static MethodDescriptor<GenerateChatTokenRequest,GenerateChatTokenResponse> getGenerateChatTokenMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GenerateChatTokenRequest,GenerateChatTokenResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static WidgetServiceGrpc.WidgetServiceBlockingStub 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
WidgetServiceGrpc.WidgetServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static WidgetServiceGrpc.WidgetServiceBlockingV2Stub 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
WidgetServiceGrpc.WidgetServiceBlockingV2Stub

newFutureStub(Channel channel)

public static WidgetServiceGrpc.WidgetServiceFutureStub 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
WidgetServiceGrpc.WidgetServiceFutureStub

newStub(Channel channel)

public static WidgetServiceGrpc.WidgetServiceStub 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
WidgetServiceGrpc.WidgetServiceStub