130 lines
4.1 KiB
Go
130 lines
4.1 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: account.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 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 *Account) Reset() { *m = Account{} }
|
||
|
func (m *Account) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Account) ProtoMessage() {}
|
||
|
func (*Account) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_8e28828dcb8d24f0, []int{0}
|
||
|
}
|
||
|
|
||
|
func (m *Account) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_Account.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_Account.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *Account) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_Account.Merge(m, src)
|
||
|
}
|
||
|
func (m *Account) XXX_Size() int {
|
||
|
return xxx_messageInfo_Account.Size(m)
|
||
|
}
|
||
|
func (m *Account) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_Account.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_Account proto.InternalMessageInfo
|
||
|
|
||
|
func (m *Account) GetNick() string {
|
||
|
if m != nil {
|
||
|
return m.Nick
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Account) GetUsername() string {
|
||
|
if m != nil {
|
||
|
return m.Username
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Account) GetToken() string {
|
||
|
if m != nil {
|
||
|
return m.Token
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Account) GetPassword() string {
|
||
|
if m != nil {
|
||
|
return m.Password
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Account) GetHostname() string {
|
||
|
if m != nil {
|
||
|
return m.Hostname
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Account) GetDomainname() string {
|
||
|
if m != nil {
|
||
|
return m.Domainname
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Account) GetPort() int32 {
|
||
|
if m != nil {
|
||
|
return m.Port
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*Account)(nil), "witProtobuf.Account")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("account.proto", fileDescriptor_8e28828dcb8d24f0) }
|
||
|
|
||
|
var fileDescriptor_8e28828dcb8d24f0 = []byte{
|
||
|
// 172 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0x4c, 0x4e, 0xce,
|
||
|
0x2f, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2e, 0xcf, 0x2c, 0x09, 0x00,
|
||
|
0xb1, 0x92, 0x4a, 0xd3, 0x94, 0x76, 0x33, 0x72, 0xb1, 0x3b, 0x42, 0xa4, 0x85, 0x84, 0xb8, 0x58,
|
||
|
0xf2, 0x32, 0x93, 0xb3, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0xc0, 0x6c, 0x21, 0x29, 0x2e,
|
||
|
0x8e, 0xd2, 0xe2, 0xd4, 0xa2, 0xbc, 0xc4, 0xdc, 0x54, 0x09, 0x26, 0xb0, 0x38, 0x9c, 0x2f, 0x24,
|
||
|
0xc2, 0xc5, 0x5a, 0x92, 0x9f, 0x9d, 0x9a, 0x27, 0xc1, 0x0c, 0x96, 0x80, 0x70, 0x40, 0x3a, 0x0a,
|
||
|
0x12, 0x8b, 0x8b, 0xcb, 0xf3, 0x8b, 0x52, 0x24, 0x58, 0x20, 0x3a, 0x60, 0x7c, 0x90, 0x5c, 0x46,
|
||
|
0x7e, 0x71, 0x09, 0xd8, 0x34, 0x56, 0x88, 0x1c, 0x8c, 0x2f, 0x24, 0xc7, 0xc5, 0x95, 0x92, 0x9f,
|
||
|
0x9b, 0x98, 0x99, 0x07, 0x96, 0x65, 0x03, 0xcb, 0x22, 0x89, 0x80, 0x5c, 0x57, 0x90, 0x5f, 0x54,
|
||
|
0x22, 0xc1, 0xae, 0xc0, 0xa8, 0xc1, 0x1a, 0x04, 0x66, 0x27, 0xb1, 0x81, 0x7d, 0x64, 0x0c, 0x08,
|
||
|
0x00, 0x00, 0xff, 0xff, 0x9b, 0x98, 0x99, 0x5e, 0xe2, 0x00, 0x00, 0x00,
|
||
|
}
|