Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::dialogflow_es::AgentsConnection Class Referenceabstract

The AgentsConnection object for AgentsClient. More...

#include <google/cloud/dialogflow_es/agents_connection.h>

Public Member Functions

virtual ~AgentsConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::dialogflow::v2::Agent > GetAgent (google::cloud::dialogflow::v2::GetAgentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::v2::Agent > SetAgent (google::cloud::dialogflow::v2::SetAgentRequest const &request)
 
virtual Status DeleteAgent (google::cloud::dialogflow::v2::DeleteAgentRequest const &request)
 
virtual StreamRange< google::cloud::dialogflow::v2::Agent > SearchAgents (google::cloud::dialogflow::v2::SearchAgentsRequest request)
 
virtual future< StatusOr< google::protobuf::Struct > > TrainAgent (google::cloud::dialogflow::v2::TrainAgentRequest const &request)
 
virtual future< StatusOr< google::cloud::dialogflow::v2::ExportAgentResponse > > ExportAgent (google::cloud::dialogflow::v2::ExportAgentRequest const &request)
 
virtual future< StatusOr< google::protobuf::Struct > > ImportAgent (google::cloud::dialogflow::v2::ImportAgentRequest const &request)
 
virtual future< StatusOr< google::protobuf::Struct > > RestoreAgent (google::cloud::dialogflow::v2::RestoreAgentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::v2::ValidationResult > GetValidationResult (google::cloud::dialogflow::v2::GetValidationResultRequest const &request)
 

Detailed Description

The AgentsConnection object for AgentsClient.

This interface defines virtual methods for each of the user-facing overload sets in AgentsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type AgentsClient.

To create a concrete instance, see MakeAgentsConnection().

For mocking, see dialogflow_es_mocks::MockAgentsConnection.

Constructor & Destructor Documentation

◆ ~AgentsConnection()

virtual google::cloud::dialogflow_es::AgentsConnection::~AgentsConnection ( )
pure virtual

Member Function Documentation

◆ DeleteAgent()

virtual Status google::cloud::dialogflow_es::AgentsConnection::DeleteAgent ( google::cloud::dialogflow::v2::DeleteAgentRequest const &  request)
virtual

◆ ExportAgent()

virtual future< StatusOr< google::cloud::dialogflow::v2::ExportAgentResponse > > google::cloud::dialogflow_es::AgentsConnection::ExportAgent ( google::cloud::dialogflow::v2::ExportAgentRequest const &  request)
virtual

◆ GetAgent()

virtual StatusOr< google::cloud::dialogflow::v2::Agent > google::cloud::dialogflow_es::AgentsConnection::GetAgent ( google::cloud::dialogflow::v2::GetAgentRequest const &  request)
virtual

◆ GetValidationResult()

virtual StatusOr< google::cloud::dialogflow::v2::ValidationResult > google::cloud::dialogflow_es::AgentsConnection::GetValidationResult ( google::cloud::dialogflow::v2::GetValidationResultRequest const &  request)
virtual

◆ ImportAgent()

virtual future< StatusOr< google::protobuf::Struct > > google::cloud::dialogflow_es::AgentsConnection::ImportAgent ( google::cloud::dialogflow::v2::ImportAgentRequest const &  request)
virtual

◆ options()

virtual Options google::cloud::dialogflow_es::AgentsConnection::options ( )
inlinevirtual

◆ RestoreAgent()

virtual future< StatusOr< google::protobuf::Struct > > google::cloud::dialogflow_es::AgentsConnection::RestoreAgent ( google::cloud::dialogflow::v2::RestoreAgentRequest const &  request)
virtual

◆ SearchAgents()

virtual StreamRange< google::cloud::dialogflow::v2::Agent > google::cloud::dialogflow_es::AgentsConnection::SearchAgents ( google::cloud::dialogflow::v2::SearchAgentsRequest  request)
virtual

◆ SetAgent()

virtual StatusOr< google::cloud::dialogflow::v2::Agent > google::cloud::dialogflow_es::AgentsConnection::SetAgent ( google::cloud::dialogflow::v2::SetAgentRequest const &  request)
virtual

◆ TrainAgent()

virtual future< StatusOr< google::protobuf::Struct > > google::cloud::dialogflow_es::AgentsConnection::TrainAgent ( google::cloud::dialogflow::v2::TrainAgentRequest const &  request)
virtual