Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
Loading...
Searching...
No Matches
schema_options.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_OPTIONS_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SCHEMA_OPTIONS_H
21
22#include "google/cloud/pubsub/schema_connection.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/version.h"
27#include <memory>
28
29namespace google {
30namespace cloud {
31namespace pubsub {
32GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
33
34/**
35 * Use with `google::cloud::Options` to configure the retry policy.
36 *
37 * @ingroup google-cloud-pubsub-options
38 */
40 using Type = std::shared_ptr<SchemaServiceRetryPolicy>;
41};
42
43/**
44 * Use with `google::cloud::Options` to configure the backoff policy.
45 *
46 * @ingroup google-cloud-pubsub-options
47 */
49 using Type = std::shared_ptr<BackoffPolicy>;
50};
51
52/**
53 * Use with `google::cloud::Options` to configure which operations are retried.
54 *
55 * @ingroup google-cloud-pubsub-options
56 */
58 using Type = std::shared_ptr<SchemaServiceConnectionIdempotencyPolicy>;
59};
60
61/**
62 * The options applicable to SchemaService.
63 *
64 * @ingroup google-cloud-pubsub-options
65 */
66using SchemaServicePolicyOptionList =
69
70GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
71} // namespace pubsub
72} // namespace cloud
73} // namespace google
74
75#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SCHEMA_OPTIONS_H
Definition: schema_connection_idempotency_policy.h:33
Contains all the Cloud Pub/Sub C++ client types and functions.
Definition: ack_handler.h:25
The namespace Google Cloud Platform C++ client libraries.
Use with google::cloud::Options to configure the backoff policy.
Definition: schema_options.h:48
Use with google::cloud::Options to configure which operations are retried.
Definition: schema_options.h:57
Use with google::cloud::Options to configure the retry policy.
Definition: schema_options.h:39