index.pb.cc 35 KB

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