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-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
|
|
|
|
}
|
|
|
|
|
|
|
|
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-24 20:31:05 -05:00
|
|
|
// 288 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xbf, 0x4e, 0xc3, 0x30,
|
|
|
|
0x10, 0xc6, 0x95, 0xb6, 0x49, 0x93, 0x2b, 0x93, 0x85, 0x90, 0x55, 0x10, 0x8a, 0x98, 0x32, 0x65,
|
|
|
|
0x80, 0x81, 0x19, 0x21, 0x76, 0x64, 0xc4, 0x03, 0xe4, 0x8f, 0xe3, 0x58, 0x6d, 0xed, 0x28, 0x76,
|
|
|
|
0x94, 0x47, 0x63, 0xe0, 0xe5, 0x90, 0xcf, 0x75, 0x09, 0x6c, 0xf7, 0xfb, 0xee, 0x72, 0x97, 0xef,
|
|
|
|
0x33, 0x5c, 0x35, 0x5a, 0x75, 0x52, 0x94, 0xc3, 0xa8, 0xad, 0x26, 0xbb, 0x59, 0xda, 0x77, 0x57,
|
|
|
|
0xd5, 0x53, 0xf7, 0xf0, 0xb5, 0x86, 0xe4, 0x15, 0xbb, 0x84, 0xc0, 0xe6, 0xf3, 0xe3, 0x8d, 0xd1,
|
|
|
|
0x28, 0x8f, 0x8a, 0x8c, 0x61, 0x4d, 0xae, 0x21, 0x9e, 0x65, 0x6b, 0x7b, 0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