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