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