aozhiwei 75819b839f 1
2020-12-04 15:37:10 +08:00

573 lines
17 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc (unknown)
// source: mt.proto
package mt
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 ServerInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId *int32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
ListenIp *string `protobuf:"bytes,2,opt,name=listen_ip,json=listenIp" json:"listen_ip,omitempty"`
ListenPort *int32 `protobuf:"varint,3,opt,name=listen_port,json=listenPort" json:"listen_port,omitempty"`
Testing *int32 `protobuf:"varint,4,opt,name=testing" json:"testing,omitempty"`
}
func (x *ServerInfo) Reset() {
*x = ServerInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServerInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerInfo) ProtoMessage() {}
func (x *ServerInfo) ProtoReflect() protoreflect.Message {
mi := &file_mt_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 ServerInfo.ProtoReflect.Descriptor instead.
func (*ServerInfo) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{0}
}
func (x *ServerInfo) GetInstanceId() int32 {
if x != nil && x.InstanceId != nil {
return *x.InstanceId
}
return 0
}
func (x *ServerInfo) GetListenIp() string {
if x != nil && x.ListenIp != nil {
return *x.ListenIp
}
return ""
}
func (x *ServerInfo) GetListenPort() int32 {
if x != nil && x.ListenPort != nil {
return *x.ListenPort
}
return 0
}
func (x *ServerInfo) GetTesting() int32 {
if x != nil && x.Testing != nil {
return *x.Testing
}
return 0
}
type Game2005MysqlConf struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
InstanceId *int32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
Port *int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
User *string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
Passwd *string `protobuf:"bytes,5,opt,name=passwd" json:"passwd,omitempty"`
Database *string `protobuf:"bytes,6,opt,name=database" json:"database,omitempty"`
}
func (x *Game2005MysqlConf) Reset() {
*x = Game2005MysqlConf{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Game2005MysqlConf) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Game2005MysqlConf) ProtoMessage() {}
func (x *Game2005MysqlConf) ProtoReflect() protoreflect.Message {
mi := &file_mt_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 Game2005MysqlConf.ProtoReflect.Descriptor instead.
func (*Game2005MysqlConf) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{1}
}
func (x *Game2005MysqlConf) GetInstanceId() int32 {
if x != nil && x.InstanceId != nil {
return *x.InstanceId
}
return 0
}
func (x *Game2005MysqlConf) GetHost() string {
if x != nil && x.Host != nil {
return *x.Host
}
return ""
}
func (x *Game2005MysqlConf) GetPort() int32 {
if x != nil && x.Port != nil {
return *x.Port
}
return 0
}
func (x *Game2005MysqlConf) GetUser() string {
if x != nil && x.User != nil {
return *x.User
}
return ""
}
func (x *Game2005MysqlConf) GetPasswd() string {
if x != nil && x.Passwd != nil {
return *x.Passwd
}
return ""
}
func (x *Game2005MysqlConf) GetDatabase() string {
if x != nil && x.Database != nil {
return *x.Database
}
return ""
}
type Game2005Mail struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Mailid *int32 `protobuf:"varint,1,opt,name=mailid" json:"mailid,omitempty"`
Subject *string `protobuf:"bytes,2,opt,name=subject" json:"subject,omitempty"`
Content *string `protobuf:"bytes,3,opt,name=content" json:"content,omitempty"`
Sendtime *string `protobuf:"bytes,4,opt,name=sendtime" json:"sendtime,omitempty"`
Attachments *string `protobuf:"bytes,5,opt,name=attachments" json:"attachments,omitempty"`
}
func (x *Game2005Mail) Reset() {
*x = Game2005Mail{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Game2005Mail) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Game2005Mail) ProtoMessage() {}
func (x *Game2005Mail) ProtoReflect() protoreflect.Message {
mi := &file_mt_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 Game2005Mail.ProtoReflect.Descriptor instead.
func (*Game2005Mail) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{2}
}
func (x *Game2005Mail) GetMailid() int32 {
if x != nil && x.Mailid != nil {
return *x.Mailid
}
return 0
}
func (x *Game2005Mail) GetSubject() string {
if x != nil && x.Subject != nil {
return *x.Subject
}
return ""
}
func (x *Game2005Mail) GetContent() string {
if x != nil && x.Content != nil {
return *x.Content
}
return ""
}
func (x *Game2005Mail) GetSendtime() string {
if x != nil && x.Sendtime != nil {
return *x.Sendtime
}
return ""
}
func (x *Game2005Mail) GetAttachments() string {
if x != nil && x.Attachments != nil {
return *x.Attachments
}
return ""
}
type Game2005MailMetas struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Values []*Game2005Mail `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (x *Game2005MailMetas) Reset() {
*x = Game2005MailMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Game2005MailMetas) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Game2005MailMetas) ProtoMessage() {}
func (x *Game2005MailMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_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 Game2005MailMetas.ProtoReflect.Descriptor instead.
func (*Game2005MailMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{3}
}
func (x *Game2005MailMetas) GetValues() []*Game2005Mail {
if x != nil {
return x.Values
}
return nil
}
type Game2005MysqlConfMetas struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Values []*Game2005MysqlConf `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (x *Game2005MysqlConfMetas) Reset() {
*x = Game2005MysqlConfMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Game2005MysqlConfMetas) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Game2005MysqlConfMetas) ProtoMessage() {}
func (x *Game2005MysqlConfMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_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 Game2005MysqlConfMetas.ProtoReflect.Descriptor instead.
func (*Game2005MysqlConfMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{4}
}
func (x *Game2005MysqlConfMetas) GetValues() []*Game2005MysqlConf {
if x != nil {
return x.Values
}
return nil
}
type ServerInfoMetas struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Values []*ServerInfo `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
}
func (x *ServerInfoMetas) Reset() {
*x = ServerInfoMetas{}
if protoimpl.UnsafeEnabled {
mi := &file_mt_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServerInfoMetas) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerInfoMetas) ProtoMessage() {}
func (x *ServerInfoMetas) ProtoReflect() protoreflect.Message {
mi := &file_mt_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 ServerInfoMetas.ProtoReflect.Descriptor instead.
func (*ServerInfoMetas) Descriptor() ([]byte, []int) {
return file_mt_proto_rawDescGZIP(), []int{5}
}
func (x *ServerInfoMetas) GetValues() []*ServerInfo {
if x != nil {
return x.Values
}
return nil
}
var File_mt_proto protoreflect.FileDescriptor
var file_mt_proto_rawDesc = []byte{
0x0a, 0x08, 0x6d, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x6d, 0x74, 0x22, 0x5a,
0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x13, 0x0a, 0x0b,
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x12, 0x11, 0x0a, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x69, 0x70, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x12, 0x13, 0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x5f, 0x70,
0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x12, 0x0f, 0x0a, 0x07, 0x74, 0x65, 0x73,
0x74, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x22, 0x74, 0x0a, 0x11, 0x47, 0x61,
0x6d, 0x65, 0x32, 0x30, 0x30, 0x35, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x12,
0x13, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x12, 0x0c, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x12, 0x0c, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
0x12, 0x0c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x12, 0x0e,
0x0a, 0x06, 0x70, 0x61, 0x73, 0x73, 0x77, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x12, 0x10,
0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
0x22, 0x67, 0x0a, 0x0c, 0x47, 0x61, 0x6d, 0x65, 0x32, 0x30, 0x30, 0x35, 0x4d, 0x61, 0x69, 0x6c,
0x12, 0x0e, 0x0a, 0x06, 0x6d, 0x61, 0x69, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x12, 0x0f, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x12, 0x0f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
0x28, 0x09, 0x12, 0x10, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x12, 0x13, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65,
0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x22, 0x35, 0x0a, 0x11, 0x47, 0x61, 0x6d,
0x65, 0x32, 0x30, 0x30, 0x35, 0x4d, 0x61, 0x69, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x20,
0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10,
0x2e, 0x6d, 0x74, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x32, 0x30, 0x30, 0x35, 0x4d, 0x61, 0x69, 0x6c,
0x22, 0x3f, 0x0a, 0x16, 0x47, 0x61, 0x6d, 0x65, 0x32, 0x30, 0x30, 0x35, 0x4d, 0x79, 0x73, 0x71,
0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x06, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x74, 0x2e,
0x47, 0x61, 0x6d, 0x65, 0x32, 0x30, 0x30, 0x35, 0x4d, 0x79, 0x73, 0x71, 0x6c, 0x43, 0x6f, 0x6e,
0x66, 0x22, 0x31, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4d,
0x65, 0x74, 0x61, 0x73, 0x12, 0x1e, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x49, 0x6e, 0x66, 0x6f, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x6d, 0x74,
}
var (
file_mt_proto_rawDescOnce sync.Once
file_mt_proto_rawDescData = file_mt_proto_rawDesc
)
func file_mt_proto_rawDescGZIP() []byte {
file_mt_proto_rawDescOnce.Do(func() {
file_mt_proto_rawDescData = protoimpl.X.CompressGZIP(file_mt_proto_rawDescData)
})
return file_mt_proto_rawDescData
}
var file_mt_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_mt_proto_goTypes = []interface{}{
(*ServerInfo)(nil), // 0: mt.ServerInfo
(*Game2005MysqlConf)(nil), // 1: mt.Game2005MysqlConf
(*Game2005Mail)(nil), // 2: mt.Game2005Mail
(*Game2005MailMetas)(nil), // 3: mt.Game2005MailMetas
(*Game2005MysqlConfMetas)(nil), // 4: mt.Game2005MysqlConfMetas
(*ServerInfoMetas)(nil), // 5: mt.ServerInfoMetas
}
var file_mt_proto_depIdxs = []int32{
2, // 0: mt.Game2005MailMetas.values:type_name -> mt.Game2005Mail
1, // 1: mt.Game2005MysqlConfMetas.values:type_name -> mt.Game2005MysqlConf
0, // 2: mt.ServerInfoMetas.values:type_name -> mt.ServerInfo
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_mt_proto_init() }
func file_mt_proto_init() {
if File_mt_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_mt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServerInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Game2005MysqlConf); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Game2005Mail); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Game2005MailMetas); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Game2005MysqlConfMetas); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mt_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServerInfoMetas); 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_mt_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_mt_proto_goTypes,
DependencyIndexes: file_mt_proto_depIdxs,
MessageInfos: file_mt_proto_msgTypes,
}.Build()
File_mt_proto = out.File
file_mt_proto_rawDesc = nil
file_mt_proto_goTypes = nil
file_mt_proto_depIdxs = nil
}