15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SNAPSHOT_BUILDER_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_SNAPSHOT_BUILDER_H
18 #include "google/cloud/pubsub/snapshot.h"
19 #include "google/cloud/pubsub/subscription.h"
20 #include "google/cloud/pubsub/version.h"
21 #include "google/cloud/internal/time_utils.h"
22 #include <google/protobuf/util/field_mask_util.h>
23 #include <google/pubsub/v1/pubsub.pb.h>
62 std::string
const& value) & {
64 google::protobuf::Map<std::string, std::string>::value_type;
65 proto_.mutable_labels()->insert(value_type(key, value));
66 paths_.insert(
"labels");
70 std::string
const& value) && {
75 proto_.clear_labels();
76 paths_.insert(
"labels");
83 google::pubsub::v1::Snapshot proto_;
84 std::set<std::string> paths_;