public static final class ConversationDatasetsGrpc.ConversationDatasetsStub extends AbstractAsyncStub<ConversationDatasetsGrpc.ConversationDatasetsStub>
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.ConversationDatasetsStub |
build(Channel channel,
CallOptions callOptions) |
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.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ConversationDatasetsGrpc.ConversationDatasetsStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ConversationDatasetsGrpc.ConversationDatasetsStub>
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]
Copyright © 2022 Google LLC. All rights reserved.