2019-05-24 19:38:29 -05:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: config.proto
|
|
|
|
|
|
|
|
package witProtobuf
|
|
|
|
|
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
USER string `protobuf:"bytes,1,opt,name=USER,proto3" json:"USER,omitempty"`
|
|
|
|
Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
|
|
|
|
Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
|
|
|
Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
|
|
Debugging bool `protobuf:"varint,5,opt,name=debugging,proto3" json:"debugging,omitempty"`
|
|
|
|
Debugtable bool `protobuf:"varint,6,opt,name=debugtable,proto3" json:"debugtable,omitempty"`
|
2019-05-24 20:31:05 -05:00
|
|
|
Filename string `protobuf:"bytes,7,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
|
|
Accounts []*Config_Account `protobuf:"bytes,8,rep,name=accounts,proto3" json:"accounts,omitempty"`
|
2019-05-25 02:09:24 -05:00
|
|
|
Counter int32 `protobuf:"varint,9,opt,name=counter,proto3" json:"counter,omitempty"`
|
2019-05-25 02:11:10 -05:00
|
|
|
Errors int32 `protobuf:"varint,10,opt,name=errors,proto3" json:"errors,omitempty"`
|
|
|
|
Crashes int32 `protobuf:"varint,11,opt,name=crashes,proto3" json:"crashes,omitempty"`
|
|
|
|
Crash string `protobuf:"bytes,12,opt,name=crash,proto3" json:"crash,omitempty"`
|
2019-05-24 19:38:29 -05:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) Reset() { *m = Config{} }
|
|
|
|
func (m *Config) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Config) ProtoMessage() {}
|
|
|
|
func (*Config) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3eaf2c85e69e9ea4, []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Config.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Config.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Config) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Config.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Config) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Config.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Config) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Config.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Config proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Config) GetUSER() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.USER
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetWidth() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Width
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetHeight() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Height
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetHostname() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hostname
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetDebugging() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Debugging
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetDebugtable() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Debugtable
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2019-05-24 20:31:05 -05:00
|
|
|
func (m *Config) GetFilename() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Filename
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-24 19:38:29 -05:00
|
|
|
func (m *Config) GetAccounts() []*Config_Account {
|
|
|
|
if m != nil {
|
|
|
|
return m.Accounts
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-05-25 02:09:24 -05:00
|
|
|
func (m *Config) GetCounter() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Counter
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-05-25 02:11:10 -05:00
|
|
|
func (m *Config) GetErrors() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Errors
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetCrashes() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Crashes
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetCrash() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Crash
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-24 19:38:29 -05:00
|
|
|
type Config_Account struct {
|
|
|
|
Nick string `protobuf:"bytes,1,opt,name=nick,proto3" json:"nick,omitempty"`
|
|
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
|
|
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
|
|
|
|
Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
|
|
Domainname string `protobuf:"bytes,6,opt,name=domainname,proto3" json:"domainname,omitempty"`
|
|
|
|
Port int32 `protobuf:"varint,7,opt,name=port,proto3" json:"port,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) Reset() { *m = Config_Account{} }
|
|
|
|
func (m *Config_Account) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Config_Account) ProtoMessage() {}
|
|
|
|
func (*Config_Account) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_3eaf2c85e69e9ea4, []int{0, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Config_Account.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Config_Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Config_Account.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Config_Account) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Config_Account.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Config_Account) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Config_Account.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Config_Account) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Config_Account.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Config_Account proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Config_Account) GetNick() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Nick
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) GetUsername() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Username
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) GetToken() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Token
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) GetPassword() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Password
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) GetHostname() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hostname
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) GetDomainname() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Domainname
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config_Account) GetPort() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Port
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Config)(nil), "witProtobuf.Config")
|
|
|
|
proto.RegisterType((*Config_Account)(nil), "witProtobuf.Config.Account")
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("config.proto", fileDescriptor_3eaf2c85e69e9ea4) }
|
|
|
|
|
|
|
|
var fileDescriptor_3eaf2c85e69e9ea4 = []byte{
|
2019-05-25 02:11:10 -05:00
|
|
|
// 327 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x92, 0x41, 0x4e, 0xf3, 0x30,
|
|
|
|
0x10, 0x85, 0x95, 0xb6, 0x49, 0x93, 0x69, 0x57, 0xd6, 0xaf, 0x5f, 0xa3, 0x82, 0x50, 0xc4, 0x2a,
|
|
|
|
0xab, 0x2c, 0x60, 0xc1, 0x1a, 0x21, 0xf6, 0xc8, 0x88, 0x03, 0x24, 0xa9, 0x9b, 0x58, 0x6d, 0xed,
|
|
|
|
0xca, 0x76, 0xd4, 0xb3, 0x70, 0x16, 0x2e, 0x87, 0x3c, 0xae, 0x4b, 0x60, 0xf7, 0xbe, 0x19, 0xfb,
|
|
|
|
0xc5, 0xef, 0x29, 0xb0, 0xee, 0xb4, 0xda, 0xc9, 0xbe, 0x3e, 0x19, 0xed, 0x34, 0x5b, 0x9d, 0xa5,
|
|
|
|
0x7b, 0xf3, 0xaa, 0x1d, 0x77, 0xf7, 0x9f, 0x0b, 0xc8, 0x5e, 0x68, 0xcb, 0x18, 0x2c, 0x3e, 0xde,
|
|
|
|
0x5f, 0x39, 0x26, 0x65, 0x52, 0x15, 0x9c, 0x34, 0xfb, 0x07, 0xe9, 0x59, 0x6e, 0xdd, 0x80, 0xb3,
|
|
|
|
0x32, 0xa9, 0x52, 0x1e, 0x80, 0xfd, 0x87, 0x6c, 0x10, 0xb2, 0x1f, 0x1c, 0xce, 0x69, 0x7c, 0x21,
|
|
|
|
0xb6, 0x81, 0x7c, 0xd0, 0xd6, 0xa9, 0xe6, 0x28, 0x70, 0x41, 0x2e, 0x57, 0x66, 0xb7, 0x50, 0x6c,
|
|
|
|
0x45, 0x3b, 0xf6, 0xbd, 0x54, 0x3d, 0xa6, 0x65, 0x52, 0xe5, 0xfc, 0x67, 0xc0, 0xee, 0x00, 0x08,
|
|
|
|
0x5c, 0xd3, 0x1e,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