294 lines
11 KiB
Go
294 lines
11 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: contact.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 ContactRequestPropagatedState struct {
|
|
LocalClock uint64 `protobuf:"varint,1,opt,name=local_clock,json=localClock,proto3" json:"local_clock,omitempty"`
|
|
LocalState uint64 `protobuf:"varint,2,opt,name=local_state,json=localState,proto3" json:"local_state,omitempty"`
|
|
RemoteClock uint64 `protobuf:"varint,3,opt,name=remote_clock,json=remoteClock,proto3" json:"remote_clock,omitempty"`
|
|
RemoteState uint64 `protobuf:"varint,4,opt,name=remote_state,json=remoteState,proto3" json:"remote_state,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContactRequestPropagatedState) Reset() { *m = ContactRequestPropagatedState{} }
|
|
func (m *ContactRequestPropagatedState) String() string { return proto.CompactTextString(m) }
|
|
func (*ContactRequestPropagatedState) ProtoMessage() {}
|
|
func (*ContactRequestPropagatedState) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a5036fff2565fb15, []int{0}
|
|
}
|
|
|
|
func (m *ContactRequestPropagatedState) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContactRequestPropagatedState.Unmarshal(m, b)
|
|
}
|
|
func (m *ContactRequestPropagatedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContactRequestPropagatedState.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContactRequestPropagatedState) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContactRequestPropagatedState.Merge(m, src)
|
|
}
|
|
func (m *ContactRequestPropagatedState) XXX_Size() int {
|
|
return xxx_messageInfo_ContactRequestPropagatedState.Size(m)
|
|
}
|
|
func (m *ContactRequestPropagatedState) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContactRequestPropagatedState.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContactRequestPropagatedState proto.InternalMessageInfo
|
|
|
|
func (m *ContactRequestPropagatedState) GetLocalClock() uint64 {
|
|
if m != nil {
|
|
return m.LocalClock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContactRequestPropagatedState) GetLocalState() uint64 {
|
|
if m != nil {
|
|
return m.LocalState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContactRequestPropagatedState) GetRemoteClock() uint64 {
|
|
if m != nil {
|
|
return m.RemoteClock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContactRequestPropagatedState) GetRemoteState() uint64 {
|
|
if m != nil {
|
|
return m.RemoteState
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ContactUpdate struct {
|
|
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
|
|
ProfileImage string `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
|
|
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
ContactRequestClock uint64 `protobuf:"varint,5,opt,name=contact_request_clock,json=contactRequestClock,proto3" json:"contact_request_clock,omitempty"`
|
|
ContactRequestPropagatedState *ContactRequestPropagatedState `protobuf:"bytes,6,opt,name=contact_request_propagated_state,json=contactRequestPropagatedState,proto3" json:"contact_request_propagated_state,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ContactUpdate) Reset() { *m = ContactUpdate{} }
|
|
func (m *ContactUpdate) String() string { return proto.CompactTextString(m) }
|
|
func (*ContactUpdate) ProtoMessage() {}
|
|
func (*ContactUpdate) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a5036fff2565fb15, []int{1}
|
|
}
|
|
|
|
func (m *ContactUpdate) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ContactUpdate.Unmarshal(m, b)
|
|
}
|
|
func (m *ContactUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ContactUpdate.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ContactUpdate) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ContactUpdate.Merge(m, src)
|
|
}
|
|
func (m *ContactUpdate) XXX_Size() int {
|
|
return xxx_messageInfo_ContactUpdate.Size(m)
|
|
}
|
|
func (m *ContactUpdate) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ContactUpdate.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ContactUpdate proto.InternalMessageInfo
|
|
|
|
func (m *ContactUpdate) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContactUpdate) GetEnsName() string {
|
|
if m != nil {
|
|
return m.EnsName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ContactUpdate) GetProfileImage() string {
|
|
if m != nil {
|
|
return m.ProfileImage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ContactUpdate) GetDisplayName() string {
|
|
if m != nil {
|
|
return m.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ContactUpdate) GetContactRequestClock() uint64 {
|
|
if m != nil {
|
|
return m.ContactRequestClock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ContactUpdate) GetContactRequestPropagatedState() *ContactRequestPropagatedState {
|
|
if m != nil {
|
|
return m.ContactRequestPropagatedState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AcceptContactRequest struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AcceptContactRequest) Reset() { *m = AcceptContactRequest{} }
|
|
func (m *AcceptContactRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AcceptContactRequest) ProtoMessage() {}
|
|
func (*AcceptContactRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a5036fff2565fb15, []int{2}
|
|
}
|
|
|
|
func (m *AcceptContactRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AcceptContactRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *AcceptContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AcceptContactRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AcceptContactRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AcceptContactRequest.Merge(m, src)
|
|
}
|
|
func (m *AcceptContactRequest) XXX_Size() int {
|
|
return xxx_messageInfo_AcceptContactRequest.Size(m)
|
|
}
|
|
func (m *AcceptContactRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AcceptContactRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AcceptContactRequest proto.InternalMessageInfo
|
|
|
|
func (m *AcceptContactRequest) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AcceptContactRequest) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RetractContactRequest struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RetractContactRequest) Reset() { *m = RetractContactRequest{} }
|
|
func (m *RetractContactRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RetractContactRequest) ProtoMessage() {}
|
|
func (*RetractContactRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a5036fff2565fb15, []int{3}
|
|
}
|
|
|
|
func (m *RetractContactRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RetractContactRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RetractContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RetractContactRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RetractContactRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RetractContactRequest.Merge(m, src)
|
|
}
|
|
func (m *RetractContactRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RetractContactRequest.Size(m)
|
|
}
|
|
func (m *RetractContactRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RetractContactRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RetractContactRequest proto.InternalMessageInfo
|
|
|
|
func (m *RetractContactRequest) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RetractContactRequest) GetClock() uint64 {
|
|
if m != nil {
|
|
return m.Clock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ContactRequestPropagatedState)(nil), "protobuf.ContactRequestPropagatedState")
|
|
proto.RegisterType((*ContactUpdate)(nil), "protobuf.ContactUpdate")
|
|
proto.RegisterType((*AcceptContactRequest)(nil), "protobuf.AcceptContactRequest")
|
|
proto.RegisterType((*RetractContactRequest)(nil), "protobuf.RetractContactRequest")
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("contact.proto", fileDescriptor_a5036fff2565fb15)
|
|
}
|
|
|
|
var fileDescriptor_a5036fff2565fb15 = []byte{
|
|
// 329 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0xb1, 0x4e, 0xf3, 0x30,
|
|
0x14, 0x85, 0x95, 0xfc, 0x6d, 0xff, 0xe6, 0xa6, 0x61, 0x08, 0xad, 0x54, 0x86, 0x8a, 0x10, 0x06,
|
|
0x3a, 0x05, 0xa9, 0x8c, 0xc0, 0x00, 0x9d, 0x58, 0x10, 0x32, 0x62, 0x61, 0x89, 0x5c, 0xe7, 0xb6,
|
|
0x8a, 0x48, 0x62, 0xe3, 0xb8, 0x03, 0x4f, 0xc4, 0xc6, 0x33, 0xa2, 0xd8, 0x2e, 0x49, 0x19, 0x3a,
|
|
0x30, 0x25, 0x3e, 0x3e, 0xfe, 0x74, 0xee, 0xb9, 0x10, 0x30, 0x5e, 0x29, 0xca, 0x54, 0x22, 0x24,
|
|
0x57, 0x3c, 0x1c, 0xea, 0xcf, 0x6a, 0xbb, 0x8e, 0x3f, 0x1d, 0x98, 0x2d, 0xcd, 0x1d, 0xc1, 0xf7,
|
|
0x2d, 0xd6, 0xea, 0x49, 0x72, 0x41, 0x37, 0x54, 0x61, 0xf6, 0xac, 0xa8, 0xc2, 0xf0, 0x14, 0xfc,
|
|
0x82, 0x33, 0x5a, 0xa4, 0xac, 0xe0, 0xec, 0x6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