client2gate_msg_type.pb.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2gate_msg_type.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "client2gate_msg_type.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace client2gate_protocols {
  16. namespace {
  17. const ::google::protobuf::EnumDescriptor* e_server_msg_type_descriptor_ = NULL;
  18. } // namespace
  19. void protobuf_AssignDesc_client2gate_5fmsg_5ftype_2eproto() {
  20. protobuf_AddDesc_client2gate_5fmsg_5ftype_2eproto();
  21. const ::google::protobuf::FileDescriptor* file =
  22. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  23. "client2gate_msg_type.proto");
  24. GOOGLE_CHECK(file != NULL);
  25. e_server_msg_type_descriptor_ = file->enum_type(0);
  26. }
  27. namespace {
  28. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  29. inline void protobuf_AssignDescriptorsOnce() {
  30. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  31. &protobuf_AssignDesc_client2gate_5fmsg_5ftype_2eproto);
  32. }
  33. void protobuf_RegisterTypes(const ::std::string&) {
  34. protobuf_AssignDescriptorsOnce();
  35. }
  36. } // namespace
  37. void protobuf_ShutdownFile_client2gate_5fmsg_5ftype_2eproto() {
  38. }
  39. void protobuf_AddDesc_client2gate_5fmsg_5ftype_2eproto() {
  40. static bool already_here = false;
  41. if (already_here) return;
  42. already_here = true;
  43. GOOGLE_PROTOBUF_VERIFY_VERSION;
  44. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  45. "\n\032client2gate_msg_type.proto\022\025client2gat"
  46. "e_protocols*\222\001\n\021e_server_msg_type\022\024\n\017e_m"
  47. "st_start_c2g\020\254\002\022\030\n\023e_mst_c2g_heartbeat\020\255"
  48. "\002\022\033\n\026e_mst_g2c_send_msglist\020\222\003\022\030\n\023e_mst_"
  49. "g2c_heartbeat\020\223\003\022\026\n\021e_mst_cgend_index\020\364\003", 200);
  50. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  51. "client2gate_msg_type.proto", &protobuf_RegisterTypes);
  52. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2gate_5fmsg_5ftype_2eproto);
  53. }
  54. // Force AddDescriptors() to be called at static initialization time.
  55. struct StaticDescriptorInitializer_client2gate_5fmsg_5ftype_2eproto {
  56. StaticDescriptorInitializer_client2gate_5fmsg_5ftype_2eproto() {
  57. protobuf_AddDesc_client2gate_5fmsg_5ftype_2eproto();
  58. }
  59. } static_descriptor_initializer_client2gate_5fmsg_5ftype_2eproto_;
  60. const ::google::protobuf::EnumDescriptor* e_server_msg_type_descriptor() {
  61. protobuf_AssignDescriptorsOnce();
  62. return e_server_msg_type_descriptor_;
  63. }
  64. bool e_server_msg_type_IsValid(int value) {
  65. switch(value) {
  66. case 300:
  67. case 301:
  68. case 402:
  69. case 403:
  70. case 500:
  71. return true;
  72. default:
  73. return false;
  74. }
  75. }
  76. // @@protoc_insertion_point(namespace_scope)
  77. } // namespace client2gate_protocols
  78. // @@protoc_insertion_point(global_scope)