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
.
Functions
virtual options()
Returns | |
---|---|
Type | Description |
Options |
virtual DetectIntent(google::cloud::dialogflow::v2::DetectIntentRequest const &)
Parameter | |
---|---|
Name | Description |
request |
google::cloud::dialogflow::v2::DetectIntentRequest const &
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::dialogflow::v2::DetectIntentResponse > |
virtual AsyncStreamingDetectIntent()
Returns | |
---|---|
Type | Description |
std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::dialogflow::v2::StreamingDetectIntentRequest, google::cloud::dialogflow::v2::StreamingDetectIntentResponse > > |