golang-im聊天
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

132 linhas
3.7 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0
  4. // protoc v3.14.0
  5. // source: common.ext.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Empty struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. }
  24. func (x *Empty) Reset() {
  25. *x = Empty{}
  26. if protoimpl.UnsafeEnabled {
  27. mi := &file_common_ext_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. }
  32. func (x *Empty) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*Empty) ProtoMessage() {}
  36. func (x *Empty) ProtoReflect() protoreflect.Message {
  37. mi := &file_common_ext_proto_msgTypes[0]
  38. if protoimpl.UnsafeEnabled && x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use Empty.ProtoReflect.Descriptor instead.
  48. func (*Empty) Descriptor() ([]byte, []int) {
  49. return file_common_ext_proto_rawDescGZIP(), []int{0}
  50. }
  51. var File_common_ext_proto protoreflect.FileDescriptor
  52. var file_common_ext_proto_rawDesc = []byte{
  53. 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f,
  54. 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42,
  55. 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06,
  56. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  57. }
  58. var (
  59. file_common_ext_proto_rawDescOnce sync.Once
  60. file_common_ext_proto_rawDescData = file_common_ext_proto_rawDesc
  61. )
  62. func file_common_ext_proto_rawDescGZIP() []byte {
  63. file_common_ext_proto_rawDescOnce.Do(func() {
  64. file_common_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_ext_proto_rawDescData)
  65. })
  66. return file_common_ext_proto_rawDescData
  67. }
  68. var file_common_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  69. var file_common_ext_proto_goTypes = []interface{}{
  70. (*Empty)(nil), // 0: pb.Empty
  71. }
  72. var file_common_ext_proto_depIdxs = []int32{
  73. 0, // [0:0] is the sub-list for method output_type
  74. 0, // [0:0] is the sub-list for method input_type
  75. 0, // [0:0] is the sub-list for extension type_name
  76. 0, // [0:0] is the sub-list for extension extendee
  77. 0, // [0:0] is the sub-list for field type_name
  78. }
  79. func init() { file_common_ext_proto_init() }
  80. func file_common_ext_proto_init() {
  81. if File_common_ext_proto != nil {
  82. return
  83. }
  84. if !protoimpl.UnsafeEnabled {
  85. file_common_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  86. switch v := v.(*Empty); i {
  87. case 0:
  88. return &v.state
  89. case 1:
  90. return &v.sizeCache
  91. case 2:
  92. return &v.unknownFields
  93. default:
  94. return nil
  95. }
  96. }
  97. }
  98. type x struct{}
  99. out := protoimpl.TypeBuilder{
  100. File: protoimpl.DescBuilder{
  101. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  102. RawDescriptor: file_common_ext_proto_rawDesc,
  103. NumEnums: 0,
  104. NumMessages: 1,
  105. NumExtensions: 0,
  106. NumServices: 0,
  107. },
  108. GoTypes: file_common_ext_proto_goTypes,
  109. DependencyIndexes: file_common_ext_proto_depIdxs,
  110. MessageInfos: file_common_ext_proto_msgTypes,
  111. }.Build()
  112. File_common_ext_proto = out.File
  113. file_common_ext_proto_rawDesc = nil
  114. file_common_ext_proto_goTypes = nil
  115. file_common_ext_proto_depIdxs = nil
  116. }