status-go/protocol/protobuf/pairing.pb.go

855 lines
30 KiB
Go
Raw Normal View History

// 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 Backup 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"`
Contacts []*SyncInstallationContactV2 `protobuf:"bytes,3,rep,name=contacts,proto3" json:"contacts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Backup) Reset() { *m = Backup{} }
func (m *Backup) String() string { return proto.CompactTextString(m) }
func (*Backup) ProtoMessage() {}
func (*Backup) Descriptor() ([]byte, []int) {
return fileDescriptor_d61ab7221f0b5518, []int{0}
}
func (m *Backup) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Backup.Unmarshal(m, b)
}
func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Backup.Marshal(b, m, deterministic)
}
func (m *Backup) XXX_Merge(src proto.Message) {
xxx_messageInfo_Backup.Merge(m, src)
}
func (m *Backup) XXX_Size() int {
return xxx_messageInfo_Backup.Size(m)
}
func (m *Backup) XXX_DiscardUnknown() {
xxx_messageInfo_Backup.DiscardUnknown(m)
}
var xxx_messageInfo_Backup proto.InternalMessageInfo
func (m *Backup) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *Backup) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Backup) GetContacts() []*SyncInstallationContactV2 {
if m != nil {
return m.Contacts
}
return nil
}
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{1}
}
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"`
2020-08-20 14:06:38 +00:00
LocalNickname string `protobuf:"bytes,7,opt,name=local_nickname,json=localNickname,proto3" json:"local_nickname,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{2}
}
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
}
2020-08-20 14:06:38 +00:00
func (m *SyncInstallationContact) GetLocalNickname() string {
if m != nil {
return m.LocalNickname
}
return ""
}
type SyncInstallationContactV2 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"`
LocalNickname string `protobuf:"bytes,7,opt,name=local_nickname,json=localNickname,proto3" json:"local_nickname,omitempty"`
Added bool `protobuf:"varint,9,opt,name=added,proto3" json:"added,omitempty"`
Blocked bool `protobuf:"varint,10,opt,name=blocked,proto3" json:"blocked,omitempty"`
Muted bool `protobuf:"varint,11,opt,name=muted,proto3" json:"muted,omitempty"`
Removed bool `protobuf:"varint,12,opt,name=removed,proto3" json:"removed,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SyncInstallationContactV2) Reset() { *m = SyncInstallationContactV2{} }
func (m *SyncInstallationContactV2) String() string { return proto.CompactTextString(m) }
func (*SyncInstallationContactV2) ProtoMessage() {}
func (*SyncInstallationContactV2) Descriptor() ([]byte, []int) {
return fileDescriptor_d61ab7221f0b5518, []int{3}
}
func (m *SyncInstallationContactV2) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SyncInstallationContactV2.Unmarshal(m, b)
}
func (m *SyncInstallationContactV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SyncInstallationContactV2.Marshal(b, m, deterministic)
}
func (m *SyncInstallationContactV2) XXX_Merge(src proto.Message) {
xxx_messageInfo_SyncInstallationContactV2.Merge(m, src)
}
func (m *SyncInstallationContactV2) XXX_Size() int {
return xxx_messageInfo_SyncInstallationContactV2.Size(m)
}
func (m *SyncInstallationContactV2) XXX_DiscardUnknown() {
xxx_messageInfo_SyncInstallationContactV2.DiscardUnknown(m)
}
var xxx_messageInfo_SyncInstallationContactV2 proto.InternalMessageInfo
func (m *SyncInstallationContactV2) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *SyncInstallationContactV2) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *SyncInstallationContactV2) GetProfileImage() string {
if m != nil {
return m.ProfileImage
}
return ""
}
func (m *SyncInstallationContactV2) GetEnsName() string {
if m != nil {
return m.EnsName
}
return ""
}
func (m *SyncInstallationContactV2) GetLastUpdated() uint64 {
if m != nil {
return m.LastUpdated
}
return 0
}
func (m *SyncInstallationContactV2) GetSystemTags() []string {
if m != nil {
return m.SystemTags
}
return nil
}
func (m *SyncInstallationContactV2) GetLocalNickname() string {
if m != nil {
return m.LocalNickname
}
return ""
}
func (m *SyncInstallationContactV2) GetAdded() bool {
if m != nil {
return m.Added
}
return false
}
func (m *SyncInstallationContactV2) GetBlocked() bool {
if m != nil {
return m.Blocked
}
return false
}
func (m *SyncInstallationContactV2) GetMuted() bool {
if m != nil {
return m.Muted
}
return false
}
func (m *SyncInstallationContactV2) GetRemoved() bool {
if m != nil {
return m.Removed
}
return false
}
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{4}
}
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{5}
}
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 SyncCommunity struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
Description []byte `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Joined bool `protobuf:"varint,5,opt,name=joined,proto3" json:"joined,omitempty"`
Verified bool `protobuf:"varint,6,opt,name=verified,proto3" json:"verified,omitempty"`
Muted bool `protobuf:"varint,7,opt,name=muted,proto3" json:"muted,omitempty"`
RequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,8,rep,name=requests_to_join,json=requestsToJoin,proto3" json:"requests_to_join,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SyncCommunity) Reset() { *m = SyncCommunity{} }
func (m *SyncCommunity) String() string { return proto.CompactTextString(m) }
func (*SyncCommunity) ProtoMessage() {}
func (*SyncCommunity) Descriptor() ([]byte, []int) {
return fileDescriptor_d61ab7221f0b5518, []int{6}
}
func (m *SyncCommunity) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SyncCommunity.Unmarshal(m, b)
}
func (m *SyncCommunity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SyncCommunity.Marshal(b, m, deterministic)
}
func (m *SyncCommunity) XXX_Merge(src proto.Message) {
xxx_messageInfo_SyncCommunity.Merge(m, src)
}
func (m *SyncCommunity) XXX_Size() int {
return xxx_messageInfo_SyncCommunity.Size(m)
}
func (m *SyncCommunity) XXX_DiscardUnknown() {
xxx_messageInfo_SyncCommunity.DiscardUnknown(m)
}
var xxx_messageInfo_SyncCommunity proto.InternalMessageInfo
func (m *SyncCommunity) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *SyncCommunity) GetId() []byte {
if m != nil {
return m.Id
}
return nil
}
func (m *SyncCommunity) GetPrivateKey() []byte {
if m != nil {
return m.PrivateKey
}
return nil
}
func (m *SyncCommunity) GetDescription() []byte {
if m != nil {
return m.Description
}
return nil
}
func (m *SyncCommunity) GetJoined() bool {
if m != nil {
return m.Joined
}
return false
}
func (m *SyncCommunity) GetVerified() bool {
if m != nil {
return m.Verified
}
return false
}
func (m *SyncCommunity) GetMuted() bool {
if m != nil {
return m.Muted
}
return false
}
func (m *SyncCommunity) GetRequestsToJoin() []*SyncCommunityRequestsToJoin {
if m != nil {
return m.RequestsToJoin
}
return nil
}
type SyncCommunityRequestsToJoin struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Clock uint64 `protobuf:"varint,3,opt,name=clock,proto3" json:"clock,omitempty"`
EnsName string `protobuf:"bytes,4,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
ChatId string `protobuf:"bytes,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
CommunityId []byte `protobuf:"bytes,6,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
State uint64 `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SyncCommunityRequestsToJoin) Reset() { *m = SyncCommunityRequestsToJoin{} }
func (m *SyncCommunityRequestsToJoin) String() string { return proto.CompactTextString(m) }
func (*SyncCommunityRequestsToJoin) ProtoMessage() {}
func (*SyncCommunityRequestsToJoin) Descriptor() ([]byte, []int) {
return fileDescriptor_d61ab7221f0b5518, []int{7}
}
func (m *SyncCommunityRequestsToJoin) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SyncCommunityRequestsToJoin.Unmarshal(m, b)
}
func (m *SyncCommunityRequestsToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SyncCommunityRequestsToJoin.Marshal(b, m, deterministic)
}
func (m *SyncCommunityRequestsToJoin) XXX_Merge(src proto.Message) {
xxx_messageInfo_SyncCommunityRequestsToJoin.Merge(m, src)
}
func (m *SyncCommunityRequestsToJoin) XXX_Size() int {
return xxx_messageInfo_SyncCommunityRequestsToJoin.Size(m)
}
func (m *SyncCommunityRequestsToJoin) XXX_DiscardUnknown() {
xxx_messageInfo_SyncCommunityRequestsToJoin.DiscardUnknown(m)
}
var xxx_messageInfo_SyncCommunityRequestsToJoin proto.InternalMessageInfo
func (m *SyncCommunityRequestsToJoin) GetId() []byte {
if m != nil {
return m.Id
}
return nil
}
func (m *SyncCommunityRequestsToJoin) GetPublicKey() string {
if m != nil {
return m.PublicKey
}
return ""
}
func (m *SyncCommunityRequestsToJoin) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *SyncCommunityRequestsToJoin) GetEnsName() string {
if m != nil {
return m.EnsName
}
return ""
}
func (m *SyncCommunityRequestsToJoin) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *SyncCommunityRequestsToJoin) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *SyncCommunityRequestsToJoin) GetState() uint64 {
if m != nil {
return m.State
}
return 0
}
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"`
Communities []*SyncCommunity `protobuf:"bytes,4,rep,name=communities,proto3" json:"communities,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{8}
}
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 (m *SyncInstallation) GetCommunities() []*SyncCommunity {
if m != nil {
return m.Communities
}
return nil
}
2021-10-05 17:26:02 +00:00
type SyncChatRemoved 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 *SyncChatRemoved) Reset() { *m = SyncChatRemoved{} }
func (m *SyncChatRemoved) String() string { return proto.CompactTextString(m) }
func (*SyncChatRemoved) ProtoMessage() {}
func (*SyncChatRemoved) Descriptor() ([]byte, []int) {
return fileDescriptor_d61ab7221f0b5518, []int{9}
2021-10-05 17:26:02 +00:00
}
func (m *SyncChatRemoved) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SyncChatRemoved.Unmarshal(m, b)
}
func (m *SyncChatRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SyncChatRemoved.Marshal(b, m, deterministic)
}
func (m *SyncChatRemoved) XXX_Merge(src proto.Message) {
xxx_messageInfo_SyncChatRemoved.Merge(m, src)
}
func (m *SyncChatRemoved) XXX_Size() int {
return xxx_messageInfo_SyncChatRemoved.Size(m)
}
func (m *SyncChatRemoved) XXX_DiscardUnknown() {
xxx_messageInfo_SyncChatRemoved.DiscardUnknown(m)
}
var xxx_messageInfo_SyncChatRemoved proto.InternalMessageInfo
func (m *SyncChatRemoved) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *SyncChatRemoved) GetId() string {
if m != nil {
return m.Id
}
return ""
}
2021-10-12 10:33:32 +00:00
type SyncChatMessagesRead 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 *SyncChatMessagesRead) Reset() { *m = SyncChatMessagesRead{} }
func (m *SyncChatMessagesRead) String() string { return proto.CompactTextString(m) }
func (*SyncChatMessagesRead) ProtoMessage() {}
func (*SyncChatMessagesRead) Descriptor() ([]byte, []int) {
return fileDescriptor_d61ab7221f0b5518, []int{10}
2021-10-12 10:33:32 +00:00
}
func (m *SyncChatMessagesRead) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SyncChatMessagesRead.Unmarshal(m, b)
}
func (m *SyncChatMessagesRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SyncChatMessagesRead.Marshal(b, m, deterministic)
}
func (m *SyncChatMessagesRead) XXX_Merge(src proto.Message) {
xxx_messageInfo_SyncChatMessagesRead.Merge(m, src)
}
func (m *SyncChatMessagesRead) XXX_Size() int {
return xxx_messageInfo_SyncChatMessagesRead.Size(m)
}
func (m *SyncChatMessagesRead) XXX_DiscardUnknown() {
xxx_messageInfo_SyncChatMessagesRead.DiscardUnknown(m)
}
var xxx_messageInfo_SyncChatMessagesRead proto.InternalMessageInfo
func (m *SyncChatMessagesRead) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *SyncChatMessagesRead) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func init() {
proto.RegisterType((*Backup)(nil), "protobuf.Backup")
proto.RegisterType((*PairInstallation)(nil), "protobuf.PairInstallation")
proto.RegisterType((*SyncInstallationContact)(nil), "protobuf.SyncInstallationContact")
proto.RegisterType((*SyncInstallationContactV2)(nil), "protobuf.SyncInstallationContactV2")
proto.RegisterType((*SyncInstallationAccount)(nil), "protobuf.SyncInstallationAccount")
proto.RegisterType((*SyncInstallationPublicChat)(nil), "protobuf.SyncInstallationPublicChat")
proto.RegisterType((*SyncCommunity)(nil), "protobuf.SyncCommunity")
proto.RegisterType((*SyncCommunityRequestsToJoin)(nil), "protobuf.SyncCommunityRequestsToJoin")
proto.RegisterType((*SyncInstallation)(nil), "protobuf.SyncInstallation")
2021-10-05 17:26:02 +00:00
proto.RegisterType((*SyncChatRemoved)(nil), "protobuf.SyncChatRemoved")
2021-10-12 10:33:32 +00:00
proto.RegisterType((*SyncChatMessagesRead)(nil), "protobuf.SyncChatMessagesRead")
}
func init() {
proto.RegisterFile("pairing.proto", fileDescriptor_d61ab7221f0b5518)
}
var fileDescriptor_d61ab7221f0b5518 = []byte{
// 725 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x54, 0xcd, 0x6e, 0xdb, 0x38,
0x10, 0x86, 0x64, 0xc7, 0x76, 0xc6, 0x3f, 0x09, 0x88, 0x60, 0xc3, 0x64, 0xb1, 0x88, 0xa3, 0x6c,
0xb0, 0x3e, 0x79, 0x81, 0xec, 0x61, 0x51, 0xa4, 0x45, 0xd1, 0xe4, 0x50, 0xb8, 0x45, 0xd3, 0x40,
0x4d, 0x7b, 0xe8, 0x45, 0xa0, 0x29, 0xc6, 0x61, 0x2d, 0x89, 0xaa, 0x48, 0xb9, 0xf0, 0x0b, 0xf4,
0x01, 0xda, 0xd7, 0x2a, 0xd0, 0xf7, 0xe8, 0x53, 0x14, 0x24, 0x65, 0x45, 0x49, 0xea, 0xc4, 0xe7,
0x9e, 0xa4, 0xf9, 0x38, 0xe4, 0x7c, 0xf3, 0xcd, 0x0f, 0x74, 0x53, 0xc2, 0x33, 0x9e, 0x4c, 0x86,
0x69, 0x26, 0x94, 0x40, 0x2d, 0xf3, 0x19, 0xe7, 0x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