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_cx::FlowsConnection Class Referenceabstract

The FlowsConnection object for FlowsClient. More...

#include <google/cloud/dialogflow_cx/flows_connection.h>

Public Member Functions

virtual ~FlowsConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > CreateFlow (google::cloud::dialogflow::cx::v3::CreateFlowRequest const &request)
 
virtual Status DeleteFlow (google::cloud::dialogflow::cx::v3::DeleteFlowRequest const &request)
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Flow > ListFlows (google::cloud::dialogflow::cx::v3::ListFlowsRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > GetFlow (google::cloud::dialogflow::cx::v3::GetFlowRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > UpdateFlow (google::cloud::dialogflow::cx::v3::UpdateFlowRequest const &request)
 
virtual future< StatusOr< google::protobuf::Struct > > TrainFlow (google::cloud::dialogflow::cx::v3::TrainFlowRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult > ValidateFlow (google::cloud::dialogflow::cx::v3::ValidateFlowRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult > GetFlowValidationResult (google::cloud::dialogflow::cx::v3::GetFlowValidationResultRequest const &request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ImportFlowResponse > > ImportFlow (google::cloud::dialogflow::cx::v3::ImportFlowRequest const &request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ExportFlowResponse > > ExportFlow (google::cloud::dialogflow::cx::v3::ExportFlowRequest const &request)
 

Detailed Description

The FlowsConnection object for FlowsClient.

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

To create a concrete instance, see MakeFlowsConnection().

For mocking, see dialogflow_cx_mocks::MockFlowsConnection.

Constructor & Destructor Documentation

◆ ~FlowsConnection()

virtual google::cloud::dialogflow_cx::FlowsConnection::~FlowsConnection ( )
pure virtual

Member Function Documentation

◆ CreateFlow()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > google::cloud::dialogflow_cx::FlowsConnection::CreateFlow ( google::cloud::dialogflow::cx::v3::CreateFlowRequest const &  request)
virtual

◆ DeleteFlow()

virtual Status google::cloud::dialogflow_cx::FlowsConnection::DeleteFlow ( google::cloud::dialogflow::cx::v3::DeleteFlowRequest const &  request)
virtual

◆ ExportFlow()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ExportFlowResponse > > google::cloud::dialogflow_cx::FlowsConnection::ExportFlow ( google::cloud::dialogflow::cx::v3::ExportFlowRequest const &  request)
virtual

◆ GetFlow()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > google::cloud::dialogflow_cx::FlowsConnection::GetFlow ( google::cloud::dialogflow::cx::v3::GetFlowRequest const &  request)
virtual

◆ GetFlowValidationResult()

virtual StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult > google::cloud::dialogflow_cx::FlowsConnection::GetFlowValidationResult ( google::cloud::dialogflow::cx::v3::GetFlowValidationResultRequest const &  request)
virtual

◆ ImportFlow()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::ImportFlowResponse > > google::cloud::dialogflow_cx::FlowsConnection::ImportFlow ( google::cloud::dialogflow::cx::v3::ImportFlowRequest const &  request)
virtual

◆ ListFlows()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Flow > google::cloud::dialogflow_cx::FlowsConnection::ListFlows ( google::cloud::dialogflow::cx::v3::ListFlowsRequest  request)
virtual

◆ options()

virtual Options google::cloud::dialogflow_cx::FlowsConnection::options ( )
inlinevirtual

◆ TrainFlow()

virtual future< StatusOr< google::protobuf::Struct > > google::cloud::dialogflow_cx::FlowsConnection::TrainFlow ( google::cloud::dialogflow::cx::v3::TrainFlowRequest const &  request)
virtual

◆ UpdateFlow()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Flow > google::cloud::dialogflow_cx::FlowsConnection::UpdateFlow ( google::cloud::dialogflow::cx::v3::UpdateFlowRequest const &  request)
virtual

◆ ValidateFlow()

virtual StatusOr< google::cloud::dialogflow::cx::v3::FlowValidationResult > google::cloud::dialogflow_cx::FlowsConnection::ValidateFlow ( google::cloud::dialogflow::cx::v3::ValidateFlowRequest const &  request)
virtual