WCommonTriggerTask.pb.go 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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/WCommonTriggerTask.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. // 通用Trigger任务消息
  21. type CommonTriggerTaskMessage struct {
  22. state protoimpl.MessageState `protogen:"open.v1"`
  23. WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
  24. // 同步会话,0:所有会话;1 已加载的会话 2 下一页会话, &512 忽略群成员 &1024 忽略消息概要
  25. // 同步客户:Flag=1 只推送单向客户id
  26. Flag int32 `protobuf:"varint,2,opt,name=Flag,proto3" json:"Flag,omitempty"`
  27. Time int64 `protobuf:"varint,3,opt,name=Time,proto3" json:"Time,omitempty"` // 备用
  28. Offset int32 `protobuf:"varint,4,opt,name=Offset,proto3" json:"Offset,omitempty"`
  29. Limit int32 `protobuf:"varint,5,opt,name=Limit,proto3" json:"Limit,omitempty"`
  30. TaskId int64 `protobuf:"varint,8,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  31. unknownFields protoimpl.UnknownFields
  32. sizeCache protoimpl.SizeCache
  33. }
  34. func (x *CommonTriggerTaskMessage) Reset() {
  35. *x = CommonTriggerTaskMessage{}
  36. mi := &file_wecom_WCommonTriggerTask_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. func (x *CommonTriggerTaskMessage) String() string {
  41. return protoimpl.X.MessageStringOf(x)
  42. }
  43. func (*CommonTriggerTaskMessage) ProtoMessage() {}
  44. func (x *CommonTriggerTaskMessage) ProtoReflect() protoreflect.Message {
  45. mi := &file_wecom_WCommonTriggerTask_proto_msgTypes[0]
  46. if x != nil {
  47. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  48. if ms.LoadMessageInfo() == nil {
  49. ms.StoreMessageInfo(mi)
  50. }
  51. return ms
  52. }
  53. return mi.MessageOf(x)
  54. }
  55. // Deprecated: Use CommonTriggerTaskMessage.ProtoReflect.Descriptor instead.
  56. func (*CommonTriggerTaskMessage) Descriptor() ([]byte, []int) {
  57. return file_wecom_WCommonTriggerTask_proto_rawDescGZIP(), []int{0}
  58. }
  59. func (x *CommonTriggerTaskMessage) GetWxId() int64 {
  60. if x != nil {
  61. return x.WxId
  62. }
  63. return 0
  64. }
  65. func (x *CommonTriggerTaskMessage) GetFlag() int32 {
  66. if x != nil {
  67. return x.Flag
  68. }
  69. return 0
  70. }
  71. func (x *CommonTriggerTaskMessage) GetTime() int64 {
  72. if x != nil {
  73. return x.Time
  74. }
  75. return 0
  76. }
  77. func (x *CommonTriggerTaskMessage) GetOffset() int32 {
  78. if x != nil {
  79. return x.Offset
  80. }
  81. return 0
  82. }
  83. func (x *CommonTriggerTaskMessage) GetLimit() int32 {
  84. if x != nil {
  85. return x.Limit
  86. }
  87. return 0
  88. }
  89. func (x *CommonTriggerTaskMessage) GetTaskId() int64 {
  90. if x != nil {
  91. return x.TaskId
  92. }
  93. return 0
  94. }
  95. var File_wecom_WCommonTriggerTask_proto protoreflect.FileDescriptor
  96. const file_wecom_WCommonTriggerTask_proto_rawDesc = "" +
  97. "\n" +
  98. "\x1ewecom/WCommonTriggerTask.proto\x12\x10Im.Scrm.Ww.Proto\"\x9c\x01\n" +
  99. "\x18CommonTriggerTaskMessage\x12\x12\n" +
  100. "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x12\n" +
  101. "\x04Flag\x18\x02 \x01(\x05R\x04Flag\x12\x12\n" +
  102. "\x04Time\x18\x03 \x01(\x03R\x04Time\x12\x16\n" +
  103. "\x06Offset\x18\x04 \x01(\x05R\x06Offset\x12\x14\n" +
  104. "\x05Limit\x18\x05 \x01(\x05R\x05Limit\x12\x16\n" +
  105. "\x06TaskId\x18\b \x01(\x03R\x06TaskIdB\x13Z\x11./workphone/wecomb\x06proto3"
  106. var (
  107. file_wecom_WCommonTriggerTask_proto_rawDescOnce sync.Once
  108. file_wecom_WCommonTriggerTask_proto_rawDescData []byte
  109. )
  110. func file_wecom_WCommonTriggerTask_proto_rawDescGZIP() []byte {
  111. file_wecom_WCommonTriggerTask_proto_rawDescOnce.Do(func() {
  112. file_wecom_WCommonTriggerTask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCommonTriggerTask_proto_rawDesc), len(file_wecom_WCommonTriggerTask_proto_rawDesc)))
  113. })
  114. return file_wecom_WCommonTriggerTask_proto_rawDescData
  115. }
  116. var file_wecom_WCommonTriggerTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  117. var file_wecom_WCommonTriggerTask_proto_goTypes = []any{
  118. (*CommonTriggerTaskMessage)(nil), // 0: Im.Scrm.Ww.Proto.CommonTriggerTaskMessage
  119. }
  120. var file_wecom_WCommonTriggerTask_proto_depIdxs = []int32{
  121. 0, // [0:0] is the sub-list for method output_type
  122. 0, // [0:0] is the sub-list for method input_type
  123. 0, // [0:0] is the sub-list for extension type_name
  124. 0, // [0:0] is the sub-list for extension extendee
  125. 0, // [0:0] is the sub-list for field type_name
  126. }
  127. func init() { file_wecom_WCommonTriggerTask_proto_init() }
  128. func file_wecom_WCommonTriggerTask_proto_init() {
  129. if File_wecom_WCommonTriggerTask_proto != nil {
  130. return
  131. }
  132. type x struct{}
  133. out := protoimpl.TypeBuilder{
  134. File: protoimpl.DescBuilder{
  135. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  136. RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCommonTriggerTask_proto_rawDesc), len(file_wecom_WCommonTriggerTask_proto_rawDesc)),
  137. NumEnums: 0,
  138. NumMessages: 1,
  139. NumExtensions: 0,
  140. NumServices: 0,
  141. },
  142. GoTypes: file_wecom_WCommonTriggerTask_proto_goTypes,
  143. DependencyIndexes: file_wecom_WCommonTriggerTask_proto_depIdxs,
  144. MessageInfos: file_wecom_WCommonTriggerTask_proto_msgTypes,
  145. }.Build()
  146. File_wecom_WCommonTriggerTask_proto = out.File
  147. file_wecom_WCommonTriggerTask_proto_goTypes = nil
  148. file_wecom_WCommonTriggerTask_proto_depIdxs = nil
  149. }