Package com.google.cloud.ces.v1beta
Class WidgetServiceGrpc.WidgetServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<WidgetServiceGrpc.WidgetServiceFutureStub>
com.google.cloud.ces.v1beta.WidgetServiceGrpc.WidgetServiceFutureStub
- Enclosing class:
- WidgetServiceGrpc
public static final class WidgetServiceGrpc.WidgetServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<WidgetServiceGrpc.WidgetServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<GenerateChatTokenResponse>Generates a session scoped token for chat widget to authenticate with Session APIs.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.WidgetServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<WidgetServiceGrpc.WidgetServiceFutureStub>
-
generateChatToken
public com.google.common.util.concurrent.ListenableFuture<GenerateChatTokenResponse> generateChatToken(GenerateChatTokenRequest request) Generates a session scoped token for chat widget to authenticate with Session APIs.
-