Package com.google.cloud.dialogflow.v2
Class ConversationModelsGrpc.ConversationModelsBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ConversationModelsGrpc.ConversationModelsBlockingStub>
com.google.cloud.dialogflow.v2.ConversationModelsGrpc.ConversationModelsBlockingStub
- Enclosing class:
- ConversationModelsGrpc
public static final class ConversationModelsGrpc.ConversationModelsBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ConversationModelsGrpc.ConversationModelsBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service ConversationModels.
Manages a collection of models for human agent assistant.
-
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 model.Creates evaluation of a conversation model.Deletes a model.Deploys a model.Gets conversation model.Gets an evaluation of conversation model.Lists evaluations of a conversation model.Lists conversation models.Undeploys a model.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 ConversationModelsGrpc.ConversationModelsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ConversationModelsGrpc.ConversationModelsBlockingStub>
-
createConversationModel
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]
-
getConversationModel
Gets conversation model.
-
listConversationModels
Lists conversation models.
-
deleteConversationModel
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)
-
deployConversationModel
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)
-
undeployConversationModel
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) -
getConversationModelEvaluation
public ConversationModelEvaluation getConversationModelEvaluation(GetConversationModelEvaluationRequest request) Gets an evaluation of conversation model.
-
listConversationModelEvaluations
public ListConversationModelEvaluationsResponse listConversationModelEvaluations(ListConversationModelEvaluationsRequest request) Lists evaluations of a conversation model.
-
createConversationModelEvaluation
public Operation createConversationModelEvaluation(CreateConversationModelEvaluationRequest request) Creates evaluation of a conversation model.
-