target.pb.h 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953
  1. /*
  2. * Copyright 2023 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: firestore/local/target.proto
  18. #ifndef GOOGLE_PROTOBUF_INCLUDED_firestore_2flocal_2ftarget_2eproto
  19. #define GOOGLE_PROTOBUF_INCLUDED_firestore_2flocal_2ftarget_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/unknown_field_set.h>
  46. #include "google/firestore/v1/firestore.pb.h"
  47. #include <google/protobuf/timestamp.pb.h>
  48. // @@protoc_insertion_point(includes)
  49. #include <google/protobuf/port_def.inc>
  50. #define PROTOBUF_INTERNAL_EXPORT_firestore_2flocal_2ftarget_2eproto
  51. PROTOBUF_NAMESPACE_OPEN
  52. namespace internal {
  53. class AnyMetadata;
  54. } // namespace internal
  55. PROTOBUF_NAMESPACE_CLOSE
  56. // Internal implementation detail -- do not use these members.
  57. struct TableStruct_firestore_2flocal_2ftarget_2eproto {
  58. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  59. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  60. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
  61. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  62. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
  63. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  64. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  65. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  66. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  67. };
  68. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_firestore_2flocal_2ftarget_2eproto;
  69. namespace firestore {
  70. namespace client {
  71. class Target;
  72. class TargetDefaultTypeInternal;
  73. extern TargetDefaultTypeInternal _Target_default_instance_;
  74. class TargetGlobal;
  75. class TargetGlobalDefaultTypeInternal;
  76. extern TargetGlobalDefaultTypeInternal _TargetGlobal_default_instance_;
  77. } // namespace client
  78. } // namespace firestore
  79. PROTOBUF_NAMESPACE_OPEN
  80. template<> ::firestore::client::Target* Arena::CreateMaybeMessage<::firestore::client::Target>(Arena*);
  81. template<> ::firestore::client::TargetGlobal* Arena::CreateMaybeMessage<::firestore::client::TargetGlobal>(Arena*);
  82. PROTOBUF_NAMESPACE_CLOSE
  83. namespace firestore {
  84. namespace client {
  85. // ===================================================================
  86. class Target :
  87. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:firestore.client.Target) */ {
  88. public:
  89. Target();
  90. virtual ~Target();
  91. Target(const Target& from);
  92. Target(Target&& from) noexcept
  93. : Target() {
  94. *this = ::std::move(from);
  95. }
  96. inline Target& operator=(const Target& from) {
  97. CopyFrom(from);
  98. return *this;
  99. }
  100. inline Target& operator=(Target&& from) noexcept {
  101. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  102. if (this != &from) InternalSwap(&from);
  103. } else {
  104. CopyFrom(from);
  105. }
  106. return *this;
  107. }
  108. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  109. return GetDescriptor();
  110. }
  111. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  112. return GetMetadataStatic().descriptor;
  113. }
  114. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  115. return GetMetadataStatic().reflection;
  116. }
  117. static const Target& default_instance();
  118. enum TargetTypeCase {
  119. kQuery = 5,
  120. kDocuments = 6,
  121. TARGET_TYPE_NOT_SET = 0,
  122. };
  123. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  124. static inline const Target* internal_default_instance() {
  125. return reinterpret_cast<const Target*>(
  126. &_Target_default_instance_);
  127. }
  128. static constexpr int kIndexInFileMessages =
  129. 0;
  130. friend void swap(Target& a, Target& b) {
  131. a.Swap(&b);
  132. }
  133. inline void Swap(Target* other) {
  134. if (other == this) return;
  135. InternalSwap(other);
  136. }
  137. // implements Message ----------------------------------------------
  138. inline Target* New() const final {
  139. return CreateMaybeMessage<Target>(nullptr);
  140. }
  141. Target* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  142. return CreateMaybeMessage<Target>(arena);
  143. }
  144. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  145. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  146. void CopyFrom(const Target& from);
  147. void MergeFrom(const Target& from);
  148. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  149. bool IsInitialized() const final;
  150. size_t ByteSizeLong() const final;
  151. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  152. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  153. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  154. int GetCachedSize() const final { return _cached_size_.Get(); }
  155. private:
  156. inline void SharedCtor();
  157. inline void SharedDtor();
  158. void SetCachedSize(int size) const final;
  159. void InternalSwap(Target* other);
  160. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  161. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  162. return "firestore.client.Target";
  163. }
  164. private:
  165. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  166. return nullptr;
  167. }
  168. inline void* MaybeArenaPtr() const {
  169. return nullptr;
  170. }
  171. public:
  172. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  173. private:
  174. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  175. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_firestore_2flocal_2ftarget_2eproto);
  176. return ::descriptor_table_firestore_2flocal_2ftarget_2eproto.file_level_metadata[kIndexInFileMessages];
  177. }
  178. public:
  179. // nested types ----------------------------------------------------
  180. // accessors -------------------------------------------------------
  181. enum : int {
  182. kResumeTokenFieldNumber = 3,
  183. kSnapshotVersionFieldNumber = 2,
  184. kLastLimboFreeSnapshotVersionFieldNumber = 7,
  185. kLastListenSequenceNumberFieldNumber = 4,
  186. kTargetIdFieldNumber = 1,
  187. kQueryFieldNumber = 5,
  188. kDocumentsFieldNumber = 6,
  189. };
  190. // bytes resume_token = 3;
  191. void clear_resume_token();
  192. const std::string& resume_token() const;
  193. void set_resume_token(const std::string& value);
  194. void set_resume_token(std::string&& value);
  195. void set_resume_token(const char* value);
  196. void set_resume_token(const void* value, size_t size);
  197. std::string* mutable_resume_token();
  198. std::string* release_resume_token();
  199. void set_allocated_resume_token(std::string* resume_token);
  200. private:
  201. const std::string& _internal_resume_token() const;
  202. void _internal_set_resume_token(const std::string& value);
  203. std::string* _internal_mutable_resume_token();
  204. public:
  205. // .google.protobuf.Timestamp snapshot_version = 2;
  206. bool has_snapshot_version() const;
  207. private:
  208. bool _internal_has_snapshot_version() const;
  209. public:
  210. void clear_snapshot_version();
  211. const PROTOBUF_NAMESPACE_ID::Timestamp& snapshot_version() const;
  212. PROTOBUF_NAMESPACE_ID::Timestamp* release_snapshot_version();
  213. PROTOBUF_NAMESPACE_ID::Timestamp* mutable_snapshot_version();
  214. void set_allocated_snapshot_version(PROTOBUF_NAMESPACE_ID::Timestamp* snapshot_version);
  215. private:
  216. const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_snapshot_version() const;
  217. PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_snapshot_version();
  218. public:
  219. // .google.protobuf.Timestamp last_limbo_free_snapshot_version = 7;
  220. bool has_last_limbo_free_snapshot_version() const;
  221. private:
  222. bool _internal_has_last_limbo_free_snapshot_version() const;
  223. public:
  224. void clear_last_limbo_free_snapshot_version();
  225. const PROTOBUF_NAMESPACE_ID::Timestamp& last_limbo_free_snapshot_version() const;
  226. PROTOBUF_NAMESPACE_ID::Timestamp* release_last_limbo_free_snapshot_version();
  227. PROTOBUF_NAMESPACE_ID::Timestamp* mutable_last_limbo_free_snapshot_version();
  228. void set_allocated_last_limbo_free_snapshot_version(PROTOBUF_NAMESPACE_ID::Timestamp* last_limbo_free_snapshot_version);
  229. private:
  230. const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_last_limbo_free_snapshot_version() const;
  231. PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_last_limbo_free_snapshot_version();
  232. public:
  233. // int64 last_listen_sequence_number = 4;
  234. void clear_last_listen_sequence_number();
  235. ::PROTOBUF_NAMESPACE_ID::int64 last_listen_sequence_number() const;
  236. void set_last_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value);
  237. private:
  238. ::PROTOBUF_NAMESPACE_ID::int64 _internal_last_listen_sequence_number() const;
  239. void _internal_set_last_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value);
  240. public:
  241. // int32 target_id = 1;
  242. void clear_target_id();
  243. ::PROTOBUF_NAMESPACE_ID::int32 target_id() const;
  244. void set_target_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  245. private:
  246. ::PROTOBUF_NAMESPACE_ID::int32 _internal_target_id() const;
  247. void _internal_set_target_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  248. public:
  249. // .google.firestore.v1.Target.QueryTarget query = 5;
  250. bool has_query() const;
  251. private:
  252. bool _internal_has_query() const;
  253. public:
  254. void clear_query();
  255. const ::google::firestore::v1::Target_QueryTarget& query() const;
  256. ::google::firestore::v1::Target_QueryTarget* release_query();
  257. ::google::firestore::v1::Target_QueryTarget* mutable_query();
  258. void set_allocated_query(::google::firestore::v1::Target_QueryTarget* query);
  259. private:
  260. const ::google::firestore::v1::Target_QueryTarget& _internal_query() const;
  261. ::google::firestore::v1::Target_QueryTarget* _internal_mutable_query();
  262. public:
  263. // .google.firestore.v1.Target.DocumentsTarget documents = 6;
  264. bool has_documents() const;
  265. private:
  266. bool _internal_has_documents() const;
  267. public:
  268. void clear_documents();
  269. const ::google::firestore::v1::Target_DocumentsTarget& documents() const;
  270. ::google::firestore::v1::Target_DocumentsTarget* release_documents();
  271. ::google::firestore::v1::Target_DocumentsTarget* mutable_documents();
  272. void set_allocated_documents(::google::firestore::v1::Target_DocumentsTarget* documents);
  273. private:
  274. const ::google::firestore::v1::Target_DocumentsTarget& _internal_documents() const;
  275. ::google::firestore::v1::Target_DocumentsTarget* _internal_mutable_documents();
  276. public:
  277. void clear_target_type();
  278. TargetTypeCase target_type_case() const;
  279. // @@protoc_insertion_point(class_scope:firestore.client.Target)
  280. private:
  281. class _Internal;
  282. void set_has_query();
  283. void set_has_documents();
  284. inline bool has_target_type() const;
  285. inline void clear_has_target_type();
  286. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  287. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr resume_token_;
  288. PROTOBUF_NAMESPACE_ID::Timestamp* snapshot_version_;
  289. PROTOBUF_NAMESPACE_ID::Timestamp* last_limbo_free_snapshot_version_;
  290. ::PROTOBUF_NAMESPACE_ID::int64 last_listen_sequence_number_;
  291. ::PROTOBUF_NAMESPACE_ID::int32 target_id_;
  292. union TargetTypeUnion {
  293. TargetTypeUnion() {}
  294. ::google::firestore::v1::Target_QueryTarget* query_;
  295. ::google::firestore::v1::Target_DocumentsTarget* documents_;
  296. } target_type_;
  297. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  298. ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
  299. friend struct ::TableStruct_firestore_2flocal_2ftarget_2eproto;
  300. };
  301. // -------------------------------------------------------------------
  302. class TargetGlobal :
  303. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:firestore.client.TargetGlobal) */ {
  304. public:
  305. TargetGlobal();
  306. virtual ~TargetGlobal();
  307. TargetGlobal(const TargetGlobal& from);
  308. TargetGlobal(TargetGlobal&& from) noexcept
  309. : TargetGlobal() {
  310. *this = ::std::move(from);
  311. }
  312. inline TargetGlobal& operator=(const TargetGlobal& from) {
  313. CopyFrom(from);
  314. return *this;
  315. }
  316. inline TargetGlobal& operator=(TargetGlobal&& from) noexcept {
  317. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  318. if (this != &from) InternalSwap(&from);
  319. } else {
  320. CopyFrom(from);
  321. }
  322. return *this;
  323. }
  324. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  325. return GetDescriptor();
  326. }
  327. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  328. return GetMetadataStatic().descriptor;
  329. }
  330. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  331. return GetMetadataStatic().reflection;
  332. }
  333. static const TargetGlobal& default_instance();
  334. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  335. static inline const TargetGlobal* internal_default_instance() {
  336. return reinterpret_cast<const TargetGlobal*>(
  337. &_TargetGlobal_default_instance_);
  338. }
  339. static constexpr int kIndexInFileMessages =
  340. 1;
  341. friend void swap(TargetGlobal& a, TargetGlobal& b) {
  342. a.Swap(&b);
  343. }
  344. inline void Swap(TargetGlobal* other) {
  345. if (other == this) return;
  346. InternalSwap(other);
  347. }
  348. // implements Message ----------------------------------------------
  349. inline TargetGlobal* New() const final {
  350. return CreateMaybeMessage<TargetGlobal>(nullptr);
  351. }
  352. TargetGlobal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  353. return CreateMaybeMessage<TargetGlobal>(arena);
  354. }
  355. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  356. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  357. void CopyFrom(const TargetGlobal& from);
  358. void MergeFrom(const TargetGlobal& from);
  359. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  360. bool IsInitialized() const final;
  361. size_t ByteSizeLong() const final;
  362. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  363. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  364. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  365. int GetCachedSize() const final { return _cached_size_.Get(); }
  366. private:
  367. inline void SharedCtor();
  368. inline void SharedDtor();
  369. void SetCachedSize(int size) const final;
  370. void InternalSwap(TargetGlobal* other);
  371. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  372. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  373. return "firestore.client.TargetGlobal";
  374. }
  375. private:
  376. inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
  377. return nullptr;
  378. }
  379. inline void* MaybeArenaPtr() const {
  380. return nullptr;
  381. }
  382. public:
  383. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  384. private:
  385. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  386. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_firestore_2flocal_2ftarget_2eproto);
  387. return ::descriptor_table_firestore_2flocal_2ftarget_2eproto.file_level_metadata[kIndexInFileMessages];
  388. }
  389. public:
  390. // nested types ----------------------------------------------------
  391. // accessors -------------------------------------------------------
  392. enum : int {
  393. kLastRemoteSnapshotVersionFieldNumber = 3,
  394. kHighestListenSequenceNumberFieldNumber = 2,
  395. kHighestTargetIdFieldNumber = 1,
  396. kTargetCountFieldNumber = 4,
  397. };
  398. // .google.protobuf.Timestamp last_remote_snapshot_version = 3;
  399. bool has_last_remote_snapshot_version() const;
  400. private:
  401. bool _internal_has_last_remote_snapshot_version() const;
  402. public:
  403. void clear_last_remote_snapshot_version();
  404. const PROTOBUF_NAMESPACE_ID::Timestamp& last_remote_snapshot_version() const;
  405. PROTOBUF_NAMESPACE_ID::Timestamp* release_last_remote_snapshot_version();
  406. PROTOBUF_NAMESPACE_ID::Timestamp* mutable_last_remote_snapshot_version();
  407. void set_allocated_last_remote_snapshot_version(PROTOBUF_NAMESPACE_ID::Timestamp* last_remote_snapshot_version);
  408. private:
  409. const PROTOBUF_NAMESPACE_ID::Timestamp& _internal_last_remote_snapshot_version() const;
  410. PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_last_remote_snapshot_version();
  411. public:
  412. // int64 highest_listen_sequence_number = 2;
  413. void clear_highest_listen_sequence_number();
  414. ::PROTOBUF_NAMESPACE_ID::int64 highest_listen_sequence_number() const;
  415. void set_highest_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value);
  416. private:
  417. ::PROTOBUF_NAMESPACE_ID::int64 _internal_highest_listen_sequence_number() const;
  418. void _internal_set_highest_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value);
  419. public:
  420. // int32 highest_target_id = 1;
  421. void clear_highest_target_id();
  422. ::PROTOBUF_NAMESPACE_ID::int32 highest_target_id() const;
  423. void set_highest_target_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  424. private:
  425. ::PROTOBUF_NAMESPACE_ID::int32 _internal_highest_target_id() const;
  426. void _internal_set_highest_target_id(::PROTOBUF_NAMESPACE_ID::int32 value);
  427. public:
  428. // int32 target_count = 4;
  429. void clear_target_count();
  430. ::PROTOBUF_NAMESPACE_ID::int32 target_count() const;
  431. void set_target_count(::PROTOBUF_NAMESPACE_ID::int32 value);
  432. private:
  433. ::PROTOBUF_NAMESPACE_ID::int32 _internal_target_count() const;
  434. void _internal_set_target_count(::PROTOBUF_NAMESPACE_ID::int32 value);
  435. public:
  436. // @@protoc_insertion_point(class_scope:firestore.client.TargetGlobal)
  437. private:
  438. class _Internal;
  439. ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  440. PROTOBUF_NAMESPACE_ID::Timestamp* last_remote_snapshot_version_;
  441. ::PROTOBUF_NAMESPACE_ID::int64 highest_listen_sequence_number_;
  442. ::PROTOBUF_NAMESPACE_ID::int32 highest_target_id_;
  443. ::PROTOBUF_NAMESPACE_ID::int32 target_count_;
  444. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  445. friend struct ::TableStruct_firestore_2flocal_2ftarget_2eproto;
  446. };
  447. // ===================================================================
  448. // ===================================================================
  449. #ifdef __GNUC__
  450. #pragma GCC diagnostic push
  451. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  452. #endif // __GNUC__
  453. // Target
  454. // int32 target_id = 1;
  455. inline void Target::clear_target_id() {
  456. target_id_ = 0;
  457. }
  458. inline ::PROTOBUF_NAMESPACE_ID::int32 Target::_internal_target_id() const {
  459. return target_id_;
  460. }
  461. inline ::PROTOBUF_NAMESPACE_ID::int32 Target::target_id() const {
  462. // @@protoc_insertion_point(field_get:firestore.client.Target.target_id)
  463. return _internal_target_id();
  464. }
  465. inline void Target::_internal_set_target_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  466. target_id_ = value;
  467. }
  468. inline void Target::set_target_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  469. _internal_set_target_id(value);
  470. // @@protoc_insertion_point(field_set:firestore.client.Target.target_id)
  471. }
  472. // .google.protobuf.Timestamp snapshot_version = 2;
  473. inline bool Target::_internal_has_snapshot_version() const {
  474. return this != internal_default_instance() && snapshot_version_ != nullptr;
  475. }
  476. inline bool Target::has_snapshot_version() const {
  477. return _internal_has_snapshot_version();
  478. }
  479. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Target::_internal_snapshot_version() const {
  480. const PROTOBUF_NAMESPACE_ID::Timestamp* p = snapshot_version_;
  481. return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Timestamp*>(
  482. &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
  483. }
  484. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Target::snapshot_version() const {
  485. // @@protoc_insertion_point(field_get:firestore.client.Target.snapshot_version)
  486. return _internal_snapshot_version();
  487. }
  488. inline PROTOBUF_NAMESPACE_ID::Timestamp* Target::release_snapshot_version() {
  489. // @@protoc_insertion_point(field_release:firestore.client.Target.snapshot_version)
  490. PROTOBUF_NAMESPACE_ID::Timestamp* temp = snapshot_version_;
  491. snapshot_version_ = nullptr;
  492. return temp;
  493. }
  494. inline PROTOBUF_NAMESPACE_ID::Timestamp* Target::_internal_mutable_snapshot_version() {
  495. if (snapshot_version_ == nullptr) {
  496. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaNoVirtual());
  497. snapshot_version_ = p;
  498. }
  499. return snapshot_version_;
  500. }
  501. inline PROTOBUF_NAMESPACE_ID::Timestamp* Target::mutable_snapshot_version() {
  502. // @@protoc_insertion_point(field_mutable:firestore.client.Target.snapshot_version)
  503. return _internal_mutable_snapshot_version();
  504. }
  505. inline void Target::set_allocated_snapshot_version(PROTOBUF_NAMESPACE_ID::Timestamp* snapshot_version) {
  506. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  507. if (message_arena == nullptr) {
  508. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(snapshot_version_);
  509. }
  510. if (snapshot_version) {
  511. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  512. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(snapshot_version)->GetArena();
  513. if (message_arena != submessage_arena) {
  514. snapshot_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  515. message_arena, snapshot_version, submessage_arena);
  516. }
  517. } else {
  518. }
  519. snapshot_version_ = snapshot_version;
  520. // @@protoc_insertion_point(field_set_allocated:firestore.client.Target.snapshot_version)
  521. }
  522. // bytes resume_token = 3;
  523. inline void Target::clear_resume_token() {
  524. resume_token_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  525. }
  526. inline const std::string& Target::resume_token() const {
  527. // @@protoc_insertion_point(field_get:firestore.client.Target.resume_token)
  528. return _internal_resume_token();
  529. }
  530. inline void Target::set_resume_token(const std::string& value) {
  531. _internal_set_resume_token(value);
  532. // @@protoc_insertion_point(field_set:firestore.client.Target.resume_token)
  533. }
  534. inline std::string* Target::mutable_resume_token() {
  535. // @@protoc_insertion_point(field_mutable:firestore.client.Target.resume_token)
  536. return _internal_mutable_resume_token();
  537. }
  538. inline const std::string& Target::_internal_resume_token() const {
  539. return resume_token_.GetNoArena();
  540. }
  541. inline void Target::_internal_set_resume_token(const std::string& value) {
  542. resume_token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
  543. }
  544. inline void Target::set_resume_token(std::string&& value) {
  545. resume_token_.SetNoArena(
  546. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  547. // @@protoc_insertion_point(field_set_rvalue:firestore.client.Target.resume_token)
  548. }
  549. inline void Target::set_resume_token(const char* value) {
  550. GOOGLE_DCHECK(value != nullptr);
  551. resume_token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  552. // @@protoc_insertion_point(field_set_char:firestore.client.Target.resume_token)
  553. }
  554. inline void Target::set_resume_token(const void* value, size_t size) {
  555. resume_token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  556. ::std::string(reinterpret_cast<const char*>(value), size));
  557. // @@protoc_insertion_point(field_set_pointer:firestore.client.Target.resume_token)
  558. }
  559. inline std::string* Target::_internal_mutable_resume_token() {
  560. return resume_token_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  561. }
  562. inline std::string* Target::release_resume_token() {
  563. // @@protoc_insertion_point(field_release:firestore.client.Target.resume_token)
  564. return resume_token_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  565. }
  566. inline void Target::set_allocated_resume_token(std::string* resume_token) {
  567. if (resume_token != nullptr) {
  568. } else {
  569. }
  570. resume_token_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), resume_token);
  571. // @@protoc_insertion_point(field_set_allocated:firestore.client.Target.resume_token)
  572. }
  573. // int64 last_listen_sequence_number = 4;
  574. inline void Target::clear_last_listen_sequence_number() {
  575. last_listen_sequence_number_ = PROTOBUF_LONGLONG(0);
  576. }
  577. inline ::PROTOBUF_NAMESPACE_ID::int64 Target::_internal_last_listen_sequence_number() const {
  578. return last_listen_sequence_number_;
  579. }
  580. inline ::PROTOBUF_NAMESPACE_ID::int64 Target::last_listen_sequence_number() const {
  581. // @@protoc_insertion_point(field_get:firestore.client.Target.last_listen_sequence_number)
  582. return _internal_last_listen_sequence_number();
  583. }
  584. inline void Target::_internal_set_last_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value) {
  585. last_listen_sequence_number_ = value;
  586. }
  587. inline void Target::set_last_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value) {
  588. _internal_set_last_listen_sequence_number(value);
  589. // @@protoc_insertion_point(field_set:firestore.client.Target.last_listen_sequence_number)
  590. }
  591. // .google.firestore.v1.Target.QueryTarget query = 5;
  592. inline bool Target::_internal_has_query() const {
  593. return target_type_case() == kQuery;
  594. }
  595. inline bool Target::has_query() const {
  596. return _internal_has_query();
  597. }
  598. inline void Target::set_has_query() {
  599. _oneof_case_[0] = kQuery;
  600. }
  601. inline ::google::firestore::v1::Target_QueryTarget* Target::release_query() {
  602. // @@protoc_insertion_point(field_release:firestore.client.Target.query)
  603. if (_internal_has_query()) {
  604. clear_has_target_type();
  605. ::google::firestore::v1::Target_QueryTarget* temp = target_type_.query_;
  606. target_type_.query_ = nullptr;
  607. return temp;
  608. } else {
  609. return nullptr;
  610. }
  611. }
  612. inline const ::google::firestore::v1::Target_QueryTarget& Target::_internal_query() const {
  613. return _internal_has_query()
  614. ? *target_type_.query_
  615. : *reinterpret_cast< ::google::firestore::v1::Target_QueryTarget*>(&::google::firestore::v1::_Target_QueryTarget_default_instance_);
  616. }
  617. inline const ::google::firestore::v1::Target_QueryTarget& Target::query() const {
  618. // @@protoc_insertion_point(field_get:firestore.client.Target.query)
  619. return _internal_query();
  620. }
  621. inline ::google::firestore::v1::Target_QueryTarget* Target::_internal_mutable_query() {
  622. if (!_internal_has_query()) {
  623. clear_target_type();
  624. set_has_query();
  625. target_type_.query_ = CreateMaybeMessage< ::google::firestore::v1::Target_QueryTarget >(
  626. GetArenaNoVirtual());
  627. }
  628. return target_type_.query_;
  629. }
  630. inline ::google::firestore::v1::Target_QueryTarget* Target::mutable_query() {
  631. // @@protoc_insertion_point(field_mutable:firestore.client.Target.query)
  632. return _internal_mutable_query();
  633. }
  634. // .google.firestore.v1.Target.DocumentsTarget documents = 6;
  635. inline bool Target::_internal_has_documents() const {
  636. return target_type_case() == kDocuments;
  637. }
  638. inline bool Target::has_documents() const {
  639. return _internal_has_documents();
  640. }
  641. inline void Target::set_has_documents() {
  642. _oneof_case_[0] = kDocuments;
  643. }
  644. inline ::google::firestore::v1::Target_DocumentsTarget* Target::release_documents() {
  645. // @@protoc_insertion_point(field_release:firestore.client.Target.documents)
  646. if (_internal_has_documents()) {
  647. clear_has_target_type();
  648. ::google::firestore::v1::Target_DocumentsTarget* temp = target_type_.documents_;
  649. target_type_.documents_ = nullptr;
  650. return temp;
  651. } else {
  652. return nullptr;
  653. }
  654. }
  655. inline const ::google::firestore::v1::Target_DocumentsTarget& Target::_internal_documents() const {
  656. return _internal_has_documents()
  657. ? *target_type_.documents_
  658. : *reinterpret_cast< ::google::firestore::v1::Target_DocumentsTarget*>(&::google::firestore::v1::_Target_DocumentsTarget_default_instance_);
  659. }
  660. inline const ::google::firestore::v1::Target_DocumentsTarget& Target::documents() const {
  661. // @@protoc_insertion_point(field_get:firestore.client.Target.documents)
  662. return _internal_documents();
  663. }
  664. inline ::google::firestore::v1::Target_DocumentsTarget* Target::_internal_mutable_documents() {
  665. if (!_internal_has_documents()) {
  666. clear_target_type();
  667. set_has_documents();
  668. target_type_.documents_ = CreateMaybeMessage< ::google::firestore::v1::Target_DocumentsTarget >(
  669. GetArenaNoVirtual());
  670. }
  671. return target_type_.documents_;
  672. }
  673. inline ::google::firestore::v1::Target_DocumentsTarget* Target::mutable_documents() {
  674. // @@protoc_insertion_point(field_mutable:firestore.client.Target.documents)
  675. return _internal_mutable_documents();
  676. }
  677. // .google.protobuf.Timestamp last_limbo_free_snapshot_version = 7;
  678. inline bool Target::_internal_has_last_limbo_free_snapshot_version() const {
  679. return this != internal_default_instance() && last_limbo_free_snapshot_version_ != nullptr;
  680. }
  681. inline bool Target::has_last_limbo_free_snapshot_version() const {
  682. return _internal_has_last_limbo_free_snapshot_version();
  683. }
  684. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Target::_internal_last_limbo_free_snapshot_version() const {
  685. const PROTOBUF_NAMESPACE_ID::Timestamp* p = last_limbo_free_snapshot_version_;
  686. return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Timestamp*>(
  687. &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
  688. }
  689. inline const PROTOBUF_NAMESPACE_ID::Timestamp& Target::last_limbo_free_snapshot_version() const {
  690. // @@protoc_insertion_point(field_get:firestore.client.Target.last_limbo_free_snapshot_version)
  691. return _internal_last_limbo_free_snapshot_version();
  692. }
  693. inline PROTOBUF_NAMESPACE_ID::Timestamp* Target::release_last_limbo_free_snapshot_version() {
  694. // @@protoc_insertion_point(field_release:firestore.client.Target.last_limbo_free_snapshot_version)
  695. PROTOBUF_NAMESPACE_ID::Timestamp* temp = last_limbo_free_snapshot_version_;
  696. last_limbo_free_snapshot_version_ = nullptr;
  697. return temp;
  698. }
  699. inline PROTOBUF_NAMESPACE_ID::Timestamp* Target::_internal_mutable_last_limbo_free_snapshot_version() {
  700. if (last_limbo_free_snapshot_version_ == nullptr) {
  701. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaNoVirtual());
  702. last_limbo_free_snapshot_version_ = p;
  703. }
  704. return last_limbo_free_snapshot_version_;
  705. }
  706. inline PROTOBUF_NAMESPACE_ID::Timestamp* Target::mutable_last_limbo_free_snapshot_version() {
  707. // @@protoc_insertion_point(field_mutable:firestore.client.Target.last_limbo_free_snapshot_version)
  708. return _internal_mutable_last_limbo_free_snapshot_version();
  709. }
  710. inline void Target::set_allocated_last_limbo_free_snapshot_version(PROTOBUF_NAMESPACE_ID::Timestamp* last_limbo_free_snapshot_version) {
  711. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  712. if (message_arena == nullptr) {
  713. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(last_limbo_free_snapshot_version_);
  714. }
  715. if (last_limbo_free_snapshot_version) {
  716. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  717. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(last_limbo_free_snapshot_version)->GetArena();
  718. if (message_arena != submessage_arena) {
  719. last_limbo_free_snapshot_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  720. message_arena, last_limbo_free_snapshot_version, submessage_arena);
  721. }
  722. } else {
  723. }
  724. last_limbo_free_snapshot_version_ = last_limbo_free_snapshot_version;
  725. // @@protoc_insertion_point(field_set_allocated:firestore.client.Target.last_limbo_free_snapshot_version)
  726. }
  727. inline bool Target::has_target_type() const {
  728. return target_type_case() != TARGET_TYPE_NOT_SET;
  729. }
  730. inline void Target::clear_has_target_type() {
  731. _oneof_case_[0] = TARGET_TYPE_NOT_SET;
  732. }
  733. inline Target::TargetTypeCase Target::target_type_case() const {
  734. return Target::TargetTypeCase(_oneof_case_[0]);
  735. }
  736. // -------------------------------------------------------------------
  737. // TargetGlobal
  738. // int32 highest_target_id = 1;
  739. inline void TargetGlobal::clear_highest_target_id() {
  740. highest_target_id_ = 0;
  741. }
  742. inline ::PROTOBUF_NAMESPACE_ID::int32 TargetGlobal::_internal_highest_target_id() const {
  743. return highest_target_id_;
  744. }
  745. inline ::PROTOBUF_NAMESPACE_ID::int32 TargetGlobal::highest_target_id() const {
  746. // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.highest_target_id)
  747. return _internal_highest_target_id();
  748. }
  749. inline void TargetGlobal::_internal_set_highest_target_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  750. highest_target_id_ = value;
  751. }
  752. inline void TargetGlobal::set_highest_target_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
  753. _internal_set_highest_target_id(value);
  754. // @@protoc_insertion_point(field_set:firestore.client.TargetGlobal.highest_target_id)
  755. }
  756. // int64 highest_listen_sequence_number = 2;
  757. inline void TargetGlobal::clear_highest_listen_sequence_number() {
  758. highest_listen_sequence_number_ = PROTOBUF_LONGLONG(0);
  759. }
  760. inline ::PROTOBUF_NAMESPACE_ID::int64 TargetGlobal::_internal_highest_listen_sequence_number() const {
  761. return highest_listen_sequence_number_;
  762. }
  763. inline ::PROTOBUF_NAMESPACE_ID::int64 TargetGlobal::highest_listen_sequence_number() const {
  764. // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.highest_listen_sequence_number)
  765. return _internal_highest_listen_sequence_number();
  766. }
  767. inline void TargetGlobal::_internal_set_highest_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value) {
  768. highest_listen_sequence_number_ = value;
  769. }
  770. inline void TargetGlobal::set_highest_listen_sequence_number(::PROTOBUF_NAMESPACE_ID::int64 value) {
  771. _internal_set_highest_listen_sequence_number(value);
  772. // @@protoc_insertion_point(field_set:firestore.client.TargetGlobal.highest_listen_sequence_number)
  773. }
  774. // .google.protobuf.Timestamp last_remote_snapshot_version = 3;
  775. inline bool TargetGlobal::_internal_has_last_remote_snapshot_version() const {
  776. return this != internal_default_instance() && last_remote_snapshot_version_ != nullptr;
  777. }
  778. inline bool TargetGlobal::has_last_remote_snapshot_version() const {
  779. return _internal_has_last_remote_snapshot_version();
  780. }
  781. inline const PROTOBUF_NAMESPACE_ID::Timestamp& TargetGlobal::_internal_last_remote_snapshot_version() const {
  782. const PROTOBUF_NAMESPACE_ID::Timestamp* p = last_remote_snapshot_version_;
  783. return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Timestamp*>(
  784. &PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
  785. }
  786. inline const PROTOBUF_NAMESPACE_ID::Timestamp& TargetGlobal::last_remote_snapshot_version() const {
  787. // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.last_remote_snapshot_version)
  788. return _internal_last_remote_snapshot_version();
  789. }
  790. inline PROTOBUF_NAMESPACE_ID::Timestamp* TargetGlobal::release_last_remote_snapshot_version() {
  791. // @@protoc_insertion_point(field_release:firestore.client.TargetGlobal.last_remote_snapshot_version)
  792. PROTOBUF_NAMESPACE_ID::Timestamp* temp = last_remote_snapshot_version_;
  793. last_remote_snapshot_version_ = nullptr;
  794. return temp;
  795. }
  796. inline PROTOBUF_NAMESPACE_ID::Timestamp* TargetGlobal::_internal_mutable_last_remote_snapshot_version() {
  797. if (last_remote_snapshot_version_ == nullptr) {
  798. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaNoVirtual());
  799. last_remote_snapshot_version_ = p;
  800. }
  801. return last_remote_snapshot_version_;
  802. }
  803. inline PROTOBUF_NAMESPACE_ID::Timestamp* TargetGlobal::mutable_last_remote_snapshot_version() {
  804. // @@protoc_insertion_point(field_mutable:firestore.client.TargetGlobal.last_remote_snapshot_version)
  805. return _internal_mutable_last_remote_snapshot_version();
  806. }
  807. inline void TargetGlobal::set_allocated_last_remote_snapshot_version(PROTOBUF_NAMESPACE_ID::Timestamp* last_remote_snapshot_version) {
  808. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  809. if (message_arena == nullptr) {
  810. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(last_remote_snapshot_version_);
  811. }
  812. if (last_remote_snapshot_version) {
  813. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  814. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(last_remote_snapshot_version)->GetArena();
  815. if (message_arena != submessage_arena) {
  816. last_remote_snapshot_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  817. message_arena, last_remote_snapshot_version, submessage_arena);
  818. }
  819. } else {
  820. }
  821. last_remote_snapshot_version_ = last_remote_snapshot_version;
  822. // @@protoc_insertion_point(field_set_allocated:firestore.client.TargetGlobal.last_remote_snapshot_version)
  823. }
  824. // int32 target_count = 4;
  825. inline void TargetGlobal::clear_target_count() {
  826. target_count_ = 0;
  827. }
  828. inline ::PROTOBUF_NAMESPACE_ID::int32 TargetGlobal::_internal_target_count() const {
  829. return target_count_;
  830. }
  831. inline ::PROTOBUF_NAMESPACE_ID::int32 TargetGlobal::target_count() const {
  832. // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.target_count)
  833. return _internal_target_count();
  834. }
  835. inline void TargetGlobal::_internal_set_target_count(::PROTOBUF_NAMESPACE_ID::int32 value) {
  836. target_count_ = value;
  837. }
  838. inline void TargetGlobal::set_target_count(::PROTOBUF_NAMESPACE_ID::int32 value) {
  839. _internal_set_target_count(value);
  840. // @@protoc_insertion_point(field_set:firestore.client.TargetGlobal.target_count)
  841. }
  842. #ifdef __GNUC__
  843. #pragma GCC diagnostic pop
  844. #endif // __GNUC__
  845. // -------------------------------------------------------------------
  846. // @@protoc_insertion_point(namespace_scope)
  847. } // namespace client
  848. } // namespace firestore
  849. // @@protoc_insertion_point(global_scope)
  850. #include <google/protobuf/port_undef.inc>
  851. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_firestore_2flocal_2ftarget_2eproto