public static final class ConversationModelsGrpc.ConversationModelsBlockingStub extends AbstractBlockingStub<ConversationModelsGrpc.ConversationModelsBlockingStub>
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.ConversationModelsBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ConversationModelsGrpc.ConversationModelsBlockingStub>
public Operation createConversationModel(CreateConversationModelRequest request)
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 ConversationModel getConversationModel(GetConversationModelRequest request)
Gets conversation model.
public ListConversationModelsResponse listConversationModels(ListConversationModelsRequest request)
Lists conversation models.
public Operation deleteConversationModel(DeleteConversationModelRequest request)
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 Operation deployConversationModel(DeployConversationModelRequest request)
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 Operation undeployConversationModel(UndeployConversationModelRequest request)
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 ConversationModelEvaluation getConversationModelEvaluation(GetConversationModelEvaluationRequest request)
Gets an evaluation of conversation model.
public ListConversationModelEvaluationsResponse listConversationModelEvaluations(ListConversationModelEvaluationsRequest request)
Lists evaluations of a conversation model.
public Operation createConversationModelEvaluation(CreateConversationModelEvaluationRequest request)
Creates evaluation of a conversation model.
Copyright © 2022 Google LLC. All rights reserved.