statistics.pb.go 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: statistics.proto
  6. package statistics
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. emptypb "google.golang.org/protobuf/types/known/emptypb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type PersonMessage struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. PersonID string `protobuf:"bytes,1,opt,name=personID,proto3" json:"personID"` //关注者、浏览者的ID
  25. PersonType string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"` // 关注者、浏览者的类型
  26. BePersonID string `protobuf:"bytes,3,opt,name=bePersonID,proto3" json:"bePersonID"` // 被关注者、被浏览者的ID
  27. BePersonType string `protobuf:"bytes,4,opt,name=bePersonType,proto3" json:"bePersonType"` // 被关注者、被浏览者的类型
  28. }
  29. func (x *PersonMessage) Reset() {
  30. *x = PersonMessage{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_statistics_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *PersonMessage) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*PersonMessage) ProtoMessage() {}
  41. func (x *PersonMessage) ProtoReflect() protoreflect.Message {
  42. mi := &file_statistics_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use PersonMessage.ProtoReflect.Descriptor instead.
  53. func (*PersonMessage) Descriptor() ([]byte, []int) {
  54. return file_statistics_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *PersonMessage) GetPersonID() string {
  57. if x != nil {
  58. return x.PersonID
  59. }
  60. return ""
  61. }
  62. func (x *PersonMessage) GetPersonType() string {
  63. if x != nil {
  64. return x.PersonType
  65. }
  66. return ""
  67. }
  68. func (x *PersonMessage) GetBePersonID() string {
  69. if x != nil {
  70. return x.BePersonID
  71. }
  72. return ""
  73. }
  74. func (x *PersonMessage) GetBePersonType() string {
  75. if x != nil {
  76. return x.BePersonType
  77. }
  78. return ""
  79. }
  80. var File_statistics_proto protoreflect.FileDescriptor
  81. var file_statistics_proto_rawDesc = []byte{
  82. 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  83. 0x74, 0x6f, 0x12, 0x0e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69,
  84. 0x63, 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  85. 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
  86. 0x8f, 0x01, 0x0a, 0x0d, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  87. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20,
  88. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a,
  89. 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  90. 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a,
  91. 0x0a, 0x62, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28,
  92. 0x09, 0x52, 0x0a, 0x62, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x22, 0x0a,
  93. 0x0c, 0x62, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
  94. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70,
  95. 0x65, 0x32, 0xdd, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73,
  96. 0x12, 0x43, 0x0a, 0x0a, 0x4c, 0x6f, 0x6f, 0x6b, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x1d,
  97. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x2e,
  98. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e,
  99. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  100. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x0a, 0x4c, 0x69, 0x6b, 0x65, 0x50, 0x65, 0x72,
  101. 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73,
  102. 0x74, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  103. 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  104. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0c, 0x55, 0x6e,
  105. 0x4c, 0x69, 0x6b, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69,
  106. 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x73,
  107. 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  108. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  109. 0x79, 0x42, 0x4f, 0x0a, 0x0e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74,
  110. 0x69, 0x63, 0x73, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61,
  111. 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d,
  112. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x61,
  113. 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x3b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69,
  114. 0x63, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  115. }
  116. var (
  117. file_statistics_proto_rawDescOnce sync.Once
  118. file_statistics_proto_rawDescData = file_statistics_proto_rawDesc
  119. )
  120. func file_statistics_proto_rawDescGZIP() []byte {
  121. file_statistics_proto_rawDescOnce.Do(func() {
  122. file_statistics_proto_rawDescData = protoimpl.X.CompressGZIP(file_statistics_proto_rawDescData)
  123. })
  124. return file_statistics_proto_rawDescData
  125. }
  126. var file_statistics_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  127. var file_statistics_proto_goTypes = []interface{}{
  128. (*PersonMessage)(nil), // 0: api.statistics.PersonMessage
  129. (*emptypb.Empty)(nil), // 1: google.protobuf.Empty
  130. }
  131. var file_statistics_proto_depIdxs = []int32{
  132. 0, // 0: api.statistics.Statistics.LookPerson:input_type -> api.statistics.PersonMessage
  133. 0, // 1: api.statistics.Statistics.LikePerson:input_type -> api.statistics.PersonMessage
  134. 0, // 2: api.statistics.Statistics.UnLikePerson:input_type -> api.statistics.PersonMessage
  135. 1, // 3: api.statistics.Statistics.LookPerson:output_type -> google.protobuf.Empty
  136. 1, // 4: api.statistics.Statistics.LikePerson:output_type -> google.protobuf.Empty
  137. 1, // 5: api.statistics.Statistics.UnLikePerson:output_type -> google.protobuf.Empty
  138. 3, // [3:6] is the sub-list for method output_type
  139. 0, // [0:3] is the sub-list for method input_type
  140. 0, // [0:0] is the sub-list for extension type_name
  141. 0, // [0:0] is the sub-list for extension extendee
  142. 0, // [0:0] is the sub-list for field type_name
  143. }
  144. func init() { file_statistics_proto_init() }
  145. func file_statistics_proto_init() {
  146. if File_statistics_proto != nil {
  147. return
  148. }
  149. if !protoimpl.UnsafeEnabled {
  150. file_statistics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  151. switch v := v.(*PersonMessage); i {
  152. case 0:
  153. return &v.state
  154. case 1:
  155. return &v.sizeCache
  156. case 2:
  157. return &v.unknownFields
  158. default:
  159. return nil
  160. }
  161. }
  162. }
  163. type x struct{}
  164. out := protoimpl.TypeBuilder{
  165. File: protoimpl.DescBuilder{
  166. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  167. RawDescriptor: file_statistics_proto_rawDesc,
  168. NumEnums: 0,
  169. NumMessages: 1,
  170. NumExtensions: 0,
  171. NumServices: 1,
  172. },
  173. GoTypes: file_statistics_proto_goTypes,
  174. DependencyIndexes: file_statistics_proto_depIdxs,
  175. MessageInfos: file_statistics_proto_msgTypes,
  176. }.Build()
  177. File_statistics_proto = out.File
  178. file_statistics_proto_rawDesc = nil
  179. file_statistics_proto_goTypes = nil
  180. file_statistics_proto_depIdxs = nil
  181. }