public static final class IntentsGrpc.IntentsBlockingStub extends io.grpc.stub.AbstractBlockingStub<IntentsGrpc.IntentsBlockingStub>
Service for managing [Intents][google.cloud.dialogflow.cx.v3.Intent].
| Modifier and Type | Method and Description |
|---|---|
protected IntentsGrpc.IntentsBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Intent |
createIntent(CreateIntentRequest request)
Creates an intent in the specified agent.
|
com.google.protobuf.Empty |
deleteIntent(DeleteIntentRequest request)
Deletes the specified intent.
|
com.google.longrunning.Operation |
exportIntents(ExportIntentsRequest request)
Exports the selected intents.
|
Intent |
getIntent(GetIntentRequest request)
Retrieves the specified intent.
|
com.google.longrunning.Operation |
importIntents(ImportIntentsRequest request)
Imports the specified intents into the agent.
|
ListIntentsResponse |
listIntents(ListIntentsRequest request)
Returns the list of all intents in the specified agent.
|
Intent |
updateIntent(UpdateIntentRequest request)
Updates the specified intent.
|
protected IntentsGrpc.IntentsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<IntentsGrpc.IntentsBlockingStub>public ListIntentsResponse listIntents(ListIntentsRequest request)
Returns the list of all intents in the specified agent.
public Intent getIntent(GetIntentRequest request)
Retrieves the specified intent.
public Intent createIntent(CreateIntentRequest request)
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).
public Intent updateIntent(UpdateIntentRequest request)
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).
public com.google.protobuf.Empty deleteIntent(DeleteIntentRequest request)
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).
public com.google.longrunning.Operation importIntents(ImportIntentsRequest request)
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]
public com.google.longrunning.Operation exportIntents(ExportIntentsRequest request)
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.