document.pb.h 72 KB

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