Package com.google.cloud.ces.v1beta
Class WidgetServiceGrpc.WidgetServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<WidgetServiceGrpc.WidgetServiceStub>
com.google.cloud.ces.v1beta.WidgetServiceGrpc.WidgetServiceStub
- Enclosing class:
- WidgetServiceGrpc
public static final class WidgetServiceGrpc.WidgetServiceStub
extends io.grpc.stub.AbstractAsyncStub<WidgetServiceGrpc.WidgetServiceStub>
A stub to allow clients to do asynchronous rpc calls to service WidgetService.
Provides APIs for widgets to interact with CES APIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected WidgetServiceGrpc.WidgetServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgenerateChatToken(GenerateChatTokenRequest request, io.grpc.stub.StreamObserver<GenerateChatTokenResponse> responseObserver) Generates a session scoped token for chat widget to authenticate with Session APIs.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected WidgetServiceGrpc.WidgetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<WidgetServiceGrpc.WidgetServiceStub>
-
generateChatToken
public void generateChatToken(GenerateChatTokenRequest request, io.grpc.stub.StreamObserver<GenerateChatTokenResponse> responseObserver) Generates a session scoped token for chat widget to authenticate with Session APIs.
-