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::SessionsConnection Class Referenceabstract

The SessionsConnection object for SessionsClient. More...

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

Public Member Functions

virtual ~SessionsConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::DetectIntentResponse > DetectIntent (google::cloud::dialogflow::cx::v3::DetectIntentRequest const &request)
 
virtual std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::dialogflow::cx::v3::StreamingDetectIntentRequest, google::cloud::dialogflow::cx::v3::StreamingDetectIntentResponse > > AsyncStreamingDetectIntent ()
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::MatchIntentResponse > MatchIntent (google::cloud::dialogflow::cx::v3::MatchIntentRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::FulfillIntentResponse > FulfillIntent (google::cloud::dialogflow::cx::v3::FulfillIntentRequest const &request)
 

Detailed Description

The SessionsConnection object for SessionsClient.

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

To create a concrete instance, see MakeSessionsConnection().

For mocking, see dialogflow_cx_mocks::MockSessionsConnection.

Constructor & Destructor Documentation

◆ ~SessionsConnection()

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

Member Function Documentation

◆ AsyncStreamingDetectIntent()

virtual std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::dialogflow::cx::v3::StreamingDetectIntentRequest, google::cloud::dialogflow::cx::v3::StreamingDetectIntentResponse > > google::cloud::dialogflow_cx::SessionsConnection::AsyncStreamingDetectIntent ( )
virtual

◆ DetectIntent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::DetectIntentResponse > google::cloud::dialogflow_cx::SessionsConnection::DetectIntent ( google::cloud::dialogflow::cx::v3::DetectIntentRequest const &  request)
virtual

◆ FulfillIntent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::FulfillIntentResponse > google::cloud::dialogflow_cx::SessionsConnection::FulfillIntent ( google::cloud::dialogflow::cx::v3::FulfillIntentRequest const &  request)
virtual

◆ MatchIntent()

virtual StatusOr< google::cloud::dialogflow::cx::v3::MatchIntentResponse > google::cloud::dialogflow_cx::SessionsConnection::MatchIntent ( google::cloud::dialogflow::cx::v3::MatchIntentRequest const &  request)
virtual

◆ options()

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