19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SCHEMA_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SCHEMA_CONNECTION_H
22#include "google/cloud/pubsub/internal/schema_retry_traits.h"
23#include "google/cloud/pubsub/schema_connection_idempotency_policy.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/options.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/stream_range.h"
28#include "google/cloud/version.h"
29#include <google/pubsub/v1/schema.pb.h>
35GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
37using SchemaServiceRetryPolicy =
39 pubsub_internal::SchemaServiceRetryTraits>;
41using SchemaServiceLimitedTimeRetryPolicy =
43 pubsub_internal::SchemaServiceRetryTraits>;
45using SchemaServiceLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 pubsub_internal::SchemaServiceRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
68 google::pubsub::v1::CreateSchemaRequest
const& request);
71 google::pubsub::v1::GetSchemaRequest
const& request);
74 google::pubsub::v1::ListSchemasRequest request);
77 google::pubsub::v1::ListSchemaRevisionsRequest request);
80 google::pubsub::v1::CommitSchemaRequest
const& request);
83 google::pubsub::v1::RollbackSchemaRequest
const& request);
86 google::pubsub::v1::DeleteSchemaRevisionRequest
const& request);
89 google::pubsub::v1::DeleteSchemaRequest
const& request);
92 google::pubsub::v1::ValidateSchemaRequest
const& request);
95 google::pubsub::v1::ValidateMessageRequest
const& request);
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
122GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The SchemaServiceConnection object for SchemaServiceClient.
Definition: schema_connection.h:61
virtual StatusOr< google::pubsub::v1::Schema > DeleteSchemaRevision(google::pubsub::v1::DeleteSchemaRevisionRequest const &request)
virtual StatusOr< google::pubsub::v1::Schema > RollbackSchema(google::pubsub::v1::RollbackSchemaRequest const &request)
virtual StatusOr< google::pubsub::v1::ValidateSchemaResponse > ValidateSchema(google::pubsub::v1::ValidateSchemaRequest const &request)
virtual Status DeleteSchema(google::pubsub::v1::DeleteSchemaRequest const &request)
virtual Options options()
Definition: schema_connection.h:65
virtual ~SchemaServiceConnection()=0
virtual StatusOr< google::pubsub::v1::ValidateMessageResponse > ValidateMessage(google::pubsub::v1::ValidateMessageRequest const &request)
virtual StatusOr< google::pubsub::v1::Schema > CommitSchema(google::pubsub::v1::CommitSchemaRequest const &request)
virtual StreamRange< google::pubsub::v1::Schema > ListSchemas(google::pubsub::v1::ListSchemasRequest request)
virtual StatusOr< google::pubsub::v1::Schema > CreateSchema(google::pubsub::v1::CreateSchemaRequest const &request)
virtual StreamRange< google::pubsub::v1::Schema > ListSchemaRevisions(google::pubsub::v1::ListSchemaRevisionsRequest request)
virtual StatusOr< google::pubsub::v1::Schema > GetSchema(google::pubsub::v1::GetSchemaRequest const &request)
Contains all the Cloud Pub/Sub C++ client types and functions.
Definition: ack_handler.h:25
std::shared_ptr< SchemaServiceConnection > MakeSchemaServiceConnection(Options options={})
A factory function to construct an object of type SchemaServiceConnection.
The namespace Google Cloud Platform C++ client libraries.