Class ConversationModelsGrpc.ConversationModelsFutureStub

    • Method Detail

      • createConversationModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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]
         
      • deleteConversationModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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)
         
      • deployConversationModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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)
         
      • undeployConversationModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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)
         
      • createConversationModelEvaluation

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createConversationModelEvaluation​(CreateConversationModelEvaluationRequest request)
         Creates evaluation of a conversation model.