Class IntentsGrpc.IntentsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<IntentsGrpc.IntentsFutureStub>
-
- com.google.cloud.dialogflow.cx.v3beta1.IntentsGrpc.IntentsFutureStub
-
- Enclosing class:
- IntentsGrpc
public static final class IntentsGrpc.IntentsFutureStub extends io.grpc.stub.AbstractFutureStub<IntentsGrpc.IntentsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Intents.Service for managing [Intents][google.cloud.dialogflow.cx.v3beta1.Intent].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
build
protected IntentsGrpc.IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<IntentsGrpc.IntentsFutureStub>
-
listIntents
public com.google.common.util.concurrent.ListenableFuture<ListIntentsResponse> listIntents(ListIntentsRequest request)
Returns the list of all intents in the specified agent.
-
getIntent
public com.google.common.util.concurrent.ListenableFuture<Intent> getIntent(GetIntentRequest request)
Retrieves the specified intent.
-
createIntent
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).
-
updateIntent
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).
-
deleteIntent
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).
-
-