The SchemaServiceConnection
object for SchemaServiceClient
.
More...
#include <google/cloud/pubsub/schema_connection.h>
The SchemaServiceConnection
object for SchemaServiceClient
.
This interface defines virtual methods for each of the user-facing overload sets in SchemaServiceClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SchemaServiceClient
.
To create a concrete instance, see MakeSchemaServiceConnection()
.
For mocking, see pubsub_mocks::MockSchemaServiceConnection
.
◆ ~SchemaServiceConnection()
virtual google::cloud::pubsub::SchemaServiceConnection::~SchemaServiceConnection |
( |
| ) |
|
|
pure virtual |
◆ CommitSchema()
virtual StatusOr< google::pubsub::v1::Schema > google::cloud::pubsub::SchemaServiceConnection::CommitSchema |
( |
google::pubsub::v1::CommitSchemaRequest const & |
request | ) |
|
|
virtual |
◆ CreateSchema()
virtual StatusOr< google::pubsub::v1::Schema > google::cloud::pubsub::SchemaServiceConnection::CreateSchema |
( |
google::pubsub::v1::CreateSchemaRequest const & |
request | ) |
|
|
virtual |
◆ DeleteSchema()
virtual Status google::cloud::pubsub::SchemaServiceConnection::DeleteSchema |
( |
google::pubsub::v1::DeleteSchemaRequest const & |
request | ) |
|
|
virtual |
◆ DeleteSchemaRevision()
virtual StatusOr< google::pubsub::v1::Schema > google::cloud::pubsub::SchemaServiceConnection::DeleteSchemaRevision |
( |
google::pubsub::v1::DeleteSchemaRevisionRequest const & |
request | ) |
|
|
virtual |
◆ GetSchema()
virtual StatusOr< google::pubsub::v1::Schema > google::cloud::pubsub::SchemaServiceConnection::GetSchema |
( |
google::pubsub::v1::GetSchemaRequest const & |
request | ) |
|
|
virtual |
◆ ListSchemaRevisions()
virtual StreamRange< google::pubsub::v1::Schema > google::cloud::pubsub::SchemaServiceConnection::ListSchemaRevisions |
( |
google::pubsub::v1::ListSchemaRevisionsRequest |
request | ) |
|
|
virtual |
◆ ListSchemas()
virtual StreamRange< google::pubsub::v1::Schema > google::cloud::pubsub::SchemaServiceConnection::ListSchemas |
( |
google::pubsub::v1::ListSchemasRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::pubsub::SchemaServiceConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ RollbackSchema()
virtual StatusOr< google::pubsub::v1::Schema > google::cloud::pubsub::SchemaServiceConnection::RollbackSchema |
( |
google::pubsub::v1::RollbackSchemaRequest const & |
request | ) |
|
|
virtual |
◆ ValidateMessage()
virtual StatusOr< google::pubsub::v1::ValidateMessageResponse > google::cloud::pubsub::SchemaServiceConnection::ValidateMessage |
( |
google::pubsub::v1::ValidateMessageRequest const & |
request | ) |
|
|
virtual |
◆ ValidateSchema()
virtual StatusOr< google::pubsub::v1::ValidateSchemaResponse > google::cloud::pubsub::SchemaServiceConnection::ValidateSchema |
( |
google::pubsub::v1::ValidateSchemaRequest const & |
request | ) |
|
|
virtual |