The SessionsConnection
object for SessionsClient
.
More...
#include <google/cloud/dialogflow_cx/sessions_connection.h>
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
.
◆ ~SessionsConnection()
virtual google::cloud::dialogflow_cx::SessionsConnection::~SessionsConnection |
( |
| ) |
|
|
pure virtual |
◆ 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 |