document.pb.h 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941
  1. /*
  2. * Copyright 2021 Google LLC
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. // Generated by the protocol buffer compiler. DO NOT EDIT!
  17. // source: google/firestore/v1/document.proto
  18. #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fdocument_2eproto
  19. #define GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fdocument_2eproto
  20. #include <limits>
  21. #include <string>
  22. #include <google/protobuf/port_def.inc>
  23. #if PROTOBUF_VERSION < 3011000
  24. #error This file was generated by a newer version of protoc which is
  25. #error incompatible with your Protocol Buffer headers. Please update
  26. #error your headers.
  27. #endif
  28. #if 3011002 < PROTOBUF_MIN_PROTOC_VERSION
  29. #error This file was generated by an older version of protoc which is
  30. #error incompatible with your Protocol Buffer headers. Please
  31. #error regenerate this file with a newer version of protoc.
  32. #endif
  33. #include <google/protobuf/port_undef.inc>
  34. #include <google/protobuf/io/coded_stream.h>
  35. #include <google/protobuf/arena.h>
  36. #include <google/protobuf/arenastring.h>
  37. #include <google/protobuf/generated_message_table_driven.h>
  38. #include <google/protobuf/generated_message_util.h>
  39. #include <google/protobuf/inlined_string_field.h>
  40. #include <google/protobuf/metadata.h>
  41. #include <google/protobuf/generated_message_reflection.h>
  42. #include <google/protobuf/message.h>
  43. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  44. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  45. #include <google/protobuf/map.h> // IWYU pragma: export
  46. #include <google/protobuf/map_entry.h>
  47. #include <google/protobuf/map_field_inl.h>
  48. #include <google/protobuf/unknown_field_set.h>
  49. #include "google/api/annotations.pb.h"
  50. #include <google/protobuf/struct.pb.h>
  51. #include <google/protobuf/timestamp.pb.h>
  52. #include "google/type/latlng.pb.h"
  53. // @@protoc_insertion_point(includes)
  54. #include <google/protobuf/port_def.inc>
  55. #define PROTOBUF_INTERNAL_EXPORT_google_2ffirestore_2fv1_2fdocument_2eproto
  56. PROTOBUF_NAMESPACE_OPEN
  57. namespace internal {
  58. class AnyMetadata;
  59. } // namespace internal
  60. PROTOBUF_NAMESPACE_CLOSE
  61. // Internal implementation detail -- do not use these members.
  62. struct TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto {
  63. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  64. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  65. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
  66. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  67. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
  68. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  69. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  70. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  71. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  72. };
  73. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto;
  74. namespace google {
  75. namespace firestore {
  76. namespace v1 {
  77. class ArrayValue;
  78. class ArrayValueDefaultTypeInternal;
  79. extern ArrayValueDefaultTypeInternal _ArrayValue_default_instance_;
  80. class Document;
  81. class DocumentDefaultTypeInternal;
  82. extern DocumentDefaultTypeInternal _Document_default_instance_;
  83. class Document_FieldsEntry_DoNotUse;
  84. class Document_FieldsEntry_DoNotUseDefaultTypeInternal;
  85. extern Document_FieldsEntry_DoNotUseDefaultTypeInternal _Document_FieldsEntry_DoNotUse_default_instance_;
  86. class MapValue;
  87. class MapValueDefaultTypeInternal;
  88. extern MapValueDefaultTypeInternal _MapValue_default_instance_;
  89. class MapValue_FieldsEntry_DoNotUse;
  90. class MapValue_FieldsEntry_DoNotUseDefaultTypeInternal;
  91. extern MapValue_FieldsEntry_DoNotUseDefaultTypeInternal _MapValue_FieldsEntry_DoNotUse_default_instance_;
  92. class Value;
  93. class ValueDefaultTypeInternal;
  94. extern ValueDefaultTypeInternal _Value_default_instance_;
  95. } // namespace v1
  96. } // namespace firestore
  97. } // namespace google
  98. PROTOBUF_NAMESPACE_OPEN
  99. template<> ::google::firestore::v1::ArrayValue* Arena::CreateMaybeMessage<::google::firestore::v1::ArrayValue>(Arena*);
  100. template<> ::google::firestore::v1::Document* Arena::CreateMaybeMessage<::google::firestore::v1::Document>(Arena*);
  101. template<> ::google::firestore::v1::Document_FieldsEntry_DoNotUse* Arena::CreateMaybeMessage<::google::firestore::v1::Document_FieldsEntry_DoNotUse>(Arena*);
  102. template<> ::google::firestore::v1::MapValue* Arena::CreateMaybeMessage<::google::firestore::v1::MapValue>(Arena*);
  103. template<> ::google::firestore::v1::MapValue_FieldsEntry_DoNotUse* Arena::CreateMaybeMessage<::google::firestore::v1::MapValue_FieldsEntry_DoNotUse>(Arena*);
  104. template<> ::google::firestore::v1::Value* Arena::CreateMaybeMessage<::google::firestore::v1::Value>(Arena*);
  105. PROTOBUF_NAMESPACE_CLOSE
  106. namespace google {
  107. namespace firestore {
  108. namespace v1 {
  109. // ===================================================================
  110. class Document_FieldsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Document_FieldsEntry_DoNotUse,
  111. std::string, ::google::firestore::v1::Value,
  112. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  113. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
  114. 0 > {
  115. public:
  116. typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Document_FieldsEntry_DoNotUse,
  117. std::string, ::google::firestore::v1::Value,
  118. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  119. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
  120. 0 > SuperType;
  121. Document_FieldsEntry_DoNotUse();
  122. Document_FieldsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  123. void MergeFrom(const Document_FieldsEntry_DoNotUse& other);
  124. static const Document_FieldsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Document_FieldsEntry_DoNotUse*>(&_Document_FieldsEntry_DoNotUse_default_instance_); }
  125. static bool ValidateKey(std::string* s) {
  126. return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "google.firestore.v1.Document.FieldsEntry.key");
  127. }
  128. static bool ValidateValue(void*) { return true; }
  129. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
  130. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  131. private:
  132. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  133. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto);
  134. return ::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto.file_level_metadata[0];
  135. }
  136. public:
  137. };
  138. // -------------------------------------------------------------------
  139. class Document :
  140. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Document) */ {
  141. public:
  142. Document();
  143. virtual ~Document();
  144. Document(const Document& from);
  145. Document(Document&& from) noexcept
  146. : Document() {
  147. *this = ::std::move(from);
  148. }
  149. inline Document& operator=(const Document& from) {
  150. CopyFrom(from);
  151. return *this;
  152. }
  153. inline Document& operator=(Document&& from) noexcept {
  154. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  155. if (this != &from) InternalSwap(&from);
  156. } else {
  157. CopyFrom(from);
  158. }
  159. return *this;
  160. }
  161. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  162. return GetDescriptor();
  163. }
  164. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  165. return GetMetadataStatic().descriptor;
  166. }
  167. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  168. return GetMetadataStatic().reflection;
  169. }
  170. static const Document& default_instance();
  171. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  172. static inline const Document* internal_default_instance() {
  173. return reinterpret_cast<const Document*>(
  174. &_Document_default_instance_);
  175. }
  176. static constexpr int kIndexInFileMessages =
  177. 1;
  178. friend void swap(Document& a, Document& b) {
  179. a.Swap(&b);
  180. }
  181. inline void Swap(Document* other) {
  182. if (other == this) return;
  183. InternalSwap(other);
  184. }
  185. // implements Message ----------------------------------------------
  186. inline Document* New() const final {
  187. return CreateMaybeMessage<Document>(nullptr);
  188. }
  189. Document* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  190. return CreateMaybeMessage<Document>(arena);
  191. }
  192. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  193. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  194. void CopyFrom(const Document& from);
  195. void MergeFrom(const Document& from);
  196. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  197. bool IsInitialized() const final;
  198. size_t ByteSizeLong() const final;
  199. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  200. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  201. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  202. int GetCachedSize() const final { return _cached_size_.Get(); }
  203. private:
  204. inline void SharedCtor();
  205. inline void SharedDtor();
  206. void SetCachedSize(int size) const final;
  207. void InternalSwap(Document* other);
  208. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  209. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  210. return "google.firestore.v1.Document";
  211. }
  212. private:
  213. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  214. return nullptr;
  215. }
  216. inline void* MaybeArenaPtr() const {
  217. return nullptr;
  218. }
  219. public:
  220. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  221. private:
  222. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  223. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto);
  224. return ::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto.file_level_metadata[kIndexInFileMessages];
  225. }
  226. public:
  227. // nested types ----------------------------------------------------
  228. // accessors -------------------------------------------------------
  229. enum : int {
  230. kFieldsFieldNumber = 2,
  231. kNameFieldNumber = 1,
  232. kCreateTimeFieldNumber = 3,
  233. kUpdateTimeFieldNumber = 4,
  234. };
  235. // map<string, .google.firestore.v1.Value> fields = 2;
  236. int fields_size() const;
  237. private:
  238. int _internal_fields_size() const;
  239. public:
  240. void clear_fields();
  241. private:
  242. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  243. _internal_fields() const;
  244. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  245. _internal_mutable_fields();
  246. public:
  247. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  248. fields() const;
  249. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  250. mutable_fields();
  251. // string name = 1;
  252. void clear_name();
  253. const std::string& name() const;
  254. void set_name(const std::string& value);
  255. void set_name(std::string&& value);
  256. void set_name(const char* value);
  257. void set_name(const char* value, size_t size);
  258. std::string* mutable_name();
  259. std::string* release_name();
  260. void set_allocated_name(std::string* name);
  261. private:
  262. const std::string& _internal_name() const;
  263. void _internal_set_name(const std::string& value);
  264. std::string* _internal_mutable_name();
  265. public:
  266. // .google.protobuf.Timestamp create_time = 3;
  267. bool has_create_time() const;
  268. private:
  269. bool _internal_has_create_time() const;
  270. public:
  271. void clear_create_time();
  272. const PROTOBUF_NAMESPACE_ID::Timestamp& create_time() const;
  273. PROTOBUF_NAMESPACE_ID::Timestamp* release_create_time();
  274. PROTOBUF_NAMESPACE_ID::Timestamp* mutable_create_time();
  275. void set_allocated_create_time(PROTOBUF_NAMESPACE_ID::Timestamp* create_time);
  276. private:
  277. const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_create_time() const;
  278. PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_create_time();
  279. public:
  280. // .google.protobuf.Timestamp update_time = 4;
  281. bool has_update_time() const;
  282. private:
  283. bool _internal_has_update_time() const;
  284. public:
  285. void clear_update_time();
  286. const PROTOBUF_NAMESPACE_ID::Timestamp& update_time() const;
  287. PROTOBUF_NAMESPACE_ID::Timestamp* release_update_time();
  288. PROTOBUF_NAMESPACE_ID::Timestamp* mutable_update_time();
  289. void set_allocated_update_time(PROTOBUF_NAMESPACE_ID::Timestamp* update_time);
  290. private:
  291. const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_update_time() const;
  292. PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_update_time();
  293. public:
  294. // @@protoc_insertion_point(class_scope:google.firestore.v1.Document)
  295. private:
  296. class _Internal;
  297. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  298. ::PROTOBUF_NAMESPACE_ID::internal::MapField<
  299. Document_FieldsEntry_DoNotUse,
  300. std::string, ::google::firestore::v1::Value,
  301. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  302. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
  303. 0 > fields_;
  304. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  305. PROTOBUF_NAMESPACE_ID::Timestamp* create_time_;
  306. PROTOBUF_NAMESPACE_ID::Timestamp* update_time_;
  307. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  308. friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
  309. };
  310. // -------------------------------------------------------------------
  311. class Value :
  312. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Value) */ {
  313. public:
  314. Value();
  315. virtual ~Value();
  316. Value(const Value& from);
  317. Value(Value&& from) noexcept
  318. : Value() {
  319. *this = ::std::move(from);
  320. }
  321. inline Value& operator=(const Value& from) {
  322. CopyFrom(from);
  323. return *this;
  324. }
  325. inline Value& operator=(Value&& from) noexcept {
  326. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  327. if (this != &from) InternalSwap(&from);
  328. } else {
  329. CopyFrom(from);
  330. }
  331. return *this;
  332. }
  333. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  334. return GetDescriptor();
  335. }
  336. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  337. return GetMetadataStatic().descriptor;
  338. }
  339. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  340. return GetMetadataStatic().reflection;
  341. }
  342. static const Value& default_instance();
  343. enum ValueTypeCase {
  344. kNullValue = 11,
  345. kBooleanValue = 1,
  346. kIntegerValue = 2,
  347. kDoubleValue = 3,
  348. kTimestampValue = 10,
  349. kStringValue = 17,
  350. kBytesValue = 18,
  351. kReferenceValue = 5,
  352. kGeoPointValue = 8,
  353. kArrayValue = 9,
  354. kMapValue = 6,
  355. VALUE_TYPE_NOT_SET = 0,
  356. };
  357. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  358. static inline const Value* internal_default_instance() {
  359. return reinterpret_cast<const Value*>(
  360. &_Value_default_instance_);
  361. }
  362. static constexpr int kIndexInFileMessages =
  363. 2;
  364. friend void swap(Value& a, Value& b) {
  365. a.Swap(&b);
  366. }
  367. inline void Swap(Value* other) {
  368. if (other == this) return;
  369. InternalSwap(other);
  370. }
  371. // implements Message ----------------------------------------------
  372. inline Value* New() const final {
  373. return CreateMaybeMessage<Value>(nullptr);
  374. }
  375. Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  376. return CreateMaybeMessage<Value>(arena);
  377. }
  378. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  379. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  380. void CopyFrom(const Value& from);
  381. void MergeFrom(const Value& from);
  382. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  383. bool IsInitialized() const final;
  384. size_t ByteSizeLong() const final;
  385. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  386. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  387. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  388. int GetCachedSize() const final { return _cached_size_.Get(); }
  389. private:
  390. inline void SharedCtor();
  391. inline void SharedDtor();
  392. void SetCachedSize(int size) const final;
  393. void InternalSwap(Value* other);
  394. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  395. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  396. return "google.firestore.v1.Value";
  397. }
  398. private:
  399. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  400. return nullptr;
  401. }
  402. inline void* MaybeArenaPtr() const {
  403. return nullptr;
  404. }
  405. public:
  406. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  407. private:
  408. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  409. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto);
  410. return ::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto.file_level_metadata[kIndexInFileMessages];
  411. }
  412. public:
  413. // nested types ----------------------------------------------------
  414. // accessors -------------------------------------------------------
  415. enum : int {
  416. kNullValueFieldNumber = 11,
  417. kBooleanValueFieldNumber = 1,
  418. kIntegerValueFieldNumber = 2,
  419. kDoubleValueFieldNumber = 3,
  420. kTimestampValueFieldNumber = 10,
  421. kStringValueFieldNumber = 17,
  422. kBytesValueFieldNumber = 18,
  423. kReferenceValueFieldNumber = 5,
  424. kGeoPointValueFieldNumber = 8,
  425. kArrayValueFieldNumber = 9,
  426. kMapValueFieldNumber = 6,
  427. };
  428. // .google.protobuf.NullValue null_value = 11;
  429. private:
  430. bool _internal_has_null_value() const;
  431. public:
  432. void clear_null_value();
  433. PROTOBUF_NAMESPACE_ID::NullValue null_value() const;
  434. void set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value);
  435. private:
  436. PROTOBUF_NAMESPACE_ID::NullValue _internal_null_value() const;
  437. void _internal_set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value);
  438. public:
  439. // bool boolean_value = 1;
  440. private:
  441. bool _internal_has_boolean_value() const;
  442. public:
  443. void clear_boolean_value();
  444. bool boolean_value() const;
  445. void set_boolean_value(bool value);
  446. private:
  447. bool _internal_boolean_value() const;
  448. void _internal_set_boolean_value(bool value);
  449. public:
  450. // int64 integer_value = 2;
  451. private:
  452. bool _internal_has_integer_value() const;
  453. public:
  454. void clear_integer_value();
  455. ::PROTOBUF_NAMESPACE_ID::int64 integer_value() const;
  456. void set_integer_value(::PROTOBUF_NAMESPACE_ID::int64 value);
  457. private:
  458. ::PROTOBUF_NAMESPACE_ID::int64 _internal_integer_value() const;
  459. void _internal_set_integer_value(::PROTOBUF_NAMESPACE_ID::int64 value);
  460. public:
  461. // double double_value = 3;
  462. private:
  463. bool _internal_has_double_value() const;
  464. public:
  465. void clear_double_value();
  466. double double_value() const;
  467. void set_double_value(double value);
  468. private:
  469. double _internal_double_value() const;
  470. void _internal_set_double_value(double value);
  471. public:
  472. // .google.protobuf.Timestamp timestamp_value = 10;
  473. bool has_timestamp_value() const;
  474. private:
  475. bool _internal_has_timestamp_value() const;
  476. public:
  477. void clear_timestamp_value();
  478. const PROTOBUF_NAMESPACE_ID::Timestamp& timestamp_value() const;
  479. PROTOBUF_NAMESPACE_ID::Timestamp* release_timestamp_value();
  480. PROTOBUF_NAMESPACE_ID::Timestamp* mutable_timestamp_value();
  481. void set_allocated_timestamp_value(PROTOBUF_NAMESPACE_ID::Timestamp* timestamp_value);
  482. private:
  483. const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_timestamp_value() const;
  484. PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_timestamp_value();
  485. public:
  486. // string string_value = 17;
  487. private:
  488. bool _internal_has_string_value() const;
  489. public:
  490. void clear_string_value();
  491. const std::string& string_value() const;
  492. void set_string_value(const std::string& value);
  493. void set_string_value(std::string&& value);
  494. void set_string_value(const char* value);
  495. void set_string_value(const char* value, size_t size);
  496. std::string* mutable_string_value();
  497. std::string* release_string_value();
  498. void set_allocated_string_value(std::string* string_value);
  499. private:
  500. const std::string& _internal_string_value() const;
  501. void _internal_set_string_value(const std::string& value);
  502. std::string* _internal_mutable_string_value();
  503. public:
  504. // bytes bytes_value = 18;
  505. private:
  506. bool _internal_has_bytes_value() const;
  507. public:
  508. void clear_bytes_value();
  509. const std::string& bytes_value() const;
  510. void set_bytes_value(const std::string& value);
  511. void set_bytes_value(std::string&& value);
  512. void set_bytes_value(const char* value);
  513. void set_bytes_value(const void* value, size_t size);
  514. std::string* mutable_bytes_value();
  515. std::string* release_bytes_value();
  516. void set_allocated_bytes_value(std::string* bytes_value);
  517. private:
  518. const std::string& _internal_bytes_value() const;
  519. void _internal_set_bytes_value(const std::string& value);
  520. std::string* _internal_mutable_bytes_value();
  521. public:
  522. // string reference_value = 5;
  523. private:
  524. bool _internal_has_reference_value() const;
  525. public:
  526. void clear_reference_value();
  527. const std::string& reference_value() const;
  528. void set_reference_value(const std::string& value);
  529. void set_reference_value(std::string&& value);
  530. void set_reference_value(const char* value);
  531. void set_reference_value(const char* value, size_t size);
  532. std::string* mutable_reference_value();
  533. std::string* release_reference_value();
  534. void set_allocated_reference_value(std::string* reference_value);
  535. private:
  536. const std::string& _internal_reference_value() const;
  537. void _internal_set_reference_value(const std::string& value);
  538. std::string* _internal_mutable_reference_value();
  539. public:
  540. // .google.type.LatLng geo_point_value = 8;
  541. bool has_geo_point_value() const;
  542. private:
  543. bool _internal_has_geo_point_value() const;
  544. public:
  545. void clear_geo_point_value();
  546. const ::google::type::LatLng& geo_point_value() const;
  547. ::google::type::LatLng* release_geo_point_value();
  548. ::google::type::LatLng* mutable_geo_point_value();
  549. void set_allocated_geo_point_value(::google::type::LatLng* geo_point_value);
  550. private:
  551. const ::google::type::LatLng& _internal_geo_point_value() const;
  552. ::google::type::LatLng* _internal_mutable_geo_point_value();
  553. public:
  554. // .google.firestore.v1.ArrayValue array_value = 9;
  555. bool has_array_value() const;
  556. private:
  557. bool _internal_has_array_value() const;
  558. public:
  559. void clear_array_value();
  560. const ::google::firestore::v1::ArrayValue& array_value() const;
  561. ::google::firestore::v1::ArrayValue* release_array_value();
  562. ::google::firestore::v1::ArrayValue* mutable_array_value();
  563. void set_allocated_array_value(::google::firestore::v1::ArrayValue* array_value);
  564. private:
  565. const ::google::firestore::v1::ArrayValue& _internal_array_value() const;
  566. ::google::firestore::v1::ArrayValue* _internal_mutable_array_value();
  567. public:
  568. // .google.firestore.v1.MapValue map_value = 6;
  569. bool has_map_value() const;
  570. private:
  571. bool _internal_has_map_value() const;
  572. public:
  573. void clear_map_value();
  574. const ::google::firestore::v1::MapValue& map_value() const;
  575. ::google::firestore::v1::MapValue* release_map_value();
  576. ::google::firestore::v1::MapValue* mutable_map_value();
  577. void set_allocated_map_value(::google::firestore::v1::MapValue* map_value);
  578. private:
  579. const ::google::firestore::v1::MapValue& _internal_map_value() const;
  580. ::google::firestore::v1::MapValue* _internal_mutable_map_value();
  581. public:
  582. void clear_value_type();
  583. ValueTypeCase value_type_case() const;
  584. // @@protoc_insertion_point(class_scope:google.firestore.v1.Value)
  585. private:
  586. class _Internal;
  587. void set_has_null_value();
  588. void set_has_boolean_value();
  589. void set_has_integer_value();
  590. void set_has_double_value();
  591. void set_has_timestamp_value();
  592. void set_has_string_value();
  593. void set_has_bytes_value();
  594. void set_has_reference_value();
  595. void set_has_geo_point_value();
  596. void set_has_array_value();
  597. void set_has_map_value();
  598. inline bool has_value_type() const;
  599. inline void clear_has_value_type();
  600. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  601. union ValueTypeUnion {
  602. ValueTypeUnion() {}
  603. int null_value_;
  604. bool boolean_value_;
  605. ::PROTOBUF_NAMESPACE_ID::int64 integer_value_;
  606. double double_value_;
  607. PROTOBUF_NAMESPACE_ID::Timestamp* timestamp_value_;
  608. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
  609. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bytes_value_;
  610. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr reference_value_;
  611. ::google::type::LatLng* geo_point_value_;
  612. ::google::firestore::v1::ArrayValue* array_value_;
  613. ::google::firestore::v1::MapValue* map_value_;
  614. } value_type_;
  615. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  616. ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
  617. friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
  618. };
  619. // -------------------------------------------------------------------
  620. class ArrayValue :
  621. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.ArrayValue) */ {
  622. public:
  623. ArrayValue();
  624. virtual ~ArrayValue();
  625. ArrayValue(const ArrayValue& from);
  626. ArrayValue(ArrayValue&& from) noexcept
  627. : ArrayValue() {
  628. *this = ::std::move(from);
  629. }
  630. inline ArrayValue& operator=(const ArrayValue& from) {
  631. CopyFrom(from);
  632. return *this;
  633. }
  634. inline ArrayValue& operator=(ArrayValue&& from) noexcept {
  635. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  636. if (this != &from) InternalSwap(&from);
  637. } else {
  638. CopyFrom(from);
  639. }
  640. return *this;
  641. }
  642. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  643. return GetDescriptor();
  644. }
  645. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  646. return GetMetadataStatic().descriptor;
  647. }
  648. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  649. return GetMetadataStatic().reflection;
  650. }
  651. static const ArrayValue& default_instance();
  652. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  653. static inline const ArrayValue* internal_default_instance() {
  654. return reinterpret_cast<const ArrayValue*>(
  655. &_ArrayValue_default_instance_);
  656. }
  657. static constexpr int kIndexInFileMessages =
  658. 3;
  659. friend void swap(ArrayValue& a, ArrayValue& b) {
  660. a.Swap(&b);
  661. }
  662. inline void Swap(ArrayValue* other) {
  663. if (other == this) return;
  664. InternalSwap(other);
  665. }
  666. // implements Message ----------------------------------------------
  667. inline ArrayValue* New() const final {
  668. return CreateMaybeMessage<ArrayValue>(nullptr);
  669. }
  670. ArrayValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  671. return CreateMaybeMessage<ArrayValue>(arena);
  672. }
  673. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  674. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  675. void CopyFrom(const ArrayValue& from);
  676. void MergeFrom(const ArrayValue& from);
  677. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  678. bool IsInitialized() const final;
  679. size_t ByteSizeLong() const final;
  680. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  681. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  682. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  683. int GetCachedSize() const final { return _cached_size_.Get(); }
  684. private:
  685. inline void SharedCtor();
  686. inline void SharedDtor();
  687. void SetCachedSize(int size) const final;
  688. void InternalSwap(ArrayValue* other);
  689. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  690. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  691. return "google.firestore.v1.ArrayValue";
  692. }
  693. private:
  694. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  695. return nullptr;
  696. }
  697. inline void* MaybeArenaPtr() const {
  698. return nullptr;
  699. }
  700. public:
  701. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  702. private:
  703. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  704. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto);
  705. return ::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto.file_level_metadata[kIndexInFileMessages];
  706. }
  707. public:
  708. // nested types ----------------------------------------------------
  709. // accessors -------------------------------------------------------
  710. enum : int {
  711. kValuesFieldNumber = 1,
  712. };
  713. // repeated .google.firestore.v1.Value values = 1;
  714. int values_size() const;
  715. private:
  716. int _internal_values_size() const;
  717. public:
  718. void clear_values();
  719. ::google::firestore::v1::Value* mutable_values(int index);
  720. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::firestore::v1::Value >*
  721. mutable_values();
  722. private:
  723. const ::google::firestore::v1::Value& _internal_values(int index) const;
  724. ::google::firestore::v1::Value* _internal_add_values();
  725. public:
  726. const ::google::firestore::v1::Value& values(int index) const;
  727. ::google::firestore::v1::Value* add_values();
  728. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::firestore::v1::Value >&
  729. values() const;
  730. // @@protoc_insertion_point(class_scope:google.firestore.v1.ArrayValue)
  731. private:
  732. class _Internal;
  733. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  734. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::firestore::v1::Value > values_;
  735. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  736. friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
  737. };
  738. // -------------------------------------------------------------------
  739. class MapValue_FieldsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<MapValue_FieldsEntry_DoNotUse,
  740. std::string, ::google::firestore::v1::Value,
  741. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  742. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
  743. 0 > {
  744. public:
  745. typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<MapValue_FieldsEntry_DoNotUse,
  746. std::string, ::google::firestore::v1::Value,
  747. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  748. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
  749. 0 > SuperType;
  750. MapValue_FieldsEntry_DoNotUse();
  751. MapValue_FieldsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  752. void MergeFrom(const MapValue_FieldsEntry_DoNotUse& other);
  753. static const MapValue_FieldsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const MapValue_FieldsEntry_DoNotUse*>(&_MapValue_FieldsEntry_DoNotUse_default_instance_); }
  754. static bool ValidateKey(std::string* s) {
  755. return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "google.firestore.v1.MapValue.FieldsEntry.key");
  756. }
  757. static bool ValidateValue(void*) { return true; }
  758. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
  759. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  760. private:
  761. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  762. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto);
  763. return ::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto.file_level_metadata[4];
  764. }
  765. public:
  766. };
  767. // -------------------------------------------------------------------
  768. class MapValue :
  769. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.MapValue) */ {
  770. public:
  771. MapValue();
  772. virtual ~MapValue();
  773. MapValue(const MapValue& from);
  774. MapValue(MapValue&& from) noexcept
  775. : MapValue() {
  776. *this = ::std::move(from);
  777. }
  778. inline MapValue& operator=(const MapValue& from) {
  779. CopyFrom(from);
  780. return *this;
  781. }
  782. inline MapValue& operator=(MapValue&& from) noexcept {
  783. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  784. if (this != &from) InternalSwap(&from);
  785. } else {
  786. CopyFrom(from);
  787. }
  788. return *this;
  789. }
  790. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  791. return GetDescriptor();
  792. }
  793. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  794. return GetMetadataStatic().descriptor;
  795. }
  796. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  797. return GetMetadataStatic().reflection;
  798. }
  799. static const MapValue& default_instance();
  800. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  801. static inline const MapValue* internal_default_instance() {
  802. return reinterpret_cast<const MapValue*>(
  803. &_MapValue_default_instance_);
  804. }
  805. static constexpr int kIndexInFileMessages =
  806. 5;
  807. friend void swap(MapValue& a, MapValue& b) {
  808. a.Swap(&b);
  809. }
  810. inline void Swap(MapValue* other) {
  811. if (other == this) return;
  812. InternalSwap(other);
  813. }
  814. // implements Message ----------------------------------------------
  815. inline MapValue* New() const final {
  816. return CreateMaybeMessage<MapValue>(nullptr);
  817. }
  818. MapValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  819. return CreateMaybeMessage<MapValue>(arena);
  820. }
  821. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  822. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  823. void CopyFrom(const MapValue& from);
  824. void MergeFrom(const MapValue& from);
  825. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  826. bool IsInitialized() const final;
  827. size_t ByteSizeLong() const final;
  828. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  829. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  830. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  831. int GetCachedSize() const final { return _cached_size_.Get(); }
  832. private:
  833. inline void SharedCtor();
  834. inline void SharedDtor();
  835. void SetCachedSize(int size) const final;
  836. void InternalSwap(MapValue* other);
  837. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  838. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  839. return "google.firestore.v1.MapValue";
  840. }
  841. private:
  842. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  843. return nullptr;
  844. }
  845. inline void* MaybeArenaPtr() const {
  846. return nullptr;
  847. }
  848. public:
  849. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  850. private:
  851. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  852. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto);
  853. return ::descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto.file_level_metadata[kIndexInFileMessages];
  854. }
  855. public:
  856. // nested types ----------------------------------------------------
  857. // accessors -------------------------------------------------------
  858. enum : int {
  859. kFieldsFieldNumber = 1,
  860. };
  861. // map<string, .google.firestore.v1.Value> fields = 1;
  862. int fields_size() const;
  863. private:
  864. int _internal_fields_size() const;
  865. public:
  866. void clear_fields();
  867. private:
  868. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  869. _internal_fields() const;
  870. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  871. _internal_mutable_fields();
  872. public:
  873. const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  874. fields() const;
  875. ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  876. mutable_fields();
  877. // @@protoc_insertion_point(class_scope:google.firestore.v1.MapValue)
  878. private:
  879. class _Internal;
  880. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  881. ::PROTOBUF_NAMESPACE_ID::internal::MapField<
  882. MapValue_FieldsEntry_DoNotUse,
  883. std::string, ::google::firestore::v1::Value,
  884. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
  885. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
  886. 0 > fields_;
  887. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  888. friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
  889. };
  890. // ===================================================================
  891. // ===================================================================
  892. #ifdef __GNUC__
  893. #pragma GCC diagnostic push
  894. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  895. #endif // __GNUC__
  896. // -------------------------------------------------------------------
  897. // Document
  898. // string name = 1;
  899. inline void Document::clear_name() {
  900. name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  901. }
  902. inline const std::string& Document::name() const {
  903. // @@protoc_insertion_point(field_get:google.firestore.v1.Document.name)
  904. return _internal_name();
  905. }
  906. inline void Document::set_name(const std::string& value) {
  907. _internal_set_name(value);
  908. // @@protoc_insertion_point(field_set:google.firestore.v1.Document.name)
  909. }
  910. inline std::string* Document::mutable_name() {
  911. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Document.name)
  912. return _internal_mutable_name();
  913. }
  914. inline const std::string& Document::_internal_name() const {
  915. return name_.GetNoArena();
  916. }
  917. inline void Document::_internal_set_name(const std::string& value) {
  918. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  919. }
  920. inline void Document::set_name(std::string&& value) {
  921. name_.SetNoArena(
  922. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  923. // @@protoc_insertion_point(field_set_rvalue:google.firestore.v1.Document.name)
  924. }
  925. inline void Document::set_name(const char* value) {
  926. GOOGLE_DCHECK(value != nullptr);
  927. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  928. // @@protoc_insertion_point(field_set_char:google.firestore.v1.Document.name)
  929. }
  930. inline void Document::set_name(const char* value, size_t size) {
  931. name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  932. ::std::string(reinterpret_cast<const char*>(value), size));
  933. // @@protoc_insertion_point(field_set_pointer:google.firestore.v1.Document.name)
  934. }
  935. inline std::string* Document::_internal_mutable_name() {
  936. return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  937. }
  938. inline std::string* Document::release_name() {
  939. // @@protoc_insertion_point(field_release:google.firestore.v1.Document.name)
  940. return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  941. }
  942. inline void Document::set_allocated_name(std::string* name) {
  943. if (name != nullptr) {
  944. } else {
  945. }
  946. name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
  947. // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Document.name)
  948. }
  949. // map<string, .google.firestore.v1.Value> fields = 2;
  950. inline int Document::_internal_fields_size() const {
  951. return fields_.size();
  952. }
  953. inline int Document::fields_size() const {
  954. return _internal_fields_size();
  955. }
  956. inline void Document::clear_fields() {
  957. fields_.Clear();
  958. }
  959. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  960. Document::_internal_fields() const {
  961. return fields_.GetMap();
  962. }
  963. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  964. Document::fields() const {
  965. // @@protoc_insertion_point(field_map:google.firestore.v1.Document.fields)
  966. return _internal_fields();
  967. }
  968. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  969. Document::_internal_mutable_fields() {
  970. return fields_.MutableMap();
  971. }
  972. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  973. Document::mutable_fields() {
  974. // @@protoc_insertion_point(field_mutable_map:google.firestore.v1.Document.fields)
  975. return _internal_mutable_fields();
  976. }
  977. // .google.protobuf.Timestamp create_time = 3;
  978. inline bool Document::_internal_has_create_time() const {
  979. return this != internal_default_instance() && create_time_ != nullptr;
  980. }
  981. inline bool Document::has_create_time() const {
  982. return _internal_has_create_time();
  983. }
  984. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Document::_internal_create_time() const {
  985. const PROTOBUF_NAMESPACE_ID::Timestamp* p = create_time_;
  986. return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Timestamp*>(
  987. &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
  988. }
  989. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Document::create_time() const {
  990. // @@protoc_insertion_point(field_get:google.firestore.v1.Document.create_time)
  991. return _internal_create_time();
  992. }
  993. inline PROTOBUF_NAMESPACE_ID::Timestamp* Document::release_create_time() {
  994. // @@protoc_insertion_point(field_release:google.firestore.v1.Document.create_time)
  995. PROTOBUF_NAMESPACE_ID::Timestamp* temp = create_time_;
  996. create_time_ = nullptr;
  997. return temp;
  998. }
  999. inline PROTOBUF_NAMESPACE_ID::Timestamp* Document::_internal_mutable_create_time() {
  1000. if (create_time_ == nullptr) {
  1001. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaNoVirtual());
  1002. create_time_ = p;
  1003. }
  1004. return create_time_;
  1005. }
  1006. inline PROTOBUF_NAMESPACE_ID::Timestamp* Document::mutable_create_time() {
  1007. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Document.create_time)
  1008. return _internal_mutable_create_time();
  1009. }
  1010. inline void Document::set_allocated_create_time(PROTOBUF_NAMESPACE_ID::Timestamp* create_time) {
  1011. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  1012. if (message_arena == nullptr) {
  1013. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(create_time_);
  1014. }
  1015. if (create_time) {
  1016. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1017. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(create_time)->GetArena();
  1018. if (message_arena != submessage_arena) {
  1019. create_time = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1020. message_arena, create_time, submessage_arena);
  1021. }
  1022. } else {
  1023. }
  1024. create_time_ = create_time;
  1025. // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Document.create_time)
  1026. }
  1027. // .google.protobuf.Timestamp update_time = 4;
  1028. inline bool Document::_internal_has_update_time() const {
  1029. return this != internal_default_instance() && update_time_ != nullptr;
  1030. }
  1031. inline bool Document::has_update_time() const {
  1032. return _internal_has_update_time();
  1033. }
  1034. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Document::_internal_update_time() const {
  1035. const PROTOBUF_NAMESPACE_ID::Timestamp* p = update_time_;
  1036. return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Timestamp*>(
  1037. &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
  1038. }
  1039. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Document::update_time() const {
  1040. // @@protoc_insertion_point(field_get:google.firestore.v1.Document.update_time)
  1041. return _internal_update_time();
  1042. }
  1043. inline PROTOBUF_NAMESPACE_ID::Timestamp* Document::release_update_time() {
  1044. // @@protoc_insertion_point(field_release:google.firestore.v1.Document.update_time)
  1045. PROTOBUF_NAMESPACE_ID::Timestamp* temp = update_time_;
  1046. update_time_ = nullptr;
  1047. return temp;
  1048. }
  1049. inline PROTOBUF_NAMESPACE_ID::Timestamp* Document::_internal_mutable_update_time() {
  1050. if (update_time_ == nullptr) {
  1051. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaNoVirtual());
  1052. update_time_ = p;
  1053. }
  1054. return update_time_;
  1055. }
  1056. inline PROTOBUF_NAMESPACE_ID::Timestamp* Document::mutable_update_time() {
  1057. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Document.update_time)
  1058. return _internal_mutable_update_time();
  1059. }
  1060. inline void Document::set_allocated_update_time(PROTOBUF_NAMESPACE_ID::Timestamp* update_time) {
  1061. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  1062. if (message_arena == nullptr) {
  1063. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(update_time_);
  1064. }
  1065. if (update_time) {
  1066. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  1067. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(update_time)->GetArena();
  1068. if (message_arena != submessage_arena) {
  1069. update_time = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  1070. message_arena, update_time, submessage_arena);
  1071. }
  1072. } else {
  1073. }
  1074. update_time_ = update_time;
  1075. // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Document.update_time)
  1076. }
  1077. // -------------------------------------------------------------------
  1078. // Value
  1079. // .google.protobuf.NullValue null_value = 11;
  1080. inline bool Value::_internal_has_null_value() const {
  1081. return value_type_case() == kNullValue;
  1082. }
  1083. inline void Value::set_has_null_value() {
  1084. _oneof_case_[0] = kNullValue;
  1085. }
  1086. inline void Value::clear_null_value() {
  1087. if (_internal_has_null_value()) {
  1088. value_type_.null_value_ = 0;
  1089. clear_has_value_type();
  1090. }
  1091. }
  1092. inline PROTOBUF_NAMESPACE_ID::NullValue Value::_internal_null_value() const {
  1093. if (_internal_has_null_value()) {
  1094. return static_cast< PROTOBUF_NAMESPACE_ID::NullValue >(value_type_.null_value_);
  1095. }
  1096. return static_cast< PROTOBUF_NAMESPACE_ID::NullValue >(0);
  1097. }
  1098. inline PROTOBUF_NAMESPACE_ID::NullValue Value::null_value() const {
  1099. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.null_value)
  1100. return _internal_null_value();
  1101. }
  1102. inline void Value::_internal_set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value) {
  1103. if (!_internal_has_null_value()) {
  1104. clear_value_type();
  1105. set_has_null_value();
  1106. }
  1107. value_type_.null_value_ = value;
  1108. }
  1109. inline void Value::set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value) {
  1110. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.null_value)
  1111. _internal_set_null_value(value);
  1112. }
  1113. // bool boolean_value = 1;
  1114. inline bool Value::_internal_has_boolean_value() const {
  1115. return value_type_case() == kBooleanValue;
  1116. }
  1117. inline void Value::set_has_boolean_value() {
  1118. _oneof_case_[0] = kBooleanValue;
  1119. }
  1120. inline void Value::clear_boolean_value() {
  1121. if (_internal_has_boolean_value()) {
  1122. value_type_.boolean_value_ = false;
  1123. clear_has_value_type();
  1124. }
  1125. }
  1126. inline bool Value::_internal_boolean_value() const {
  1127. if (_internal_has_boolean_value()) {
  1128. return value_type_.boolean_value_;
  1129. }
  1130. return false;
  1131. }
  1132. inline void Value::_internal_set_boolean_value(bool value) {
  1133. if (!_internal_has_boolean_value()) {
  1134. clear_value_type();
  1135. set_has_boolean_value();
  1136. }
  1137. value_type_.boolean_value_ = value;
  1138. }
  1139. inline bool Value::boolean_value() const {
  1140. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.boolean_value)
  1141. return _internal_boolean_value();
  1142. }
  1143. inline void Value::set_boolean_value(bool value) {
  1144. _internal_set_boolean_value(value);
  1145. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.boolean_value)
  1146. }
  1147. // int64 integer_value = 2;
  1148. inline bool Value::_internal_has_integer_value() const {
  1149. return value_type_case() == kIntegerValue;
  1150. }
  1151. inline void Value::set_has_integer_value() {
  1152. _oneof_case_[0] = kIntegerValue;
  1153. }
  1154. inline void Value::clear_integer_value() {
  1155. if (_internal_has_integer_value()) {
  1156. value_type_.integer_value_ = PROTOBUF_LONGLONG(0);
  1157. clear_has_value_type();
  1158. }
  1159. }
  1160. inline ::PROTOBUF_NAMESPACE_ID::int64 Value::_internal_integer_value() const {
  1161. if (_internal_has_integer_value()) {
  1162. return value_type_.integer_value_;
  1163. }
  1164. return PROTOBUF_LONGLONG(0);
  1165. }
  1166. inline void Value::_internal_set_integer_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
  1167. if (!_internal_has_integer_value()) {
  1168. clear_value_type();
  1169. set_has_integer_value();
  1170. }
  1171. value_type_.integer_value_ = value;
  1172. }
  1173. inline ::PROTOBUF_NAMESPACE_ID::int64 Value::integer_value() const {
  1174. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.integer_value)
  1175. return _internal_integer_value();
  1176. }
  1177. inline void Value::set_integer_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
  1178. _internal_set_integer_value(value);
  1179. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.integer_value)
  1180. }
  1181. // double double_value = 3;
  1182. inline bool Value::_internal_has_double_value() const {
  1183. return value_type_case() == kDoubleValue;
  1184. }
  1185. inline void Value::set_has_double_value() {
  1186. _oneof_case_[0] = kDoubleValue;
  1187. }
  1188. inline void Value::clear_double_value() {
  1189. if (_internal_has_double_value()) {
  1190. value_type_.double_value_ = 0;
  1191. clear_has_value_type();
  1192. }
  1193. }
  1194. inline double Value::_internal_double_value() const {
  1195. if (_internal_has_double_value()) {
  1196. return value_type_.double_value_;
  1197. }
  1198. return 0;
  1199. }
  1200. inline void Value::_internal_set_double_value(double value) {
  1201. if (!_internal_has_double_value()) {
  1202. clear_value_type();
  1203. set_has_double_value();
  1204. }
  1205. value_type_.double_value_ = value;
  1206. }
  1207. inline double Value::double_value() const {
  1208. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.double_value)
  1209. return _internal_double_value();
  1210. }
  1211. inline void Value::set_double_value(double value) {
  1212. _internal_set_double_value(value);
  1213. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.double_value)
  1214. }
  1215. // .google.protobuf.Timestamp timestamp_value = 10;
  1216. inline bool Value::_internal_has_timestamp_value() const {
  1217. return value_type_case() == kTimestampValue;
  1218. }
  1219. inline bool Value::has_timestamp_value() const {
  1220. return _internal_has_timestamp_value();
  1221. }
  1222. inline void Value::set_has_timestamp_value() {
  1223. _oneof_case_[0] = kTimestampValue;
  1224. }
  1225. inline PROTOBUF_NAMESPACE_ID::Timestamp* Value::release_timestamp_value() {
  1226. // @@protoc_insertion_point(field_release:google.firestore.v1.Value.timestamp_value)
  1227. if (_internal_has_timestamp_value()) {
  1228. clear_has_value_type();
  1229. PROTOBUF_NAMESPACE_ID::Timestamp* temp = value_type_.timestamp_value_;
  1230. value_type_.timestamp_value_ = nullptr;
  1231. return temp;
  1232. } else {
  1233. return nullptr;
  1234. }
  1235. }
  1236. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Value::_internal_timestamp_value() const {
  1237. return _internal_has_timestamp_value()
  1238. ? *value_type_.timestamp_value_
  1239. : *reinterpret_cast< PROTOBUF_NAMESPACE_ID::Timestamp*>(&PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
  1240. }
  1241. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Value::timestamp_value() const {
  1242. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.timestamp_value)
  1243. return _internal_timestamp_value();
  1244. }
  1245. inline PROTOBUF_NAMESPACE_ID::Timestamp* Value::_internal_mutable_timestamp_value() {
  1246. if (!_internal_has_timestamp_value()) {
  1247. clear_value_type();
  1248. set_has_timestamp_value();
  1249. value_type_.timestamp_value_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Timestamp >(
  1250. GetArenaNoVirtual());
  1251. }
  1252. return value_type_.timestamp_value_;
  1253. }
  1254. inline PROTOBUF_NAMESPACE_ID::Timestamp* Value::mutable_timestamp_value() {
  1255. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.timestamp_value)
  1256. return _internal_mutable_timestamp_value();
  1257. }
  1258. // string string_value = 17;
  1259. inline bool Value::_internal_has_string_value() const {
  1260. return value_type_case() == kStringValue;
  1261. }
  1262. inline void Value::set_has_string_value() {
  1263. _oneof_case_[0] = kStringValue;
  1264. }
  1265. inline void Value::clear_string_value() {
  1266. if (_internal_has_string_value()) {
  1267. value_type_.string_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1268. clear_has_value_type();
  1269. }
  1270. }
  1271. inline const std::string& Value::string_value() const {
  1272. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.string_value)
  1273. return _internal_string_value();
  1274. }
  1275. inline void Value::set_string_value(const std::string& value) {
  1276. _internal_set_string_value(value);
  1277. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.string_value)
  1278. }
  1279. inline std::string* Value::mutable_string_value() {
  1280. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.string_value)
  1281. return _internal_mutable_string_value();
  1282. }
  1283. inline const std::string& Value::_internal_string_value() const {
  1284. if (_internal_has_string_value()) {
  1285. return value_type_.string_value_.GetNoArena();
  1286. }
  1287. return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
  1288. }
  1289. inline void Value::_internal_set_string_value(const std::string& value) {
  1290. if (!_internal_has_string_value()) {
  1291. clear_value_type();
  1292. set_has_string_value();
  1293. value_type_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1294. }
  1295. value_type_.string_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  1296. }
  1297. inline void Value::set_string_value(std::string&& value) {
  1298. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.string_value)
  1299. if (!_internal_has_string_value()) {
  1300. clear_value_type();
  1301. set_has_string_value();
  1302. value_type_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1303. }
  1304. value_type_.string_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1305. // @@protoc_insertion_point(field_set_rvalue:google.firestore.v1.Value.string_value)
  1306. }
  1307. inline void Value::set_string_value(const char* value) {
  1308. GOOGLE_DCHECK(value != nullptr);
  1309. if (!_internal_has_string_value()) {
  1310. clear_value_type();
  1311. set_has_string_value();
  1312. value_type_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1313. }
  1314. value_type_.string_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1315. ::std::string(value));
  1316. // @@protoc_insertion_point(field_set_char:google.firestore.v1.Value.string_value)
  1317. }
  1318. inline void Value::set_string_value(const char* value, size_t size) {
  1319. if (!_internal_has_string_value()) {
  1320. clear_value_type();
  1321. set_has_string_value();
  1322. value_type_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1323. }
  1324. value_type_.string_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1325. reinterpret_cast<const char*>(value), size));
  1326. // @@protoc_insertion_point(field_set_pointer:google.firestore.v1.Value.string_value)
  1327. }
  1328. inline std::string* Value::_internal_mutable_string_value() {
  1329. if (!_internal_has_string_value()) {
  1330. clear_value_type();
  1331. set_has_string_value();
  1332. value_type_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1333. }
  1334. return value_type_.string_value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1335. }
  1336. inline std::string* Value::release_string_value() {
  1337. // @@protoc_insertion_point(field_release:google.firestore.v1.Value.string_value)
  1338. if (_internal_has_string_value()) {
  1339. clear_has_value_type();
  1340. return value_type_.string_value_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1341. } else {
  1342. return nullptr;
  1343. }
  1344. }
  1345. inline void Value::set_allocated_string_value(std::string* string_value) {
  1346. if (has_value_type()) {
  1347. clear_value_type();
  1348. }
  1349. if (string_value != nullptr) {
  1350. set_has_string_value();
  1351. value_type_.string_value_.UnsafeSetDefault(string_value);
  1352. }
  1353. // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Value.string_value)
  1354. }
  1355. // bytes bytes_value = 18;
  1356. inline bool Value::_internal_has_bytes_value() const {
  1357. return value_type_case() == kBytesValue;
  1358. }
  1359. inline void Value::set_has_bytes_value() {
  1360. _oneof_case_[0] = kBytesValue;
  1361. }
  1362. inline void Value::clear_bytes_value() {
  1363. if (_internal_has_bytes_value()) {
  1364. value_type_.bytes_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1365. clear_has_value_type();
  1366. }
  1367. }
  1368. inline const std::string& Value::bytes_value() const {
  1369. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.bytes_value)
  1370. return _internal_bytes_value();
  1371. }
  1372. inline void Value::set_bytes_value(const std::string& value) {
  1373. _internal_set_bytes_value(value);
  1374. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.bytes_value)
  1375. }
  1376. inline std::string* Value::mutable_bytes_value() {
  1377. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.bytes_value)
  1378. return _internal_mutable_bytes_value();
  1379. }
  1380. inline const std::string& Value::_internal_bytes_value() const {
  1381. if (_internal_has_bytes_value()) {
  1382. return value_type_.bytes_value_.GetNoArena();
  1383. }
  1384. return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
  1385. }
  1386. inline void Value::_internal_set_bytes_value(const std::string& value) {
  1387. if (!_internal_has_bytes_value()) {
  1388. clear_value_type();
  1389. set_has_bytes_value();
  1390. value_type_.bytes_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1391. }
  1392. value_type_.bytes_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  1393. }
  1394. inline void Value::set_bytes_value(std::string&& value) {
  1395. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.bytes_value)
  1396. if (!_internal_has_bytes_value()) {
  1397. clear_value_type();
  1398. set_has_bytes_value();
  1399. value_type_.bytes_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1400. }
  1401. value_type_.bytes_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1402. // @@protoc_insertion_point(field_set_rvalue:google.firestore.v1.Value.bytes_value)
  1403. }
  1404. inline void Value::set_bytes_value(const char* value) {
  1405. GOOGLE_DCHECK(value != nullptr);
  1406. if (!_internal_has_bytes_value()) {
  1407. clear_value_type();
  1408. set_has_bytes_value();
  1409. value_type_.bytes_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1410. }
  1411. value_type_.bytes_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1412. ::std::string(value));
  1413. // @@protoc_insertion_point(field_set_char:google.firestore.v1.Value.bytes_value)
  1414. }
  1415. inline void Value::set_bytes_value(const void* value, size_t size) {
  1416. if (!_internal_has_bytes_value()) {
  1417. clear_value_type();
  1418. set_has_bytes_value();
  1419. value_type_.bytes_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1420. }
  1421. value_type_.bytes_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1422. reinterpret_cast<const char*>(value), size));
  1423. // @@protoc_insertion_point(field_set_pointer:google.firestore.v1.Value.bytes_value)
  1424. }
  1425. inline std::string* Value::_internal_mutable_bytes_value() {
  1426. if (!_internal_has_bytes_value()) {
  1427. clear_value_type();
  1428. set_has_bytes_value();
  1429. value_type_.bytes_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1430. }
  1431. return value_type_.bytes_value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1432. }
  1433. inline std::string* Value::release_bytes_value() {
  1434. // @@protoc_insertion_point(field_release:google.firestore.v1.Value.bytes_value)
  1435. if (_internal_has_bytes_value()) {
  1436. clear_has_value_type();
  1437. return value_type_.bytes_value_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1438. } else {
  1439. return nullptr;
  1440. }
  1441. }
  1442. inline void Value::set_allocated_bytes_value(std::string* bytes_value) {
  1443. if (has_value_type()) {
  1444. clear_value_type();
  1445. }
  1446. if (bytes_value != nullptr) {
  1447. set_has_bytes_value();
  1448. value_type_.bytes_value_.UnsafeSetDefault(bytes_value);
  1449. }
  1450. // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Value.bytes_value)
  1451. }
  1452. // string reference_value = 5;
  1453. inline bool Value::_internal_has_reference_value() const {
  1454. return value_type_case() == kReferenceValue;
  1455. }
  1456. inline void Value::set_has_reference_value() {
  1457. _oneof_case_[0] = kReferenceValue;
  1458. }
  1459. inline void Value::clear_reference_value() {
  1460. if (_internal_has_reference_value()) {
  1461. value_type_.reference_value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1462. clear_has_value_type();
  1463. }
  1464. }
  1465. inline const std::string& Value::reference_value() const {
  1466. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.reference_value)
  1467. return _internal_reference_value();
  1468. }
  1469. inline void Value::set_reference_value(const std::string& value) {
  1470. _internal_set_reference_value(value);
  1471. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.reference_value)
  1472. }
  1473. inline std::string* Value::mutable_reference_value() {
  1474. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.reference_value)
  1475. return _internal_mutable_reference_value();
  1476. }
  1477. inline const std::string& Value::_internal_reference_value() const {
  1478. if (_internal_has_reference_value()) {
  1479. return value_type_.reference_value_.GetNoArena();
  1480. }
  1481. return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
  1482. }
  1483. inline void Value::_internal_set_reference_value(const std::string& value) {
  1484. if (!_internal_has_reference_value()) {
  1485. clear_value_type();
  1486. set_has_reference_value();
  1487. value_type_.reference_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1488. }
  1489. value_type_.reference_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  1490. }
  1491. inline void Value::set_reference_value(std::string&& value) {
  1492. // @@protoc_insertion_point(field_set:google.firestore.v1.Value.reference_value)
  1493. if (!_internal_has_reference_value()) {
  1494. clear_value_type();
  1495. set_has_reference_value();
  1496. value_type_.reference_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1497. }
  1498. value_type_.reference_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1499. // @@protoc_insertion_point(field_set_rvalue:google.firestore.v1.Value.reference_value)
  1500. }
  1501. inline void Value::set_reference_value(const char* value) {
  1502. GOOGLE_DCHECK(value != nullptr);
  1503. if (!_internal_has_reference_value()) {
  1504. clear_value_type();
  1505. set_has_reference_value();
  1506. value_type_.reference_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1507. }
  1508. value_type_.reference_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  1509. ::std::string(value));
  1510. // @@protoc_insertion_point(field_set_char:google.firestore.v1.Value.reference_value)
  1511. }
  1512. inline void Value::set_reference_value(const char* value, size_t size) {
  1513. if (!_internal_has_reference_value()) {
  1514. clear_value_type();
  1515. set_has_reference_value();
  1516. value_type_.reference_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1517. }
  1518. value_type_.reference_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1519. reinterpret_cast<const char*>(value), size));
  1520. // @@protoc_insertion_point(field_set_pointer:google.firestore.v1.Value.reference_value)
  1521. }
  1522. inline std::string* Value::_internal_mutable_reference_value() {
  1523. if (!_internal_has_reference_value()) {
  1524. clear_value_type();
  1525. set_has_reference_value();
  1526. value_type_.reference_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1527. }
  1528. return value_type_.reference_value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1529. }
  1530. inline std::string* Value::release_reference_value() {
  1531. // @@protoc_insertion_point(field_release:google.firestore.v1.Value.reference_value)
  1532. if (_internal_has_reference_value()) {
  1533. clear_has_value_type();
  1534. return value_type_.reference_value_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  1535. } else {
  1536. return nullptr;
  1537. }
  1538. }
  1539. inline void Value::set_allocated_reference_value(std::string* reference_value) {
  1540. if (has_value_type()) {
  1541. clear_value_type();
  1542. }
  1543. if (reference_value != nullptr) {
  1544. set_has_reference_value();
  1545. value_type_.reference_value_.UnsafeSetDefault(reference_value);
  1546. }
  1547. // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Value.reference_value)
  1548. }
  1549. // .google.type.LatLng geo_point_value = 8;
  1550. inline bool Value::_internal_has_geo_point_value() const {
  1551. return value_type_case() == kGeoPointValue;
  1552. }
  1553. inline bool Value::has_geo_point_value() const {
  1554. return _internal_has_geo_point_value();
  1555. }
  1556. inline void Value::set_has_geo_point_value() {
  1557. _oneof_case_[0] = kGeoPointValue;
  1558. }
  1559. inline ::google::type::LatLng* Value::release_geo_point_value() {
  1560. // @@protoc_insertion_point(field_release:google.firestore.v1.Value.geo_point_value)
  1561. if (_internal_has_geo_point_value()) {
  1562. clear_has_value_type();
  1563. ::google::type::LatLng* temp = value_type_.geo_point_value_;
  1564. value_type_.geo_point_value_ = nullptr;
  1565. return temp;
  1566. } else {
  1567. return nullptr;
  1568. }
  1569. }
  1570. inline const ::google::type::LatLng& Value::_internal_geo_point_value() const {
  1571. return _internal_has_geo_point_value()
  1572. ? *value_type_.geo_point_value_
  1573. : *reinterpret_cast< ::google::type::LatLng*>(&::google::type::_LatLng_default_instance_);
  1574. }
  1575. inline const ::google::type::LatLng& Value::geo_point_value() const {
  1576. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.geo_point_value)
  1577. return _internal_geo_point_value();
  1578. }
  1579. inline ::google::type::LatLng* Value::_internal_mutable_geo_point_value() {
  1580. if (!_internal_has_geo_point_value()) {
  1581. clear_value_type();
  1582. set_has_geo_point_value();
  1583. value_type_.geo_point_value_ = CreateMaybeMessage< ::google::type::LatLng >(
  1584. GetArenaNoVirtual());
  1585. }
  1586. return value_type_.geo_point_value_;
  1587. }
  1588. inline ::google::type::LatLng* Value::mutable_geo_point_value() {
  1589. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.geo_point_value)
  1590. return _internal_mutable_geo_point_value();
  1591. }
  1592. // .google.firestore.v1.ArrayValue array_value = 9;
  1593. inline bool Value::_internal_has_array_value() const {
  1594. return value_type_case() == kArrayValue;
  1595. }
  1596. inline bool Value::has_array_value() const {
  1597. return _internal_has_array_value();
  1598. }
  1599. inline void Value::set_has_array_value() {
  1600. _oneof_case_[0] = kArrayValue;
  1601. }
  1602. inline void Value::clear_array_value() {
  1603. if (_internal_has_array_value()) {
  1604. delete value_type_.array_value_;
  1605. clear_has_value_type();
  1606. }
  1607. }
  1608. inline ::google::firestore::v1::ArrayValue* Value::release_array_value() {
  1609. // @@protoc_insertion_point(field_release:google.firestore.v1.Value.array_value)
  1610. if (_internal_has_array_value()) {
  1611. clear_has_value_type();
  1612. ::google::firestore::v1::ArrayValue* temp = value_type_.array_value_;
  1613. value_type_.array_value_ = nullptr;
  1614. return temp;
  1615. } else {
  1616. return nullptr;
  1617. }
  1618. }
  1619. inline const ::google::firestore::v1::ArrayValue& Value::_internal_array_value() const {
  1620. return _internal_has_array_value()
  1621. ? *value_type_.array_value_
  1622. : *reinterpret_cast< ::google::firestore::v1::ArrayValue*>(&::google::firestore::v1::_ArrayValue_default_instance_);
  1623. }
  1624. inline const ::google::firestore::v1::ArrayValue& Value::array_value() const {
  1625. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.array_value)
  1626. return _internal_array_value();
  1627. }
  1628. inline ::google::firestore::v1::ArrayValue* Value::_internal_mutable_array_value() {
  1629. if (!_internal_has_array_value()) {
  1630. clear_value_type();
  1631. set_has_array_value();
  1632. value_type_.array_value_ = CreateMaybeMessage< ::google::firestore::v1::ArrayValue >(
  1633. GetArenaNoVirtual());
  1634. }
  1635. return value_type_.array_value_;
  1636. }
  1637. inline ::google::firestore::v1::ArrayValue* Value::mutable_array_value() {
  1638. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.array_value)
  1639. return _internal_mutable_array_value();
  1640. }
  1641. // .google.firestore.v1.MapValue map_value = 6;
  1642. inline bool Value::_internal_has_map_value() const {
  1643. return value_type_case() == kMapValue;
  1644. }
  1645. inline bool Value::has_map_value() const {
  1646. return _internal_has_map_value();
  1647. }
  1648. inline void Value::set_has_map_value() {
  1649. _oneof_case_[0] = kMapValue;
  1650. }
  1651. inline void Value::clear_map_value() {
  1652. if (_internal_has_map_value()) {
  1653. delete value_type_.map_value_;
  1654. clear_has_value_type();
  1655. }
  1656. }
  1657. inline ::google::firestore::v1::MapValue* Value::release_map_value() {
  1658. // @@protoc_insertion_point(field_release:google.firestore.v1.Value.map_value)
  1659. if (_internal_has_map_value()) {
  1660. clear_has_value_type();
  1661. ::google::firestore::v1::MapValue* temp = value_type_.map_value_;
  1662. value_type_.map_value_ = nullptr;
  1663. return temp;
  1664. } else {
  1665. return nullptr;
  1666. }
  1667. }
  1668. inline const ::google::firestore::v1::MapValue& Value::_internal_map_value() const {
  1669. return _internal_has_map_value()
  1670. ? *value_type_.map_value_
  1671. : *reinterpret_cast< ::google::firestore::v1::MapValue*>(&::google::firestore::v1::_MapValue_default_instance_);
  1672. }
  1673. inline const ::google::firestore::v1::MapValue& Value::map_value() const {
  1674. // @@protoc_insertion_point(field_get:google.firestore.v1.Value.map_value)
  1675. return _internal_map_value();
  1676. }
  1677. inline ::google::firestore::v1::MapValue* Value::_internal_mutable_map_value() {
  1678. if (!_internal_has_map_value()) {
  1679. clear_value_type();
  1680. set_has_map_value();
  1681. value_type_.map_value_ = CreateMaybeMessage< ::google::firestore::v1::MapValue >(
  1682. GetArenaNoVirtual());
  1683. }
  1684. return value_type_.map_value_;
  1685. }
  1686. inline ::google::firestore::v1::MapValue* Value::mutable_map_value() {
  1687. // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.map_value)
  1688. return _internal_mutable_map_value();
  1689. }
  1690. inline bool Value::has_value_type() const {
  1691. return value_type_case() != VALUE_TYPE_NOT_SET;
  1692. }
  1693. inline void Value::clear_has_value_type() {
  1694. _oneof_case_[0] = VALUE_TYPE_NOT_SET;
  1695. }
  1696. inline Value::ValueTypeCase Value::value_type_case() const {
  1697. return Value::ValueTypeCase(_oneof_case_[0]);
  1698. }
  1699. // -------------------------------------------------------------------
  1700. // ArrayValue
  1701. // repeated .google.firestore.v1.Value values = 1;
  1702. inline int ArrayValue::_internal_values_size() const {
  1703. return values_.size();
  1704. }
  1705. inline int ArrayValue::values_size() const {
  1706. return _internal_values_size();
  1707. }
  1708. inline void ArrayValue::clear_values() {
  1709. values_.Clear();
  1710. }
  1711. inline ::google::firestore::v1::Value* ArrayValue::mutable_values(int index) {
  1712. // @@protoc_insertion_point(field_mutable:google.firestore.v1.ArrayValue.values)
  1713. return values_.Mutable(index);
  1714. }
  1715. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::firestore::v1::Value >*
  1716. ArrayValue::mutable_values() {
  1717. // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.ArrayValue.values)
  1718. return &values_;
  1719. }
  1720. inline const ::google::firestore::v1::Value& ArrayValue::_internal_values(int index) const {
  1721. return values_.Get(index);
  1722. }
  1723. inline const ::google::firestore::v1::Value& ArrayValue::values(int index) const {
  1724. // @@protoc_insertion_point(field_get:google.firestore.v1.ArrayValue.values)
  1725. return _internal_values(index);
  1726. }
  1727. inline ::google::firestore::v1::Value* ArrayValue::_internal_add_values() {
  1728. return values_.Add();
  1729. }
  1730. inline ::google::firestore::v1::Value* ArrayValue::add_values() {
  1731. // @@protoc_insertion_point(field_add:google.firestore.v1.ArrayValue.values)
  1732. return _internal_add_values();
  1733. }
  1734. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::firestore::v1::Value >&
  1735. ArrayValue::values() const {
  1736. // @@protoc_insertion_point(field_list:google.firestore.v1.ArrayValue.values)
  1737. return values_;
  1738. }
  1739. // -------------------------------------------------------------------
  1740. // -------------------------------------------------------------------
  1741. // MapValue
  1742. // map<string, .google.firestore.v1.Value> fields = 1;
  1743. inline int MapValue::_internal_fields_size() const {
  1744. return fields_.size();
  1745. }
  1746. inline int MapValue::fields_size() const {
  1747. return _internal_fields_size();
  1748. }
  1749. inline void MapValue::clear_fields() {
  1750. fields_.Clear();
  1751. }
  1752. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  1753. MapValue::_internal_fields() const {
  1754. return fields_.GetMap();
  1755. }
  1756. inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >&
  1757. MapValue::fields() const {
  1758. // @@protoc_insertion_point(field_map:google.firestore.v1.MapValue.fields)
  1759. return _internal_fields();
  1760. }
  1761. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  1762. MapValue::_internal_mutable_fields() {
  1763. return fields_.MutableMap();
  1764. }
  1765. inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::firestore::v1::Value >*
  1766. MapValue::mutable_fields() {
  1767. // @@protoc_insertion_point(field_mutable_map:google.firestore.v1.MapValue.fields)
  1768. return _internal_mutable_fields();
  1769. }
  1770. #ifdef __GNUC__
  1771. #pragma GCC diagnostic pop
  1772. #endif // __GNUC__
  1773. // -------------------------------------------------------------------
  1774. // -------------------------------------------------------------------
  1775. // -------------------------------------------------------------------
  1776. // -------------------------------------------------------------------
  1777. // -------------------------------------------------------------------
  1778. // @@protoc_insertion_point(namespace_scope)
  1779. } // namespace v1
  1780. } // namespace firestore
  1781. } // namespace google
  1782. // @@protoc_insertion_point(global_scope)
  1783. #include <google/protobuf/port_undef.inc>
  1784. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fdocument_2eproto