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

The SessionsConnection object for SessionsClient. More...

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

Public Member Functions

virtual ~SessionsConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::dialogflow::v2::DetectIntentResponse > DetectIntent (google::cloud::dialogflow::v2::DetectIntentRequest const &request)
 
virtual std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::dialogflow::v2::StreamingDetectIntentRequest, google::cloud::dialogflow::v2::StreamingDetectIntentResponse > > AsyncStreamingDetectIntent ()
 

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_es_mocks::MockSessionsConnection.

Constructor & Destructor Documentation

◆ ~SessionsConnection()

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

Member Function Documentation

◆ AsyncStreamingDetectIntent()

virtual std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::dialogflow::v2::StreamingDetectIntentRequest, google::cloud::dialogflow::v2::StreamingDetectIntentResponse > > google::cloud::dialogflow_es::SessionsConnection::AsyncStreamingDetectIntent ( )
virtual

◆ DetectIntent()

virtual StatusOr< google::cloud::dialogflow::v2::DetectIntentResponse > google::cloud::dialogflow_es::SessionsConnection::DetectIntent ( google::cloud::dialogflow::v2::DetectIntentRequest const &  request)
virtual

◆ options()

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