226 lines
8.7 KiB
Go
226 lines
8.7 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 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"`
|
|
SentContactRequestSignature *ContactRequestSignature `protobuf:"bytes,14,opt,name=sent_contact_request_signature,json=sentContactRequestSignature,proto3" json:"sent_contact_request_signature,omitempty"`
|
|
ReceivedContactRequestSignature *ContactRequestSignature `protobuf:"bytes,15,opt,name=received_contact_request_signature,json=receivedContactRequestSignature,proto3" json:"received_contact_request_signature,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{0}
|
|
}
|
|
|
|
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) GetSentContactRequestSignature() *ContactRequestSignature {
|
|
if m != nil {
|
|
return m.SentContactRequestSignature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ContactUpdate) GetReceivedContactRequestSignature() *ContactRequestSignature {
|
|
if m != nil {
|
|
return m.ReceivedContactRequestSignature
|
|
}
|
|
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{1}
|
|
}
|
|
|
|
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{2}
|
|
}
|
|
|
|
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((*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{
|
|
// 294 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 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