Interface IntentsGrpc.AsyncService
-
- All Known Implementing Classes:
IntentsGrpc.IntentsImplBase
- Enclosing class:
- IntentsGrpc
public static interface IntentsGrpc.AsyncService
Service for managing [Intents][google.cloud.dialogflow.v2beta1.Intent].
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
batchDeleteIntents(BatchDeleteIntentsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes intents in the specified agent.default void
batchUpdateIntents(BatchUpdateIntentsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates/Creates multiple intents in the specified agent.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 and its direct or indirect followup intents.default void
getIntent(GetIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Retrieves 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
updateIntent(UpdateIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Updates the specified 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 an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
updateIntent
default void updateIntent(UpdateIntentRequest request, io.grpc.stub.StreamObserver<Intent> responseObserver)
Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
deleteIntent
default void deleteIntent(DeleteIntentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
batchUpdateIntents
default void batchUpdateIntents(BatchUpdateIntentsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
batchDeleteIntents
default void batchDeleteIntents(BatchDeleteIntentsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
-