Package com.google.cloud.dialogflow.v2
Class ConversationDatasetsGrpc.ConversationDatasetsBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ConversationDatasetsGrpc.ConversationDatasetsBlockingStub>
com.google.cloud.dialogflow.v2.ConversationDatasetsGrpc.ConversationDatasetsBlockingStub
- Enclosing class:
- ConversationDatasetsGrpc
public static final class ConversationDatasetsGrpc.ConversationDatasetsBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ConversationDatasetsGrpc.ConversationDatasetsBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service ConversationDatasets.
Conversation datasets. Conversation datasets contain raw conversation files and their customizable metadata that can be used for model training.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new conversation dataset.Deletes the specified conversation dataset.Retrieves the specified conversation dataset.Import data into the specified conversation dataset.Returns the list of all conversation datasets in the specified project and location.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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 ConversationDatasetsGrpc.ConversationDatasetsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ConversationDatasetsGrpc.ConversationDatasetsBlockingStub>
-
createConversationDataset
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]
-
getConversationDataset
Retrieves the specified conversation dataset.
-
listConversationDatasets
public ListConversationDatasetsResponse listConversationDatasets(ListConversationDatasetsRequest request) Returns the list of all conversation datasets in the specified project and location.
-
deleteConversationDataset
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)
-
importConversationData
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]
-