public abstract static class ConversationDatasetsGrpc.ConversationDatasetsImplBase extends Object implements BindableService
Conversation datasets. Conversation datasets contain raw conversation files and their customizable metadata that can be used for model training.
Constructor and Description |
---|
ConversationDatasetsImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
createConversationDataset(CreateConversationDatasetRequest request,
StreamObserver<Operation> responseObserver)
Creates a new conversation dataset.
|
void |
deleteConversationDataset(DeleteConversationDatasetRequest request,
StreamObserver<Operation> responseObserver)
Deletes the specified conversation dataset.
|
void |
getConversationDataset(GetConversationDatasetRequest request,
StreamObserver<ConversationDataset> responseObserver)
Retrieves the specified conversation dataset.
|
void |
importConversationData(ImportConversationDataRequest request,
StreamObserver<Operation> responseObserver)
Import data into the specified conversation dataset.
|
void |
listConversationDatasets(ListConversationDatasetsRequest request,
StreamObserver<ListConversationDatasetsResponse> responseObserver)
Returns the list of all conversation datasets in the specified
project and location.
|
public void createConversationDataset(CreateConversationDatasetRequest request, StreamObserver<Operation> responseObserver)
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 void getConversationDataset(GetConversationDatasetRequest request, StreamObserver<ConversationDataset> responseObserver)
Retrieves the specified conversation dataset.
public void listConversationDatasets(ListConversationDatasetsRequest request, StreamObserver<ListConversationDatasetsResponse> responseObserver)
Returns the list of all conversation datasets in the specified project and location.
public void deleteConversationDataset(DeleteConversationDatasetRequest request, StreamObserver<Operation> responseObserver)
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 void importConversationData(ImportConversationDataRequest request, StreamObserver<Operation> responseObserver)
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]
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.