Interface ContextsGrpc.AsyncService
-
- All Known Implementing Classes:
ContextsGrpc.ContextsImplBase
- Enclosing class:
- ContextsGrpc
public static interface ContextsGrpc.AsyncService
Service for managing [Contexts][google.cloud.dialogflow.v2beta1.Context].
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createContext(CreateContextRequest request, io.grpc.stub.StreamObserver<Context> responseObserver)
Creates a context.default void
deleteAllContexts(DeleteAllContextsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes all active contexts in the specified session.default void
deleteContext(DeleteContextRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified context.default void
getContext(GetContextRequest request, io.grpc.stub.StreamObserver<Context> responseObserver)
Retrieves the specified context.default void
listContexts(ListContextsRequest request, io.grpc.stub.StreamObserver<ListContextsResponse> responseObserver)
Returns the list of all contexts in the specified session.default void
updateContext(UpdateContextRequest request, io.grpc.stub.StreamObserver<Context> responseObserver)
Updates the specified context.
-
-
-
Method Detail
-
listContexts
default void listContexts(ListContextsRequest request, io.grpc.stub.StreamObserver<ListContextsResponse> responseObserver)
Returns the list of all contexts in the specified session.
-
getContext
default void getContext(GetContextRequest request, io.grpc.stub.StreamObserver<Context> responseObserver)
Retrieves the specified context.
-
createContext
default void createContext(CreateContextRequest request, io.grpc.stub.StreamObserver<Context> responseObserver)
Creates a context. If the specified context already exists, overrides the context.
-
updateContext
default void updateContext(UpdateContextRequest request, io.grpc.stub.StreamObserver<Context> responseObserver)
Updates the specified context.
-
deleteContext
default void deleteContext(DeleteContextRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified context.
-
deleteAllContexts
default void deleteAllContexts(DeleteAllContextsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes all active contexts in the specified session.
-
-