508 lines
16 KiB
Go
508 lines
16 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: reddot/reddot_msg.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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 ReddotItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Rid int32 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid"` //红点id
|
|
Activated bool `protobuf:"varint,2,opt,name=activated,proto3" json:"activated"` //是否激活
|
|
Nextchanagetime int64 `protobuf:"varint,3,opt,name=nextchanagetime,proto3" json:"nextchanagetime"` //下次变化时间 为0 不处理
|
|
Progress int32 `protobuf:"varint,4,opt,name=progress,proto3" json:"progress"` //进度
|
|
Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total"` //总值
|
|
}
|
|
|
|
func (x *ReddotItem) Reset() {
|
|
*x = ReddotItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_reddot_reddot_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReddotItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReddotItem) ProtoMessage() {}
|
|
|
|
func (x *ReddotItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_reddot_reddot_msg_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 ReddotItem.ProtoReflect.Descriptor instead.
|
|
func (*ReddotItem) Descriptor() ([]byte, []int) {
|
|
return file_reddot_reddot_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ReddotItem) GetRid() int32 {
|
|
if x != nil {
|
|
return x.Rid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReddotItem) GetActivated() bool {
|
|
if x != nil {
|
|
return x.Activated
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ReddotItem) GetNextchanagetime() int64 {
|
|
if x != nil {
|
|
return x.Nextchanagetime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReddotItem) GetProgress() int32 {
|
|
if x != nil {
|
|
return x.Progress
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReddotItem) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//红点信息请求
|
|
type ReddotGetAllReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ReddotGetAllReq) Reset() {
|
|
*x = ReddotGetAllReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_reddot_reddot_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReddotGetAllReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReddotGetAllReq) ProtoMessage() {}
|
|
|
|
func (x *ReddotGetAllReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_reddot_reddot_msg_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 ReddotGetAllReq.ProtoReflect.Descriptor instead.
|
|
func (*ReddotGetAllReq) Descriptor() ([]byte, []int) {
|
|
return file_reddot_reddot_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type ReddotGetAllResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Reddot map[int32]*ReddotItem `protobuf:"bytes,1,rep,name=reddot,proto3" json:"reddot" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //红点信息
|
|
}
|
|
|
|
func (x *ReddotGetAllResp) Reset() {
|
|
*x = ReddotGetAllResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_reddot_reddot_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReddotGetAllResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReddotGetAllResp) ProtoMessage() {}
|
|
|
|
func (x *ReddotGetAllResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_reddot_reddot_msg_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 ReddotGetAllResp.ProtoReflect.Descriptor instead.
|
|
func (*ReddotGetAllResp) Descriptor() ([]byte, []int) {
|
|
return file_reddot_reddot_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ReddotGetAllResp) GetReddot() map[int32]*ReddotItem {
|
|
if x != nil {
|
|
return x.Reddot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//红点信息请求
|
|
type ReddotGetReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Rids []int32 `protobuf:"varint,1,rep,packed,name=rids,proto3" json:"rids"`
|
|
}
|
|
|
|
func (x *ReddotGetReq) Reset() {
|
|
*x = ReddotGetReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_reddot_reddot_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReddotGetReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReddotGetReq) ProtoMessage() {}
|
|
|
|
func (x *ReddotGetReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_reddot_reddot_msg_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 ReddotGetReq.ProtoReflect.Descriptor instead.
|
|
func (*ReddotGetReq) Descriptor() ([]byte, []int) {
|
|
return file_reddot_reddot_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ReddotGetReq) GetRids() []int32 {
|
|
if x != nil {
|
|
return x.Rids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReddotGetResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Reddot map[int32]*ReddotItem `protobuf:"bytes,1,rep,name=reddot,proto3" json:"reddot" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //红点信息
|
|
}
|
|
|
|
func (x *ReddotGetResp) Reset() {
|
|
*x = ReddotGetResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_reddot_reddot_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReddotGetResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReddotGetResp) ProtoMessage() {}
|
|
|
|
func (x *ReddotGetResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_reddot_reddot_msg_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 ReddotGetResp.ProtoReflect.Descriptor instead.
|
|
func (*ReddotGetResp) Descriptor() ([]byte, []int) {
|
|
return file_reddot_reddot_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ReddotGetResp) GetReddot() map[int32]*ReddotItem {
|
|
if x != nil {
|
|
return x.Reddot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//推送红点改变
|
|
type ReddotChangePush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Rids []*ReddotItem `protobuf:"bytes,1,rep,name=rids,proto3" json:"rids"`
|
|
}
|
|
|
|
func (x *ReddotChangePush) Reset() {
|
|
*x = ReddotChangePush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_reddot_reddot_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReddotChangePush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReddotChangePush) ProtoMessage() {}
|
|
|
|
func (x *ReddotChangePush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_reddot_reddot_msg_proto_msgTypes[5]
|
|
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 ReddotChangePush.ProtoReflect.Descriptor instead.
|
|
func (*ReddotChangePush) Descriptor() ([]byte, []int) {
|
|
return file_reddot_reddot_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ReddotChangePush) GetRids() []*ReddotItem {
|
|
if x != nil {
|
|
return x.Rids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_reddot_reddot_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_reddot_reddot_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x17, 0x72, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x2f, 0x72, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x5f,
|
|
0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x0a, 0x52, 0x65,
|
|
0x64, 0x64, 0x6f, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63,
|
|
0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61,
|
|
0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
|
|
0x63, 0x68, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x74, 0x69,
|
|
0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14,
|
|
0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74,
|
|
0x6f, 0x74, 0x61, 0x6c, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x47, 0x65,
|
|
0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x22, 0x91, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x64, 0x64,
|
|
0x6f, 0x74, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x35, 0x0a, 0x06,
|
|
0x72, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x52,
|
|
0x65, 0x64, 0x64, 0x6f, 0x74, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x2e,
|
|
0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x64,
|
|
0x64, 0x6f, 0x74, 0x1a, 0x46, 0x0a, 0x0b, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x45, 0x6e, 0x74,
|
|
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x49, 0x74, 0x65, 0x6d,
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x22, 0x0a, 0x0c, 0x52,
|
|
0x65, 0x64, 0x64, 0x6f, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x72,
|
|
0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x04, 0x72, 0x69, 0x64, 0x73, 0x22,
|
|
0x8b, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73,
|
|
0x70, 0x12, 0x32, 0x0a, 0x06, 0x72, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73,
|
|
0x70, 0x2e, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72,
|
|
0x65, 0x64, 0x64, 0x6f, 0x74, 0x1a, 0x46, 0x0a, 0x0b, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x49, 0x74,
|
|
0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x33, 0x0a,
|
|
0x10, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73,
|
|
0x68, 0x12, 0x1f, 0x0a, 0x04, 0x72, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x0b, 0x2e, 0x52, 0x65, 0x64, 0x64, 0x6f, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x72, 0x69,
|
|
0x64, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_reddot_reddot_msg_proto_rawDescOnce sync.Once
|
|
file_reddot_reddot_msg_proto_rawDescData = file_reddot_reddot_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_reddot_reddot_msg_proto_rawDescGZIP() []byte {
|
|
file_reddot_reddot_msg_proto_rawDescOnce.Do(func() {
|
|
file_reddot_reddot_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_reddot_reddot_msg_proto_rawDescData)
|
|
})
|
|
return file_reddot_reddot_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_reddot_reddot_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
var file_reddot_reddot_msg_proto_goTypes = []interface{}{
|
|
(*ReddotItem)(nil), // 0: ReddotItem
|
|
(*ReddotGetAllReq)(nil), // 1: ReddotGetAllReq
|
|
(*ReddotGetAllResp)(nil), // 2: ReddotGetAllResp
|
|
(*ReddotGetReq)(nil), // 3: ReddotGetReq
|
|
(*ReddotGetResp)(nil), // 4: ReddotGetResp
|
|
(*ReddotChangePush)(nil), // 5: ReddotChangePush
|
|
nil, // 6: ReddotGetAllResp.ReddotEntry
|
|
nil, // 7: ReddotGetResp.ReddotEntry
|
|
}
|
|
var file_reddot_reddot_msg_proto_depIdxs = []int32{
|
|
6, // 0: ReddotGetAllResp.reddot:type_name -> ReddotGetAllResp.ReddotEntry
|
|
7, // 1: ReddotGetResp.reddot:type_name -> ReddotGetResp.ReddotEntry
|
|
0, // 2: ReddotChangePush.rids:type_name -> ReddotItem
|
|
0, // 3: ReddotGetAllResp.ReddotEntry.value:type_name -> ReddotItem
|
|
0, // 4: ReddotGetResp.ReddotEntry.value:type_name -> ReddotItem
|
|
5, // [5:5] is the sub-list for method output_type
|
|
5, // [5:5] is the sub-list for method input_type
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
0, // [0:5] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_reddot_reddot_msg_proto_init() }
|
|
func file_reddot_reddot_msg_proto_init() {
|
|
if File_reddot_reddot_msg_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_reddot_reddot_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReddotItem); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_reddot_reddot_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReddotGetAllReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_reddot_reddot_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReddotGetAllResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_reddot_reddot_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReddotGetReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_reddot_reddot_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReddotGetResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_reddot_reddot_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReddotChangePush); 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_reddot_reddot_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 8,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_reddot_reddot_msg_proto_goTypes,
|
|
DependencyIndexes: file_reddot_reddot_msg_proto_depIdxs,
|
|
MessageInfos: file_reddot_reddot_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_reddot_reddot_msg_proto = out.File
|
|
file_reddot_reddot_msg_proto_rawDesc = nil
|
|
file_reddot_reddot_msg_proto_goTypes = nil
|
|
file_reddot_reddot_msg_proto_depIdxs = nil
|
|
}
|