unittest_lazy_dependencies_enum.pb.cc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/unittest_lazy_dependencies_enum.proto
  3. #include <google/protobuf/unittest_lazy_dependencies_enum.pb.h>
  4. #include <algorithm>
  5. #include <google/protobuf/stubs/common.h>
  6. #include <google/protobuf/stubs/port.h>
  7. #include <google/protobuf/io/coded_stream.h>
  8. #include <google/protobuf/wire_format_lite_inl.h>
  9. #include <google/protobuf/descriptor.h>
  10. #include <google/protobuf/generated_message_reflection.h>
  11. #include <google/protobuf/reflection_ops.h>
  12. #include <google/protobuf/wire_format.h>
  13. // This is a temporary google only hack
  14. #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
  15. #include "third_party/protobuf/version.h"
  16. #endif
  17. // @@protoc_insertion_point(includes)
  18. namespace protobuf_unittest {
  19. namespace lazy_imports {
  20. } // namespace lazy_imports
  21. } // namespace protobuf_unittest
  22. namespace protobuf_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto {
  23. void InitDefaults() {
  24. }
  25. const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
  26. const ::google::protobuf::uint32 TableStruct::offsets[1] = {};
  27. static const ::google::protobuf::internal::MigrationSchema* schemas = NULL;
  28. static const ::google::protobuf::Message* const* file_default_instances = NULL;
  29. void protobuf_AssignDescriptors() {
  30. AddDescriptors();
  31. AssignDescriptors(
  32. "google/protobuf/unittest_lazy_dependencies_enum.proto", schemas, file_default_instances, TableStruct::offsets,
  33. NULL, file_level_enum_descriptors, NULL);
  34. }
  35. void protobuf_AssignDescriptorsOnce() {
  36. static ::google::protobuf::internal::once_flag once;
  37. ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
  38. }
  39. void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
  40. void protobuf_RegisterTypes(const ::std::string&) {
  41. protobuf_AssignDescriptorsOnce();
  42. }
  43. void AddDescriptorsImpl() {
  44. InitDefaults();
  45. static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
  46. "\n5google/protobuf/unittest_lazy_dependen"
  47. "cies_enum.proto\022\036protobuf_unittest.lazy_"
  48. "imports*,\n\010LazyEnum\022\017\n\013LAZY_ENUM_0\020\000\022\017\n\013"
  49. "LAZY_ENUM_1\020\001B,B\034UnittestLazyImportsEnum"
  50. "ProtoH\001\200\001\001\210\001\001\220\001\001\370\001\001"
  51. };
  52. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  53. descriptor, 179);
  54. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  55. "google/protobuf/unittest_lazy_dependencies_enum.proto", &protobuf_RegisterTypes);
  56. }
  57. void AddDescriptors() {
  58. static ::google::protobuf::internal::once_flag once;
  59. ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
  60. }
  61. // Force AddDescriptors() to be called at dynamic initialization time.
  62. struct StaticDescriptorInitializer {
  63. StaticDescriptorInitializer() {
  64. AddDescriptors();
  65. }
  66. } static_descriptor_initializer;
  67. } // namespace protobuf_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto
  68. namespace protobuf_unittest {
  69. namespace lazy_imports {
  70. const ::google::protobuf::EnumDescriptor* LazyEnum_descriptor() {
  71. protobuf_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto::protobuf_AssignDescriptorsOnce();
  72. return protobuf_google_2fprotobuf_2funittest_5flazy_5fdependencies_5fenum_2eproto::file_level_enum_descriptors[0];
  73. }
  74. bool LazyEnum_IsValid(int value) {
  75. switch (value) {
  76. case 0:
  77. case 1:
  78. return true;
  79. default:
  80. return false;
  81. }
  82. }
  83. // @@protoc_insertion_point(namespace_scope)
  84. } // namespace lazy_imports
  85. } // namespace protobuf_unittest
  86. namespace google {
  87. namespace protobuf {
  88. } // namespace protobuf
  89. } // namespace google
  90. // @@protoc_insertion_point(global_scope)