Google Cloud Bigtable C++ Client
1.42.0
A C++ Client Library for Google Cloud Bigtable
version.h
Go to the documentation of this file.
1
// Copyright 2017 Google Inc.
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
#
ifndef
GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_VERSION_H
16
#
define
GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_VERSION_H
17
18
#
include
"google/cloud/bigtable/version_info.h"
19
#
include
"google/cloud/version.h"
20
#
include
<
string
>
21
22
#
define
GOOGLE_CLOUD_CPP_BIGTABLE_DATA_CLIENT_DEPRECATED
(
name
)
23
GOOGLE_CLOUD_CPP_DEPRECATED
(
24
"google::cloud::bigtable::DataClient::"
name
25
" is deprecated, and will be removed on or shortly after 2023-05-01."
26
" See GitHub issue #8800 for more information."
)
27
28
#
define
GOOGLE_CLOUD_CPP_BIGTABLE_ROW_READER_CTOR_DEPRECATED
(
)
29
GOOGLE_CLOUD_CPP_DEPRECATED
(
30
"RowReader public constructors have been deprecated. They are "
31
" scheduled for deletion on 2023-05-01. Please use the `RowReader` "
32
"returned by `Table::ReadRows()`."
)
33
34
// This preprocessor symbol is deprecated and should never be used anywhere. It
35
// exists solely for backward compatibility to avoid breaking anyone who may
36
// have been using it.
37
#
define
BIGTABLE_CLIENT_NS
GOOGLE_CLOUD_CPP_NS
38
39
namespace
google
{
40
namespace
cloud
{
41
/**
42
* Contains all the Cloud Bigtable C++ client APIs.
43
*/
44
namespace
bigtable
{
45
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
46
/**
47
* The Cloud Bigtable C++ Client major version.
48
*
49
* @see https://semver.org/spec/v2.0.0.html for details.
50
*/
51
int
constexpr
version_major
() {
return
google
::
cloud
::
version_major
(
)
; }
52
53
/**
54
* The Cloud Bigtable C++ Client minor version.
55
*
56
* @see https://semver.org/spec/v2.0.0.html for details.
57
*/
58
int
constexpr
version_minor
() {
return
google
::
cloud
::
version_minor
(
)
; }
59
60
/**
61
* The Cloud Bigtable C++ Client patch version.
62
*
63
* @see https://semver.org/spec/v2.0.0.html for details.
64
*/
65
int
constexpr
version_patch
() {
return
google
::
cloud
::
version_patch
(
)
; }
66
67
/// A single integer representing the Major/Minor/Patch version.
68
int
constexpr
version
() {
return
google
::
cloud
::
version
(
)
; }
69
70
/// The version as a string, in MAJOR.MINOR.PATCH+gitrev format.
71
std::string
version_string
();
72
73
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
74
// TODO(#7463) - remove backwards compatibility namespaces
75
namespace
v1 =
GOOGLE_CLOUD_CPP_NS
;
// NOLINT(misc-unused-alias-decls)
76
}
// namespace bigtable
77
}
// namespace cloud
78
}
// namespace google
79
80
#
endif
// GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_VERSION_H
Generated on Tue Jun 21 2022 16:51:58 for Google Cloud Bigtable C++ Client by
1.9.1