Class ContextsGrpc.ContextsStub

  • Enclosing class:
    ContextsGrpc

    public static final class ContextsGrpc.ContextsStub
    extends io.grpc.stub.AbstractAsyncStub<ContextsGrpc.ContextsStub>
    A stub to allow clients to do asynchronous rpc calls to service Contexts.
     Service for managing [Contexts][google.cloud.dialogflow.v2.Context].
     
    • Method Detail

      • listContexts

        public void listContexts​(ListContextsRequest request,
                                 io.grpc.stub.StreamObserver<ListContextsResponse> responseObserver)
         Returns the list of all contexts in the specified session.
         
      • getContext

        public void getContext​(GetContextRequest request,
                               io.grpc.stub.StreamObserver<Context> responseObserver)
         Retrieves the specified context.
         
      • createContext

        public void createContext​(CreateContextRequest request,
                                  io.grpc.stub.StreamObserver<Context> responseObserver)
         Creates a context.
         If the specified context already exists, overrides the context.
         
      • updateContext

        public void updateContext​(UpdateContextRequest request,
                                  io.grpc.stub.StreamObserver<Context> responseObserver)
         Updates the specified context.
         
      • deleteContext

        public void deleteContext​(DeleteContextRequest request,
                                  io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes the specified context.
         
      • deleteAllContexts

        public void deleteAllContexts​(DeleteAllContextsRequest request,
                                      io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes all active contexts in the specified session.