359 lines
13 KiB
Go
359 lines
13 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: pairing.proto
|
||
|
|
||
|
package protobuf
|
||
|
|
||
|
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 PairInstallation struct {
|
||
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||
|
InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
|
||
|
DeviceType string `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
|
||
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *PairInstallation) Reset() { *m = PairInstallation{} }
|
||
|
func (m *PairInstallation) String() string { return proto.CompactTextString(m) }
|
||
|
func (*PairInstallation) ProtoMessage() {}
|
||
|
func (*PairInstallation) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_d61ab7221f0b5518, []int{0}
|
||
|
}
|
||
|
|
||
|
func (m *PairInstallation) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_PairInstallation.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *PairInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_PairInstallation.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *PairInstallation) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_PairInstallation.Merge(m, src)
|
||
|
}
|
||
|
func (m *PairInstallation) XXX_Size() int {
|
||
|
return xxx_messageInfo_PairInstallation.Size(m)
|
||
|
}
|
||
|
func (m *PairInstallation) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_PairInstallation.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_PairInstallation proto.InternalMessageInfo
|
||
|
|
||
|
func (m *PairInstallation) GetClock() uint64 {
|
||
|
if m != nil {
|
||
|
return m.Clock
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *PairInstallation) GetInstallationId() string {
|
||
|
if m != nil {
|
||
|
return m.InstallationId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *PairInstallation) GetDeviceType() string {
|
||
|
if m != nil {
|
||
|
return m.DeviceType
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *PairInstallation) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type SyncInstallationContact struct {
|
||
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
ProfileImage string `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
|
||
|
EnsName string `protobuf:"bytes,4,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
|
||
|
LastUpdated uint64 `protobuf:"varint,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
|
||
|
SystemTags []string `protobuf:"bytes,6,rep,name=system_tags,json=systemTags,proto3" json:"system_tags,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationContact) Reset() { *m = SyncInstallationContact{} }
|
||
|
func (m *SyncInstallationContact) String() string { return proto.CompactTextString(m) }
|
||
|
func (*SyncInstallationContact) ProtoMessage() {}
|
||
|
func (*SyncInstallationContact) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_d61ab7221f0b5518, []int{1}
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationContact) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_SyncInstallationContact.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *SyncInstallationContact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_SyncInstallationContact.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *SyncInstallationContact) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_SyncInstallationContact.Merge(m, src)
|
||
|
}
|
||
|
func (m *SyncInstallationContact) XXX_Size() int {
|
||
|
return xxx_messageInfo_SyncInstallationContact.Size(m)
|
||
|
}
|
||
|
func (m *SyncInstallationContact) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_SyncInstallationContact.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_SyncInstallationContact proto.InternalMessageInfo
|
||
|
|
||
|
func (m *SyncInstallationContact) GetClock() uint64 {
|
||
|
if m != nil {
|
||
|
return m.Clock
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationContact) GetId() string {
|
||
|
if m != nil {
|
||
|
return m.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationContact) GetProfileImage() string {
|
||
|
if m != nil {
|
||
|
return m.ProfileImage
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationContact) GetEnsName() string {
|
||
|
if m != nil {
|
||
|
return m.EnsName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationContact) GetLastUpdated() uint64 {
|
||
|
if m != nil {
|
||
|
return m.LastUpdated
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationContact) GetSystemTags() []string {
|
||
|
if m != nil {
|
||
|
return m.SystemTags
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type SyncInstallationAccount struct {
|
||
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||
|
ProfileImage string `protobuf:"bytes,2,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
|
||
|
LastUpdated uint64 `protobuf:"varint,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationAccount) Reset() { *m = SyncInstallationAccount{} }
|
||
|
func (m *SyncInstallationAccount) String() string { return proto.CompactTextString(m) }
|
||
|
func (*SyncInstallationAccount) ProtoMessage() {}
|
||
|
func (*SyncInstallationAccount) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_d61ab7221f0b5518, []int{2}
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationAccount) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_SyncInstallationAccount.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *SyncInstallationAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_SyncInstallationAccount.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *SyncInstallationAccount) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_SyncInstallationAccount.Merge(m, src)
|
||
|
}
|
||
|
func (m *SyncInstallationAccount) XXX_Size() int {
|
||
|
return xxx_messageInfo_SyncInstallationAccount.Size(m)
|
||
|
}
|
||
|
func (m *SyncInstallationAccount) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_SyncInstallationAccount.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_SyncInstallationAccount proto.InternalMessageInfo
|
||
|
|
||
|
func (m *SyncInstallationAccount) GetClock() uint64 {
|
||
|
if m != nil {
|
||
|
return m.Clock
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationAccount) GetProfileImage() string {
|
||
|
if m != nil {
|
||
|
return m.ProfileImage
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationAccount) GetLastUpdated() uint64 {
|
||
|
if m != nil {
|
||
|
return m.LastUpdated
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type SyncInstallationPublicChat struct {
|
||
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationPublicChat) Reset() { *m = SyncInstallationPublicChat{} }
|
||
|
func (m *SyncInstallationPublicChat) String() string { return proto.CompactTextString(m) }
|
||
|
func (*SyncInstallationPublicChat) ProtoMessage() {}
|
||
|
func (*SyncInstallationPublicChat) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_d61ab7221f0b5518, []int{3}
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationPublicChat) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_SyncInstallationPublicChat.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *SyncInstallationPublicChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_SyncInstallationPublicChat.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *SyncInstallationPublicChat) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_SyncInstallationPublicChat.Merge(m, src)
|
||
|
}
|
||
|
func (m *SyncInstallationPublicChat) XXX_Size() int {
|
||
|
return xxx_messageInfo_SyncInstallationPublicChat.Size(m)
|
||
|
}
|
||
|
func (m *SyncInstallationPublicChat) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_SyncInstallationPublicChat.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_SyncInstallationPublicChat proto.InternalMessageInfo
|
||
|
|
||
|
func (m *SyncInstallationPublicChat) GetClock() uint64 {
|
||
|
if m != nil {
|
||
|
return m.Clock
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallationPublicChat) GetId() string {
|
||
|
if m != nil {
|
||
|
return m.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type SyncInstallation struct {
|
||
|
Contacts []*SyncInstallationContact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"`
|
||
|
PublicChats []*SyncInstallationPublicChat `protobuf:"bytes,2,rep,name=public_chats,json=publicChats,proto3" json:"public_chats,omitempty"`
|
||
|
Account *SyncInstallationAccount `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallation) Reset() { *m = SyncInstallation{} }
|
||
|
func (m *SyncInstallation) String() string { return proto.CompactTextString(m) }
|
||
|
func (*SyncInstallation) ProtoMessage() {}
|
||
|
func (*SyncInstallation) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_d61ab7221f0b5518, []int{4}
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallation) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_SyncInstallation.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *SyncInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_SyncInstallation.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *SyncInstallation) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_SyncInstallation.Merge(m, src)
|
||
|
}
|
||
|
func (m *SyncInstallation) XXX_Size() int {
|
||
|
return xxx_messageInfo_SyncInstallation.Size(m)
|
||
|
}
|
||
|
func (m *SyncInstallation) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_SyncInstallation.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_SyncInstallation proto.InternalMessageInfo
|
||
|
|
||
|
func (m *SyncInstallation) GetContacts() []*SyncInstallationContact {
|
||
|
if m != nil {
|
||
|
return m.Contacts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallation) GetPublicChats() []*SyncInstallationPublicChat {
|
||
|
if m != nil {
|
||
|
return m.PublicChats
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *SyncInstallation) GetAccount() *SyncInstallationAccount {
|
||
|
if m != nil {
|
||
|
return m.Account
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*PairInstallation)(nil), "protobuf.PairInstallation")
|
||
|
proto.RegisterType((*SyncInstallationContact)(nil), "protobuf.SyncInstallationContact")
|
||
|
proto.RegisterType((*SyncInstallationAccount)(nil), "protobuf.SyncInstallationAccount")
|
||
|
proto.RegisterType((*SyncInstallationPublicChat)(nil), "protobuf.SyncInstallationPublicChat")
|
||
|
proto.RegisterType((*SyncInstallation)(nil), "protobuf.SyncInstallation")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("pairing.proto", fileDescriptor_d61ab7221f0b5518) }
|
||
|
|
||
|
var fileDescriptor_d61ab7221f0b5518 = []byte{
|
||
|
// 378 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x6e, 0x9b, 0x40,
|
||
|
0x10, 0xc6, 0x05, 0xf8, 0x5f, 0x07, 0xdb, 0xb5, 0x56, 0x95, 0xba, 0xed, 0xa5, 0x98, 0x56, 0xaa,
|
||
|
0x4f, 0x3e, 0xb4, 0xc7, 0xaa, 0x87, 0xc4, 0x87, 0xc8, 0x97, 0xc8, 0x22, 0xce, 0x19, 0xad, 0x97,
|
||
|
0x35, 0x5e, 0x05, 0x96, 0x15, 0xbb, 0x24, 0xe2, 0x05, 0xf2, 0x62, 0x79, 0x88, 0xbc, 0x4e, 0xc4,
|
||
|
0x62, 0x3b, 0xc8, 0x0e, 0x51, 0x4e, 0x2c, 0x1f, 0xb3, 0xf3, 0xfd, 0xbe, 0x19, 0x60, 0x24, 0x09,
|
||
|
0xcf, 0xb9, 0x88, 0xe7, 0x32, 0xcf, 0x74, 0x86, 0x06, 0xe6, 0xb1, 0x29, 0xb6, 0xfe, 0xa3, 0x05,
|
||
|
0x93, 0x15, 0xe1, 0xf9, 0x52, 0x28, 0x4d, 0x92, 0x84, 0x68, 0x9e, 0x09, 0xf4, 0x05, 0xba, 0x34,
|
||
|
0xc9, 0xe8, 0x1d, 0xb6, 0x3c, 0x6b, 0xd6, 0x09, 0xea, 0x17, 0xf4, 0x1b, 0x3e, 0xf3, 0x46, 0x55,
|
||
|
0xc8, 0x23, 0x6c, 0x7b, 0xd6, 0xec, 0x53, 0x30, 0x6e, 0xca, 0xcb, 0x08, 0xfd, 0x00, 0x37, 0x62,
|
||
|
0xf7, 0x9c, 0xb2, 0x50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