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>
41 class MetadataParamTypes
final {
44 static MetadataParamTypes
const PARENT;
46 static MetadataParamTypes
const NAME;
58 std::string
const&
type()
const {
return type_; }
61 explicit MetadataParamTypes(std::string type) : type_(std::move(type)) {}
65 inline bool operator==(MetadataParamTypes
const& lhs,
66 MetadataParamTypes
const& rhs) {
70 inline bool operator!=(MetadataParamTypes
const& lhs,
71 MetadataParamTypes
const& rhs) {
72 return std::rel_ops::operator!=(lhs, rhs);
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_;
107 namespace bigtable_internal {
115 std::string
const& table_name, std::string
const& app_profile_id);