AcceptFriendAddRequestTask.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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: AcceptFriendAddRequestTask.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 AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation int32
  20. const (
  21. AcceptFriendAddRequestTaskMessage_Ignore AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation = 0 // 忽略消息
  22. AcceptFriendAddRequestTaskMessage_Accept AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation = 1 // 接受
  23. AcceptFriendAddRequestTaskMessage_Reject AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation = 2 // 拒绝
  24. )
  25. // Enum value maps for AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation.
  26. var (
  27. AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation_name = map[int32]string{
  28. 0: "Ignore",
  29. 1: "Accept",
  30. 2: "Reject",
  31. }
  32. AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation_value = map[string]int32{
  33. "Ignore": 0,
  34. "Accept": 1,
  35. "Reject": 2,
  36. }
  37. )
  38. func (x AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation) Enum() *AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation {
  39. p := new(AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation)
  40. *p = x
  41. return p
  42. }
  43. func (x AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation) String() string {
  44. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  45. }
  46. func (AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation) Descriptor() protoreflect.EnumDescriptor {
  47. return file_AcceptFriendAddRequestTask_proto_enumTypes[0].Descriptor()
  48. }
  49. func (AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation) Type() protoreflect.EnumType {
  50. return &file_AcceptFriendAddRequestTask_proto_enumTypes[0]
  51. }
  52. func (x AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation) Number() protoreflect.EnumNumber {
  53. return protoreflect.EnumNumber(x)
  54. }
  55. // Deprecated: Use AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation.Descriptor instead.
  56. func (AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation) EnumDescriptor() ([]byte, []int) {
  57. return file_AcceptFriendAddRequestTask_proto_rawDescGZIP(), []int{0, 0}
  58. }
  59. type AcceptFriendAddRequestTaskMessage struct {
  60. state protoimpl.MessageState
  61. sizeCache protoimpl.SizeCache
  62. unknownFields protoimpl.UnknownFields
  63. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码
  64. FriendId string `protobuf:"bytes,3,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // 请求的好友微信内部全局唯一识别码
  65. AddWithWW bool `protobuf:"varint,4,opt,name=AddWithWW,proto3" json:"AddWithWW,omitempty"` // 去企业微信添加
  66. Operation AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation `protobuf:"varint,5,opt,name=Operation,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation" json:"Operation,omitempty"` // 处理结果
  67. Remark string `protobuf:"bytes,6,opt,name=Remark,proto3" json:"Remark,omitempty"` // 备注信息
  68. FriendNick string `protobuf:"bytes,7,opt,name=FriendNick,proto3" json:"FriendNick,omitempty"` // 好友的微信昵称 没用
  69. ReplyMsg string `protobuf:"bytes,8,opt,name=ReplyMsg,proto3" json:"ReplyMsg,omitempty"` // 拒绝时的回复消息
  70. TaskId int64 `protobuf:"varint,9,opt,name=TaskId,proto3" json:"TaskId,omitempty"` //任务Id
  71. OnlyWW bool `protobuf:"varint,10,opt,name=OnlyWW,proto3" json:"OnlyWW,omitempty"` // 只在企微添加
  72. }
  73. func (x *AcceptFriendAddRequestTaskMessage) Reset() {
  74. *x = AcceptFriendAddRequestTaskMessage{}
  75. mi := &file_AcceptFriendAddRequestTask_proto_msgTypes[0]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. func (x *AcceptFriendAddRequestTaskMessage) String() string {
  80. return protoimpl.X.MessageStringOf(x)
  81. }
  82. func (*AcceptFriendAddRequestTaskMessage) ProtoMessage() {}
  83. func (x *AcceptFriendAddRequestTaskMessage) ProtoReflect() protoreflect.Message {
  84. mi := &file_AcceptFriendAddRequestTask_proto_msgTypes[0]
  85. if x != nil {
  86. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  87. if ms.LoadMessageInfo() == nil {
  88. ms.StoreMessageInfo(mi)
  89. }
  90. return ms
  91. }
  92. return mi.MessageOf(x)
  93. }
  94. // Deprecated: Use AcceptFriendAddRequestTaskMessage.ProtoReflect.Descriptor instead.
  95. func (*AcceptFriendAddRequestTaskMessage) Descriptor() ([]byte, []int) {
  96. return file_AcceptFriendAddRequestTask_proto_rawDescGZIP(), []int{0}
  97. }
  98. func (x *AcceptFriendAddRequestTaskMessage) GetWeChatId() string {
  99. if x != nil {
  100. return x.WeChatId
  101. }
  102. return ""
  103. }
  104. func (x *AcceptFriendAddRequestTaskMessage) GetFriendId() string {
  105. if x != nil {
  106. return x.FriendId
  107. }
  108. return ""
  109. }
  110. func (x *AcceptFriendAddRequestTaskMessage) GetAddWithWW() bool {
  111. if x != nil {
  112. return x.AddWithWW
  113. }
  114. return false
  115. }
  116. func (x *AcceptFriendAddRequestTaskMessage) GetOperation() AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation {
  117. if x != nil {
  118. return x.Operation
  119. }
  120. return AcceptFriendAddRequestTaskMessage_Ignore
  121. }
  122. func (x *AcceptFriendAddRequestTaskMessage) GetRemark() string {
  123. if x != nil {
  124. return x.Remark
  125. }
  126. return ""
  127. }
  128. func (x *AcceptFriendAddRequestTaskMessage) GetFriendNick() string {
  129. if x != nil {
  130. return x.FriendNick
  131. }
  132. return ""
  133. }
  134. func (x *AcceptFriendAddRequestTaskMessage) GetReplyMsg() string {
  135. if x != nil {
  136. return x.ReplyMsg
  137. }
  138. return ""
  139. }
  140. func (x *AcceptFriendAddRequestTaskMessage) GetTaskId() int64 {
  141. if x != nil {
  142. return x.TaskId
  143. }
  144. return 0
  145. }
  146. func (x *AcceptFriendAddRequestTaskMessage) GetOnlyWW() bool {
  147. if x != nil {
  148. return x.OnlyWW
  149. }
  150. return false
  151. }
  152. var File_AcceptFriendAddRequestTask_proto protoreflect.FileDescriptor
  153. var file_AcceptFriendAddRequestTask_proto_rawDesc = []byte{
  154. 0x0a, 0x20, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x64,
  155. 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
  156. 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e,
  157. 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x03, 0x0a, 0x21,
  158. 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x52,
  159. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  160. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20,
  161. 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a,
  162. 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  163. 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x64, 0x64,
  164. 0x57, 0x69, 0x74, 0x68, 0x57, 0x57, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x41, 0x64,
  165. 0x64, 0x57, 0x69, 0x74, 0x68, 0x57, 0x57, 0x12, 0x6f, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61,
  166. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x51, 0x2e, 0x4a, 0x75, 0x62,
  167. 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50,
  168. 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x46, 0x72, 0x69, 0x65, 0x6e,
  169. 0x64, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4d,
  170. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x46, 0x72, 0x69, 0x65, 0x6e,
  171. 0x64, 0x41, 0x64, 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x4f,
  172. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61,
  173. 0x72, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b,
  174. 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x69, 0x63, 0x6b, 0x18, 0x07,
  175. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x4e, 0x69, 0x63, 0x6b,
  176. 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4d, 0x73, 0x67, 0x18, 0x08, 0x20, 0x01,
  177. 0x28, 0x09, 0x52, 0x08, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4d, 0x73, 0x67, 0x12, 0x16, 0x0a, 0x06,
  178. 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x54, 0x61,
  179. 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x4f, 0x6e, 0x6c, 0x79, 0x57, 0x57, 0x18, 0x0a,
  180. 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x4f, 0x6e, 0x6c, 0x79, 0x57, 0x57, 0x22, 0x3c, 0x0a, 0x16,
  181. 0x45, 0x6e, 0x75, 0x6d, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x4f, 0x70, 0x65,
  182. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65,
  183. 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x10, 0x01, 0x12, 0x0a,
  184. 0x0a, 0x06, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x10, 0x02, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f,
  185. 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  186. 0x33,
  187. }
  188. var (
  189. file_AcceptFriendAddRequestTask_proto_rawDescOnce sync.Once
  190. file_AcceptFriendAddRequestTask_proto_rawDescData = file_AcceptFriendAddRequestTask_proto_rawDesc
  191. )
  192. func file_AcceptFriendAddRequestTask_proto_rawDescGZIP() []byte {
  193. file_AcceptFriendAddRequestTask_proto_rawDescOnce.Do(func() {
  194. file_AcceptFriendAddRequestTask_proto_rawDescData = protoimpl.X.CompressGZIP(file_AcceptFriendAddRequestTask_proto_rawDescData)
  195. })
  196. return file_AcceptFriendAddRequestTask_proto_rawDescData
  197. }
  198. var file_AcceptFriendAddRequestTask_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  199. var file_AcceptFriendAddRequestTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  200. var file_AcceptFriendAddRequestTask_proto_goTypes = []any{
  201. (AcceptFriendAddRequestTaskMessage_EnumFriendAddOperation)(0), // 0: Jubo.JuLiao.IM.Wx.Proto.AcceptFriendAddRequestTaskMessage.EnumFriendAddOperation
  202. (*AcceptFriendAddRequestTaskMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.AcceptFriendAddRequestTaskMessage
  203. }
  204. var file_AcceptFriendAddRequestTask_proto_depIdxs = []int32{
  205. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.AcceptFriendAddRequestTaskMessage.Operation:type_name -> Jubo.JuLiao.IM.Wx.Proto.AcceptFriendAddRequestTaskMessage.EnumFriendAddOperation
  206. 1, // [1:1] is the sub-list for method output_type
  207. 1, // [1:1] is the sub-list for method input_type
  208. 1, // [1:1] is the sub-list for extension type_name
  209. 1, // [1:1] is the sub-list for extension extendee
  210. 0, // [0:1] is the sub-list for field type_name
  211. }
  212. func init() { file_AcceptFriendAddRequestTask_proto_init() }
  213. func file_AcceptFriendAddRequestTask_proto_init() {
  214. if File_AcceptFriendAddRequestTask_proto != nil {
  215. return
  216. }
  217. type x struct{}
  218. out := protoimpl.TypeBuilder{
  219. File: protoimpl.DescBuilder{
  220. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  221. RawDescriptor: file_AcceptFriendAddRequestTask_proto_rawDesc,
  222. NumEnums: 1,
  223. NumMessages: 1,
  224. NumExtensions: 0,
  225. NumServices: 0,
  226. },
  227. GoTypes: file_AcceptFriendAddRequestTask_proto_goTypes,
  228. DependencyIndexes: file_AcceptFriendAddRequestTask_proto_depIdxs,
  229. EnumInfos: file_AcceptFriendAddRequestTask_proto_enumTypes,
  230. MessageInfos: file_AcceptFriendAddRequestTask_proto_msgTypes,
  231. }.Build()
  232. File_AcceptFriendAddRequestTask_proto = out.File
  233. file_AcceptFriendAddRequestTask_proto_rawDesc = nil
  234. file_AcceptFriendAddRequestTask_proto_goTypes = nil
  235. file_AcceptFriendAddRequestTask_proto_depIdxs = nil
  236. }