public static final class ConversationModelsGrpc.ConversationModelsStub extends AbstractAsyncStub<ConversationModelsGrpc.ConversationModelsStub>
Manages a collection of models for human agent assistant.
AbstractStub.StubFactory<T extends AbstractStub<T>>
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ConversationModelsGrpc.ConversationModelsStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ConversationModelsGrpc.ConversationModelsStub>
public void createConversationModel(CreateConversationModelRequest request, StreamObserver<Operation> responseObserver)
Creates a model. 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`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata] - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
public void getConversationModel(GetConversationModelRequest request, StreamObserver<ConversationModel> responseObserver)
Gets conversation model.
public void listConversationModels(ListConversationModelsRequest request, StreamObserver<ListConversationModelsResponse> responseObserver)
Lists conversation models.
public void deleteConversationModel(DeleteConversationModelRequest request, StreamObserver<Operation> responseObserver)
Deletes a model. 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`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
public void deployConversationModel(DeployConversationModelRequest request, StreamObserver<Operation> responseObserver)
Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. 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`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
public void undeployConversationModel(UndeployConversationModelRequest request, StreamObserver<Operation> responseObserver)
Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used: - For article suggestion, article suggestion will fallback to the default model if model is undeployed. 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`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
public void getConversationModelEvaluation(GetConversationModelEvaluationRequest request, StreamObserver<ConversationModelEvaluation> responseObserver)
Gets an evaluation of conversation model.
public void listConversationModelEvaluations(ListConversationModelEvaluationsRequest request, StreamObserver<ListConversationModelEvaluationsResponse> responseObserver)
Lists evaluations of a conversation model.
public void createConversationModelEvaluation(CreateConversationModelEvaluationRequest request, StreamObserver<Operation> responseObserver)
Creates evaluation of a conversation model.
Copyright © 2022 Google LLC. All rights reserved.