WCustomerGroupPushNotice.pb.go 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v3.19.4
  5. // source: wecom/WCustomerGroupPushNotice.proto
  6. package wecom
  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. unsafe "unsafe"
  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 CustomerGroupPushNoticeMessage struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
  23. Success bool `protobuf:"varint,2,opt,name=Success,proto3" json:"Success,omitempty"` // 是否成功
  24. Groups []*CustomerGroupMessage `protobuf:"bytes,3,rep,name=Groups,proto3" json:"Groups,omitempty"` // 客户群列表
  25. TaskId int64 `protobuf:"varint,4,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  26. unknownFields protoimpl.UnknownFields
  27. sizeCache protoimpl.SizeCache
  28. }
  29. func (x *CustomerGroupPushNoticeMessage) Reset() {
  30. *x = CustomerGroupPushNoticeMessage{}
  31. mi := &file_wecom_WCustomerGroupPushNotice_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *CustomerGroupPushNoticeMessage) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*CustomerGroupPushNoticeMessage) ProtoMessage() {}
  39. func (x *CustomerGroupPushNoticeMessage) ProtoReflect() protoreflect.Message {
  40. mi := &file_wecom_WCustomerGroupPushNotice_proto_msgTypes[0]
  41. if x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use CustomerGroupPushNoticeMessage.ProtoReflect.Descriptor instead.
  51. func (*CustomerGroupPushNoticeMessage) Descriptor() ([]byte, []int) {
  52. return file_wecom_WCustomerGroupPushNotice_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *CustomerGroupPushNoticeMessage) GetWxId() int64 {
  55. if x != nil {
  56. return x.WxId
  57. }
  58. return 0
  59. }
  60. func (x *CustomerGroupPushNoticeMessage) GetSuccess() bool {
  61. if x != nil {
  62. return x.Success
  63. }
  64. return false
  65. }
  66. func (x *CustomerGroupPushNoticeMessage) GetGroups() []*CustomerGroupMessage {
  67. if x != nil {
  68. return x.Groups
  69. }
  70. return nil
  71. }
  72. func (x *CustomerGroupPushNoticeMessage) GetTaskId() int64 {
  73. if x != nil {
  74. return x.TaskId
  75. }
  76. return 0
  77. }
  78. type CustomerGroupMessage struct {
  79. state protoimpl.MessageState `protogen:"open.v1"`
  80. Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 会话id
  81. RemoteId int64 `protobuf:"varint,2,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` // 会话RemoteId
  82. Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` // 群名
  83. Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
  84. Owner int64 `protobuf:"varint,6,opt,name=Owner,proto3" json:"Owner,omitempty"` //群主Id
  85. CreateTime int32 `protobuf:"varint,7,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` //创建时间
  86. UpdateTime int32 `protobuf:"varint,8,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` // 最后更新时间
  87. Flag int32 `protobuf:"varint,10,opt,name=Flag,proto3" json:"Flag,omitempty"` //
  88. MemberCnt int32 `protobuf:"varint,11,opt,name=MemberCnt,proto3" json:"MemberCnt,omitempty"` //群成员数
  89. unknownFields protoimpl.UnknownFields
  90. sizeCache protoimpl.SizeCache
  91. }
  92. func (x *CustomerGroupMessage) Reset() {
  93. *x = CustomerGroupMessage{}
  94. mi := &file_wecom_WCustomerGroupPushNotice_proto_msgTypes[1]
  95. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  96. ms.StoreMessageInfo(mi)
  97. }
  98. func (x *CustomerGroupMessage) String() string {
  99. return protoimpl.X.MessageStringOf(x)
  100. }
  101. func (*CustomerGroupMessage) ProtoMessage() {}
  102. func (x *CustomerGroupMessage) ProtoReflect() protoreflect.Message {
  103. mi := &file_wecom_WCustomerGroupPushNotice_proto_msgTypes[1]
  104. if x != nil {
  105. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  106. if ms.LoadMessageInfo() == nil {
  107. ms.StoreMessageInfo(mi)
  108. }
  109. return ms
  110. }
  111. return mi.MessageOf(x)
  112. }
  113. // Deprecated: Use CustomerGroupMessage.ProtoReflect.Descriptor instead.
  114. func (*CustomerGroupMessage) Descriptor() ([]byte, []int) {
  115. return file_wecom_WCustomerGroupPushNotice_proto_rawDescGZIP(), []int{1}
  116. }
  117. func (x *CustomerGroupMessage) GetId() int64 {
  118. if x != nil {
  119. return x.Id
  120. }
  121. return 0
  122. }
  123. func (x *CustomerGroupMessage) GetRemoteId() int64 {
  124. if x != nil {
  125. return x.RemoteId
  126. }
  127. return 0
  128. }
  129. func (x *CustomerGroupMessage) GetName() string {
  130. if x != nil {
  131. return x.Name
  132. }
  133. return ""
  134. }
  135. func (x *CustomerGroupMessage) GetAvatar() string {
  136. if x != nil {
  137. return x.Avatar
  138. }
  139. return ""
  140. }
  141. func (x *CustomerGroupMessage) GetOwner() int64 {
  142. if x != nil {
  143. return x.Owner
  144. }
  145. return 0
  146. }
  147. func (x *CustomerGroupMessage) GetCreateTime() int32 {
  148. if x != nil {
  149. return x.CreateTime
  150. }
  151. return 0
  152. }
  153. func (x *CustomerGroupMessage) GetUpdateTime() int32 {
  154. if x != nil {
  155. return x.UpdateTime
  156. }
  157. return 0
  158. }
  159. func (x *CustomerGroupMessage) GetFlag() int32 {
  160. if x != nil {
  161. return x.Flag
  162. }
  163. return 0
  164. }
  165. func (x *CustomerGroupMessage) GetMemberCnt() int32 {
  166. if x != nil {
  167. return x.MemberCnt
  168. }
  169. return 0
  170. }
  171. var File_wecom_WCustomerGroupPushNotice_proto protoreflect.FileDescriptor
  172. const file_wecom_WCustomerGroupPushNotice_proto_rawDesc = "" +
  173. "\n" +
  174. "$wecom/WCustomerGroupPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\xa6\x01\n" +
  175. "\x1eCustomerGroupPushNoticeMessage\x12\x12\n" +
  176. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x18\n" +
  177. "\aSuccess\x18\x02 \x01(\bR\aSuccess\x12>\n" +
  178. "\x06Groups\x18\x03 \x03(\v2&.Im.Scrm.Ww.Proto.CustomerGroupMessageR\x06Groups\x12\x16\n" +
  179. "\x06TaskId\x18\x04 \x01(\x03R\x06TaskId\"\xf6\x01\n" +
  180. "\x14CustomerGroupMessage\x12\x0e\n" +
  181. "\x02Id\x18\x01 \x01(\x03R\x02Id\x12\x1a\n" +
  182. "\bRemoteId\x18\x02 \x01(\x03R\bRemoteId\x12\x12\n" +
  183. "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x16\n" +
  184. "\x06Avatar\x18\x04 \x01(\tR\x06Avatar\x12\x14\n" +
  185. "\x05Owner\x18\x06 \x01(\x03R\x05Owner\x12\x1e\n" +
  186. "\n" +
  187. "CreateTime\x18\a \x01(\x05R\n" +
  188. "CreateTime\x12\x1e\n" +
  189. "\n" +
  190. "UpdateTime\x18\b \x01(\x05R\n" +
  191. "UpdateTime\x12\x12\n" +
  192. "\x04Flag\x18\n" +
  193. " \x01(\x05R\x04Flag\x12\x1c\n" +
  194. "\tMemberCnt\x18\v \x01(\x05R\tMemberCntB\x13Z\x11./workphone/wecomb\x06proto3"
  195. var (
  196. file_wecom_WCustomerGroupPushNotice_proto_rawDescOnce sync.Once
  197. file_wecom_WCustomerGroupPushNotice_proto_rawDescData []byte
  198. )
  199. func file_wecom_WCustomerGroupPushNotice_proto_rawDescGZIP() []byte {
  200. file_wecom_WCustomerGroupPushNotice_proto_rawDescOnce.Do(func() {
  201. file_wecom_WCustomerGroupPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCustomerGroupPushNotice_proto_rawDesc), len(file_wecom_WCustomerGroupPushNotice_proto_rawDesc)))
  202. })
  203. return file_wecom_WCustomerGroupPushNotice_proto_rawDescData
  204. }
  205. var file_wecom_WCustomerGroupPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  206. var file_wecom_WCustomerGroupPushNotice_proto_goTypes = []any{
  207. (*CustomerGroupPushNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.CustomerGroupPushNoticeMessage
  208. (*CustomerGroupMessage)(nil), // 1: Im.Scrm.Ww.Proto.CustomerGroupMessage
  209. }
  210. var file_wecom_WCustomerGroupPushNotice_proto_depIdxs = []int32{
  211. 1, // 0: Im.Scrm.Ww.Proto.CustomerGroupPushNoticeMessage.Groups:type_name -> Im.Scrm.Ww.Proto.CustomerGroupMessage
  212. 1, // [1:1] is the sub-list for method output_type
  213. 1, // [1:1] is the sub-list for method input_type
  214. 1, // [1:1] is the sub-list for extension type_name
  215. 1, // [1:1] is the sub-list for extension extendee
  216. 0, // [0:1] is the sub-list for field type_name
  217. }
  218. func init() { file_wecom_WCustomerGroupPushNotice_proto_init() }
  219. func file_wecom_WCustomerGroupPushNotice_proto_init() {
  220. if File_wecom_WCustomerGroupPushNotice_proto != nil {
  221. return
  222. }
  223. type x struct{}
  224. out := protoimpl.TypeBuilder{
  225. File: protoimpl.DescBuilder{
  226. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  227. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCustomerGroupPushNotice_proto_rawDesc), len(file_wecom_WCustomerGroupPushNotice_proto_rawDesc)),
  228. NumEnums: 0,
  229. NumMessages: 2,
  230. NumExtensions: 0,
  231. NumServices: 0,
  232. },
  233. GoTypes: file_wecom_WCustomerGroupPushNotice_proto_goTypes,
  234. DependencyIndexes: file_wecom_WCustomerGroupPushNotice_proto_depIdxs,
  235. MessageInfos: file_wecom_WCustomerGroupPushNotice_proto_msgTypes,
  236. }.Build()
  237. File_wecom_WCustomerGroupPushNotice_proto = out.File
  238. file_wecom_WCustomerGroupPushNotice_proto_goTypes = nil
  239. file_wecom_WCustomerGroupPushNotice_proto_depIdxs = nil
  240. }