The IntentsConnection
object for IntentsClient
.
More...
#include <google/cloud/dialogflow_cx/intents_connection.h>
|
virtual | ~IntentsConnection ()=0 |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Intent > | ListIntents (google::cloud::dialogflow::cx::v3::ListIntentsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > | GetIntent (google::cloud::dialogflow::cx::v3::GetIntentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > | CreateIntent (google::cloud::dialogflow::cx::v3::CreateIntentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > | UpdateIntent (google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &request) |
|
virtual Status | DeleteIntent (google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &request) |
|
The IntentsConnection
object for IntentsClient
.
This interface defines virtual methods for each of the user-facing overload sets in IntentsClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IntentsClient
.
To create a concrete instance, see MakeIntentsConnection()
.
For mocking, see dialogflow_cx_mocks::MockIntentsConnection
.
◆ ~IntentsConnection()
virtual google::cloud::dialogflow_cx::IntentsConnection::~IntentsConnection |
( |
| ) |
|
|
pure virtual |
◆ CreateIntent()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::CreateIntent |
( |
google::cloud::dialogflow::cx::v3::CreateIntentRequest const & |
request | ) |
|
|
virtual |
◆ DeleteIntent()
virtual Status google::cloud::dialogflow_cx::IntentsConnection::DeleteIntent |
( |
google::cloud::dialogflow::cx::v3::DeleteIntentRequest const & |
request | ) |
|
|
virtual |
◆ GetIntent()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::GetIntent |
( |
google::cloud::dialogflow::cx::v3::GetIntentRequest const & |
request | ) |
|
|
virtual |
◆ ListIntents()
virtual StreamRange< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::ListIntents |
( |
google::cloud::dialogflow::cx::v3::ListIntentsRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::dialogflow_cx::IntentsConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ UpdateIntent()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > google::cloud::dialogflow_cx::IntentsConnection::UpdateIntent |
( |
google::cloud::dialogflow::cx::v3::UpdateIntentRequest const & |
request | ) |
|
|
virtual |