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