unittest_drop_unknown_fields.pb.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/unittest_drop_unknown_fields.proto
  3. #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto
  4. #define PROTOBUF_INCLUDED_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/generated_enum_reflection.h>
  28. #include <google/protobuf/unknown_field_set.h>
  29. // @@protoc_insertion_point(includes)
  30. #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto
  31. namespace protobuf_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto {
  32. // Internal implementation detail -- do not use these members.
  33. struct TableStruct {
  34. static const ::google::protobuf::internal::ParseTableField entries[];
  35. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  36. static const ::google::protobuf::internal::ParseTable schema[2];
  37. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  38. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  39. static const ::google::protobuf::uint32 offsets[];
  40. };
  41. void AddDescriptors();
  42. } // namespace protobuf_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto
  43. namespace unittest_drop_unknown_fields {
  44. class Foo;
  45. class FooDefaultTypeInternal;
  46. extern FooDefaultTypeInternal _Foo_default_instance_;
  47. class FooWithExtraFields;
  48. class FooWithExtraFieldsDefaultTypeInternal;
  49. extern FooWithExtraFieldsDefaultTypeInternal _FooWithExtraFields_default_instance_;
  50. } // namespace unittest_drop_unknown_fields
  51. namespace google {
  52. namespace protobuf {
  53. template<> ::unittest_drop_unknown_fields::Foo* Arena::CreateMaybeMessage<::unittest_drop_unknown_fields::Foo>(Arena*);
  54. template<> ::unittest_drop_unknown_fields::FooWithExtraFields* Arena::CreateMaybeMessage<::unittest_drop_unknown_fields::FooWithExtraFields>(Arena*);
  55. } // namespace protobuf
  56. } // namespace google
  57. namespace unittest_drop_unknown_fields {
  58. enum Foo_NestedEnum {
  59. Foo_NestedEnum_FOO = 0,
  60. Foo_NestedEnum_BAR = 1,
  61. Foo_NestedEnum_BAZ = 2,
  62. Foo_NestedEnum_Foo_NestedEnum_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
  63. Foo_NestedEnum_Foo_NestedEnum_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
  64. };
  65. bool Foo_NestedEnum_IsValid(int value);
  66. const Foo_NestedEnum Foo_NestedEnum_NestedEnum_MIN = Foo_NestedEnum_FOO;
  67. const Foo_NestedEnum Foo_NestedEnum_NestedEnum_MAX = Foo_NestedEnum_BAZ;
  68. const int Foo_NestedEnum_NestedEnum_ARRAYSIZE = Foo_NestedEnum_NestedEnum_MAX + 1;
  69. const ::google::protobuf::EnumDescriptor* Foo_NestedEnum_descriptor();
  70. inline const ::std::string& Foo_NestedEnum_Name(Foo_NestedEnum value) {
  71. return ::google::protobuf::internal::NameOfEnum(
  72. Foo_NestedEnum_descriptor(), value);
  73. }
  74. inline bool Foo_NestedEnum_Parse(
  75. const ::std::string& name, Foo_NestedEnum* value) {
  76. return ::google::protobuf::internal::ParseNamedEnum<Foo_NestedEnum>(
  77. Foo_NestedEnum_descriptor(), name, value);
  78. }
  79. enum FooWithExtraFields_NestedEnum {
  80. FooWithExtraFields_NestedEnum_FOO = 0,
  81. FooWithExtraFields_NestedEnum_BAR = 1,
  82. FooWithExtraFields_NestedEnum_BAZ = 2,
  83. FooWithExtraFields_NestedEnum_QUX = 3,
  84. FooWithExtraFields_NestedEnum_FooWithExtraFields_NestedEnum_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
  85. FooWithExtraFields_NestedEnum_FooWithExtraFields_NestedEnum_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
  86. };
  87. bool FooWithExtraFields_NestedEnum_IsValid(int value);
  88. const FooWithExtraFields_NestedEnum FooWithExtraFields_NestedEnum_NestedEnum_MIN = FooWithExtraFields_NestedEnum_FOO;
  89. const FooWithExtraFields_NestedEnum FooWithExtraFields_NestedEnum_NestedEnum_MAX = FooWithExtraFields_NestedEnum_QUX;
  90. const int FooWithExtraFields_NestedEnum_NestedEnum_ARRAYSIZE = FooWithExtraFields_NestedEnum_NestedEnum_MAX + 1;
  91. const ::google::protobuf::EnumDescriptor* FooWithExtraFields_NestedEnum_descriptor();
  92. inline const ::std::string& FooWithExtraFields_NestedEnum_Name(FooWithExtraFields_NestedEnum value) {
  93. return ::google::protobuf::internal::NameOfEnum(
  94. FooWithExtraFields_NestedEnum_descriptor(), value);
  95. }
  96. inline bool FooWithExtraFields_NestedEnum_Parse(
  97. const ::std::string& name, FooWithExtraFields_NestedEnum* value) {
  98. return ::google::protobuf::internal::ParseNamedEnum<FooWithExtraFields_NestedEnum>(
  99. FooWithExtraFields_NestedEnum_descriptor(), name, value);
  100. }
  101. // ===================================================================
  102. class Foo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:unittest_drop_unknown_fields.Foo) */ {
  103. public:
  104. Foo();
  105. virtual ~Foo();
  106. Foo(const Foo& from);
  107. inline Foo& operator=(const Foo& from) {
  108. CopyFrom(from);
  109. return *this;
  110. }
  111. #if LANG_CXX11
  112. Foo(Foo&& from) noexcept
  113. : Foo() {
  114. *this = ::std::move(from);
  115. }
  116. inline Foo& operator=(Foo&& from) noexcept {
  117. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  118. if (this != &from) InternalSwap(&from);
  119. } else {
  120. CopyFrom(from);
  121. }
  122. return *this;
  123. }
  124. #endif
  125. static const ::google::protobuf::Descriptor* descriptor();
  126. static const Foo& default_instance();
  127. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  128. static inline const Foo* internal_default_instance() {
  129. return reinterpret_cast<const Foo*>(
  130. &_Foo_default_instance_);
  131. }
  132. static constexpr int kIndexInFileMessages =
  133. 0;
  134. void Swap(Foo* other);
  135. friend void swap(Foo& a, Foo& b) {
  136. a.Swap(&b);
  137. }
  138. // implements Message ----------------------------------------------
  139. inline Foo* New() const final {
  140. return CreateMaybeMessage<Foo>(NULL);
  141. }
  142. Foo* New(::google::protobuf::Arena* arena) const final {
  143. return CreateMaybeMessage<Foo>(arena);
  144. }
  145. void CopyFrom(const ::google::protobuf::Message& from) final;
  146. void MergeFrom(const ::google::protobuf::Message& from) final;
  147. void CopyFrom(const Foo& from);
  148. void MergeFrom(const Foo& from);
  149. void Clear() final;
  150. bool IsInitialized() const final;
  151. size_t ByteSizeLong() const final;
  152. bool MergePartialFromCodedStream(
  153. ::google::protobuf::io::CodedInputStream* input) final;
  154. void SerializeWithCachedSizes(
  155. ::google::protobuf::io::CodedOutputStream* output) const final;
  156. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  157. bool deterministic, ::google::protobuf::uint8* target) const final;
  158. int GetCachedSize() const final { return _cached_size_.Get(); }
  159. private:
  160. void SharedCtor();
  161. void SharedDtor();
  162. void SetCachedSize(int size) const final;
  163. void InternalSwap(Foo* other);
  164. private:
  165. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  166. return NULL;
  167. }
  168. inline void* MaybeArenaPtr() const {
  169. return NULL;
  170. }
  171. public:
  172. ::google::protobuf::Metadata GetMetadata() const final;
  173. // nested types ----------------------------------------------------
  174. typedef Foo_NestedEnum NestedEnum;
  175. static const NestedEnum FOO =
  176. Foo_NestedEnum_FOO;
  177. static const NestedEnum BAR =
  178. Foo_NestedEnum_BAR;
  179. static const NestedEnum BAZ =
  180. Foo_NestedEnum_BAZ;
  181. static inline bool NestedEnum_IsValid(int value) {
  182. return Foo_NestedEnum_IsValid(value);
  183. }
  184. static const NestedEnum NestedEnum_MIN =
  185. Foo_NestedEnum_NestedEnum_MIN;
  186. static const NestedEnum NestedEnum_MAX =
  187. Foo_NestedEnum_NestedEnum_MAX;
  188. static const int NestedEnum_ARRAYSIZE =
  189. Foo_NestedEnum_NestedEnum_ARRAYSIZE;
  190. static inline const ::google::protobuf::EnumDescriptor*
  191. NestedEnum_descriptor() {
  192. return Foo_NestedEnum_descriptor();
  193. }
  194. static inline const ::std::string& NestedEnum_Name(NestedEnum value) {
  195. return Foo_NestedEnum_Name(value);
  196. }
  197. static inline bool NestedEnum_Parse(const ::std::string& name,
  198. NestedEnum* value) {
  199. return Foo_NestedEnum_Parse(name, value);
  200. }
  201. // accessors -------------------------------------------------------
  202. // int32 int32_value = 1;
  203. void clear_int32_value();
  204. static const int kInt32ValueFieldNumber = 1;
  205. ::google::protobuf::int32 int32_value() const;
  206. void set_int32_value(::google::protobuf::int32 value);
  207. // .unittest_drop_unknown_fields.Foo.NestedEnum enum_value = 2;
  208. void clear_enum_value();
  209. static const int kEnumValueFieldNumber = 2;
  210. ::unittest_drop_unknown_fields::Foo_NestedEnum enum_value() const;
  211. void set_enum_value(::unittest_drop_unknown_fields::Foo_NestedEnum value);
  212. // @@protoc_insertion_point(class_scope:unittest_drop_unknown_fields.Foo)
  213. private:
  214. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  215. ::google::protobuf::int32 int32_value_;
  216. int enum_value_;
  217. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  218. friend struct ::protobuf_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto::TableStruct;
  219. };
  220. // -------------------------------------------------------------------
  221. class FooWithExtraFields : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:unittest_drop_unknown_fields.FooWithExtraFields) */ {
  222. public:
  223. FooWithExtraFields();
  224. virtual ~FooWithExtraFields();
  225. FooWithExtraFields(const FooWithExtraFields& from);
  226. inline FooWithExtraFields& operator=(const FooWithExtraFields& from) {
  227. CopyFrom(from);
  228. return *this;
  229. }
  230. #if LANG_CXX11
  231. FooWithExtraFields(FooWithExtraFields&& from) noexcept
  232. : FooWithExtraFields() {
  233. *this = ::std::move(from);
  234. }
  235. inline FooWithExtraFields& operator=(FooWithExtraFields&& from) noexcept {
  236. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  237. if (this != &from) InternalSwap(&from);
  238. } else {
  239. CopyFrom(from);
  240. }
  241. return *this;
  242. }
  243. #endif
  244. static const ::google::protobuf::Descriptor* descriptor();
  245. static const FooWithExtraFields& default_instance();
  246. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  247. static inline const FooWithExtraFields* internal_default_instance() {
  248. return reinterpret_cast<const FooWithExtraFields*>(
  249. &_FooWithExtraFields_default_instance_);
  250. }
  251. static constexpr int kIndexInFileMessages =
  252. 1;
  253. void Swap(FooWithExtraFields* other);
  254. friend void swap(FooWithExtraFields& a, FooWithExtraFields& b) {
  255. a.Swap(&b);
  256. }
  257. // implements Message ----------------------------------------------
  258. inline FooWithExtraFields* New() const final {
  259. return CreateMaybeMessage<FooWithExtraFields>(NULL);
  260. }
  261. FooWithExtraFields* New(::google::protobuf::Arena* arena) const final {
  262. return CreateMaybeMessage<FooWithExtraFields>(arena);
  263. }
  264. void CopyFrom(const ::google::protobuf::Message& from) final;
  265. void MergeFrom(const ::google::protobuf::Message& from) final;
  266. void CopyFrom(const FooWithExtraFields& from);
  267. void MergeFrom(const FooWithExtraFields& from);
  268. void Clear() final;
  269. bool IsInitialized() const final;
  270. size_t ByteSizeLong() const final;
  271. bool MergePartialFromCodedStream(
  272. ::google::protobuf::io::CodedInputStream* input) final;
  273. void SerializeWithCachedSizes(
  274. ::google::protobuf::io::CodedOutputStream* output) const final;
  275. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  276. bool deterministic, ::google::protobuf::uint8* target) const final;
  277. int GetCachedSize() const final { return _cached_size_.Get(); }
  278. private:
  279. void SharedCtor();
  280. void SharedDtor();
  281. void SetCachedSize(int size) const final;
  282. void InternalSwap(FooWithExtraFields* other);
  283. private:
  284. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  285. return NULL;
  286. }
  287. inline void* MaybeArenaPtr() const {
  288. return NULL;
  289. }
  290. public:
  291. ::google::protobuf::Metadata GetMetadata() const final;
  292. // nested types ----------------------------------------------------
  293. typedef FooWithExtraFields_NestedEnum NestedEnum;
  294. static const NestedEnum FOO =
  295. FooWithExtraFields_NestedEnum_FOO;
  296. static const NestedEnum BAR =
  297. FooWithExtraFields_NestedEnum_BAR;
  298. static const NestedEnum BAZ =
  299. FooWithExtraFields_NestedEnum_BAZ;
  300. static const NestedEnum QUX =
  301. FooWithExtraFields_NestedEnum_QUX;
  302. static inline bool NestedEnum_IsValid(int value) {
  303. return FooWithExtraFields_NestedEnum_IsValid(value);
  304. }
  305. static const NestedEnum NestedEnum_MIN =
  306. FooWithExtraFields_NestedEnum_NestedEnum_MIN;
  307. static const NestedEnum NestedEnum_MAX =
  308. FooWithExtraFields_NestedEnum_NestedEnum_MAX;
  309. static const int NestedEnum_ARRAYSIZE =
  310. FooWithExtraFields_NestedEnum_NestedEnum_ARRAYSIZE;
  311. static inline const ::google::protobuf::EnumDescriptor*
  312. NestedEnum_descriptor() {
  313. return FooWithExtraFields_NestedEnum_descriptor();
  314. }
  315. static inline const ::std::string& NestedEnum_Name(NestedEnum value) {
  316. return FooWithExtraFields_NestedEnum_Name(value);
  317. }
  318. static inline bool NestedEnum_Parse(const ::std::string& name,
  319. NestedEnum* value) {
  320. return FooWithExtraFields_NestedEnum_Parse(name, value);
  321. }
  322. // accessors -------------------------------------------------------
  323. // int32 int32_value = 1;
  324. void clear_int32_value();
  325. static const int kInt32ValueFieldNumber = 1;
  326. ::google::protobuf::int32 int32_value() const;
  327. void set_int32_value(::google::protobuf::int32 value);
  328. // .unittest_drop_unknown_fields.FooWithExtraFields.NestedEnum enum_value = 2;
  329. void clear_enum_value();
  330. static const int kEnumValueFieldNumber = 2;
  331. ::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum enum_value() const;
  332. void set_enum_value(::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum value);
  333. // int32 extra_int32_value = 3;
  334. void clear_extra_int32_value();
  335. static const int kExtraInt32ValueFieldNumber = 3;
  336. ::google::protobuf::int32 extra_int32_value() const;
  337. void set_extra_int32_value(::google::protobuf::int32 value);
  338. // @@protoc_insertion_point(class_scope:unittest_drop_unknown_fields.FooWithExtraFields)
  339. private:
  340. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  341. ::google::protobuf::int32 int32_value_;
  342. int enum_value_;
  343. ::google::protobuf::int32 extra_int32_value_;
  344. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  345. friend struct ::protobuf_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto::TableStruct;
  346. };
  347. // ===================================================================
  348. // ===================================================================
  349. #ifdef __GNUC__
  350. #pragma GCC diagnostic push
  351. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  352. #endif // __GNUC__
  353. // Foo
  354. // int32 int32_value = 1;
  355. inline void Foo::clear_int32_value() {
  356. int32_value_ = 0;
  357. }
  358. inline ::google::protobuf::int32 Foo::int32_value() const {
  359. // @@protoc_insertion_point(field_get:unittest_drop_unknown_fields.Foo.int32_value)
  360. return int32_value_;
  361. }
  362. inline void Foo::set_int32_value(::google::protobuf::int32 value) {
  363. int32_value_ = value;
  364. // @@protoc_insertion_point(field_set:unittest_drop_unknown_fields.Foo.int32_value)
  365. }
  366. // .unittest_drop_unknown_fields.Foo.NestedEnum enum_value = 2;
  367. inline void Foo::clear_enum_value() {
  368. enum_value_ = 0;
  369. }
  370. inline ::unittest_drop_unknown_fields::Foo_NestedEnum Foo::enum_value() const {
  371. // @@protoc_insertion_point(field_get:unittest_drop_unknown_fields.Foo.enum_value)
  372. return static_cast< ::unittest_drop_unknown_fields::Foo_NestedEnum >(enum_value_);
  373. }
  374. inline void Foo::set_enum_value(::unittest_drop_unknown_fields::Foo_NestedEnum value) {
  375. enum_value_ = value;
  376. // @@protoc_insertion_point(field_set:unittest_drop_unknown_fields.Foo.enum_value)
  377. }
  378. // -------------------------------------------------------------------
  379. // FooWithExtraFields
  380. // int32 int32_value = 1;
  381. inline void FooWithExtraFields::clear_int32_value() {
  382. int32_value_ = 0;
  383. }
  384. inline ::google::protobuf::int32 FooWithExtraFields::int32_value() const {
  385. // @@protoc_insertion_point(field_get:unittest_drop_unknown_fields.FooWithExtraFields.int32_value)
  386. return int32_value_;
  387. }
  388. inline void FooWithExtraFields::set_int32_value(::google::protobuf::int32 value) {
  389. int32_value_ = value;
  390. // @@protoc_insertion_point(field_set:unittest_drop_unknown_fields.FooWithExtraFields.int32_value)
  391. }
  392. // .unittest_drop_unknown_fields.FooWithExtraFields.NestedEnum enum_value = 2;
  393. inline void FooWithExtraFields::clear_enum_value() {
  394. enum_value_ = 0;
  395. }
  396. inline ::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum FooWithExtraFields::enum_value() const {
  397. // @@protoc_insertion_point(field_get:unittest_drop_unknown_fields.FooWithExtraFields.enum_value)
  398. return static_cast< ::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum >(enum_value_);
  399. }
  400. inline void FooWithExtraFields::set_enum_value(::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum value) {
  401. enum_value_ = value;
  402. // @@protoc_insertion_point(field_set:unittest_drop_unknown_fields.FooWithExtraFields.enum_value)
  403. }
  404. // int32 extra_int32_value = 3;
  405. inline void FooWithExtraFields::clear_extra_int32_value() {
  406. extra_int32_value_ = 0;
  407. }
  408. inline ::google::protobuf::int32 FooWithExtraFields::extra_int32_value() const {
  409. // @@protoc_insertion_point(field_get:unittest_drop_unknown_fields.FooWithExtraFields.extra_int32_value)
  410. return extra_int32_value_;
  411. }
  412. inline void FooWithExtraFields::set_extra_int32_value(::google::protobuf::int32 value) {
  413. extra_int32_value_ = value;
  414. // @@protoc_insertion_point(field_set:unittest_drop_unknown_fields.FooWithExtraFields.extra_int32_value)
  415. }
  416. #ifdef __GNUC__
  417. #pragma GCC diagnostic pop
  418. #endif // __GNUC__
  419. // -------------------------------------------------------------------
  420. // @@protoc_insertion_point(namespace_scope)
  421. } // namespace unittest_drop_unknown_fields
  422. namespace google {
  423. namespace protobuf {
  424. template <> struct is_proto_enum< ::unittest_drop_unknown_fields::Foo_NestedEnum> : ::std::true_type {};
  425. template <>
  426. inline const EnumDescriptor* GetEnumDescriptor< ::unittest_drop_unknown_fields::Foo_NestedEnum>() {
  427. return ::unittest_drop_unknown_fields::Foo_NestedEnum_descriptor();
  428. }
  429. template <> struct is_proto_enum< ::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum> : ::std::true_type {};
  430. template <>
  431. inline const EnumDescriptor* GetEnumDescriptor< ::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum>() {
  432. return ::unittest_drop_unknown_fields::FooWithExtraFields_NestedEnum_descriptor();
  433. }
  434. } // namespace protobuf
  435. } // namespace google
  436. // @@protoc_insertion_point(global_scope)
  437. #endif // PROTOBUF_INCLUDED_google_2fprotobuf_2funittest_5fdrop_5funknown_5ffields_2eproto