19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_ES_SESSIONS_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_ES_SESSIONS_CLIENT_H
22#include "google/cloud/dialogflow_es/sessions_connection.h"
23#include "google/cloud/future.h"
24#include "google/cloud/options.h"
25#include "google/cloud/polling_policy.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
81 return a.connection_ == b.connection_;
150 std::string
const& session,
151 google::
cloud::dialogflow::v2::QueryInput
const& query_input,
197 google::
cloud::dialogflow::v2::DetectIntentRequest
const& request,
240 google::
cloud::dialogflow::v2::StreamingDetectIntentRequest,
241 google::
cloud::dialogflow::v2::StreamingDetectIntentResponse>>
249GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
A service used for session interactions.
Definition: sessions_client.h:64
SessionsClient(SessionsClient const &)=default
friend bool operator!=(SessionsClient const &a, SessionsClient const &b)
Definition: sessions_client.h:83
StatusOr< google::cloud::dialogflow::v2::DetectIntentResponse > DetectIntent(google::cloud::dialogflow::v2::DetectIntentRequest const &request, Options opts={})
Processes a natural language query and returns structured, actionable data as a result.
SessionsClient(std::shared_ptr< SessionsConnection > connection, Options opts={})
SessionsClient & operator=(SessionsClient const &)=default
SessionsClient(SessionsClient &&)=default
std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc< google::cloud::dialogflow::v2::StreamingDetectIntentRequest, google::cloud::dialogflow::v2::StreamingDetectIntentResponse > > AsyncStreamingDetectIntent(Options opts={})
Processes a natural language query in audio format in a streaming fashion and returns structured,...
friend bool operator==(SessionsClient const &a, SessionsClient const &b)
Definition: sessions_client.h:80
StatusOr< google::cloud::dialogflow::v2::DetectIntentResponse > DetectIntent(std::string const &session, google::cloud::dialogflow::v2::QueryInput const &query_input, Options opts={})
Processes a natural language query and returns structured, actionable data as a result.
SessionsClient & operator=(SessionsClient &&)=default
The SessionsConnection object for SessionsClient.
Definition: sessions_connection.h:61
Definition: agents_client.h:33