A googlemock-based mock for pubsub::SchemaAdminConnection.
More...
#include <google/cloud/pubsub/mocks/mock_schema_admin_connection.h>
|
| MOCK_METHOD (StatusOr< google::pubsub::v1::Schema >, CreateSchema,(google::pubsub::v1::CreateSchemaRequest const &),(override)) |
|
| MOCK_METHOD (StatusOr< google::pubsub::v1::Schema >, GetSchema,(google::pubsub::v1::GetSchemaRequest const &),(override)) |
|
| MOCK_METHOD (ListSchemasRange, ListSchemas,(google::pubsub::v1::ListSchemasRequest const &),(override)) |
|
| MOCK_METHOD (Status, DeleteSchema,(google::pubsub::v1::DeleteSchemaRequest const &),(override)) |
|
| MOCK_METHOD (StatusOr< google::pubsub::v1::ValidateSchemaResponse >, ValidateSchema,(google::pubsub::v1::ValidateSchemaRequest const &),(override)) |
|
| MOCK_METHOD (StatusOr< google::pubsub::v1::ValidateMessageResponse >, ValidateMessage,(google::pubsub::v1::ValidateMessageRequest const &),(override)) |
|
virtual StatusOr< google::pubsub::v1::Schema > | CreateSchema (google::pubsub::v1::CreateSchemaRequest const &)=0 |
| Defines the interface for SchemaAdminClient::CreateSchema() More...
|
|
virtual StatusOr< google::pubsub::v1::Schema > | GetSchema (google::pubsub::v1::GetSchemaRequest const &)=0 |
| Defines the interface for SchemaAdminClient::GetSchema() More...
|
|
virtual ListSchemasRange | ListSchemas (google::pubsub::v1::ListSchemasRequest const &)=0 |
| Defines the interface for SchemaAdminClient::ListSchemas() More...
|
|
virtual Status | DeleteSchema (google::pubsub::v1::DeleteSchemaRequest const &)=0 |
| Defines the interface for SchemaAdminClient::DeleteSchema() More...
|
|
virtual StatusOr< google::pubsub::v1::ValidateSchemaResponse > | ValidateSchema (google::pubsub::v1::ValidateSchemaRequest const &)=0 |
| Defines the interface for SchemaAdminClient::ValidateSchema() More...
|
|
virtual StatusOr< google::pubsub::v1::ValidateMessageResponse > | ValidateMessage (google::pubsub::v1::ValidateMessageRequest const &)=0 |
| Defines the interface for SchemaAdminClient::ValidateMessage() More...
|
|
virtual Options | options () const |
| Return the options used to create the connection. More...
|
|
◆ CreateSchema()
virtual StatusOr<google::pubsub::v1::Schema> google::cloud::pubsub::SchemaAdminConnection::CreateSchema |
( |
google::pubsub::v1::CreateSchemaRequest const & |
| ) |
|
|
pure virtualinherited |
◆ DeleteSchema()
virtual Status google::cloud::pubsub::SchemaAdminConnection::DeleteSchema |
( |
google::pubsub::v1::DeleteSchemaRequest const & |
| ) |
|
|
pure virtualinherited |
◆ GetSchema()
virtual StatusOr<google::pubsub::v1::Schema> google::cloud::pubsub::SchemaAdminConnection::GetSchema |
( |
google::pubsub::v1::GetSchemaRequest const & |
| ) |
|
|
pure virtualinherited |
◆ ListSchemas()
virtual ListSchemasRange google::cloud::pubsub::SchemaAdminConnection::ListSchemas |
( |
google::pubsub::v1::ListSchemasRequest const & |
| ) |
|
|
pure virtualinherited |
◆ MOCK_METHOD() [1/6]
google::cloud::pubsub::MockSchemaAdminConnection::MOCK_METHOD |
( |
ListSchemasRange |
, |
|
|
ListSchemas |
, |
|
|
(google::pubsub::v1::ListSchemasRequest const &) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [2/6]
google::cloud::pubsub::MockSchemaAdminConnection::MOCK_METHOD |
( |
Status |
, |
|
|
DeleteSchema |
, |
|
|
(google::pubsub::v1::DeleteSchemaRequest const &) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [3/6]
google::cloud::pubsub::MockSchemaAdminConnection::MOCK_METHOD |
( |
StatusOr< google::pubsub::v1::Schema > |
, |
|
|
CreateSchema |
, |
|
|
(google::pubsub::v1::CreateSchemaRequest const &) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [4/6]
google::cloud::pubsub::MockSchemaAdminConnection::MOCK_METHOD |
( |
StatusOr< google::pubsub::v1::Schema > |
, |
|
|
GetSchema |
, |
|
|
(google::pubsub::v1::GetSchemaRequest const &) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [5/6]
google::cloud::pubsub::MockSchemaAdminConnection::MOCK_METHOD |
( |
StatusOr< google::pubsub::v1::ValidateMessageResponse > |
, |
|
|
ValidateMessage |
, |
|
|
(google::pubsub::v1::ValidateMessageRequest const &) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [6/6]
google::cloud::pubsub::MockSchemaAdminConnection::MOCK_METHOD |
( |
StatusOr< google::pubsub::v1::ValidateSchemaResponse > |
, |
|
|
ValidateSchema |
, |
|
|
(google::pubsub::v1::ValidateSchemaRequest const &) |
, |
|
|
(override) |
|
|
) |
| |
◆ options()
virtual Options google::cloud::pubsub::SchemaAdminConnection::options |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ ValidateMessage()
virtual StatusOr<google::pubsub::v1::ValidateMessageResponse> google::cloud::pubsub::SchemaAdminConnection::ValidateMessage |
( |
google::pubsub::v1::ValidateMessageRequest const & |
| ) |
|
|
pure virtualinherited |
◆ ValidateSchema()
virtual StatusOr<google::pubsub::v1::ValidateSchemaResponse> google::cloud::pubsub::SchemaAdminConnection::ValidateSchema |
( |
google::pubsub::v1::ValidateSchemaRequest const & |
| ) |
|
|
pure virtualinherited |