index.pb.cc 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866
  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/admin/index.proto
  18. #include "google/firestore/admin/index.pb.h"
  19. #include <algorithm>
  20. #include <google/protobuf/io/coded_stream.h>
  21. #include <google/protobuf/extension_set.h>
  22. #include <google/protobuf/wire_format_lite.h>
  23. #include <google/protobuf/descriptor.h>
  24. #include <google/protobuf/generated_message_reflection.h>
  25. #include <google/protobuf/reflection_ops.h>
  26. #include <google/protobuf/wire_format.h>
  27. // @@protoc_insertion_point(includes)
  28. #include <google/protobuf/port_def.inc>
  29. extern PROTOBUF_INTERNAL_EXPORT_google_2ffirestore_2fadmin_2findex_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto;
  30. namespace google {
  31. namespace firestore {
  32. namespace admin {
  33. namespace v1 {
  34. class Index_IndexFieldDefaultTypeInternal {
  35. public:
  36. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Index_IndexField> _instance;
  37. int order_;
  38. int array_config_;
  39. } _Index_IndexField_default_instance_;
  40. class IndexDefaultTypeInternal {
  41. public:
  42. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Index> _instance;
  43. } _Index_default_instance_;
  44. } // namespace v1
  45. } // namespace admin
  46. } // namespace firestore
  47. } // namespace google
  48. static void InitDefaultsscc_info_Index_google_2ffirestore_2fadmin_2findex_2eproto() {
  49. GOOGLE_PROTOBUF_VERIFY_VERSION;
  50. {
  51. void* ptr = &::google::firestore::admin::v1::_Index_default_instance_;
  52. new (ptr) ::google::firestore::admin::v1::Index();
  53. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  54. }
  55. ::google::firestore::admin::v1::Index::InitAsDefaultInstance();
  56. }
  57. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Index_google_2ffirestore_2fadmin_2findex_2eproto =
  58. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Index_google_2ffirestore_2fadmin_2findex_2eproto}, {
  59. &scc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto.base,}};
  60. static void InitDefaultsscc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto() {
  61. GOOGLE_PROTOBUF_VERIFY_VERSION;
  62. {
  63. void* ptr = &::google::firestore::admin::v1::_Index_IndexField_default_instance_;
  64. new (ptr) ::google::firestore::admin::v1::Index_IndexField();
  65. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  66. }
  67. ::google::firestore::admin::v1::Index_IndexField::InitAsDefaultInstance();
  68. }
  69. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto =
  70. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto}, {}};
  71. static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2ffirestore_2fadmin_2findex_2eproto[2];
  72. static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_google_2ffirestore_2fadmin_2findex_2eproto[4];
  73. static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2ffirestore_2fadmin_2findex_2eproto = nullptr;
  74. const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2ffirestore_2fadmin_2findex_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  75. ~0u, // no _has_bits_
  76. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index_IndexField, _internal_metadata_),
  77. ~0u, // no _extensions_
  78. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index_IndexField, _oneof_case_[0]),
  79. ~0u, // no _weak_field_map_
  80. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index_IndexField, field_path_),
  81. offsetof(::google::firestore::admin::v1::Index_IndexFieldDefaultTypeInternal, order_),
  82. offsetof(::google::firestore::admin::v1::Index_IndexFieldDefaultTypeInternal, array_config_),
  83. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index_IndexField, value_mode_),
  84. ~0u, // no _has_bits_
  85. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index, _internal_metadata_),
  86. ~0u, // no _extensions_
  87. ~0u, // no _oneof_case_
  88. ~0u, // no _weak_field_map_
  89. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index, name_),
  90. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index, query_scope_),
  91. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index, fields_),
  92. PROTOBUF_FIELD_OFFSET(::google::firestore::admin::v1::Index, state_),
  93. };
  94. static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  95. { 0, -1, sizeof(::google::firestore::admin::v1::Index_IndexField)},
  96. { 9, -1, sizeof(::google::firestore::admin::v1::Index)},
  97. };
  98. static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
  99. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::google::firestore::admin::v1::_Index_IndexField_default_instance_),
  100. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::google::firestore::admin::v1::_Index_default_instance_),
  101. };
  102. const char descriptor_table_protodef_google_2ffirestore_2fadmin_2findex_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  103. "\n\"google/firestore/admin/index.proto\022\031go"
  104. "ogle.firestore.admin.v1\032\031google/api/reso"
  105. "urce.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n\013qu"
  106. "ery_scope\030\002 \001(\0162+.google.firestore.admin"
  107. ".v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132+.g"
  108. "oogle.firestore.admin.v1.Index.IndexFiel"
  109. "d\0225\n\005state\030\004 \001(\0162&.google.firestore.admi"
  110. "n.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfield"
  111. "_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.fire"
  112. "store.admin.v1.Index.IndexField.OrderH\000\022"
  113. "O\n\014array_config\030\003 \001(\01627.google.firestore"
  114. ".admin.v1.Index.IndexField.ArrayConfigH\000"
  115. "\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tASCE"
  116. "NDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfig\022\034"
  117. "\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTAINS"
  118. "\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUERY_"
  119. "SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024\n\020C"
  120. "OLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_UNSP"
  121. "ECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n\014NE"
  122. "EDS_REPAIR\020\003:z\352Aw\n\036firestore.googleapis."
  123. "com/Index\022Uprojects/{project}/databases/"
  124. "{database}/collectionGroups/{collection}"
  125. "/indexes/{index}B\336\001\n\035com.google.firestor"
  126. "e.admin.v1B\nIndexProtoP\001Z>google.golang."
  127. "org/genproto/googleapis/firestore/admin/"
  128. "v1;admin\242\002\004GCFS\252\002\037Google.Cloud.Firestore"
  129. ".Admin.V1\312\002\037Google\\Cloud\\Firestore\\Admin"
  130. "\\V1\352\002#Google::Cloud::Firestore::Admin::V"
  131. "1b\006proto3"
  132. ;
  133. static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_deps[1] = {
  134. &::descriptor_table_google_2fapi_2fresource_2eproto,
  135. };
  136. static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_sccs[2] = {
  137. &scc_info_Index_google_2ffirestore_2fadmin_2findex_2eproto.base,
  138. &scc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto.base,
  139. };
  140. static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_once;
  141. static bool descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_initialized = false;
  142. const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto = {
  143. &descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_initialized, descriptor_table_protodef_google_2ffirestore_2fadmin_2findex_2eproto, "google/firestore/admin/index.proto", 1129,
  144. &descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_once, descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_sccs, descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto_deps, 2, 1,
  145. schemas, file_default_instances, TableStruct_google_2ffirestore_2fadmin_2findex_2eproto::offsets,
  146. file_level_metadata_google_2ffirestore_2fadmin_2findex_2eproto, 2, file_level_enum_descriptors_google_2ffirestore_2fadmin_2findex_2eproto, file_level_service_descriptors_google_2ffirestore_2fadmin_2findex_2eproto,
  147. };
  148. // Force running AddDescriptors() at dynamic initialization time.
  149. static bool dynamic_init_dummy_google_2ffirestore_2fadmin_2findex_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto), true);
  150. namespace google {
  151. namespace firestore {
  152. namespace admin {
  153. namespace v1 {
  154. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Index_IndexField_Order_descriptor() {
  155. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto);
  156. return file_level_enum_descriptors_google_2ffirestore_2fadmin_2findex_2eproto[0];
  157. }
  158. bool Index_IndexField_Order_IsValid(int value) {
  159. switch (value) {
  160. case 0:
  161. case 1:
  162. case 2:
  163. return true;
  164. default:
  165. return false;
  166. }
  167. }
  168. #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  169. constexpr Index_IndexField_Order Index_IndexField::ORDER_UNSPECIFIED;
  170. constexpr Index_IndexField_Order Index_IndexField::ASCENDING;
  171. constexpr Index_IndexField_Order Index_IndexField::DESCENDING;
  172. constexpr Index_IndexField_Order Index_IndexField::Order_MIN;
  173. constexpr Index_IndexField_Order Index_IndexField::Order_MAX;
  174. constexpr int Index_IndexField::Order_ARRAYSIZE;
  175. #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  176. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Index_IndexField_ArrayConfig_descriptor() {
  177. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto);
  178. return file_level_enum_descriptors_google_2ffirestore_2fadmin_2findex_2eproto[1];
  179. }
  180. bool Index_IndexField_ArrayConfig_IsValid(int value) {
  181. switch (value) {
  182. case 0:
  183. case 1:
  184. return true;
  185. default:
  186. return false;
  187. }
  188. }
  189. #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  190. constexpr Index_IndexField_ArrayConfig Index_IndexField::ARRAY_CONFIG_UNSPECIFIED;
  191. constexpr Index_IndexField_ArrayConfig Index_IndexField::CONTAINS;
  192. constexpr Index_IndexField_ArrayConfig Index_IndexField::ArrayConfig_MIN;
  193. constexpr Index_IndexField_ArrayConfig Index_IndexField::ArrayConfig_MAX;
  194. constexpr int Index_IndexField::ArrayConfig_ARRAYSIZE;
  195. #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  196. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Index_QueryScope_descriptor() {
  197. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto);
  198. return file_level_enum_descriptors_google_2ffirestore_2fadmin_2findex_2eproto[2];
  199. }
  200. bool Index_QueryScope_IsValid(int value) {
  201. switch (value) {
  202. case 0:
  203. case 1:
  204. case 2:
  205. return true;
  206. default:
  207. return false;
  208. }
  209. }
  210. #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  211. constexpr Index_QueryScope Index::QUERY_SCOPE_UNSPECIFIED;
  212. constexpr Index_QueryScope Index::COLLECTION;
  213. constexpr Index_QueryScope Index::COLLECTION_GROUP;
  214. constexpr Index_QueryScope Index::QueryScope_MIN;
  215. constexpr Index_QueryScope Index::QueryScope_MAX;
  216. constexpr int Index::QueryScope_ARRAYSIZE;
  217. #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  218. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Index_State_descriptor() {
  219. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_google_2ffirestore_2fadmin_2findex_2eproto);
  220. return file_level_enum_descriptors_google_2ffirestore_2fadmin_2findex_2eproto[3];
  221. }
  222. bool Index_State_IsValid(int value) {
  223. switch (value) {
  224. case 0:
  225. case 1:
  226. case 2:
  227. case 3:
  228. return true;
  229. default:
  230. return false;
  231. }
  232. }
  233. #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  234. constexpr Index_State Index::STATE_UNSPECIFIED;
  235. constexpr Index_State Index::CREATING;
  236. constexpr Index_State Index::READY;
  237. constexpr Index_State Index::NEEDS_REPAIR;
  238. constexpr Index_State Index::State_MIN;
  239. constexpr Index_State Index::State_MAX;
  240. constexpr int Index::State_ARRAYSIZE;
  241. #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
  242. // ===================================================================
  243. void Index_IndexField::InitAsDefaultInstance() {
  244. ::google::firestore::admin::v1::_Index_IndexField_default_instance_.order_ = 0;
  245. ::google::firestore::admin::v1::_Index_IndexField_default_instance_.array_config_ = 0;
  246. }
  247. class Index_IndexField::_Internal {
  248. public:
  249. };
  250. Index_IndexField::Index_IndexField()
  251. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  252. SharedCtor();
  253. // @@protoc_insertion_point(constructor:google.firestore.admin.v1.Index.IndexField)
  254. }
  255. Index_IndexField::Index_IndexField(const Index_IndexField& from)
  256. : ::PROTOBUF_NAMESPACE_ID::Message(),
  257. _internal_metadata_(nullptr) {
  258. _internal_metadata_.MergeFrom(from._internal_metadata_);
  259. field_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  260. if (!from._internal_field_path().empty()) {
  261. field_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.field_path_);
  262. }
  263. clear_has_value_mode();
  264. switch (from.value_mode_case()) {
  265. case kOrder: {
  266. _internal_set_order(from._internal_order());
  267. break;
  268. }
  269. case kArrayConfig: {
  270. _internal_set_array_config(from._internal_array_config());
  271. break;
  272. }
  273. case VALUE_MODE_NOT_SET: {
  274. break;
  275. }
  276. }
  277. // @@protoc_insertion_point(copy_constructor:google.firestore.admin.v1.Index.IndexField)
  278. }
  279. void Index_IndexField::SharedCtor() {
  280. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto.base);
  281. field_path_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  282. clear_has_value_mode();
  283. }
  284. Index_IndexField::~Index_IndexField() {
  285. // @@protoc_insertion_point(destructor:google.firestore.admin.v1.Index.IndexField)
  286. SharedDtor();
  287. }
  288. void Index_IndexField::SharedDtor() {
  289. field_path_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  290. if (has_value_mode()) {
  291. clear_value_mode();
  292. }
  293. }
  294. void Index_IndexField::SetCachedSize(int size) const {
  295. _cached_size_.Set(size);
  296. }
  297. const Index_IndexField& Index_IndexField::default_instance() {
  298. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Index_IndexField_google_2ffirestore_2fadmin_2findex_2eproto.base);
  299. return *internal_default_instance();
  300. }
  301. void Index_IndexField::clear_value_mode() {
  302. // @@protoc_insertion_point(one_of_clear_start:google.firestore.admin.v1.Index.IndexField)
  303. switch (value_mode_case()) {
  304. case kOrder: {
  305. // No need to clear
  306. break;
  307. }
  308. case kArrayConfig: {
  309. // No need to clear
  310. break;
  311. }
  312. case VALUE_MODE_NOT_SET: {
  313. break;
  314. }
  315. }
  316. _oneof_case_[0] = VALUE_MODE_NOT_SET;
  317. }
  318. void Index_IndexField::Clear() {
  319. // @@protoc_insertion_point(message_clear_start:google.firestore.admin.v1.Index.IndexField)
  320. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  321. // Prevent compiler warnings about cached_has_bits being unused
  322. (void) cached_has_bits;
  323. field_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  324. clear_value_mode();
  325. _internal_metadata_.Clear();
  326. }
  327. const char* Index_IndexField::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  328. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  329. while (!ctx->Done(&ptr)) {
  330. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  331. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  332. CHK_(ptr);
  333. switch (tag >> 3) {
  334. // string field_path = 1;
  335. case 1:
  336. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  337. auto str = _internal_mutable_field_path();
  338. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
  339. CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.firestore.admin.v1.Index.IndexField.field_path"));
  340. CHK_(ptr);
  341. } else goto handle_unusual;
  342. continue;
  343. // .google.firestore.admin.v1.Index.IndexField.Order order = 2;
  344. case 2:
  345. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  346. ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  347. CHK_(ptr);
  348. _internal_set_order(static_cast<::google::firestore::admin::v1::Index_IndexField_Order>(val));
  349. } else goto handle_unusual;
  350. continue;
  351. // .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
  352. case 3:
  353. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
  354. ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  355. CHK_(ptr);
  356. _internal_set_array_config(static_cast<::google::firestore::admin::v1::Index_IndexField_ArrayConfig>(val));
  357. } else goto handle_unusual;
  358. continue;
  359. default: {
  360. handle_unusual:
  361. if ((tag & 7) == 4 || tag == 0) {
  362. ctx->SetLastTag(tag);
  363. goto success;
  364. }
  365. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  366. CHK_(ptr != nullptr);
  367. continue;
  368. }
  369. } // switch
  370. } // while
  371. success:
  372. return ptr;
  373. failure:
  374. ptr = nullptr;
  375. goto success;
  376. #undef CHK_
  377. }
  378. ::PROTOBUF_NAMESPACE_ID::uint8* Index_IndexField::_InternalSerialize(
  379. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  380. // @@protoc_insertion_point(serialize_to_array_start:google.firestore.admin.v1.Index.IndexField)
  381. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  382. (void) cached_has_bits;
  383. // string field_path = 1;
  384. if (this->field_path().size() > 0) {
  385. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  386. this->_internal_field_path().data(), static_cast<int>(this->_internal_field_path().length()),
  387. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  388. "google.firestore.admin.v1.Index.IndexField.field_path");
  389. target = stream->WriteStringMaybeAliased(
  390. 1, this->_internal_field_path(), target);
  391. }
  392. // .google.firestore.admin.v1.Index.IndexField.Order order = 2;
  393. if (_internal_has_order()) {
  394. target = stream->EnsureSpace(target);
  395. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
  396. 2, this->_internal_order(), target);
  397. }
  398. // .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
  399. if (_internal_has_array_config()) {
  400. target = stream->EnsureSpace(target);
  401. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
  402. 3, this->_internal_array_config(), target);
  403. }
  404. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  405. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  406. _internal_metadata_.unknown_fields(), target, stream);
  407. }
  408. // @@protoc_insertion_point(serialize_to_array_end:google.firestore.admin.v1.Index.IndexField)
  409. return target;
  410. }
  411. size_t Index_IndexField::ByteSizeLong() const {
  412. // @@protoc_insertion_point(message_byte_size_start:google.firestore.admin.v1.Index.IndexField)
  413. size_t total_size = 0;
  414. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  415. // Prevent compiler warnings about cached_has_bits being unused
  416. (void) cached_has_bits;
  417. // string field_path = 1;
  418. if (this->field_path().size() > 0) {
  419. total_size += 1 +
  420. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  421. this->_internal_field_path());
  422. }
  423. switch (value_mode_case()) {
  424. // .google.firestore.admin.v1.Index.IndexField.Order order = 2;
  425. case kOrder: {
  426. total_size += 1 +
  427. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_order());
  428. break;
  429. }
  430. // .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
  431. case kArrayConfig: {
  432. total_size += 1 +
  433. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_array_config());
  434. break;
  435. }
  436. case VALUE_MODE_NOT_SET: {
  437. break;
  438. }
  439. }
  440. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  441. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  442. _internal_metadata_, total_size, &_cached_size_);
  443. }
  444. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  445. SetCachedSize(cached_size);
  446. return total_size;
  447. }
  448. void Index_IndexField::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  449. // @@protoc_insertion_point(generalized_merge_from_start:google.firestore.admin.v1.Index.IndexField)
  450. GOOGLE_DCHECK_NE(&from, this);
  451. const Index_IndexField* source =
  452. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Index_IndexField>(
  453. &from);
  454. if (source == nullptr) {
  455. // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.firestore.admin.v1.Index.IndexField)
  456. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  457. } else {
  458. // @@protoc_insertion_point(generalized_merge_from_cast_success:google.firestore.admin.v1.Index.IndexField)
  459. MergeFrom(*source);
  460. }
  461. }
  462. void Index_IndexField::MergeFrom(const Index_IndexField& from) {
  463. // @@protoc_insertion_point(class_specific_merge_from_start:google.firestore.admin.v1.Index.IndexField)
  464. GOOGLE_DCHECK_NE(&from, this);
  465. _internal_metadata_.MergeFrom(from._internal_metadata_);
  466. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  467. (void) cached_has_bits;
  468. if (from.field_path().size() > 0) {
  469. field_path_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.field_path_);
  470. }
  471. switch (from.value_mode_case()) {
  472. case kOrder: {
  473. _internal_set_order(from._internal_order());
  474. break;
  475. }
  476. case kArrayConfig: {
  477. _internal_set_array_config(from._internal_array_config());
  478. break;
  479. }
  480. case VALUE_MODE_NOT_SET: {
  481. break;
  482. }
  483. }
  484. }
  485. void Index_IndexField::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  486. // @@protoc_insertion_point(generalized_copy_from_start:google.firestore.admin.v1.Index.IndexField)
  487. if (&from == this) return;
  488. Clear();
  489. MergeFrom(from);
  490. }
  491. void Index_IndexField::CopyFrom(const Index_IndexField& from) {
  492. // @@protoc_insertion_point(class_specific_copy_from_start:google.firestore.admin.v1.Index.IndexField)
  493. if (&from == this) return;
  494. Clear();
  495. MergeFrom(from);
  496. }
  497. bool Index_IndexField::IsInitialized() const {
  498. return true;
  499. }
  500. void Index_IndexField::InternalSwap(Index_IndexField* other) {
  501. using std::swap;
  502. _internal_metadata_.Swap(&other->_internal_metadata_);
  503. field_path_.Swap(&other->field_path_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  504. GetArenaNoVirtual());
  505. swap(value_mode_, other->value_mode_);
  506. swap(_oneof_case_[0], other->_oneof_case_[0]);
  507. }
  508. ::PROTOBUF_NAMESPACE_ID::Metadata Index_IndexField::GetMetadata() const {
  509. return GetMetadataStatic();
  510. }
  511. // ===================================================================
  512. void Index::InitAsDefaultInstance() {
  513. }
  514. class Index::_Internal {
  515. public:
  516. };
  517. Index::Index()
  518. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  519. SharedCtor();
  520. // @@protoc_insertion_point(constructor:google.firestore.admin.v1.Index)
  521. }
  522. Index::Index(const Index& from)
  523. : ::PROTOBUF_NAMESPACE_ID::Message(),
  524. _internal_metadata_(nullptr),
  525. fields_(from.fields_) {
  526. _internal_metadata_.MergeFrom(from._internal_metadata_);
  527. name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  528. if (!from._internal_name().empty()) {
  529. name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_);
  530. }
  531. ::memcpy(&query_scope_, &from.query_scope_,
  532. static_cast<size_t>(reinterpret_cast<char*>(&state_) -
  533. reinterpret_cast<char*>(&query_scope_)) + sizeof(state_));
  534. // @@protoc_insertion_point(copy_constructor:google.firestore.admin.v1.Index)
  535. }
  536. void Index::SharedCtor() {
  537. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Index_google_2ffirestore_2fadmin_2findex_2eproto.base);
  538. name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  539. ::memset(&query_scope_, 0, static_cast<size_t>(
  540. reinterpret_cast<char*>(&state_) -
  541. reinterpret_cast<char*>(&query_scope_)) + sizeof(state_));
  542. }
  543. Index::~Index() {
  544. // @@protoc_insertion_point(destructor:google.firestore.admin.v1.Index)
  545. SharedDtor();
  546. }
  547. void Index::SharedDtor() {
  548. name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  549. }
  550. void Index::SetCachedSize(int size) const {
  551. _cached_size_.Set(size);
  552. }
  553. const Index& Index::default_instance() {
  554. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Index_google_2ffirestore_2fadmin_2findex_2eproto.base);
  555. return *internal_default_instance();
  556. }
  557. void Index::Clear() {
  558. // @@protoc_insertion_point(message_clear_start:google.firestore.admin.v1.Index)
  559. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  560. // Prevent compiler warnings about cached_has_bits being unused
  561. (void) cached_has_bits;
  562. fields_.Clear();
  563. name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  564. ::memset(&query_scope_, 0, static_cast<size_t>(
  565. reinterpret_cast<char*>(&state_) -
  566. reinterpret_cast<char*>(&query_scope_)) + sizeof(state_));
  567. _internal_metadata_.Clear();
  568. }
  569. const char* Index::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  570. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  571. while (!ctx->Done(&ptr)) {
  572. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  573. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  574. CHK_(ptr);
  575. switch (tag >> 3) {
  576. // string name = 1;
  577. case 1:
  578. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  579. auto str = _internal_mutable_name();
  580. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
  581. CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.firestore.admin.v1.Index.name"));
  582. CHK_(ptr);
  583. } else goto handle_unusual;
  584. continue;
  585. // .google.firestore.admin.v1.Index.QueryScope query_scope = 2;
  586. case 2:
  587. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
  588. ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  589. CHK_(ptr);
  590. _internal_set_query_scope(static_cast<::google::firestore::admin::v1::Index_QueryScope>(val));
  591. } else goto handle_unusual;
  592. continue;
  593. // repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
  594. case 3:
  595. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
  596. ptr -= 1;
  597. do {
  598. ptr += 1;
  599. ptr = ctx->ParseMessage(_internal_add_fields(), ptr);
  600. CHK_(ptr);
  601. if (!ctx->DataAvailable(ptr)) break;
  602. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
  603. } else goto handle_unusual;
  604. continue;
  605. // .google.firestore.admin.v1.Index.State state = 4;
  606. case 4:
  607. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
  608. ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
  609. CHK_(ptr);
  610. _internal_set_state(static_cast<::google::firestore::admin::v1::Index_State>(val));
  611. } else goto handle_unusual;
  612. continue;
  613. default: {
  614. handle_unusual:
  615. if ((tag & 7) == 4 || tag == 0) {
  616. ctx->SetLastTag(tag);
  617. goto success;
  618. }
  619. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  620. CHK_(ptr != nullptr);
  621. continue;
  622. }
  623. } // switch
  624. } // while
  625. success:
  626. return ptr;
  627. failure:
  628. ptr = nullptr;
  629. goto success;
  630. #undef CHK_
  631. }
  632. ::PROTOBUF_NAMESPACE_ID::uint8* Index::_InternalSerialize(
  633. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  634. // @@protoc_insertion_point(serialize_to_array_start:google.firestore.admin.v1.Index)
  635. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  636. (void) cached_has_bits;
  637. // string name = 1;
  638. if (this->name().size() > 0) {
  639. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  640. this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
  641. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
  642. "google.firestore.admin.v1.Index.name");
  643. target = stream->WriteStringMaybeAliased(
  644. 1, this->_internal_name(), target);
  645. }
  646. // .google.firestore.admin.v1.Index.QueryScope query_scope = 2;
  647. if (this->query_scope() != 0) {
  648. target = stream->EnsureSpace(target);
  649. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
  650. 2, this->_internal_query_scope(), target);
  651. }
  652. // repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
  653. for (unsigned int i = 0,
  654. n = static_cast<unsigned int>(this->_internal_fields_size()); i < n; i++) {
  655. target = stream->EnsureSpace(target);
  656. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  657. InternalWriteMessage(3, this->_internal_fields(i), target, stream);
  658. }
  659. // .google.firestore.admin.v1.Index.State state = 4;
  660. if (this->state() != 0) {
  661. target = stream->EnsureSpace(target);
  662. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
  663. 4, this->_internal_state(), target);
  664. }
  665. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  666. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  667. _internal_metadata_.unknown_fields(), target, stream);
  668. }
  669. // @@protoc_insertion_point(serialize_to_array_end:google.firestore.admin.v1.Index)
  670. return target;
  671. }
  672. size_t Index::ByteSizeLong() const {
  673. // @@protoc_insertion_point(message_byte_size_start:google.firestore.admin.v1.Index)
  674. size_t total_size = 0;
  675. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  676. // Prevent compiler warnings about cached_has_bits being unused
  677. (void) cached_has_bits;
  678. // repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
  679. total_size += 1UL * this->_internal_fields_size();
  680. for (const auto& msg : this->fields_) {
  681. total_size +=
  682. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  683. }
  684. // string name = 1;
  685. if (this->name().size() > 0) {
  686. total_size += 1 +
  687. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  688. this->_internal_name());
  689. }
  690. // .google.firestore.admin.v1.Index.QueryScope query_scope = 2;
  691. if (this->query_scope() != 0) {
  692. total_size += 1 +
  693. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_query_scope());
  694. }
  695. // .google.firestore.admin.v1.Index.State state = 4;
  696. if (this->state() != 0) {
  697. total_size += 1 +
  698. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_state());
  699. }
  700. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  701. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  702. _internal_metadata_, total_size, &_cached_size_);
  703. }
  704. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  705. SetCachedSize(cached_size);
  706. return total_size;
  707. }
  708. void Index::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  709. // @@protoc_insertion_point(generalized_merge_from_start:google.firestore.admin.v1.Index)
  710. GOOGLE_DCHECK_NE(&from, this);
  711. const Index* source =
  712. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Index>(
  713. &from);
  714. if (source == nullptr) {
  715. // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.firestore.admin.v1.Index)
  716. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  717. } else {
  718. // @@protoc_insertion_point(generalized_merge_from_cast_success:google.firestore.admin.v1.Index)
  719. MergeFrom(*source);
  720. }
  721. }
  722. void Index::MergeFrom(const Index& from) {
  723. // @@protoc_insertion_point(class_specific_merge_from_start:google.firestore.admin.v1.Index)
  724. GOOGLE_DCHECK_NE(&from, this);
  725. _internal_metadata_.MergeFrom(from._internal_metadata_);
  726. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  727. (void) cached_has_bits;
  728. fields_.MergeFrom(from.fields_);
  729. if (from.name().size() > 0) {
  730. name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_);
  731. }
  732. if (from.query_scope() != 0) {
  733. _internal_set_query_scope(from._internal_query_scope());
  734. }
  735. if (from.state() != 0) {
  736. _internal_set_state(from._internal_state());
  737. }
  738. }
  739. void Index::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  740. // @@protoc_insertion_point(generalized_copy_from_start:google.firestore.admin.v1.Index)
  741. if (&from == this) return;
  742. Clear();
  743. MergeFrom(from);
  744. }
  745. void Index::CopyFrom(const Index& from) {
  746. // @@protoc_insertion_point(class_specific_copy_from_start:google.firestore.admin.v1.Index)
  747. if (&from == this) return;
  748. Clear();
  749. MergeFrom(from);
  750. }
  751. bool Index::IsInitialized() const {
  752. return true;
  753. }
  754. void Index::InternalSwap(Index* other) {
  755. using std::swap;
  756. _internal_metadata_.Swap(&other->_internal_metadata_);
  757. fields_.InternalSwap(&other->fields_);
  758. name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
  759. GetArenaNoVirtual());
  760. swap(query_scope_, other->query_scope_);
  761. swap(state_, other->state_);
  762. }
  763. ::PROTOBUF_NAMESPACE_ID::Metadata Index::GetMetadata() const {
  764. return GetMetadataStatic();
  765. }
  766. // @@protoc_insertion_point(namespace_scope)
  767. } // namespace v1
  768. } // namespace admin
  769. } // namespace firestore
  770. } // namespace google
  771. PROTOBUF_NAMESPACE_OPEN
  772. template<> PROTOBUF_NOINLINE ::google::firestore::admin::v1::Index_IndexField* Arena::CreateMaybeMessage< ::google::firestore::admin::v1::Index_IndexField >(Arena* arena) {
  773. return Arena::CreateInternal< ::google::firestore::admin::v1::Index_IndexField >(arena);
  774. }
  775. template<> PROTOBUF_NOINLINE ::google::firestore::admin::v1::Index* Arena::CreateMaybeMessage< ::google::firestore::admin::v1::Index >(Arena* arena) {
  776. return Arena::CreateInternal< ::google::firestore::admin::v1::Index >(arena);
  777. }
  778. PROTOBUF_NAMESPACE_CLOSE
  779. // @@protoc_insertion_point(global_scope)
  780. #include <google/protobuf/port_undef.inc>