QwUserPushNotice.pb.go 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v5.28.3
  5. // source: QwUserPushNotice.proto
  6. package workphone
  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 QwUserMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"` //
  24. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 微信号
  25. Avatar string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"` //头像
  26. }
  27. func (x *QwUserMessage) Reset() {
  28. *x = QwUserMessage{}
  29. mi := &file_QwUserPushNotice_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. func (x *QwUserMessage) String() string {
  34. return protoimpl.X.MessageStringOf(x)
  35. }
  36. func (*QwUserMessage) ProtoMessage() {}
  37. func (x *QwUserMessage) ProtoReflect() protoreflect.Message {
  38. mi := &file_QwUserPushNotice_proto_msgTypes[0]
  39. if x != nil {
  40. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  41. if ms.LoadMessageInfo() == nil {
  42. ms.StoreMessageInfo(mi)
  43. }
  44. return ms
  45. }
  46. return mi.MessageOf(x)
  47. }
  48. // Deprecated: Use QwUserMessage.ProtoReflect.Descriptor instead.
  49. func (*QwUserMessage) Descriptor() ([]byte, []int) {
  50. return file_QwUserPushNotice_proto_rawDescGZIP(), []int{0}
  51. }
  52. func (x *QwUserMessage) GetUserId() string {
  53. if x != nil {
  54. return x.UserId
  55. }
  56. return ""
  57. }
  58. func (x *QwUserMessage) GetName() string {
  59. if x != nil {
  60. return x.Name
  61. }
  62. return ""
  63. }
  64. func (x *QwUserMessage) GetAvatar() string {
  65. if x != nil {
  66. return x.Avatar
  67. }
  68. return ""
  69. }
  70. type QwUserPushNoticeMessage struct {
  71. state protoimpl.MessageState
  72. sizeCache protoimpl.SizeCache
  73. unknownFields protoimpl.UnknownFields
  74. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家所属微信号
  75. Users []*QwUserMessage `protobuf:"bytes,2,rep,name=Users,proto3" json:"Users,omitempty"` // 好友信息模型 多个
  76. Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"`
  77. Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"`
  78. Page int32 `protobuf:"varint,5,opt,name=Page,proto3" json:"Page,omitempty"`
  79. TaskId int64 `protobuf:"varint,6,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  80. }
  81. func (x *QwUserPushNoticeMessage) Reset() {
  82. *x = QwUserPushNoticeMessage{}
  83. mi := &file_QwUserPushNotice_proto_msgTypes[1]
  84. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  85. ms.StoreMessageInfo(mi)
  86. }
  87. func (x *QwUserPushNoticeMessage) String() string {
  88. return protoimpl.X.MessageStringOf(x)
  89. }
  90. func (*QwUserPushNoticeMessage) ProtoMessage() {}
  91. func (x *QwUserPushNoticeMessage) ProtoReflect() protoreflect.Message {
  92. mi := &file_QwUserPushNotice_proto_msgTypes[1]
  93. if x != nil {
  94. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  95. if ms.LoadMessageInfo() == nil {
  96. ms.StoreMessageInfo(mi)
  97. }
  98. return ms
  99. }
  100. return mi.MessageOf(x)
  101. }
  102. // Deprecated: Use QwUserPushNoticeMessage.ProtoReflect.Descriptor instead.
  103. func (*QwUserPushNoticeMessage) Descriptor() ([]byte, []int) {
  104. return file_QwUserPushNotice_proto_rawDescGZIP(), []int{1}
  105. }
  106. func (x *QwUserPushNoticeMessage) GetWeChatId() string {
  107. if x != nil {
  108. return x.WeChatId
  109. }
  110. return ""
  111. }
  112. func (x *QwUserPushNoticeMessage) GetUsers() []*QwUserMessage {
  113. if x != nil {
  114. return x.Users
  115. }
  116. return nil
  117. }
  118. func (x *QwUserPushNoticeMessage) GetSize() int32 {
  119. if x != nil {
  120. return x.Size
  121. }
  122. return 0
  123. }
  124. func (x *QwUserPushNoticeMessage) GetCount() int32 {
  125. if x != nil {
  126. return x.Count
  127. }
  128. return 0
  129. }
  130. func (x *QwUserPushNoticeMessage) GetPage() int32 {
  131. if x != nil {
  132. return x.Page
  133. }
  134. return 0
  135. }
  136. func (x *QwUserPushNoticeMessage) GetTaskId() int64 {
  137. if x != nil {
  138. return x.TaskId
  139. }
  140. return 0
  141. }
  142. var File_QwUserPushNotice_proto protoreflect.FileDescriptor
  143. var file_QwUserPushNotice_proto_rawDesc = []byte{
  144. 0x0a, 0x16, 0x51, 0x77, 0x55, 0x73, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69,
  145. 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a,
  146. 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74,
  147. 0x6f, 0x22, 0x53, 0x0a, 0x0d, 0x51, 0x77, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61,
  148. 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  149. 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61,
  150. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16,
  151. 0x0a, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  152. 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x22, 0xc9, 0x01, 0x0a, 0x17, 0x51, 0x77, 0x55, 0x73, 0x65,
  153. 0x72, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
  154. 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01,
  155. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x3c,
  156. 0x0a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e,
  157. 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57,
  158. 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x77, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65,
  159. 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04,
  160. 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x69, 0x7a, 0x65,
  161. 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
  162. 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x05,
  163. 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61,
  164. 0x73, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x54, 0x61, 0x73, 0x6b,
  165. 0x49, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e,
  166. 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  167. }
  168. var (
  169. file_QwUserPushNotice_proto_rawDescOnce sync.Once
  170. file_QwUserPushNotice_proto_rawDescData = file_QwUserPushNotice_proto_rawDesc
  171. )
  172. func file_QwUserPushNotice_proto_rawDescGZIP() []byte {
  173. file_QwUserPushNotice_proto_rawDescOnce.Do(func() {
  174. file_QwUserPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_QwUserPushNotice_proto_rawDescData)
  175. })
  176. return file_QwUserPushNotice_proto_rawDescData
  177. }
  178. var file_QwUserPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  179. var file_QwUserPushNotice_proto_goTypes = []any{
  180. (*QwUserMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.QwUserMessage
  181. (*QwUserPushNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.QwUserPushNoticeMessage
  182. }
  183. var file_QwUserPushNotice_proto_depIdxs = []int32{
  184. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.QwUserPushNoticeMessage.Users:type_name -> Jubo.JuLiao.IM.Wx.Proto.QwUserMessage
  185. 1, // [1:1] is the sub-list for method output_type
  186. 1, // [1:1] is the sub-list for method input_type
  187. 1, // [1:1] is the sub-list for extension type_name
  188. 1, // [1:1] is the sub-list for extension extendee
  189. 0, // [0:1] is the sub-list for field type_name
  190. }
  191. func init() { file_QwUserPushNotice_proto_init() }
  192. func file_QwUserPushNotice_proto_init() {
  193. if File_QwUserPushNotice_proto != nil {
  194. return
  195. }
  196. type x struct{}
  197. out := protoimpl.TypeBuilder{
  198. File: protoimpl.DescBuilder{
  199. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  200. RawDescriptor: file_QwUserPushNotice_proto_rawDesc,
  201. NumEnums: 0,
  202. NumMessages: 2,
  203. NumExtensions: 0,
  204. NumServices: 0,
  205. },
  206. GoTypes: file_QwUserPushNotice_proto_goTypes,
  207. DependencyIndexes: file_QwUserPushNotice_proto_depIdxs,
  208. MessageInfos: file_QwUserPushNotice_proto_msgTypes,
  209. }.Build()
  210. File_QwUserPushNotice_proto = out.File
  211. file_QwUserPushNotice_proto_rawDesc = nil
  212. file_QwUserPushNotice_proto_goTypes = nil
  213. file_QwUserPushNotice_proto_depIdxs = nil
  214. }