15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_METADATA_UPDATE_POLICY_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_METADATA_UPDATE_POLICY_H
18#include "google/cloud/bigtable/version.h"
19#include <grpcpp/grpcpp.h>
27GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
29
30
31
32
33
34
35
36
37
38
39
40
41class MetadataParamTypes
final {
44 static MetadataParamTypes
const PARENT;
46 static MetadataParamTypes
const NAME;
48 static MetadataParamTypes
const RESOURCE;
58 std::string
const&
type()
const {
return type_; }
61 explicit MetadataParamTypes(std::string type) : type_(std::move(type)) {}
65inline bool operator==(MetadataParamTypes
const& lhs,
66 MetadataParamTypes
const& rhs) {
70inline bool operator!=(MetadataParamTypes
const& lhs,
71 MetadataParamTypes
const& rhs) {
72 return std::rel_ops::operator!=(lhs, rhs);
79
80
81
82
83
84
85
87 MetadataParamTypes
const& metadata_param_type);
95 void Setup(grpc::ClientContext& context)
const;
97 std::string
const&
value()
const {
return value_; }
102 std::string api_client_header_;
105GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
107namespace bigtable_internal {
108GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
111
112
113
115 std::string
const& table_name, std::string
const& app_profile_id);
117GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Contains all the Cloud Bigtable C++ client APIs.
Definition: admin_client.h:28
bool operator!=(MetadataParamTypes const &lhs, MetadataParamTypes const &rhs)
Definition: metadata_update_policy.h:70
bool operator==(MetadataParamTypes const &lhs, MetadataParamTypes const &rhs)
Definition: metadata_update_policy.h:65