public abstract static class IntentsGrpc.IntentsImplBase extends Object implements BindableService
Service for managing [Intents][google.cloud.dialogflow.v2.Intent].
Constructor and Description |
---|
IntentsImplBase() |
Modifier and Type | Method and Description |
---|---|
void |
batchDeleteIntents(BatchDeleteIntentsRequest request,
StreamObserver<Operation> responseObserver)
Deletes intents in the specified agent.
|
void |
batchUpdateIntents(BatchUpdateIntentsRequest request,
StreamObserver<Operation> responseObserver)
Updates/Creates multiple intents in the specified agent.
|
ServerServiceDefinition |
bindService() |
void |
createIntent(CreateIntentRequest request,
StreamObserver<Intent> responseObserver)
Creates an intent in the specified agent.
|
void |
deleteIntent(DeleteIntentRequest request,
StreamObserver<Empty> responseObserver)
Deletes the specified intent and its direct or indirect followup intents.
|
void |
getIntent(GetIntentRequest request,
StreamObserver<Intent> responseObserver)
Retrieves the specified intent.
|
void |
listIntents(ListIntentsRequest request,
StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.
|
void |
updateIntent(UpdateIntentRequest request,
StreamObserver<Intent> responseObserver)
Updates the specified intent.
|
public void listIntents(ListIntentsRequest request, StreamObserver<ListIntentsResponse> responseObserver)
Returns the list of all intents in the specified agent.
public void getIntent(GetIntentRequest request, StreamObserver<Intent> responseObserver)
Retrieves the specified intent.
public void createIntent(CreateIntentRequest request, 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).
public void updateIntent(UpdateIntentRequest request, 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).
public void deleteIntent(DeleteIntentRequest request, StreamObserver<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).
public void batchUpdateIntents(BatchUpdateIntentsRequest request, StreamObserver<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.v2.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).
public void batchDeleteIntents(BatchDeleteIntentsRequest request, StreamObserver<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).
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.