// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.23.0
// 	protoc        v3.13.0
// source: model/red_dot.proto

package proto

import (
	proto "github.com/golang/protobuf/proto"
	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)
)

// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4

//红点
type RedDot struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	//红点编号
	RedDotNo int32 `protobuf:"varint,1,opt,name=red_dot_no,json=redDotNo,proto3" json:"red_dot_no,omitempty"`
	//是否开启
	Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"`
	//业务id；
	//比如获得新勇士：玩家有3个新未读勇士 则发一个数组为3的[]RedDotBusinessId
	BusinessIds []*RedDotBusinessId `protobuf:"bytes,3,rep,name=business_ids,json=businessIds,proto3" json:"business_ids,omitempty"`
}

func (x *RedDot) Reset() {
	*x = RedDot{}
	if protoimpl.UnsafeEnabled {
		mi := &file_model_red_dot_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RedDot) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RedDot) ProtoMessage() {}

func (x *RedDot) ProtoReflect() protoreflect.Message {
	mi := &file_model_red_dot_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 RedDot.ProtoReflect.Descriptor instead.
func (*RedDot) Descriptor() ([]byte, []int) {
	return file_model_red_dot_proto_rawDescGZIP(), []int{0}
}

func (x *RedDot) GetRedDotNo() int32 {
	if x != nil {
		return x.RedDotNo
	}
	return 0
}

func (x *RedDot) GetOpen() bool {
	if x != nil {
		return x.Open
	}
	return false
}

func (x *RedDot) GetBusinessIds() []*RedDotBusinessId {
	if x != nil {
		return x.BusinessIds
	}
	return nil
}

//业务id
type RedDotBusinessId struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	//格式为["warrior_1"] 勇士A
	//或者["companion_1","stage_1"] 伴侣A的剧情1
	BusinessIds []string `protobuf:"bytes,1,rep,name=business_ids,json=businessIds,proto3" json:"business_ids,omitempty"`
}

func (x *RedDotBusinessId) Reset() {
	*x = RedDotBusinessId{}
	if protoimpl.UnsafeEnabled {
		mi := &file_model_red_dot_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *RedDotBusinessId) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RedDotBusinessId) ProtoMessage() {}

func (x *RedDotBusinessId) ProtoReflect() protoreflect.Message {
	mi := &file_model_red_dot_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 RedDotBusinessId.ProtoReflect.Descriptor instead.
func (*RedDotBusinessId) Descriptor() ([]byte, []int) {
	return file_model_red_dot_proto_rawDescGZIP(), []int{1}
}

func (x *RedDotBusinessId) GetBusinessIds() []string {
	if x != nil {
		return x.BusinessIds
	}
	return nil
}

var File_model_red_dot_proto protoreflect.FileDescriptor

var file_model_red_dot_proto_rawDesc = []byte{
	0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x74, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x76, 0x0a, 0x06,
	0x52, 0x65, 0x64, 0x44, 0x6f, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x6f,
	0x74, 0x5f, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x64, 0x44,
	0x6f, 0x74, 0x4e, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x08, 0x52, 0x04, 0x6f, 0x70, 0x65, 0x6e, 0x12, 0x3a, 0x0a, 0x0c, 0x62, 0x75, 0x73, 0x69,
	0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x64, 0x44, 0x6f, 0x74, 0x42, 0x75, 0x73,
	0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x52, 0x0b, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
	0x73, 0x49, 0x64, 0x73, 0x22, 0x35, 0x0a, 0x10, 0x52, 0x65, 0x64, 0x44, 0x6f, 0x74, 0x42, 0x75,
	0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x75, 0x73, 0x69,
	0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b,
	0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x33,
}

var (
	file_model_red_dot_proto_rawDescOnce sync.Once
	file_model_red_dot_proto_rawDescData = file_model_red_dot_proto_rawDesc
)

func file_model_red_dot_proto_rawDescGZIP() []byte {
	file_model_red_dot_proto_rawDescOnce.Do(func() {
		file_model_red_dot_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_red_dot_proto_rawDescData)
	})
	return file_model_red_dot_proto_rawDescData
}

var file_model_red_dot_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_model_red_dot_proto_goTypes = []interface{}{
	(*RedDot)(nil),           // 0: proto.RedDot
	(*RedDotBusinessId)(nil), // 1: proto.RedDotBusinessId
}
var file_model_red_dot_proto_depIdxs = []int32{
	1, // 0: proto.RedDot.business_ids:type_name -> proto.RedDotBusinessId
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_model_red_dot_proto_init() }
func file_model_red_dot_proto_init() {
	if File_model_red_dot_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_model_red_dot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RedDot); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_model_red_dot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*RedDotBusinessId); 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_model_red_dot_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_model_red_dot_proto_goTypes,
		DependencyIndexes: file_model_red_dot_proto_depIdxs,
		MessageInfos:      file_model_red_dot_proto_msgTypes,
	}.Build()
	File_model_red_dot_proto = out.File
	file_model_red_dot_proto_rawDesc = nil
	file_model_red_dot_proto_goTypes = nil
	file_model_red_dot_proto_depIdxs = nil
}
