public static interface IntentsGrpc.AsyncService
Service for managing [Intents][google.cloud.dialogflow.cx.v3.Intent].
| Modifier and Type | Method and Description |
|---|---|
default void |
createIntent(CreateIntentRequest request,
io.grpc.stub.StreamObserver<Intent> responseObserver)
Creates an intent in the specified agent.
|
default void |
deleteIntent(DeleteIntentRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified intent.
|
default void |
exportIntents(ExportIntentsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Exports the selected intents.
|
default void |
getIntent(GetIntentRequest request,
io.grpc.stub.StreamObserver<Intent> responseObserver)
Retrieves the specified intent.
|
default void |
importIntents(ImportIntentsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Imports the specified intents into the agent.
|
default void |
listIntents(ListIntentsRequest request,
io.grpc.stub.StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.
|
default void |
updateIntent(UpdateIntentRequest request,
io.grpc.stub.StreamObserver<Intent> responseObserver)
Updates the specified intent.
|
default void listIntents(ListIntentsRequest request, io.grpc.stub.StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.
default void getIntent(GetIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Retrieves the specified intent.
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).
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).
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).
default void importIntents(ImportIntentsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Imports the specified intents into the agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata] - `response`: [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse]
default void exportIntents(ExportIntentsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Exports the selected intents. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata] - `response`: [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse]
Copyright © 2024 Google LLC. All rights reserved.