123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v3.19.4
- // source: wecom/WCommonTriggerTask.proto
- package wecom
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // 通用Trigger任务消息
- type CommonTriggerTaskMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` //
- // 同步会话,0:所有会话;1 已加载的会话 2 下一页会话, &512 忽略群成员 &1024 忽略消息概要
- // 同步客户:Flag=1 只推送单向客户id
- Flag int32 `protobuf:"varint,2,opt,name=Flag,proto3" json:"Flag,omitempty"`
- Time int64 `protobuf:"varint,3,opt,name=Time,proto3" json:"Time,omitempty"` // 备用
- Offset int32 `protobuf:"varint,4,opt,name=Offset,proto3" json:"Offset,omitempty"`
- Limit int32 `protobuf:"varint,5,opt,name=Limit,proto3" json:"Limit,omitempty"`
- TaskId int64 `protobuf:"varint,8,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *CommonTriggerTaskMessage) Reset() {
- *x = CommonTriggerTaskMessage{}
- mi := &file_wecom_WCommonTriggerTask_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *CommonTriggerTaskMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CommonTriggerTaskMessage) ProtoMessage() {}
- func (x *CommonTriggerTaskMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WCommonTriggerTask_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CommonTriggerTaskMessage.ProtoReflect.Descriptor instead.
- func (*CommonTriggerTaskMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WCommonTriggerTask_proto_rawDescGZIP(), []int{0}
- }
- func (x *CommonTriggerTaskMessage) GetWxId() int64 {
- if x != nil {
- return x.WxId
- }
- return 0
- }
- func (x *CommonTriggerTaskMessage) GetFlag() int32 {
- if x != nil {
- return x.Flag
- }
- return 0
- }
- func (x *CommonTriggerTaskMessage) GetTime() int64 {
- if x != nil {
- return x.Time
- }
- return 0
- }
- func (x *CommonTriggerTaskMessage) GetOffset() int32 {
- if x != nil {
- return x.Offset
- }
- return 0
- }
- func (x *CommonTriggerTaskMessage) GetLimit() int32 {
- if x != nil {
- return x.Limit
- }
- return 0
- }
- func (x *CommonTriggerTaskMessage) GetTaskId() int64 {
- if x != nil {
- return x.TaskId
- }
- return 0
- }
- var File_wecom_WCommonTriggerTask_proto protoreflect.FileDescriptor
- const file_wecom_WCommonTriggerTask_proto_rawDesc = "" +
- "\n" +
- "\x1ewecom/WCommonTriggerTask.proto\x12\x10Im.Scrm.Ww.Proto\"\x9c\x01\n" +
- "\x18CommonTriggerTaskMessage\x12\x12\n" +
- "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x12\n" +
- "\x04Flag\x18\x02 \x01(\x05R\x04Flag\x12\x12\n" +
- "\x04Time\x18\x03 \x01(\x03R\x04Time\x12\x16\n" +
- "\x06Offset\x18\x04 \x01(\x05R\x06Offset\x12\x14\n" +
- "\x05Limit\x18\x05 \x01(\x05R\x05Limit\x12\x16\n" +
- "\x06TaskId\x18\b \x01(\x03R\x06TaskIdB\x13Z\x11./workphone/wecomb\x06proto3"
- var (
- file_wecom_WCommonTriggerTask_proto_rawDescOnce sync.Once
- file_wecom_WCommonTriggerTask_proto_rawDescData []byte
- )
- func file_wecom_WCommonTriggerTask_proto_rawDescGZIP() []byte {
- file_wecom_WCommonTriggerTask_proto_rawDescOnce.Do(func() {
- file_wecom_WCommonTriggerTask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCommonTriggerTask_proto_rawDesc), len(file_wecom_WCommonTriggerTask_proto_rawDesc)))
- })
- return file_wecom_WCommonTriggerTask_proto_rawDescData
- }
- var file_wecom_WCommonTriggerTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
- var file_wecom_WCommonTriggerTask_proto_goTypes = []any{
- (*CommonTriggerTaskMessage)(nil), // 0: Im.Scrm.Ww.Proto.CommonTriggerTaskMessage
- }
- var file_wecom_WCommonTriggerTask_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_wecom_WCommonTriggerTask_proto_init() }
- func file_wecom_WCommonTriggerTask_proto_init() {
- if File_wecom_WCommonTriggerTask_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCommonTriggerTask_proto_rawDesc), len(file_wecom_WCommonTriggerTask_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_wecom_WCommonTriggerTask_proto_goTypes,
- DependencyIndexes: file_wecom_WCommonTriggerTask_proto_depIdxs,
- MessageInfos: file_wecom_WCommonTriggerTask_proto_msgTypes,
- }.Build()
- File_wecom_WCommonTriggerTask_proto = out.File
- file_wecom_WCommonTriggerTask_proto_goTypes = nil
- file_wecom_WCommonTriggerTask_proto_depIdxs = nil
- }
|