public static final class ConversationDatasetsGrpc.ConversationDatasetsFutureStub extends AbstractFutureStub<ConversationDatasetsGrpc.ConversationDatasetsFutureStub>
Conversation datasets. Conversation datasets contain raw conversation files and their customizable metadata that can be used for model training.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected ConversationDatasetsGrpc.ConversationDatasetsFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createConversationDataset(CreateConversationDatasetRequest request)
Creates a new conversation dataset.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteConversationDataset(DeleteConversationDatasetRequest request)
Deletes the specified conversation dataset.
|
com.google.common.util.concurrent.ListenableFuture<ConversationDataset> |
getConversationDataset(GetConversationDatasetRequest request)
Retrieves the specified conversation dataset.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
importConversationData(ImportConversationDataRequest request)
Import data into the specified conversation dataset.
|
com.google.common.util.concurrent.ListenableFuture<ListConversationDatasetsResponse> |
listConversationDatasets(ListConversationDatasetsRequest request)
Returns the list of all conversation datasets in the specified
project and location.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ConversationDatasetsGrpc.ConversationDatasetsFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ConversationDatasetsGrpc.ConversationDatasetsFutureStub>
public com.google.common.util.concurrent.ListenableFuture<Operation> createConversationDataset(CreateConversationDatasetRequest request)
Creates a new conversation dataset. 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`: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata] - `response`: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
public com.google.common.util.concurrent.ListenableFuture<ConversationDataset> getConversationDataset(GetConversationDatasetRequest request)
Retrieves the specified conversation dataset.
public com.google.common.util.concurrent.ListenableFuture<ListConversationDatasetsResponse> listConversationDatasets(ListConversationDatasetsRequest request)
Returns the list of all conversation datasets in the specified project and location.
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteConversationDataset(DeleteConversationDatasetRequest request)
Deletes the specified conversation dataset. 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`: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
public com.google.common.util.concurrent.ListenableFuture<Operation> importConversationData(ImportConversationDataRequest request)
Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it. 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`: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata] - `response`: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
Copyright © 2022 Google LLC. All rights reserved.