Package com.google.cloud.dialogflow.v2
Class ContextsGrpc.ContextsBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ContextsGrpc.ContextsBlockingStub>
com.google.cloud.dialogflow.v2.ContextsGrpc.ContextsBlockingStub
- Enclosing class:
- ContextsGrpc
public static final class ContextsGrpc.ContextsBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ContextsGrpc.ContextsBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Contexts.
Service for managing [Contexts][google.cloud.dialogflow.v2.Context].
-
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 ContextsGrpc.ContextsBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createContext(CreateContextRequest request) Creates a context.com.google.protobuf.EmptyDeletes all active contexts in the specified session.com.google.protobuf.EmptydeleteContext(DeleteContextRequest request) Deletes the specified context.getContext(GetContextRequest request) Retrieves the specified context.listContexts(ListContextsRequest request) Returns the list of all contexts in the specified session.updateContext(UpdateContextRequest request) Updates the specified context.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 ContextsGrpc.ContextsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ContextsGrpc.ContextsBlockingStub>
-
listContexts
Returns the list of all contexts in the specified session.
-
getContext
Retrieves the specified context.
-
createContext
Creates a context. If the specified context already exists, overrides the context.
-
updateContext
Updates the specified context.
-
deleteContext
Deletes the specified context.
-
deleteAllContexts
Deletes all active contexts in the specified session.
-