19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_ES_MOCKS_MOCK_AGENTS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_ES_MOCKS_MOCK_AGENTS_CONNECTION_H
22#include "google/cloud/dialogflow_es/agents_connection.h"
23#include <gmock/gmock.h>
28GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
31
32
33
34
35
36
37
38
39
40
41
42
43
44
49 MOCK_METHOD(StatusOr<
google::
cloud::dialogflow::v2::Agent>, GetAgent,
50 (
google::
cloud::dialogflow::v2::GetAgentRequest
const& request),
53 MOCK_METHOD(StatusOr<
google::
cloud::dialogflow::v2::Agent>, SetAgent,
54 (
google::
cloud::dialogflow::v2::SetAgentRequest
const& request),
59 (
google::
cloud::dialogflow::v2::DeleteAgentRequest
const& request),
62 MOCK_METHOD(StreamRange<
google::
cloud::dialogflow::v2::Agent>, SearchAgents,
63 (
google::
cloud::dialogflow::v2::SearchAgentsRequest request),
66 MOCK_METHOD(
future<StatusOr<
google::protobuf::Struct>>, TrainAgent,
67 (
google::
cloud::dialogflow::v2::TrainAgentRequest
const& request),
73 (
google::
cloud::dialogflow::v2::ExportAgentRequest
const& request),
78 (
google::
cloud::dialogflow::v2::ImportAgentRequest
const& request),
82 future<StatusOr<
google::protobuf::Struct>>, RestoreAgent,
83 (
google::
cloud::dialogflow::v2::RestoreAgentRequest
const& request),
86 MOCK_METHOD(StatusOr<
google::
cloud::dialogflow::v2::ValidationResult>,
88 (
google::
cloud::dialogflow::v2::GetValidationResultRequest
const&
93GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The AgentsConnection object for AgentsClient.
Definition: agents_connection.h:65
A class to mock AgentsConnection.
Definition: mock_agents_connection.h:45
friend friend class future
Definition: mock_agents_connection.h:27
Definition: agents_client.h:33