Google Cloud BigQuery C++ Client 2.10.1
A C++ Client Library for Google Cloud BigQuery
Loading...
Searching...
No Matches
bigquery_read_connection_idempotency_policy.h
1// Copyright 2021 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/cloud/bigquery/storage/v1/storage.proto
18
19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_STORAGE_V1_BIGQUERY_READ_CONNECTION_IDEMPOTENCY_POLICY_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_STORAGE_V1_BIGQUERY_READ_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/cloud/bigquery/storage/v1/storage.grpc.pb.h>
26#include <memory>
27
28namespace google {
29namespace cloud {
30namespace bigquery_storage_v1 {
31GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
32
34 public:
36
37 /// Create a new copy of this object.
38 virtual std::unique_ptr<BigQueryReadConnectionIdempotencyPolicy> clone()
39 const;
40
42 google::cloud::bigquery::storage::v1::CreateReadSessionRequest const&
43 request);
44
46 google::cloud::bigquery::storage::v1::SplitReadStreamRequest const&
47 request);
48};
49
52
53GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
54namespace gcpcxxV1 = GOOGLE_CLOUD_CPP_NS; // NOLINT(misc-unused-alias-decls)
55} // namespace bigquery_storage_v1
56} // namespace cloud
57} // namespace google
58
59#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_STORAGE_V1_BIGQUERY_READ_CONNECTION_IDEMPOTENCY_POLICY_H
Definition: bigquery_read_connection_idempotency_policy.h:33
virtual google::cloud::Idempotency SplitReadStream(google::cloud::bigquery::storage::v1::SplitReadStreamRequest const &request)
virtual google::cloud::Idempotency CreateReadSession(google::cloud::bigquery::storage::v1::CreateReadSessionRequest const &request)
virtual std::unique_ptr< BigQueryReadConnectionIdempotencyPolicy > clone() const
Create a new copy of this object.
Definition: bigquery_read_client.h:32
std::unique_ptr< BigQueryReadConnectionIdempotencyPolicy > MakeDefaultBigQueryReadConnectionIdempotencyPolicy()
Definition: analytics_hub_client.h:30