unittest_lazy_dependencies_enum.pb.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/unittest_lazy_dependencies_enum.proto
  3. #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto
  4. #define PROTOBUF_INCLUDED_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_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/repeated_field.h> // IWYU pragma: export
  25. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  26. #include <google/protobuf/generated_enum_reflection.h>
  27. // @@protoc_insertion_point(includes)
  28. #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto
  29. namespace protobuf_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[1];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. } // namespace protobuf_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto
  41. namespace protobuf_unittest {
  42. namespace lazy_imports {
  43. } // namespace lazy_imports
  44. } // namespace protobuf_unittest
  45. namespace protobuf_unittest {
  46. namespace lazy_imports {
  47. enum LazyEnum {
  48. LAZY_ENUM_0 = 0,
  49. LAZY_ENUM_1 = 1
  50. };
  51. bool LazyEnum_IsValid(int value);
  52. const LazyEnum LazyEnum_MIN = LAZY_ENUM_0;
  53. const LazyEnum LazyEnum_MAX = LAZY_ENUM_1;
  54. const int LazyEnum_ARRAYSIZE = LazyEnum_MAX + 1;
  55. const ::google::protobuf::EnumDescriptor* LazyEnum_descriptor();
  56. inline const ::std::string& LazyEnum_Name(LazyEnum value) {
  57. return ::google::protobuf::internal::NameOfEnum(
  58. LazyEnum_descriptor(), value);
  59. }
  60. inline bool LazyEnum_Parse(
  61. const ::std::string& name, LazyEnum* value) {
  62. return ::google::protobuf::internal::ParseNamedEnum<LazyEnum>(
  63. LazyEnum_descriptor(), name, value);
  64. }
  65. // ===================================================================
  66. // ===================================================================
  67. // ===================================================================
  68. #ifdef __GNUC__
  69. #pragma GCC diagnostic push
  70. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  71. #endif // __GNUC__
  72. #ifdef __GNUC__
  73. #pragma GCC diagnostic pop
  74. #endif // __GNUC__
  75. // @@protoc_insertion_point(namespace_scope)
  76. } // namespace lazy_imports
  77. } // namespace protobuf_unittest
  78. namespace google {
  79. namespace protobuf {
  80. template <> struct is_proto_enum< ::protobuf_unittest::lazy_imports::LazyEnum> : ::std::true_type {};
  81. template <>
  82. inline const EnumDescriptor* GetEnumDescriptor< ::protobuf_unittest::lazy_imports::LazyEnum>() {
  83. return ::protobuf_unittest::lazy_imports::LazyEnum_descriptor();
  84. }
  85. } // namespace protobuf
  86. } // namespace google
  87. // @@protoc_insertion_point(global_scope)
  88. #endif // PROTOBUF_INCLUDED_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto