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.
|
Intent |
getIntent(GetIntentRequest request)
Retrieves the specified intent.
|
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).
Copyright © 2023 Google LLC. All rights reserved.