Class ManagedSchemaRegistryConnection (2.40.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in ManagedSchemaRegistryClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ManagedSchemaRegistryClient.

To create a concrete instance, see MakeManagedSchemaRegistryConnection().

For mocking, see managedkafka_schemaregistry_v1_mocks::MockManagedSchemaRegistryConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetSchemaRegistry(google::cloud::managedkafka::schemaregistry::v1::GetSchemaRegistryRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetSchemaRegistryRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaRegistry >

virtual ListSchemaRegistries(google::cloud::managedkafka::schemaregistry::v1::ListSchemaRegistriesRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListSchemaRegistriesRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::ListSchemaRegistriesResponse >

virtual CreateSchemaRegistry(google::cloud::managedkafka::schemaregistry::v1::CreateSchemaRegistryRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::CreateSchemaRegistryRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaRegistry >

virtual DeleteSchemaRegistry(google::cloud::managedkafka::schemaregistry::v1::DeleteSchemaRegistryRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::DeleteSchemaRegistryRequest const &
Returns
Type Description
Status

virtual GetContext(google::cloud::managedkafka::schemaregistry::v1::GetContextRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetContextRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::Context >

virtual ListContexts(google::cloud::managedkafka::schemaregistry::v1::ListContextsRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListContextsRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual GetSchema(google::cloud::managedkafka::schemaregistry::v1::GetSchemaRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetSchemaRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::Schema >

virtual GetRawSchema(google::cloud::managedkafka::schemaregistry::v1::GetSchemaRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetSchemaRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual ListSchemaVersions(google::cloud::managedkafka::schemaregistry::v1::ListSchemaVersionsRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListSchemaVersionsRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual ListSchemaTypes(google::cloud::managedkafka::schemaregistry::v1::ListSchemaTypesRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListSchemaTypesRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual ListSubjects(google::cloud::managedkafka::schemaregistry::v1::ListSubjectsRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListSubjectsRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual ListSubjectsBySchemaId(google::cloud::managedkafka::schemaregistry::v1::ListSubjectsBySchemaIdRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListSubjectsBySchemaIdRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual DeleteSubject(google::cloud::managedkafka::schemaregistry::v1::DeleteSubjectRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::DeleteSubjectRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual LookupVersion(google::cloud::managedkafka::schemaregistry::v1::LookupVersionRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::LookupVersionRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaVersion >

virtual GetVersion(google::cloud::managedkafka::schemaregistry::v1::GetVersionRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetVersionRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaVersion >

virtual GetRawSchemaVersion(google::cloud::managedkafka::schemaregistry::v1::GetVersionRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetVersionRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual ListVersions(google::cloud::managedkafka::schemaregistry::v1::ListVersionsRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListVersionsRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual CreateVersion(google::cloud::managedkafka::schemaregistry::v1::CreateVersionRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::CreateVersionRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::CreateVersionResponse >

virtual DeleteVersion(google::cloud::managedkafka::schemaregistry::v1::DeleteVersionRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::DeleteVersionRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual ListReferencedSchemas(google::cloud::managedkafka::schemaregistry::v1::ListReferencedSchemasRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::ListReferencedSchemasRequest const &
Returns
Type Description
StatusOr< google::api::HttpBody >

virtual CheckCompatibility(google::cloud::managedkafka::schemaregistry::v1::CheckCompatibilityRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::CheckCompatibilityRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::CheckCompatibilityResponse >

virtual GetSchemaConfig(google::cloud::managedkafka::schemaregistry::v1::GetSchemaConfigRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetSchemaConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaConfig >

virtual UpdateSchemaConfig(google::cloud::managedkafka::schemaregistry::v1::UpdateSchemaConfigRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::UpdateSchemaConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaConfig >

virtual DeleteSchemaConfig(google::cloud::managedkafka::schemaregistry::v1::DeleteSchemaConfigRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::DeleteSchemaConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaConfig >

virtual GetSchemaMode(google::cloud::managedkafka::schemaregistry::v1::GetSchemaModeRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::GetSchemaModeRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaMode >

virtual UpdateSchemaMode(google::cloud::managedkafka::schemaregistry::v1::UpdateSchemaModeRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::UpdateSchemaModeRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaMode >

virtual DeleteSchemaMode(google::cloud::managedkafka::schemaregistry::v1::DeleteSchemaModeRequest const &)

Parameter
Name Description
request google::cloud::managedkafka::schemaregistry::v1::DeleteSchemaModeRequest const &
Returns
Type Description
StatusOr< google::cloud::managedkafka::schemaregistry::v1::SchemaMode >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status