Google Cloud BigQuery C++ Client 2.11.0
A C++ Client Library for Google Cloud BigQuery
Loading...
Searching...
No Matches
bigquery_write_connection_idempotency_policy.h
1// Copyright 2022 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_WRITE_CONNECTION_IDEMPOTENCY_POLICY_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_STORAGE_V1_BIGQUERY_WRITE_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<BigQueryWriteConnectionIdempotencyPolicy> clone()
39 const;
40
42 google::cloud::bigquery::storage::v1::CreateWriteStreamRequest const&
43 request);
44
46 google::cloud::bigquery::storage::v1::GetWriteStreamRequest const&
47 request);
48
50 google::cloud::bigquery::storage::v1::FinalizeWriteStreamRequest const&
51 request);
52
54 google::cloud::bigquery::storage::v1::
55 BatchCommitWriteStreamsRequest const& request);
56
58 google::cloud::bigquery::storage::v1::FlushRowsRequest const& request);
59};
60
63
64GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
65} // namespace bigquery_storage_v1
66} // namespace cloud
67} // namespace google
68
69#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_STORAGE_V1_BIGQUERY_WRITE_CONNECTION_IDEMPOTENCY_POLICY_H
Definition: bigquery_write_connection_idempotency_policy.h:33
virtual google::cloud::Idempotency GetWriteStream(google::cloud::bigquery::storage::v1::GetWriteStreamRequest const &request)
virtual google::cloud::Idempotency BatchCommitWriteStreams(google::cloud::bigquery::storage::v1::BatchCommitWriteStreamsRequest const &request)
virtual google::cloud::Idempotency FlushRows(google::cloud::bigquery::storage::v1::FlushRowsRequest const &request)
virtual google::cloud::Idempotency FinalizeWriteStream(google::cloud::bigquery::storage::v1::FinalizeWriteStreamRequest const &request)
virtual google::cloud::Idempotency CreateWriteStream(google::cloud::bigquery::storage::v1::CreateWriteStreamRequest const &request)
virtual std::unique_ptr< BigQueryWriteConnectionIdempotencyPolicy > clone() const
Create a new copy of this object.
Definition: bigquery_read_client.h:32
std::unique_ptr< BigQueryWriteConnectionIdempotencyPolicy > MakeDefaultBigQueryWriteConnectionIdempotencyPolicy()
Definition: analytics_hub_client.h:30