Interface IntentsGrpc.AsyncService

  • All Known Implementing Classes:
    IntentsGrpc.IntentsImplBase
    Enclosing class:
    IntentsGrpc

    public static interface IntentsGrpc.AsyncService
     Service for managing [Intents][google.cloud.dialogflow.cx.v3.Intent].
     
    • Method Detail

      • listIntents

        default void listIntents​(ListIntentsRequest request,
                                 io.grpc.stub.StreamObserver<ListIntentsResponse> responseObserver)
         Returns the list of all intents in the specified agent.
         
      • getIntent

        default void getIntent​(GetIntentRequest request,
                               io.grpc.stub.StreamObserver<Intent> responseObserver)
         Retrieves the specified intent.
         
      • createIntent

        default void createIntent​(CreateIntentRequest request,
                                  io.grpc.stub.StreamObserver<Intent> responseObserver)
         Creates an intent in the specified agent.
         Note: You should always train a flow prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
         
      • updateIntent

        default void updateIntent​(UpdateIntentRequest request,
                                  io.grpc.stub.StreamObserver<Intent> responseObserver)
         Updates the specified intent.
         Note: You should always train a flow prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
         
      • deleteIntent

        default void deleteIntent​(DeleteIntentRequest request,
                                  io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes the specified intent.
         Note: You should always train a flow prior to sending it queries. See the
         [training
         documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).