SendMultiPictureTask.pb.go 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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: SendMultiPictureTask.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. // 注意:因为需要先下载图片再扔到任务队列,所以业务层需要注意消息任务的顺序和时间间隔
  20. type SendMultiPictureTaskMessage struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 所属微信号
  25. FriendId string `protobuf:"bytes,2,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // 发送给那个好友
  26. Pics []string `protobuf:"bytes,3,rep,name=Pics,proto3" json:"Pics,omitempty"` // 发送图片的url列表,不超过9张;
  27. TaskId int64 `protobuf:"varint,4,opt,name=TaskId,proto3" json:"TaskId,omitempty"` //
  28. }
  29. func (x *SendMultiPictureTaskMessage) Reset() {
  30. *x = SendMultiPictureTaskMessage{}
  31. mi := &file_SendMultiPictureTask_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *SendMultiPictureTaskMessage) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*SendMultiPictureTaskMessage) ProtoMessage() {}
  39. func (x *SendMultiPictureTaskMessage) ProtoReflect() protoreflect.Message {
  40. mi := &file_SendMultiPictureTask_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 SendMultiPictureTaskMessage.ProtoReflect.Descriptor instead.
  51. func (*SendMultiPictureTaskMessage) Descriptor() ([]byte, []int) {
  52. return file_SendMultiPictureTask_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *SendMultiPictureTaskMessage) GetWeChatId() string {
  55. if x != nil {
  56. return x.WeChatId
  57. }
  58. return ""
  59. }
  60. func (x *SendMultiPictureTaskMessage) GetFriendId() string {
  61. if x != nil {
  62. return x.FriendId
  63. }
  64. return ""
  65. }
  66. func (x *SendMultiPictureTaskMessage) GetPics() []string {
  67. if x != nil {
  68. return x.Pics
  69. }
  70. return nil
  71. }
  72. func (x *SendMultiPictureTaskMessage) GetTaskId() int64 {
  73. if x != nil {
  74. return x.TaskId
  75. }
  76. return 0
  77. }
  78. var File_SendMultiPictureTask_proto protoreflect.FileDescriptor
  79. var file_SendMultiPictureTask_proto_rawDesc = []byte{
  80. 0x0a, 0x1a, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x50, 0x69, 0x63, 0x74, 0x75,
  81. 0x72, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75,
  82. 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e,
  83. 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x75,
  84. 0x6c, 0x74, 0x69, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65,
  85. 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49,
  86. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49,
  87. 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20,
  88. 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x12, 0x0a,
  89. 0x04, 0x50, 0x69, 0x63, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x50, 0x69, 0x63,
  90. 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
  91. 0x03, 0x52, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77,
  92. 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  93. }
  94. var (
  95. file_SendMultiPictureTask_proto_rawDescOnce sync.Once
  96. file_SendMultiPictureTask_proto_rawDescData = file_SendMultiPictureTask_proto_rawDesc
  97. )
  98. func file_SendMultiPictureTask_proto_rawDescGZIP() []byte {
  99. file_SendMultiPictureTask_proto_rawDescOnce.Do(func() {
  100. file_SendMultiPictureTask_proto_rawDescData = protoimpl.X.CompressGZIP(file_SendMultiPictureTask_proto_rawDescData)
  101. })
  102. return file_SendMultiPictureTask_proto_rawDescData
  103. }
  104. var file_SendMultiPictureTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  105. var file_SendMultiPictureTask_proto_goTypes = []any{
  106. (*SendMultiPictureTaskMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.SendMultiPictureTaskMessage
  107. }
  108. var file_SendMultiPictureTask_proto_depIdxs = []int32{
  109. 0, // [0:0] is the sub-list for method output_type
  110. 0, // [0:0] is the sub-list for method input_type
  111. 0, // [0:0] is the sub-list for extension type_name
  112. 0, // [0:0] is the sub-list for extension extendee
  113. 0, // [0:0] is the sub-list for field type_name
  114. }
  115. func init() { file_SendMultiPictureTask_proto_init() }
  116. func file_SendMultiPictureTask_proto_init() {
  117. if File_SendMultiPictureTask_proto != nil {
  118. return
  119. }
  120. type x struct{}
  121. out := protoimpl.TypeBuilder{
  122. File: protoimpl.DescBuilder{
  123. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  124. RawDescriptor: file_SendMultiPictureTask_proto_rawDesc,
  125. NumEnums: 0,
  126. NumMessages: 1,
  127. NumExtensions: 0,
  128. NumServices: 0,
  129. },
  130. GoTypes: file_SendMultiPictureTask_proto_goTypes,
  131. DependencyIndexes: file_SendMultiPictureTask_proto_depIdxs,
  132. MessageInfos: file_SendMultiPictureTask_proto_msgTypes,
  133. }.Build()
  134. File_SendMultiPictureTask_proto = out.File
  135. file_SendMultiPictureTask_proto_rawDesc = nil
  136. file_SendMultiPictureTask_proto_goTypes = nil
  137. file_SendMultiPictureTask_proto_depIdxs = nil
  138. }