2019-05-25 04:46:11 -05:00
|
|
|
// 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 {
|
2019-06-27 16:08:26 -05:00
|
|
|
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
2019-05-26 03:36:22 -05:00
|
|
|
Nick string `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"`
|
|
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
|
|
Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
|
2019-06-27 16:08:26 -05:00
|
|
|
Pwdhash string `protobuf:"bytes,5,opt,name=pwdhash,proto3" json:"pwdhash,omitempty"`
|
2019-05-26 03:36:22 -05:00
|
|
|
Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
|
|
Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
|
|
Port int32 `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"`
|
|
|
|
Email string `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
URL string `protobuf:"bytes,10,opt,name=URL,proto3" json:"URL,omitempty"`
|
|
|
|
Ctime string `protobuf:"bytes,11,opt,name=ctime,proto3" json:"ctime,omitempty"`
|
|
|
|
Mtime string `protobuf:"bytes,12,opt,name=mtime,proto3" json:"mtime,omitempty"`
|
|
|
|
Atime string `protobuf:"bytes,13,opt,name=atime,proto3" json:"atime,omitempty"`
|
|
|
|
Browser string `protobuf:"bytes,14,opt,name=browser,proto3" json:"browser,omitempty"`
|
|
|
|
HttpHeaders []*Account_HttpHeader `protobuf:"bytes,15,rep,name=httpHeaders,proto3" json:"httpHeaders,omitempty"`
|
2019-06-27 16:08:26 -05:00
|
|
|
Code string `protobuf:"bytes,16,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
Codedate string `protobuf:"bytes,17,opt,name=codedate,proto3" json:"codedate,omitempty"`
|
|
|
|
Createdon string `protobuf:"bytes,18,opt,name=createdon,proto3" json:"createdon,omitempty"`
|
|
|
|
Codetype string `protobuf:"bytes,19,opt,name=codetype,proto3" json:"codetype,omitempty"`
|
|
|
|
Secret2Fa string `protobuf:"bytes,20,opt,name=secret2fa,proto3" json:"secret2fa,omitempty"`
|
|
|
|
Confirmed2Fa string `protobuf:"bytes,21,opt,name=confirmed2fa,proto3" json:"confirmed2fa,omitempty"`
|
|
|
|
Roles string `protobuf:"bytes,22,opt,name=roles,proto3" json:"roles,omitempty"`
|
2019-05-25 19:43:42 -05:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2019-05-25 04:46:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-06-27 16:08:26 -05:00
|
|
|
func (m *Account) GetID() int64 {
|
2019-05-26 03:36:22 -05:00
|
|
|
if m != nil {
|
2019-06-27 16:08:26 -05:00
|
|
|
return m.ID
|
2019-05-26 03:36:22 -05:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-05-25 04:46:11 -05:00
|
|
|
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 ""
|
|
|
|
}
|
|
|
|
|
2019-06-27 16:08:26 -05:00
|
|
|
func (m *Account) GetPwdhash() string {
|
2019-05-25 04:46:11 -05:00
|
|
|
if m != nil {
|
2019-06-27 16:08:26 -05:00
|
|
|
return m.Pwdhash
|
2019-05-25 04:46:11 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetHostname() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hostname
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-26 03:36:22 -05:00
|
|
|
func (m *Account) GetDomain() string {
|
2019-05-25 04:46:11 -05:00
|
|
|
if m != nil {
|
2019-05-26 03:36:22 -05:00
|
|
|
return m.Domain
|
2019-05-25 04:46:11 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetPort() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Port
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2019-05-25 19:43:42 -05:00
|
|
|
func (m *Account) GetEmail() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Email
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-26 03:36:22 -05:00
|
|
|
func (m *Account) GetURL() string {
|
2019-05-25 19:43:42 -05:00
|
|
|
if m != nil {
|
2019-05-26 03:36:22 -05:00
|
|
|
return m.URL
|
2019-05-25 19:43:42 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-26 03:36:22 -05:00
|
|
|
func (m *Account) GetCtime() string {
|
2019-05-25 19:43:42 -05:00
|
|
|
if m != nil {
|
2019-05-26 03:36:22 -05:00
|
|
|
return m.Ctime
|
2019-05-25 19:43:42 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-26 03:36:22 -05:00
|
|
|
func (m *Account) GetMtime() string {
|
2019-05-25 19:43:42 -05:00
|
|
|
if m != nil {
|
2019-05-26 03:36:22 -05:00
|
|
|
return m.Mtime
|
2019-05-25 19:43:42 -05:00
|
|
|
}
|
2019-05-26 03:36:22 -05:00
|
|
|
return ""
|
2019-05-25 19:43:42 -05:00
|
|
|
}
|
|
|
|
|
2019-05-26 03:36:22 -05:00
|
|
|
func (m *Account) GetAtime() string {
|
2019-05-26 02:02:21 -05:00
|
|
|
if m != nil {
|
2019-05-26 03:36:22 -05:00
|
|
|
return m.Atime
|
2019-05-26 02:02:21 -05:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-26 03:36:22 -05:00
|
|
|
func (m *Account) GetBrowser() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Browser
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetHttpHeaders() []*Account_HttpHeader {
|
|
|
|
if m != nil {
|
|
|
|
return m.HttpHeaders
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2019-06-27 16:08:26 -05:00
|
|
|
func (m *Account) GetCode() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetCodedate() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Codedate
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetCreatedon() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Createdon
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetCodetype() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Codetype
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetSecret2Fa() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Secret2Fa
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetConfirmed2Fa() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Confirmed2Fa
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetRoles() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Roles
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-25 19:43:42 -05:00
|
|
|
type Account_HttpHeader struct {
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account_HttpHeader) Reset() { *m = Account_HttpHeader{} }
|
|
|
|
func (m *Account_HttpHeader) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Account_HttpHeader) ProtoMessage() {}
|
|
|
|
func (*Account_HttpHeader) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_8e28828dcb8d24f0, []int{0, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account_HttpHeader) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Account_HttpHeader.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Account_HttpHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Account_HttpHeader.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Account_HttpHeader) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Account_HttpHeader.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Account_HttpHeader) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Account_HttpHeader.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Account_HttpHeader) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Account_HttpHeader.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Account_HttpHeader proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Account_HttpHeader) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account_HttpHeader) GetValue() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2019-05-25 04:46:11 -05:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Account)(nil), "witProtobuf.Account")
|
2019-05-25 19:43:42 -05:00
|
|
|
proto.RegisterType((*Account_HttpHeader)(nil), "witProtobuf.Account.HttpHeader")
|
2019-05-25 04:46:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("account.proto", fileDescriptor_8e28828dcb8d24f0) }
|
|
|
|
|
|
|
|
var fileDescriptor_8e28828dcb8d24f0 = []byte{
|
2019-06-27 16:08:26 -05:00
|
|
|
// 386 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0xcf, 0xab, 0xda, 0x40,
|
|
|
|
0x10, 0xc7, 0x89, 0x79, 0xd1, 0xe7, 0xe6, 0xbd, 0xd7, 0xd7, 0xad, 0x95, 0x41, 0x0a, 0x0d, 0x9e,
|
|
|
|
0x72, 0xca, 0xc1, 0x42, 0xef, 0x82, 0x07, 0x85, 0x1e, 0x4a, 0xa0, 0x7f, 0xc0, 0xba, 0x19, 0x49,
|
|
|
|
0xd0, 0x64, 0xc3, 0x66, 0x53, 0xe9, 0xb5, 0x7f, 0x79, 0x99, 0xd9, 0x44, 0xed, 0xc9, 0xf9, 0x7c,
|
|
|
|
0xe7, 0xc7, 0x3a, 0xdf, 0x8c, 0x78, 0x55, 0x5a, 0x9b, 0xbe, 0x71, 0x59, 0x6b, 0x8d, 0x33, 0x32,
|
|
|
|
0xbe, 0x56, 0xee, 0x27, 0x45, 0xc7, 0xfe, 0xb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