Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
Loading...
Searching...
No Matches
schema_connection_idempotency_policy.h
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Generated by the Codegen C++ plugin.
16// If you make any local changes, they will be lost.
17// source: google/pubsub/v1/schema.proto
18
19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SCHEMA_CONNECTION_IDEMPOTENCY_POLICY_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SCHEMA_CONNECTION_IDEMPOTENCY_POLICY_H
21
22#include "google/cloud/idempotency.h"
23#include "google/cloud/internal/retry_policy.h"
24#include "google/cloud/version.h"
25#include <google/pubsub/v1/schema.grpc.pb.h>
26#include <memory>
27
28namespace google {
29namespace cloud {
30namespace pubsub {
31GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
32
34 public:
36
37 /// Create a new copy of this object.
38 virtual std::unique_ptr<SchemaServiceConnectionIdempotencyPolicy> clone()
39 const;
40
42 google::pubsub::v1::CreateSchemaRequest const& request);
43
45 google::pubsub::v1::GetSchemaRequest const& request);
46
48 google::pubsub::v1::ListSchemasRequest request);
49
51 google::pubsub::v1::ListSchemaRevisionsRequest request);
52
54 google::pubsub::v1::CommitSchemaRequest const& request);
55
57 google::pubsub::v1::RollbackSchemaRequest const& request);
58
60 google::pubsub::v1::DeleteSchemaRevisionRequest const& request);
61
63 google::pubsub::v1::DeleteSchemaRequest const& request);
64
66 google::pubsub::v1::ValidateSchemaRequest const& request);
67
69 google::pubsub::v1::ValidateMessageRequest const& request);
70};
71
74
75GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
76} // namespace pubsub
77} // namespace cloud
78} // namespace google
79
80#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SCHEMA_CONNECTION_IDEMPOTENCY_POLICY_H
Definition: schema_connection_idempotency_policy.h:33
virtual google::cloud::Idempotency CreateSchema(google::pubsub::v1::CreateSchemaRequest const &request)
virtual google::cloud::Idempotency ValidateMessage(google::pubsub::v1::ValidateMessageRequest const &request)
virtual google::cloud::Idempotency DeleteSchema(google::pubsub::v1::DeleteSchemaRequest const &request)
virtual google::cloud::Idempotency CommitSchema(google::pubsub::v1::CommitSchemaRequest const &request)
virtual google::cloud::Idempotency ValidateSchema(google::pubsub::v1::ValidateSchemaRequest const &request)
virtual google::cloud::Idempotency ListSchemaRevisions(google::pubsub::v1::ListSchemaRevisionsRequest request)
virtual google::cloud::Idempotency RollbackSchema(google::pubsub::v1::RollbackSchemaRequest const &request)
virtual google::cloud::Idempotency GetSchema(google::pubsub::v1::GetSchemaRequest const &request)
virtual google::cloud::Idempotency DeleteSchemaRevision(google::pubsub::v1::DeleteSchemaRevisionRequest const &request)
virtual google::cloud::Idempotency ListSchemas(google::pubsub::v1::ListSchemasRequest request)
virtual std::unique_ptr< SchemaServiceConnectionIdempotencyPolicy > clone() const
Create a new copy of this object.
Contains all the Cloud Pub/Sub C++ client types and functions.
Definition: ack_handler.h:25
std::unique_ptr< SchemaServiceConnectionIdempotencyPolicy > MakeDefaultSchemaServiceConnectionIdempotencyPolicy()
The namespace Google Cloud Platform C++ client libraries.