19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_SCHEMA_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_SCHEMA_CONNECTION_H
22#include "google/cloud/pubsub/schema_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::pubsub::v1::Schema>, CreateSchema,
50 (
google::pubsub::v1::CreateSchemaRequest
const& request),
53 MOCK_METHOD(StatusOr<
google::pubsub::v1::Schema>, GetSchema,
54 (
google::pubsub::v1::GetSchemaRequest
const& request),
57 MOCK_METHOD(StreamRange<
google::pubsub::v1::Schema>, ListSchemas,
60 MOCK_METHOD(StreamRange<
google::pubsub::v1::Schema>, ListSchemaRevisions,
61 (
google::pubsub::v1::ListSchemaRevisionsRequest request),
64 MOCK_METHOD(StatusOr<
google::pubsub::v1::Schema>, CommitSchema,
65 (
google::pubsub::v1::CommitSchemaRequest
const& request),
68 MOCK_METHOD(StatusOr<
google::pubsub::v1::Schema>, RollbackSchema,
69 (
google::pubsub::v1::RollbackSchemaRequest
const& request),
72 MOCK_METHOD(StatusOr<
google::pubsub::v1::Schema>, DeleteSchemaRevision,
73 (
google::pubsub::v1::DeleteSchemaRevisionRequest
const& request),
76 MOCK_METHOD(
Status, DeleteSchema,
77 (
google::pubsub::v1::DeleteSchemaRequest
const& request),
80 MOCK_METHOD(StatusOr<
google::pubsub::v1::ValidateSchemaResponse>,
82 (
google::pubsub::v1::ValidateSchemaRequest
const& request),
85 MOCK_METHOD(StatusOr<
google::pubsub::v1::ValidateMessageResponse>,
87 (
google::pubsub::v1::ValidateMessageRequest
const& request),
91GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The SchemaServiceConnection object for SchemaServiceClient.
Definition: schema_connection.h:61
A class to mock SchemaServiceConnection.
Definition: mock_schema_connection.h:45
A namespace for googlemock-based Cloud Pub/Sub C++ client mocks.
Definition: mock_ack_handler.h:25
Contains all the Cloud Pub/Sub C++ client types and functions.
Definition: ack_handler.h:25
The namespace Google Cloud Platform C++ client libraries.