public static final class ConversationModelsGrpc.ConversationModelsFutureStub extends AbstractFutureStub<ConversationModelsGrpc.ConversationModelsFutureStub>
Manages a collection of models for human agent assistant.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected ConversationModelsGrpc.ConversationModelsFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createConversationModel(CreateConversationModelRequest request)
Creates a model.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
createConversationModelEvaluation(CreateConversationModelEvaluationRequest request)
Creates evaluation of a conversation model.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteConversationModel(DeleteConversationModelRequest request)
Deletes a model.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
deployConversationModel(DeployConversationModelRequest request)
Deploys a model.
|
com.google.common.util.concurrent.ListenableFuture<ConversationModel> |
getConversationModel(GetConversationModelRequest request)
Gets conversation model.
|
com.google.common.util.concurrent.ListenableFuture<ConversationModelEvaluation> |
getConversationModelEvaluation(GetConversationModelEvaluationRequest request)
Gets an evaluation of conversation model.
|
com.google.common.util.concurrent.ListenableFuture<ListConversationModelEvaluationsResponse> |
listConversationModelEvaluations(ListConversationModelEvaluationsRequest request)
Lists evaluations of a conversation model.
|
com.google.common.util.concurrent.ListenableFuture<ListConversationModelsResponse> |
listConversationModels(ListConversationModelsRequest request)
Lists conversation models.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
undeployConversationModel(UndeployConversationModelRequest request)
Undeploys a model.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ConversationModelsGrpc.ConversationModelsFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ConversationModelsGrpc.ConversationModelsFutureStub>
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<ConversationModel> getConversationModel(GetConversationModelRequest request)
Gets conversation model.
public com.google.common.util.concurrent.ListenableFuture<ListConversationModelsResponse> listConversationModels(ListConversationModelsRequest request)
Lists conversation models.
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<ConversationModelEvaluation> getConversationModelEvaluation(GetConversationModelEvaluationRequest request)
Gets an evaluation of conversation model.
public com.google.common.util.concurrent.ListenableFuture<ListConversationModelEvaluationsResponse> listConversationModelEvaluations(ListConversationModelEvaluationsRequest request)
Lists evaluations of a conversation model.
public com.google.common.util.concurrent.ListenableFuture<Operation> createConversationModelEvaluation(CreateConversationModelEvaluationRequest request)
Creates evaluation of a conversation model.
Copyright © 2022 Google LLC. All rights reserved.