// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 // protoc v3.14.0 // source: pb/channel/msgpush.proto package channel import ( reflect "reflect" sync "sync" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) 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) ) type FocusInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ChannelIdList []uint64 `protobuf:"varint,1,rep,name=channelIdList" json:"channelIdList,omitempty"` } func (x *FocusInfo) Reset() { *x = FocusInfo{} if protoimpl.UnsafeEnabled { mi := &file_pb_channel_msgpush_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *FocusInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*FocusInfo) ProtoMessage() {} func (x *FocusInfo) ProtoReflect() protoreflect.Message { mi := &file_pb_channel_msgpush_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FocusInfo.ProtoReflect.Descriptor instead. func (*FocusInfo) Descriptor() ([]byte, []int) { return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{0} } func (x *FocusInfo) GetChannelIdList() []uint64 { if x != nil { return x.ChannelIdList } return nil } type MsgOnlinePush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep,name=msgs" json:"msgs,omitempty"` GeneralFlag *uint32 `protobuf:"varint,2,opt,name=generalFlag" json:"generalFlag,omitempty"` NeedResp *uint32 `protobuf:"varint,3,opt,name=needResp" json:"needResp,omitempty"` ServerBuf []byte `protobuf:"bytes,4,opt,name=serverBuf" json:"serverBuf,omitempty"` CompressFlag *uint32 `protobuf:"varint,5,opt,name=compressFlag" json:"compressFlag,omitempty"` CompressMsg []byte `protobuf:"bytes,6,opt,name=compressMsg" json:"compressMsg,omitempty"` FocusInfo *FocusInfo `protobuf:"bytes,7,opt,name=focusInfo" json:"focusInfo,omitempty"` HugeFlag *uint32 `protobuf:"varint,8,opt,name=hugeFlag" json:"hugeFlag,omitempty"` } func (x *MsgOnlinePush) Reset() { *x = MsgOnlinePush{} if protoimpl.UnsafeEnabled { mi := &file_pb_channel_msgpush_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MsgOnlinePush) String() string { return protoimpl.X.MessageStringOf(x) } func (*MsgOnlinePush) ProtoMessage() {} func (x *MsgOnlinePush) ProtoReflect() protoreflect.Message { mi := &file_pb_channel_msgpush_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MsgOnlinePush.ProtoReflect.Descriptor instead. func (*MsgOnlinePush) Descriptor() ([]byte, []int) { return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{1} } func (x *MsgOnlinePush) GetMsgs() []*ChannelMsgContent { if x != nil { return x.Msgs } return nil } func (x *MsgOnlinePush) GetGeneralFlag() uint32 { if x != nil && x.GeneralFlag != nil { return *x.GeneralFlag } return 0 } func (x *MsgOnlinePush) GetNeedResp() uint32 { if x != nil && x.NeedResp != nil { return *x.NeedResp } return 0 } func (x *MsgOnlinePush) GetServerBuf() []byte { if x != nil { return x.ServerBuf } return nil } func (x *MsgOnlinePush) GetCompressFlag() uint32 { if x != nil && x.CompressFlag != nil { return *x.CompressFlag } return 0 } func (x *MsgOnlinePush) GetCompressMsg() []byte { if x != nil { return x.CompressMsg } return nil } func (x *MsgOnlinePush) GetFocusInfo() *FocusInfo { if x != nil { return x.FocusInfo } return nil } func (x *MsgOnlinePush) GetHugeFlag() uint32 { if x != nil && x.HugeFlag != nil { return *x.HugeFlag } return 0 } type MsgPushResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ServerBuf []byte `protobuf:"bytes,1,opt,name=serverBuf" json:"serverBuf,omitempty"` } func (x *MsgPushResp) Reset() { *x = MsgPushResp{} if protoimpl.UnsafeEnabled { mi := &file_pb_channel_msgpush_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MsgPushResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MsgPushResp) ProtoMessage() {} func (x *MsgPushResp) ProtoReflect() protoreflect.Message { mi := &file_pb_channel_msgpush_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MsgPushResp.ProtoReflect.Descriptor instead. func (*MsgPushResp) Descriptor() ([]byte, []int) { return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{2} } func (x *MsgPushResp) GetServerBuf() []byte { if x != nil { return x.ServerBuf } return nil } type PressMsg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Msgs []*ChannelMsgContent `protobuf:"bytes,1,rep,name=msgs" json:"msgs,omitempty"` } func (x *PressMsg) Reset() { *x = PressMsg{} if protoimpl.UnsafeEnabled { mi := &file_pb_channel_msgpush_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PressMsg) String() string { return protoimpl.X.MessageStringOf(x) } func (*PressMsg) ProtoMessage() {} func (x *PressMsg) ProtoReflect() protoreflect.Message { mi := &file_pb_channel_msgpush_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PressMsg.ProtoReflect.Descriptor instead. func (*PressMsg) Descriptor() ([]byte, []int) { return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{3} } func (x *PressMsg) GetMsgs() []*ChannelMsgContent { if x != nil { return x.Msgs } return nil } type ServerBuf struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SvrIp *uint32 `protobuf:"varint,1,opt,name=svrIp" json:"svrIp,omitempty"` SvrPort *uint32 `protobuf:"varint,2,opt,name=svrPort" json:"svrPort,omitempty"` EchoKey []byte `protobuf:"bytes,3,opt,name=echoKey" json:"echoKey,omitempty"` } func (x *ServerBuf) Reset() { *x = ServerBuf{} if protoimpl.UnsafeEnabled { mi := &file_pb_channel_msgpush_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ServerBuf) String() string { return protoimpl.X.MessageStringOf(x) } func (*ServerBuf) ProtoMessage() {} func (x *ServerBuf) ProtoReflect() protoreflect.Message { mi := &file_pb_channel_msgpush_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ServerBuf.ProtoReflect.Descriptor instead. func (*ServerBuf) Descriptor() ([]byte, []int) { return file_pb_channel_msgpush_proto_rawDescGZIP(), []int{4} } func (x *ServerBuf) GetSvrIp() uint32 { if x != nil && x.SvrIp != nil { return *x.SvrIp } return 0 } func (x *ServerBuf) GetSvrPort() uint32 { if x != nil && x.SvrPort != nil { return *x.SvrPort } return 0 } func (x *ServerBuf) GetEchoKey() []byte { if x != nil { return x.EchoKey } return nil } var File_pb_channel_msgpush_proto protoreflect.FileDescriptor var file_pb_channel_msgpush_proto_rawDesc = []byte{ 0x0a, 0x18, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x6d, 0x73, 0x67, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x17, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x09, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xaf, 0x02, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x2e, 0x0a, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x73, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x73, 0x67, 0x12, 0x30, 0x0a, 0x09, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x46, 0x6f, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x75, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x75, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x2b, 0x0a, 0x0b, 0x4d, 0x73, 0x67, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x22, 0x3a, 0x0a, 0x08, 0x50, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x22, 0x55, 0x0a, 0x09, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x75, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x76, 0x72, 0x49, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x76, 0x72, 0x49, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x76, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x76, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x63, 0x68, 0x6f, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x63, 0x68, 0x6f, 0x4b, 0x65, 0x79, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, } var ( file_pb_channel_msgpush_proto_rawDescOnce sync.Once file_pb_channel_msgpush_proto_rawDescData = file_pb_channel_msgpush_proto_rawDesc ) func file_pb_channel_msgpush_proto_rawDescGZIP() []byte { file_pb_channel_msgpush_proto_rawDescOnce.Do(func() { file_pb_channel_msgpush_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_msgpush_proto_rawDescData) }) return file_pb_channel_msgpush_proto_rawDescData } var file_pb_channel_msgpush_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_pb_channel_msgpush_proto_goTypes = []interface{}{ (*FocusInfo)(nil), // 0: channel.FocusInfo (*MsgOnlinePush)(nil), // 1: channel.MsgOnlinePush (*MsgPushResp)(nil), // 2: channel.MsgPushResp (*PressMsg)(nil), // 3: channel.PressMsg (*ServerBuf)(nil), // 4: channel.ServerBuf (*ChannelMsgContent)(nil), // 5: channel.ChannelMsgContent } var file_pb_channel_msgpush_proto_depIdxs = []int32{ 5, // 0: channel.MsgOnlinePush.msgs:type_name -> channel.ChannelMsgContent 0, // 1: channel.MsgOnlinePush.focusInfo:type_name -> channel.FocusInfo 5, // 2: channel.PressMsg.msgs:type_name -> channel.ChannelMsgContent 3, // [3:3] is the sub-list for method output_type 3, // [3:3] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_pb_channel_msgpush_proto_init() } func file_pb_channel_msgpush_proto_init() { if File_pb_channel_msgpush_proto != nil { return } file_pb_channel_common_proto_init() if !protoimpl.UnsafeEnabled { file_pb_channel_msgpush_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FocusInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pb_channel_msgpush_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgOnlinePush); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pb_channel_msgpush_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgPushResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pb_channel_msgpush_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PressMsg); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_pb_channel_msgpush_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServerBuf); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_pb_channel_msgpush_proto_rawDesc, NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 0, }, GoTypes: file_pb_channel_msgpush_proto_goTypes, DependencyIndexes: file_pb_channel_msgpush_proto_depIdxs, MessageInfos: file_pb_channel_msgpush_proto_msgTypes, }.Build() File_pb_channel_msgpush_proto = out.File file_pb_channel_msgpush_proto_rawDesc = nil file_pb_channel_msgpush_proto_goTypes = nil file_pb_channel_msgpush_proto_depIdxs = nil }