Package com.google.cloud.dialogflow.v2
Class IntentsGrpc.IntentsFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<IntentsGrpc.IntentsFutureStub>
com.google.cloud.dialogflow.v2.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.v2.Intent].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Operation>Deletes intents in the specified agent.com.google.common.util.concurrent.ListenableFuture<Operation>Updates/Creates multiple intents in the specified agent.protected IntentsGrpc.IntentsFutureStubbuild(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 and its direct or indirect followup intents.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.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected IntentsGrpc.IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin 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 an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
updateIntent
public com.google.common.util.concurrent.ListenableFuture<Intent> updateIntent(UpdateIntentRequest request) 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).
-
deleteIntent
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteIntent(DeleteIntentRequest request) 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).
-
batchUpdateIntents
public com.google.common.util.concurrent.ListenableFuture<Operation> batchUpdateIntents(BatchUpdateIntentsRequest request) 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).
-
batchDeleteIntents
public com.google.common.util.concurrent.ListenableFuture<Operation> batchDeleteIntents(BatchDeleteIntentsRequest request) 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).
-