Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::pubsub::SchemaServiceConnection Class Referenceabstract

The SchemaServiceConnection object for SchemaServiceClient. More...

#include <google/cloud/pubsub/schema_connection.h>

Public Member Functions

virtual ~SchemaServiceConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::pubsub::v1::Schema > CreateSchema (google::pubsub::v1::CreateSchemaRequest const &request)
 
virtual StatusOr< google::pubsub::v1::Schema > GetSchema (google::pubsub::v1::GetSchemaRequest const &request)
 
virtual StreamRange< google::pubsub::v1::Schema > ListSchemas (google::pubsub::v1::ListSchemasRequest request)
 
virtual StreamRange< google::pubsub::v1::Schema > ListSchemaRevisions (google::pubsub::v1::ListSchemaRevisionsRequest request)
 
virtual StatusOr< google::pubsub::v1::Schema > CommitSchema (google::pubsub::v1::CommitSchemaRequest const &request)
 
virtual StatusOr< google::pubsub::v1::Schema > RollbackSchema (google::pubsub::v1::RollbackSchemaRequest const &request)
 
virtual StatusOr< google::pubsub::v1::Schema > DeleteSchemaRevision (google::pubsub::v1::DeleteSchemaRevisionRequest const &request)
 
virtual Status DeleteSchema (google::pubsub::v1::DeleteSchemaRequest const &request)
 
virtual StatusOr< google::pubsub::v1::ValidateSchemaResponse > ValidateSchema (google::pubsub::v1::ValidateSchemaRequest const &request)
 
virtual StatusOr< google::pubsub::v1::ValidateMessageResponse > ValidateMessage (google::pubsub::v1::ValidateMessageRequest const &request)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~SchemaServiceConnection()

virtual google::cloud::pubsub::SchemaServiceConnection::~SchemaServiceConnection ( )
pure virtual

Member Function Documentation

◆ 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