From 3b5eab3bf194e3d9f56fd98e1eb65b52f7683132 Mon Sep 17 00:00:00 2001 From: frank Date: Wed, 15 May 2024 08:01:47 +0800 Subject: [PATCH] fix_:sync contact request decision (#5130) * fix_:sync contact request decision * chore_:optimise test * chore_:address feedback from review --- protocol/message_persistence.go | 17 +- protocol/messenger.go | 42 +- protocol/messenger_contacts.go | 53 +- protocol/messenger_handler.go | 8 +- protocol/messenger_installations_test.go | 7 +- ...mmunity_privileged_user_sync_message.pb.go | 325 +- protocol/protobuf/pairing.pb.go | 6560 +++++++---------- protocol/protobuf/pairing.proto | 11 + server/pairing/sync_device_test.go | 73 + 9 files changed, 2779 insertions(+), 4317 deletions(-) diff --git a/protocol/message_persistence.go b/protocol/message_persistence.go index 3ee1fa332..133f35a89 100644 --- a/protocol/message_persistence.go +++ b/protocol/message_persistence.go @@ -951,19 +951,19 @@ func (db sqlitePersistence) LatestPendingContactRequestIDForContact(contactID st return id, nil } -func (db sqlitePersistence) LatestContactRequestIDs() (map[string]common.ContactRequestState, error) { - res := map[string]common.ContactRequestState{} +func (db sqlitePersistence) LatestContactRequests() ([]LatestContactRequest, error) { + res := make([]LatestContactRequest, 0) rows, err := db.db.Query( fmt.Sprintf( ` SELECT - id, contact_request_state + id, contact_request_state, local_chat_id FROM user_messages m1 WHERE m1.content_type = ? ORDER BY %s DESC - LIMIT 20 + LIMIT 200 `, cursor), protobuf.ChatMessage_CONTACT_REQUEST) if err != nil { @@ -975,12 +975,17 @@ func (db sqlitePersistence) LatestContactRequestIDs() (map[string]common.Contact for rows.Next() { var id string var contactRequestState sql.NullInt64 - err := rows.Scan(&id, &contactRequestState) + var localChatID string + err := rows.Scan(&id, &contactRequestState, &localChatID) if err != nil { return nil, err } - res[id] = common.ContactRequestState(contactRequestState.Int64) + res = append(res, LatestContactRequest{ + MessageID: id, + ContactRequestState: common.ContactRequestState(contactRequestState.Int64), + ContactID: localChatID, + }) } return res, nil diff --git a/protocol/messenger.go b/protocol/messenger.go index b5c9204ad..834b13664 100644 --- a/protocol/messenger.go +++ b/protocol/messenger.go @@ -219,6 +219,12 @@ type EnvelopeEventsInterceptor struct { Messenger *Messenger } +type LatestContactRequest struct { + MessageID string + ContactRequestState common.ContactRequestState + ContactID string +} + func (m *Messenger) GetOwnPrimaryName() (string, error) { ensName, err := m.settings.ENSName() if err != nil { @@ -2714,22 +2720,10 @@ func (m *Messenger) SyncDevices(ctx context.Context, ensName, photoPath string, return err } - ids, err := m.persistence.LatestContactRequestIDs() - - if err != nil { + if err = m.syncLatestContactRequests(ctx, rawMessageHandler); err != nil { return err } - for id, state := range ids { - if state == common.ContactRequestStateAccepted || state == common.ContactRequestStateDismissed { - accepted := state == common.ContactRequestStateAccepted - err := m.syncContactRequestDecision(ctx, id, accepted, rawMessageHandler) - if err != nil { - return err - } - } - } - // we have to sync deleted keypairs as well keypairs, err := m.settings.GetAllKeypairs() if err != nil { @@ -2796,7 +2790,26 @@ func (m *Messenger) SyncDevices(ctx context.Context, ensName, photoPath string, return nil } -func (m *Messenger) syncContactRequestDecision(ctx context.Context, requestID string, accepted bool, rawMessageHandler RawMessageHandler) error { +func (m *Messenger) syncLatestContactRequests(ctx context.Context, rawMessageHandler RawMessageHandler) error { + latestContactRequests, err := m.persistence.LatestContactRequests() + + if err != nil { + return err + } + + for _, r := range latestContactRequests { + if r.ContactRequestState == common.ContactRequestStateAccepted || r.ContactRequestState == common.ContactRequestStateDismissed { + accepted := r.ContactRequestState == common.ContactRequestStateAccepted + err = m.syncContactRequestDecision(ctx, r.MessageID, r.ContactID, accepted, rawMessageHandler) + if err != nil { + return err + } + } + } + return nil +} + +func (m *Messenger) syncContactRequestDecision(ctx context.Context, requestID, contactId string, accepted bool, rawMessageHandler RawMessageHandler) error { m.logger.Info("syncContactRequestDecision", zap.Any("from", requestID)) if !m.hasPairedDevices() { return nil @@ -2813,6 +2826,7 @@ func (m *Messenger) syncContactRequestDecision(ctx context.Context, requestID st message := &protobuf.SyncContactRequestDecision{ RequestId: requestID, + ContactId: contactId, Clock: clock, DecisionStatus: status, } diff --git a/protocol/messenger_contacts.go b/protocol/messenger_contacts.go index c7bd384e3..011758f8d 100644 --- a/protocol/messenger_contacts.go +++ b/protocol/messenger_contacts.go @@ -153,7 +153,7 @@ func (m *Messenger) AcceptContactRequest(ctx context.Context, request *requests. return nil, err } - err = m.syncContactRequestDecision(ctx, request.ID.String(), true, m.dispatchMessage) + err = m.syncContactRequestDecision(ctx, request.ID.String(), "", true, m.dispatchMessage) if err != nil { return nil, err } @@ -161,19 +161,33 @@ func (m *Messenger) AcceptContactRequest(ctx context.Context, request *requests. return response, nil } -func (m *Messenger) declineContactRequest(requestID string, fromSyncing bool) (*MessengerResponse, error) { +func (m *Messenger) declineContactRequest(requestID, contactID string, fromSyncing bool) (*MessengerResponse, error) { m.logger.Info("declineContactRequest") - contactRequest, err := m.persistence.MessageByID(requestID) - if err != nil { - return nil, err - } - contact, err := m.BuildContact(&requests.BuildContact{PublicKey: contactRequest.From}) + contactRequest, err := m.persistence.MessageByID(requestID) + if err == common.ErrRecordNotFound && fromSyncing { + // original requestID(Message ID) is useless since we don't sync UserMessage in this case + requestID = defaultContactRequestID(contactID) + contactRequest, err = m.persistence.MessageByID(requestID) + } if err != nil { return nil, err } response := &MessengerResponse{} + var contact *Contact + if contactRequest != nil { + contact, err = m.BuildContact(&requests.BuildContact{PublicKey: contactRequest.From}) + if err != nil { + return nil, err + } + contactRequest.ContactRequestState = common.ContactRequestStateDismissed + err = m.persistence.SetContactRequestState(contactRequest.ID, contactRequest.ContactRequestState) + if err != nil { + return nil, err + } + response.AddMessage(contactRequest) + } if !fromSyncing { _, clock, err := m.getOneToOneAndNextClock(contact) @@ -189,15 +203,9 @@ func (m *Messenger) declineContactRequest(requestID string, fromSyncing bool) (* response.AddContact(contact) } - contactRequest.ContactRequestState = common.ContactRequestStateDismissed - - err = m.persistence.SetContactRequestState(contactRequest.ID, contactRequest.ContactRequestState) - if err != nil { - return nil, err - } // update notification with the correct status - notification, err := m.persistence.GetActivityCenterNotificationByID(types.FromHex(contactRequest.ID)) + notification, err := m.persistence.GetActivityCenterNotificationByID(types.FromHex(requestID)) if err != nil { return nil, err } @@ -214,7 +222,6 @@ func (m *Messenger) declineContactRequest(requestID string, fromSyncing bool) (* return nil, err } } - response.AddMessage(contactRequest) return response, nil } @@ -224,12 +231,12 @@ func (m *Messenger) DeclineContactRequest(ctx context.Context, request *requests return nil, err } - response, err := m.declineContactRequest(request.ID.String(), false) + response, err := m.declineContactRequest(request.ID.String(), "", false) if err != nil { return nil, err } - err = m.syncContactRequestDecision(ctx, request.ID.String(), false, m.dispatchMessage) + err = m.syncContactRequestDecision(ctx, request.ID.String(), "", false, m.dispatchMessage) if err != nil { return nil, err } @@ -273,11 +280,15 @@ func (m *Messenger) SendContactRequest(ctx context.Context, request *requests.Se ) } -func (m *Messenger) updateAcceptedContactRequest(response *MessengerResponse, contactRequestID string, fromSyncing bool) (*MessengerResponse, error) { - - m.logger.Debug("updateAcceptedContactRequest", zap.String("contactRequestID", contactRequestID)) +func (m *Messenger) updateAcceptedContactRequest(response *MessengerResponse, contactRequestID, contactID string, fromSyncing bool) (*MessengerResponse, error) { + m.logger.Debug("updateAcceptedContactRequest", zap.String("contactRequestID", contactRequestID), zap.String("contactID", contactID), zap.Bool("fromSyncing", fromSyncing)) contactRequest, err := m.persistence.MessageByID(contactRequestID) + if err == common.ErrRecordNotFound && fromSyncing { + // original requestID(Message ID) is useless since we don't sync UserMessage in this case + contactRequestID = defaultContactRequestID(contactID) + contactRequest, err = m.persistence.MessageByID(contactRequestID) + } if err != nil { m.logger.Error("contact request not found", zap.String("contactRequestID", contactRequestID), zap.Error(err)) return nil, err @@ -493,7 +504,7 @@ func (m *Messenger) addContact(ctx context.Context, } if len(contactRequestID) != 0 { - updatedResponse, err := m.updateAcceptedContactRequest(response, contactRequestID, false) + updatedResponse, err := m.updateAcceptedContactRequest(response, contactRequestID, "", false) if err != nil { return nil, err } diff --git a/protocol/messenger_handler.go b/protocol/messenger_handler.go index dad11dbe2..22609b5b3 100644 --- a/protocol/messenger_handler.go +++ b/protocol/messenger_handler.go @@ -3784,17 +3784,15 @@ func (m *Messenger) HandleSyncContactRequestDecision(state *ReceivedMessageState var response *MessengerResponse if message.DecisionStatus == protobuf.SyncContactRequestDecision_ACCEPTED { - response, err = m.updateAcceptedContactRequest(nil, message.RequestId, true) + response, err = m.updateAcceptedContactRequest(nil, message.RequestId, message.ContactId, true) } else { - response, err = m.declineContactRequest(message.RequestId, true) + response, err = m.declineContactRequest(message.RequestId, message.ContactId, true) } if err != nil { return err } - state.Response = response - - return nil + return state.Response.Merge(response) } func (m *Messenger) HandlePushNotificationRegistration(state *ReceivedMessageState, encryptedRegistration []byte, statusMessage *v1protocol.StatusMessage) error { diff --git a/protocol/messenger_installations_test.go b/protocol/messenger_installations_test.go index a5d7a0e16..b9dcedb91 100644 --- a/protocol/messenger_installations_test.go +++ b/protocol/messenger_installations_test.go @@ -279,8 +279,11 @@ func (s *MessengerInstallationSuite) TestSyncInstallation() { } allChats = append(allChats, response.Chats()...) - if len(response.Contacts) == 1 { - actualContact = response.Contacts[0] + for _, c := range response.Contacts { + if c.LocalNickname == contact.LocalNickname { + actualContact = c + break + } } bookmarks = append(bookmarks, response.GetBookmarks()...) diff --git a/protocol/protobuf/community_privileged_user_sync_message.pb.go b/protocol/protobuf/community_privileged_user_sync_message.pb.go index a3b239c90..f8cd1119a 100644 --- a/protocol/protobuf/community_privileged_user_sync_message.pb.go +++ b/protocol/protobuf/community_privileged_user_sync_message.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.31.0 -// protoc v3.20.3 // source: community_privileged_user_sync_message.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// 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 CommunityPrivilegedUserSyncMessage_EventType int32 @@ -29,250 +29,135 @@ const ( CommunityPrivilegedUserSyncMessage_CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN CommunityPrivilegedUserSyncMessage_EventType = 3 ) -// Enum value maps for CommunityPrivilegedUserSyncMessage_EventType. -var ( - CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN", - 2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN", - 3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN", - } - CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{ - "UNKNOWN": 0, - "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1, - "CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2, - "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3, - } -) +var CommunityPrivilegedUserSyncMessage_EventType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN", + 2: "CONTROL_NODE_REJECT_REQUEST_TO_JOIN", + 3: "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN", +} -func (x CommunityPrivilegedUserSyncMessage_EventType) Enum() *CommunityPrivilegedUserSyncMessage_EventType { - p := new(CommunityPrivilegedUserSyncMessage_EventType) - *p = x - return p +var CommunityPrivilegedUserSyncMessage_EventType_value = map[string]int32{ + "UNKNOWN": 0, + "CONTROL_NODE_ACCEPT_REQUEST_TO_JOIN": 1, + "CONTROL_NODE_REJECT_REQUEST_TO_JOIN": 2, + "CONTROL_NODE_ALL_SYNC_REQUESTS_TO_JOIN": 3, } func (x CommunityPrivilegedUserSyncMessage_EventType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(CommunityPrivilegedUserSyncMessage_EventType_name, int32(x)) } -func (CommunityPrivilegedUserSyncMessage_EventType) Descriptor() protoreflect.EnumDescriptor { - return file_community_privileged_user_sync_message_proto_enumTypes[0].Descriptor() -} - -func (CommunityPrivilegedUserSyncMessage_EventType) Type() protoreflect.EnumType { - return &file_community_privileged_user_sync_message_proto_enumTypes[0] -} - -func (x CommunityPrivilegedUserSyncMessage_EventType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommunityPrivilegedUserSyncMessage_EventType.Descriptor instead. func (CommunityPrivilegedUserSyncMessage_EventType) EnumDescriptor() ([]byte, []int) { - return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{0, 0} + return fileDescriptor_158595055b4cfee2, []int{0, 0} } type CommunityPrivilegedUserSyncMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"` - CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Type CommunityPrivilegedUserSyncMessage_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.CommunityPrivilegedUserSyncMessage_EventType" json:"type,omitempty"` + CommunityId []byte `protobuf:"bytes,3,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + RequestToJoin map[string]*CommunityRequestToJoin `protobuf:"bytes,4,rep,name=request_to_join,json=requestToJoin,proto3" json:"request_to_join,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + SyncRequestsToJoin []*SyncCommunityRequestsToJoin `protobuf:"bytes,5,rep,name=sync_requests_to_join,json=syncRequestsToJoin,proto3" json:"sync_requests_to_join,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CommunityPrivilegedUserSyncMessage) Reset() { - *x = CommunityPrivilegedUserSyncMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_community_privileged_user_sync_message_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommunityPrivilegedUserSyncMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {} - -func (x *CommunityPrivilegedUserSyncMessage) ProtoReflect() protoreflect.Message { - mi := &file_community_privileged_user_sync_message_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommunityPrivilegedUserSyncMessage.ProtoReflect.Descriptor instead. +func (m *CommunityPrivilegedUserSyncMessage) Reset() { *m = CommunityPrivilegedUserSyncMessage{} } +func (m *CommunityPrivilegedUserSyncMessage) String() string { return proto.CompactTextString(m) } +func (*CommunityPrivilegedUserSyncMessage) ProtoMessage() {} func (*CommunityPrivilegedUserSyncMessage) Descriptor() ([]byte, []int) { - return file_community_privileged_user_sync_message_proto_rawDescGZIP(), []int{0} + return fileDescriptor_158595055b4cfee2, []int{0} } -func (x *CommunityPrivilegedUserSyncMessage) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *CommunityPrivilegedUserSyncMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Unmarshal(m, b) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Marshal(b, m, deterministic) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Merge(m, src) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_Size() int { + return xxx_messageInfo_CommunityPrivilegedUserSyncMessage.Size(m) +} +func (m *CommunityPrivilegedUserSyncMessage) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPrivilegedUserSyncMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityPrivilegedUserSyncMessage proto.InternalMessageInfo + +func (m *CommunityPrivilegedUserSyncMessage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType { - if x != nil { - return x.Type +func (m *CommunityPrivilegedUserSyncMessage) GetType() CommunityPrivilegedUserSyncMessage_EventType { + if m != nil { + return m.Type } return CommunityPrivilegedUserSyncMessage_UNKNOWN } -func (x *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *CommunityPrivilegedUserSyncMessage) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin { - if x != nil { - return x.RequestToJoin +func (m *CommunityPrivilegedUserSyncMessage) GetRequestToJoin() map[string]*CommunityRequestToJoin { + if m != nil { + return m.RequestToJoin } return nil } -func (x *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin { - if x != nil { - return x.SyncRequestsToJoin +func (m *CommunityPrivilegedUserSyncMessage) GetSyncRequestsToJoin() []*SyncCommunityRequestsToJoin { + if m != nil { + return m.SyncRequestsToJoin } return nil } -var File_community_privileged_user_sync_message_proto protoreflect.FileDescriptor - -var file_community_privileged_user_sync_message_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x76, - 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x79, 0x6e, 0x63, - 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x70, 0x61, 0x69, - 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x04, 0x0a, 0x22, 0x43, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, - 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x4a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, - 0x65, 0x67, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x67, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x3f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x55, 0x73, - 0x65, 0x72, 0x53, 0x79, 0x6e, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x12, - 0x58, 0x0a, 0x15, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x5f, 0x74, 0x6f, 0x5f, 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, - 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x52, 0x12, 0x73, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x1a, 0x62, 0x0a, 0x12, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x6f, 0x4a, 0x6f, - 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x01, - 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, - 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4e, 0x54, - 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, - 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, - 0x01, 0x12, 0x27, 0x0a, 0x23, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, - 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, - 0x5f, 0x54, 0x4f, 0x5f, 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x2a, 0x0a, 0x26, 0x43, 0x4f, - 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x53, - 0x59, 0x4e, 0x43, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x53, 0x5f, 0x54, 0x4f, 0x5f, - 0x4a, 0x4f, 0x49, 0x4e, 0x10, 0x03, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +func init() { + proto.RegisterEnum("protobuf.CommunityPrivilegedUserSyncMessage_EventType", CommunityPrivilegedUserSyncMessage_EventType_name, CommunityPrivilegedUserSyncMessage_EventType_value) + proto.RegisterType((*CommunityPrivilegedUserSyncMessage)(nil), "protobuf.CommunityPrivilegedUserSyncMessage") + proto.RegisterMapType((map[string]*CommunityRequestToJoin)(nil), "protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry") } -var ( - file_community_privileged_user_sync_message_proto_rawDescOnce sync.Once - file_community_privileged_user_sync_message_proto_rawDescData = file_community_privileged_user_sync_message_proto_rawDesc -) - -func file_community_privileged_user_sync_message_proto_rawDescGZIP() []byte { - file_community_privileged_user_sync_message_proto_rawDescOnce.Do(func() { - file_community_privileged_user_sync_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_community_privileged_user_sync_message_proto_rawDescData) - }) - return file_community_privileged_user_sync_message_proto_rawDescData +func init() { + proto.RegisterFile("community_privileged_user_sync_message.proto", fileDescriptor_158595055b4cfee2) } -var file_community_privileged_user_sync_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_community_privileged_user_sync_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_community_privileged_user_sync_message_proto_goTypes = []interface{}{ - (CommunityPrivilegedUserSyncMessage_EventType)(0), // 0: protobuf.CommunityPrivilegedUserSyncMessage.EventType - (*CommunityPrivilegedUserSyncMessage)(nil), // 1: protobuf.CommunityPrivilegedUserSyncMessage - nil, // 2: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry - (*SyncCommunityRequestsToJoin)(nil), // 3: protobuf.SyncCommunityRequestsToJoin - (*CommunityRequestToJoin)(nil), // 4: protobuf.CommunityRequestToJoin -} -var file_community_privileged_user_sync_message_proto_depIdxs = []int32{ - 0, // 0: protobuf.CommunityPrivilegedUserSyncMessage.type:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.EventType - 2, // 1: protobuf.CommunityPrivilegedUserSyncMessage.request_to_join:type_name -> protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry - 3, // 2: protobuf.CommunityPrivilegedUserSyncMessage.sync_requests_to_join:type_name -> protobuf.SyncCommunityRequestsToJoin - 4, // 3: protobuf.CommunityPrivilegedUserSyncMessage.RequestToJoinEntry.value:type_name -> protobuf.CommunityRequestToJoin - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_community_privileged_user_sync_message_proto_init() } -func file_community_privileged_user_sync_message_proto_init() { - if File_community_privileged_user_sync_message_proto != nil { - return - } - file_communities_proto_init() - file_pairing_proto_init() - if !protoimpl.UnsafeEnabled { - file_community_privileged_user_sync_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommunityPrivilegedUserSyncMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_community_privileged_user_sync_message_proto_rawDesc, - NumEnums: 1, - NumMessages: 2, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_community_privileged_user_sync_message_proto_goTypes, - DependencyIndexes: file_community_privileged_user_sync_message_proto_depIdxs, - EnumInfos: file_community_privileged_user_sync_message_proto_enumTypes, - MessageInfos: file_community_privileged_user_sync_message_proto_msgTypes, - }.Build() - File_community_privileged_user_sync_message_proto = out.File - file_community_privileged_user_sync_message_proto_rawDesc = nil - file_community_privileged_user_sync_message_proto_goTypes = nil - file_community_privileged_user_sync_message_proto_depIdxs = nil +var fileDescriptor_158595055b4cfee2 = []byte{ + // 407 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x5f, 0xab, 0xd3, 0x30, + 0x18, 0xc6, 0xed, 0xda, 0xa9, 0x27, 0x3d, 0xd3, 0x19, 0x14, 0xca, 0xae, 0xea, 0x44, 0x2d, 0x22, + 0x15, 0x26, 0x1c, 0x44, 0x2f, 0x44, 0x6b, 0x2e, 0x4e, 0x9d, 0xed, 0x31, 0xed, 0xf0, 0xcf, 0x4d, + 0xd8, 0xba, 0x58, 0xe2, 0xb6, 0xa4, 0x26, 0xed, 0xa0, 0x5f, 0xc4, 0xef, 0xe8, 0xb7, 0x90, 0x35, + 0x6b, 0xe7, 0x98, 0x20, 0x5e, 0xf5, 0x7d, 0x9f, 0x3e, 0xf9, 0x3d, 0xbc, 0x0f, 0x78, 0x9a, 0x89, + 0xcd, 0xa6, 0xe2, 0xac, 0xac, 0x49, 0x21, 0xd9, 0x96, 0xad, 0x69, 0x4e, 0x97, 0xa4, 0x52, 0x54, + 0x12, 0x55, 0xf3, 0x8c, 0x6c, 0xa8, 0x52, 0xf3, 0x9c, 0xfa, 0x85, 0x14, 0xa5, 0x80, 0x37, 0x9b, + 0xcf, 0xa2, 0xfa, 0x36, 0xba, 0xd3, 0xbe, 0x63, 0x54, 0xe9, 0x9f, 0xa3, 0x41, 0x31, 0x67, 0x92, + 0xf1, 0x5c, 0xaf, 0xe3, 0x5f, 0x16, 0x18, 0x07, 0x2d, 0xfc, 0xaa, 0x63, 0xcf, 0x14, 0x95, 0x49, + 0xcd, 0xb3, 0x0f, 0x1a, 0x0c, 0xef, 0x82, 0x7e, 0xb6, 0x16, 0xd9, 0xca, 0x31, 0x5c, 0xc3, 0xb3, + 0xb0, 0x5e, 0x60, 0x08, 0xac, 0xb2, 0x2e, 0xa8, 0xd3, 0x73, 0x0d, 0xef, 0xd6, 0xe4, 0xc2, 0x6f, + 0x73, 0xfd, 0x7f, 0x13, 0x7d, 0xb4, 0xa5, 0xbc, 0x4c, 0xeb, 0x82, 0xe2, 0x86, 0x01, 0xef, 0x83, + 0xf3, 0xc3, 0x91, 0x6c, 0xe9, 0x98, 0xae, 0xe1, 0x9d, 0x63, 0xbb, 0xd3, 0x2e, 0x97, 0x30, 0x07, + 0xb7, 0x25, 0xfd, 0x51, 0x51, 0x55, 0x92, 0x52, 0x90, 0xef, 0x82, 0x71, 0xc7, 0x72, 0x4d, 0xcf, + 0x9e, 0xbc, 0xfe, 0xaf, 0x64, 0xac, 0x19, 0xa9, 0x08, 0x05, 0xe3, 0x88, 0x97, 0xb2, 0xc6, 0x03, + 0xf9, 0xa7, 0x06, 0x3f, 0x83, 0x7b, 0x4d, 0xad, 0x7b, 0x55, 0x75, 0x71, 0xfd, 0x26, 0xee, 0xe1, + 0x21, 0x6e, 0xc7, 0xed, 0x22, 0xf7, 0x60, 0xa5, 0x29, 0x18, 0xee, 0x18, 0xc7, 0xda, 0x68, 0x01, + 0xe0, 0x69, 0x3c, 0x1c, 0x02, 0x73, 0x45, 0xeb, 0xa6, 0xdb, 0x33, 0xbc, 0x1b, 0xe1, 0x05, 0xe8, + 0x6f, 0xe7, 0xeb, 0x4a, 0x57, 0x6b, 0x4f, 0xdc, 0xbf, 0x1c, 0x78, 0xc4, 0xc1, 0xda, 0xfe, 0xb2, + 0xf7, 0xc2, 0x18, 0xff, 0x34, 0xc0, 0x59, 0xd7, 0x2e, 0xb4, 0xc1, 0x8d, 0x59, 0xf4, 0x3e, 0x8a, + 0x3f, 0x45, 0xc3, 0x6b, 0xf0, 0x31, 0x78, 0x10, 0xc4, 0x51, 0x8a, 0xe3, 0x29, 0x89, 0xe2, 0x77, + 0x88, 0xbc, 0x09, 0x02, 0x74, 0x95, 0x12, 0x8c, 0x3e, 0xce, 0x50, 0x92, 0x92, 0x34, 0x26, 0x61, + 0x7c, 0x19, 0x0d, 0x8d, 0x13, 0x23, 0x46, 0x21, 0x0a, 0x4e, 0x8d, 0x3d, 0xf8, 0x04, 0x3c, 0x3a, + 0x26, 0x4e, 0xa7, 0x24, 0xf9, 0x12, 0x05, 0xad, 0x35, 0xe9, 0xbc, 0xe6, 0xdb, 0xc1, 0x57, 0xdb, + 0x7f, 0xf6, 0xaa, 0xbd, 0x64, 0x71, 0xbd, 0x99, 0x9e, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x83, + 0x24, 0x18, 0xbe, 0xdd, 0x02, 0x00, 0x00, } diff --git a/protocol/protobuf/pairing.pb.go b/protocol/protobuf/pairing.pb.go index ec149c845..189328708 100644 --- a/protocol/protobuf/pairing.pb.go +++ b/protocol/protobuf/pairing.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.31.0 -// protoc v3.20.3 // source: pairing.proto package protobuf import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// 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 SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision int32 @@ -27,43 +27,22 @@ const ( SyncActivityCenterCommunityRequestDecision_DECLINED SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision = 1 ) -// Enum value maps for SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision. -var ( - SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name = map[int32]string{ - 0: "ACCEPTED", - 1: "DECLINED", - } - SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_value = map[string]int32{ - "ACCEPTED": 0, - "DECLINED": 1, - } -) +var SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name = map[int32]string{ + 0: "ACCEPTED", + 1: "DECLINED", +} -func (x SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Enum() *SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision { - p := new(SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) - *p = x - return p +var SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_value = map[string]int32{ + "ACCEPTED": 0, + "DECLINED": 1, } func (x SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name, int32(x)) } -func (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[0].Descriptor() -} - -func (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[0] -} - -func (x SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision.Descriptor instead. func (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{20, 0} + return fileDescriptor_d61ab7221f0b5518, []int{20, 0} } type SyncTrustedUser_TrustStatus int32 @@ -74,45 +53,24 @@ const ( SyncTrustedUser_UNTRUSTWORTHY SyncTrustedUser_TrustStatus = 2 ) -// Enum value maps for SyncTrustedUser_TrustStatus. -var ( - SyncTrustedUser_TrustStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "TRUSTED", - 2: "UNTRUSTWORTHY", - } - SyncTrustedUser_TrustStatus_value = map[string]int32{ - "UNKNOWN": 0, - "TRUSTED": 1, - "UNTRUSTWORTHY": 2, - } -) +var SyncTrustedUser_TrustStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "TRUSTED", + 2: "UNTRUSTWORTHY", +} -func (x SyncTrustedUser_TrustStatus) Enum() *SyncTrustedUser_TrustStatus { - p := new(SyncTrustedUser_TrustStatus) - *p = x - return p +var SyncTrustedUser_TrustStatus_value = map[string]int32{ + "UNKNOWN": 0, + "TRUSTED": 1, + "UNTRUSTWORTHY": 2, } func (x SyncTrustedUser_TrustStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncTrustedUser_TrustStatus_name, int32(x)) } -func (SyncTrustedUser_TrustStatus) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[1].Descriptor() -} - -func (SyncTrustedUser_TrustStatus) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[1] -} - -func (x SyncTrustedUser_TrustStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncTrustedUser_TrustStatus.Descriptor instead. func (SyncTrustedUser_TrustStatus) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{31, 0} + return fileDescriptor_d61ab7221f0b5518, []int{31, 0} } type SyncVerificationRequest_VerificationStatus int32 @@ -125,49 +83,28 @@ const ( SyncVerificationRequest_CANCELED SyncVerificationRequest_VerificationStatus = 4 ) -// Enum value maps for SyncVerificationRequest_VerificationStatus. -var ( - SyncVerificationRequest_VerificationStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "PENDING", - 2: "ACCEPTED", - 3: "DECLINED", - 4: "CANCELED", - } - SyncVerificationRequest_VerificationStatus_value = map[string]int32{ - "UNKNOWN": 0, - "PENDING": 1, - "ACCEPTED": 2, - "DECLINED": 3, - "CANCELED": 4, - } -) +var SyncVerificationRequest_VerificationStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "PENDING", + 2: "ACCEPTED", + 3: "DECLINED", + 4: "CANCELED", +} -func (x SyncVerificationRequest_VerificationStatus) Enum() *SyncVerificationRequest_VerificationStatus { - p := new(SyncVerificationRequest_VerificationStatus) - *p = x - return p +var SyncVerificationRequest_VerificationStatus_value = map[string]int32{ + "UNKNOWN": 0, + "PENDING": 1, + "ACCEPTED": 2, + "DECLINED": 3, + "CANCELED": 4, } func (x SyncVerificationRequest_VerificationStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncVerificationRequest_VerificationStatus_name, int32(x)) } -func (SyncVerificationRequest_VerificationStatus) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[2].Descriptor() -} - -func (SyncVerificationRequest_VerificationStatus) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[2] -} - -func (x SyncVerificationRequest_VerificationStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncVerificationRequest_VerificationStatus.Descriptor instead. func (SyncVerificationRequest_VerificationStatus) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{32, 0} + return fileDescriptor_d61ab7221f0b5518, []int{32, 0} } type SyncContactRequestDecision_DecisionStatus int32 @@ -177,106 +114,73 @@ const ( SyncContactRequestDecision_DECLINED SyncContactRequestDecision_DecisionStatus = 1 ) -// Enum value maps for SyncContactRequestDecision_DecisionStatus. -var ( - SyncContactRequestDecision_DecisionStatus_name = map[int32]string{ - 0: "ACCEPTED", - 1: "DECLINED", - } - SyncContactRequestDecision_DecisionStatus_value = map[string]int32{ - "ACCEPTED": 0, - "DECLINED": 1, - } -) +var SyncContactRequestDecision_DecisionStatus_name = map[int32]string{ + 0: "ACCEPTED", + 1: "DECLINED", +} -func (x SyncContactRequestDecision_DecisionStatus) Enum() *SyncContactRequestDecision_DecisionStatus { - p := new(SyncContactRequestDecision_DecisionStatus) - *p = x - return p +var SyncContactRequestDecision_DecisionStatus_value = map[string]int32{ + "ACCEPTED": 0, + "DECLINED": 1, } func (x SyncContactRequestDecision_DecisionStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(SyncContactRequestDecision_DecisionStatus_name, int32(x)) } -func (SyncContactRequestDecision_DecisionStatus) Descriptor() protoreflect.EnumDescriptor { - return file_pairing_proto_enumTypes[3].Descriptor() -} - -func (SyncContactRequestDecision_DecisionStatus) Type() protoreflect.EnumType { - return &file_pairing_proto_enumTypes[3] -} - -func (x SyncContactRequestDecision_DecisionStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SyncContactRequestDecision_DecisionStatus.Descriptor instead. func (SyncContactRequestDecision_DecisionStatus) EnumDescriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{33, 0} + return fileDescriptor_d61ab7221f0b5518, []int{33, 0} } // `FetchingBackedUpDataDetails` is used to describe how many messages a single backup data structure consists of type FetchingBackedUpDataDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DataNumber uint32 `protobuf:"varint,1,opt,name=data_number,json=dataNumber,proto3" json:"data_number,omitempty"` - TotalNumber uint32 `protobuf:"varint,2,opt,name=total_number,json=totalNumber,proto3" json:"total_number,omitempty"` + DataNumber uint32 `protobuf:"varint,1,opt,name=data_number,json=dataNumber,proto3" json:"data_number,omitempty"` + TotalNumber uint32 `protobuf:"varint,2,opt,name=total_number,json=totalNumber,proto3" json:"total_number,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FetchingBackedUpDataDetails) Reset() { - *x = FetchingBackedUpDataDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchingBackedUpDataDetails) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchingBackedUpDataDetails) ProtoMessage() {} - -func (x *FetchingBackedUpDataDetails) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchingBackedUpDataDetails.ProtoReflect.Descriptor instead. +func (m *FetchingBackedUpDataDetails) Reset() { *m = FetchingBackedUpDataDetails{} } +func (m *FetchingBackedUpDataDetails) String() string { return proto.CompactTextString(m) } +func (*FetchingBackedUpDataDetails) ProtoMessage() {} func (*FetchingBackedUpDataDetails) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{0} + return fileDescriptor_d61ab7221f0b5518, []int{0} } -func (x *FetchingBackedUpDataDetails) GetDataNumber() uint32 { - if x != nil { - return x.DataNumber +func (m *FetchingBackedUpDataDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchingBackedUpDataDetails.Unmarshal(m, b) +} +func (m *FetchingBackedUpDataDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchingBackedUpDataDetails.Marshal(b, m, deterministic) +} +func (m *FetchingBackedUpDataDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchingBackedUpDataDetails.Merge(m, src) +} +func (m *FetchingBackedUpDataDetails) XXX_Size() int { + return xxx_messageInfo_FetchingBackedUpDataDetails.Size(m) +} +func (m *FetchingBackedUpDataDetails) XXX_DiscardUnknown() { + xxx_messageInfo_FetchingBackedUpDataDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchingBackedUpDataDetails proto.InternalMessageInfo + +func (m *FetchingBackedUpDataDetails) GetDataNumber() uint32 { + if m != nil { + return m.DataNumber } return 0 } -func (x *FetchingBackedUpDataDetails) GetTotalNumber() uint32 { - if x != nil { - return x.TotalNumber +func (m *FetchingBackedUpDataDetails) GetTotalNumber() uint32 { + if m != nil { + return m.TotalNumber } return 0 } type Backup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // this is what we already had @@ -295,157 +199,149 @@ type Backup struct { WatchOnlyAccountDetails *FetchingBackedUpDataDetails `protobuf:"bytes,14,opt,name=watchOnlyAccountDetails,proto3" json:"watchOnlyAccountDetails,omitempty"` Chats []*SyncChat `protobuf:"bytes,15,rep,name=chats,proto3" json:"chats,omitempty"` ChatsDetails *FetchingBackedUpDataDetails `protobuf:"bytes,16,opt,name=chatsDetails,proto3" json:"chatsDetails,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Backup) Reset() { - *x = Backup{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Backup) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Backup) ProtoMessage() {} - -func (x *Backup) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Backup.ProtoReflect.Descriptor instead. +func (m *Backup) Reset() { *m = Backup{} } +func (m *Backup) String() string { return proto.CompactTextString(m) } +func (*Backup) ProtoMessage() {} func (*Backup) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{1} + return fileDescriptor_d61ab7221f0b5518, []int{1} } -func (x *Backup) GetClock() uint64 { - if x != nil { - return x.Clock +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 (x *Backup) GetId() string { - if x != nil { - return x.Id +func (m *Backup) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *Backup) GetContacts() []*SyncInstallationContactV2 { - if x != nil { - return x.Contacts +func (m *Backup) GetContacts() []*SyncInstallationContactV2 { + if m != nil { + return m.Contacts } return nil } -func (x *Backup) GetCommunities() []*SyncInstallationCommunity { - if x != nil { - return x.Communities +func (m *Backup) GetCommunities() []*SyncInstallationCommunity { + if m != nil { + return m.Communities } return nil } -func (x *Backup) GetContactsDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.ContactsDetails +func (m *Backup) GetContactsDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.ContactsDetails } return nil } -func (x *Backup) GetCommunitiesDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.CommunitiesDetails +func (m *Backup) GetCommunitiesDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.CommunitiesDetails } return nil } -func (x *Backup) GetProfile() *BackedUpProfile { - if x != nil { - return x.Profile +func (m *Backup) GetProfile() *BackedUpProfile { + if m != nil { + return m.Profile } return nil } -func (x *Backup) GetProfileDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.ProfileDetails +func (m *Backup) GetProfileDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.ProfileDetails } return nil } -func (x *Backup) GetSetting() *SyncSetting { - if x != nil { - return x.Setting +func (m *Backup) GetSetting() *SyncSetting { + if m != nil { + return m.Setting } return nil } -func (x *Backup) GetSettingsDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.SettingsDetails +func (m *Backup) GetSettingsDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.SettingsDetails } return nil } -func (x *Backup) GetKeypair() *SyncKeypair { - if x != nil { - return x.Keypair +func (m *Backup) GetKeypair() *SyncKeypair { + if m != nil { + return m.Keypair } return nil } -func (x *Backup) GetKeypairDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.KeypairDetails +func (m *Backup) GetKeypairDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.KeypairDetails } return nil } -func (x *Backup) GetWatchOnlyAccount() *SyncAccount { - if x != nil { - return x.WatchOnlyAccount +func (m *Backup) GetWatchOnlyAccount() *SyncAccount { + if m != nil { + return m.WatchOnlyAccount } return nil } -func (x *Backup) GetWatchOnlyAccountDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.WatchOnlyAccountDetails +func (m *Backup) GetWatchOnlyAccountDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.WatchOnlyAccountDetails } return nil } -func (x *Backup) GetChats() []*SyncChat { - if x != nil { - return x.Chats +func (m *Backup) GetChats() []*SyncChat { + if m != nil { + return m.Chats } return nil } -func (x *Backup) GetChatsDetails() *FetchingBackedUpDataDetails { - if x != nil { - return x.ChatsDetails +func (m *Backup) GetChatsDetails() *FetchingBackedUpDataDetails { + if m != nil { + return m.ChatsDetails } return nil } type MultiAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Identicon string `protobuf:"bytes,3,opt,name=identicon,proto3" json:"identicon,omitempty"` @@ -456,353 +352,502 @@ type MultiAccount struct { Images []*MultiAccount_IdentityImage `protobuf:"bytes,8,rep,name=images,proto3" json:"images,omitempty"` CustomizationColor string `protobuf:"bytes,9,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` CustomizationColorClock uint64 `protobuf:"varint,10,opt,name=customization_color_clock,json=customizationColorClock,proto3" json:"customization_color_clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MultiAccount) Reset() { - *x = MultiAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiAccount) ProtoMessage() {} - -func (x *MultiAccount) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiAccount.ProtoReflect.Descriptor instead. +func (m *MultiAccount) Reset() { *m = MultiAccount{} } +func (m *MultiAccount) String() string { return proto.CompactTextString(m) } +func (*MultiAccount) ProtoMessage() {} func (*MultiAccount) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{2} + return fileDescriptor_d61ab7221f0b5518, []int{2} } -func (x *MultiAccount) GetName() string { - if x != nil { - return x.Name +func (m *MultiAccount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiAccount.Unmarshal(m, b) +} +func (m *MultiAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiAccount.Marshal(b, m, deterministic) +} +func (m *MultiAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiAccount.Merge(m, src) +} +func (m *MultiAccount) XXX_Size() int { + return xxx_messageInfo_MultiAccount.Size(m) +} +func (m *MultiAccount) XXX_DiscardUnknown() { + xxx_messageInfo_MultiAccount.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiAccount proto.InternalMessageInfo + +func (m *MultiAccount) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *MultiAccount) GetTimestamp() int64 { - if x != nil { - return x.Timestamp +func (m *MultiAccount) GetTimestamp() int64 { + if m != nil { + return m.Timestamp } return 0 } -func (x *MultiAccount) GetIdenticon() string { - if x != nil { - return x.Identicon +func (m *MultiAccount) GetIdenticon() string { + if m != nil { + return m.Identicon } return "" } -func (x *MultiAccount) GetColorHash() []*MultiAccount_ColorHash { - if x != nil { - return x.ColorHash +func (m *MultiAccount) GetColorHash() []*MultiAccount_ColorHash { + if m != nil { + return m.ColorHash } return nil } -func (x *MultiAccount) GetColorId() int64 { - if x != nil { - return x.ColorId +func (m *MultiAccount) GetColorId() int64 { + if m != nil { + return m.ColorId } return 0 } -func (x *MultiAccount) GetKeycardPairing() string { - if x != nil { - return x.KeycardPairing +func (m *MultiAccount) GetKeycardPairing() string { + if m != nil { + return m.KeycardPairing } return "" } -func (x *MultiAccount) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *MultiAccount) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *MultiAccount) GetImages() []*MultiAccount_IdentityImage { - if x != nil { - return x.Images +func (m *MultiAccount) GetImages() []*MultiAccount_IdentityImage { + if m != nil { + return m.Images } return nil } -func (x *MultiAccount) GetCustomizationColor() string { - if x != nil { - return x.CustomizationColor +func (m *MultiAccount) GetCustomizationColor() string { + if m != nil { + return m.CustomizationColor } return "" } -func (x *MultiAccount) GetCustomizationColorClock() uint64 { - if x != nil { - return x.CustomizationColorClock +func (m *MultiAccount) GetCustomizationColorClock() uint64 { + if m != nil { + return m.CustomizationColorClock + } + return 0 +} + +type MultiAccount_ColorHash struct { + Index []int64 `protobuf:"varint,1,rep,packed,name=index,proto3" json:"index,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MultiAccount_ColorHash) Reset() { *m = MultiAccount_ColorHash{} } +func (m *MultiAccount_ColorHash) String() string { return proto.CompactTextString(m) } +func (*MultiAccount_ColorHash) ProtoMessage() {} +func (*MultiAccount_ColorHash) Descriptor() ([]byte, []int) { + return fileDescriptor_d61ab7221f0b5518, []int{2, 0} +} + +func (m *MultiAccount_ColorHash) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiAccount_ColorHash.Unmarshal(m, b) +} +func (m *MultiAccount_ColorHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiAccount_ColorHash.Marshal(b, m, deterministic) +} +func (m *MultiAccount_ColorHash) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiAccount_ColorHash.Merge(m, src) +} +func (m *MultiAccount_ColorHash) XXX_Size() int { + return xxx_messageInfo_MultiAccount_ColorHash.Size(m) +} +func (m *MultiAccount_ColorHash) XXX_DiscardUnknown() { + xxx_messageInfo_MultiAccount_ColorHash.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiAccount_ColorHash proto.InternalMessageInfo + +func (m *MultiAccount_ColorHash) GetIndex() []int64 { + if m != nil { + return m.Index + } + return nil +} + +type MultiAccount_IdentityImage struct { + KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` + Width int64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` + Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + Filesize int64 `protobuf:"varint,6,opt,name=filesize,proto3" json:"filesize,omitempty"` + ResizeTarget int64 `protobuf:"varint,7,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` + Clock uint64 `protobuf:"varint,8,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MultiAccount_IdentityImage) Reset() { *m = MultiAccount_IdentityImage{} } +func (m *MultiAccount_IdentityImage) String() string { return proto.CompactTextString(m) } +func (*MultiAccount_IdentityImage) ProtoMessage() {} +func (*MultiAccount_IdentityImage) Descriptor() ([]byte, []int) { + return fileDescriptor_d61ab7221f0b5518, []int{2, 1} +} + +func (m *MultiAccount_IdentityImage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiAccount_IdentityImage.Unmarshal(m, b) +} +func (m *MultiAccount_IdentityImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiAccount_IdentityImage.Marshal(b, m, deterministic) +} +func (m *MultiAccount_IdentityImage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiAccount_IdentityImage.Merge(m, src) +} +func (m *MultiAccount_IdentityImage) XXX_Size() int { + return xxx_messageInfo_MultiAccount_IdentityImage.Size(m) +} +func (m *MultiAccount_IdentityImage) XXX_DiscardUnknown() { + xxx_messageInfo_MultiAccount_IdentityImage.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiAccount_IdentityImage proto.InternalMessageInfo + +func (m *MultiAccount_IdentityImage) GetKeyUid() string { + if m != nil { + return m.KeyUid + } + return "" +} + +func (m *MultiAccount_IdentityImage) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *MultiAccount_IdentityImage) GetPayload() []byte { + if m != nil { + return m.Payload + } + return nil +} + +func (m *MultiAccount_IdentityImage) GetWidth() int64 { + if m != nil { + return m.Width + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetHeight() int64 { + if m != nil { + return m.Height + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetFilesize() int64 { + if m != nil { + return m.Filesize + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetResizeTarget() int64 { + if m != nil { + return m.ResizeTarget + } + return 0 +} + +func (m *MultiAccount_IdentityImage) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type LocalPairingPayload struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Keys []*LocalPairingPayload_Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` - Multiaccount *MultiAccount `protobuf:"bytes,2,opt,name=multiaccount,proto3" json:"multiaccount,omitempty"` - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - ChatKey string `protobuf:"bytes,4,opt,name=chatKey,proto3" json:"chatKey,omitempty"` - KeycardPairings string `protobuf:"bytes,5,opt,name=keycardPairings,proto3" json:"keycardPairings,omitempty"` + Keys []*LocalPairingPayload_Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` + Multiaccount *MultiAccount `protobuf:"bytes,2,opt,name=multiaccount,proto3" json:"multiaccount,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + ChatKey string `protobuf:"bytes,4,opt,name=chatKey,proto3" json:"chatKey,omitempty"` + KeycardPairings string `protobuf:"bytes,5,opt,name=keycardPairings,proto3" json:"keycardPairings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LocalPairingPayload) Reset() { - *x = LocalPairingPayload{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalPairingPayload) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalPairingPayload) ProtoMessage() {} - -func (x *LocalPairingPayload) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocalPairingPayload.ProtoReflect.Descriptor instead. +func (m *LocalPairingPayload) Reset() { *m = LocalPairingPayload{} } +func (m *LocalPairingPayload) String() string { return proto.CompactTextString(m) } +func (*LocalPairingPayload) ProtoMessage() {} func (*LocalPairingPayload) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{3} + return fileDescriptor_d61ab7221f0b5518, []int{3} } -func (x *LocalPairingPayload) GetKeys() []*LocalPairingPayload_Key { - if x != nil { - return x.Keys +func (m *LocalPairingPayload) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPairingPayload.Unmarshal(m, b) +} +func (m *LocalPairingPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPairingPayload.Marshal(b, m, deterministic) +} +func (m *LocalPairingPayload) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPairingPayload.Merge(m, src) +} +func (m *LocalPairingPayload) XXX_Size() int { + return xxx_messageInfo_LocalPairingPayload.Size(m) +} +func (m *LocalPairingPayload) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPairingPayload.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalPairingPayload proto.InternalMessageInfo + +func (m *LocalPairingPayload) GetKeys() []*LocalPairingPayload_Key { + if m != nil { + return m.Keys } return nil } -func (x *LocalPairingPayload) GetMultiaccount() *MultiAccount { - if x != nil { - return x.Multiaccount +func (m *LocalPairingPayload) GetMultiaccount() *MultiAccount { + if m != nil { + return m.Multiaccount } return nil } -func (x *LocalPairingPayload) GetPassword() string { - if x != nil { - return x.Password +func (m *LocalPairingPayload) GetPassword() string { + if m != nil { + return m.Password } return "" } -func (x *LocalPairingPayload) GetChatKey() string { - if x != nil { - return x.ChatKey +func (m *LocalPairingPayload) GetChatKey() string { + if m != nil { + return m.ChatKey } return "" } -func (x *LocalPairingPayload) GetKeycardPairings() string { - if x != nil { - return x.KeycardPairings +func (m *LocalPairingPayload) GetKeycardPairings() string { + if m != nil { + return m.KeycardPairings } return "" } +type LocalPairingPayload_Key struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocalPairingPayload_Key) Reset() { *m = LocalPairingPayload_Key{} } +func (m *LocalPairingPayload_Key) String() string { return proto.CompactTextString(m) } +func (*LocalPairingPayload_Key) ProtoMessage() {} +func (*LocalPairingPayload_Key) Descriptor() ([]byte, []int) { + return fileDescriptor_d61ab7221f0b5518, []int{3, 0} +} + +func (m *LocalPairingPayload_Key) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPairingPayload_Key.Unmarshal(m, b) +} +func (m *LocalPairingPayload_Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPairingPayload_Key.Marshal(b, m, deterministic) +} +func (m *LocalPairingPayload_Key) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPairingPayload_Key.Merge(m, src) +} +func (m *LocalPairingPayload_Key) XXX_Size() int { + return xxx_messageInfo_LocalPairingPayload_Key.Size(m) +} +func (m *LocalPairingPayload_Key) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPairingPayload_Key.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalPairingPayload_Key proto.InternalMessageInfo + +func (m *LocalPairingPayload_Key) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *LocalPairingPayload_Key) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + type LocalPairingPeerHello struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PairingVersion int32 `protobuf:"varint,1,opt,name=pairing_version,json=pairingVersion,proto3" json:"pairing_version,omitempty"` - PeerId []byte `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` - DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` - DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` - Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + PairingVersion int32 `protobuf:"varint,1,opt,name=pairing_version,json=pairingVersion,proto3" json:"pairing_version,omitempty"` + PeerId []byte `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` + DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` + DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *LocalPairingPeerHello) Reset() { - *x = LocalPairingPeerHello{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalPairingPeerHello) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalPairingPeerHello) ProtoMessage() {} - -func (x *LocalPairingPeerHello) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocalPairingPeerHello.ProtoReflect.Descriptor instead. +func (m *LocalPairingPeerHello) Reset() { *m = LocalPairingPeerHello{} } +func (m *LocalPairingPeerHello) String() string { return proto.CompactTextString(m) } +func (*LocalPairingPeerHello) ProtoMessage() {} func (*LocalPairingPeerHello) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{4} + return fileDescriptor_d61ab7221f0b5518, []int{4} } -func (x *LocalPairingPeerHello) GetPairingVersion() int32 { - if x != nil { - return x.PairingVersion +func (m *LocalPairingPeerHello) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPairingPeerHello.Unmarshal(m, b) +} +func (m *LocalPairingPeerHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPairingPeerHello.Marshal(b, m, deterministic) +} +func (m *LocalPairingPeerHello) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPairingPeerHello.Merge(m, src) +} +func (m *LocalPairingPeerHello) XXX_Size() int { + return xxx_messageInfo_LocalPairingPeerHello.Size(m) +} +func (m *LocalPairingPeerHello) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPairingPeerHello.DiscardUnknown(m) +} + +var xxx_messageInfo_LocalPairingPeerHello proto.InternalMessageInfo + +func (m *LocalPairingPeerHello) GetPairingVersion() int32 { + if m != nil { + return m.PairingVersion } return 0 } -func (x *LocalPairingPeerHello) GetPeerId() []byte { - if x != nil { - return x.PeerId +func (m *LocalPairingPeerHello) GetPeerId() []byte { + if m != nil { + return m.PeerId } return nil } -func (x *LocalPairingPeerHello) GetDeviceName() string { - if x != nil { - return x.DeviceName +func (m *LocalPairingPeerHello) GetDeviceName() string { + if m != nil { + return m.DeviceName } return "" } -func (x *LocalPairingPeerHello) GetDeviceType() string { - if x != nil { - return x.DeviceType +func (m *LocalPairingPeerHello) GetDeviceType() string { + if m != nil { + return m.DeviceType } return "" } -func (x *LocalPairingPeerHello) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *LocalPairingPeerHello) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } type SyncPairInstallation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - 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"` // following fields used for local pairing - Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncPairInstallation) Reset() { - *x = SyncPairInstallation{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncPairInstallation) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncPairInstallation) ProtoMessage() {} - -func (x *SyncPairInstallation) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncPairInstallation.ProtoReflect.Descriptor instead. +func (m *SyncPairInstallation) Reset() { *m = SyncPairInstallation{} } +func (m *SyncPairInstallation) String() string { return proto.CompactTextString(m) } +func (*SyncPairInstallation) ProtoMessage() {} func (*SyncPairInstallation) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{5} + return fileDescriptor_d61ab7221f0b5518, []int{5} } -func (x *SyncPairInstallation) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncPairInstallation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncPairInstallation.Unmarshal(m, b) +} +func (m *SyncPairInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncPairInstallation.Marshal(b, m, deterministic) +} +func (m *SyncPairInstallation) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncPairInstallation.Merge(m, src) +} +func (m *SyncPairInstallation) XXX_Size() int { + return xxx_messageInfo_SyncPairInstallation.Size(m) +} +func (m *SyncPairInstallation) XXX_DiscardUnknown() { + xxx_messageInfo_SyncPairInstallation.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncPairInstallation proto.InternalMessageInfo + +func (m *SyncPairInstallation) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncPairInstallation) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *SyncPairInstallation) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } -func (x *SyncPairInstallation) GetDeviceType() string { - if x != nil { - return x.DeviceType +func (m *SyncPairInstallation) GetDeviceType() string { + if m != nil { + return m.DeviceType } return "" } -func (x *SyncPairInstallation) GetName() string { - if x != nil { - return x.Name +func (m *SyncPairInstallation) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncPairInstallation) GetVersion() uint32 { - if x != nil { - return x.Version +func (m *SyncPairInstallation) GetVersion() uint32 { + if m != nil { + return m.Version } return 0 } type SyncInstallationContactV2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - LastUpdatedLocally uint64 `protobuf:"varint,1,opt,name=last_updated_locally,json=lastUpdatedLocally,proto3" json:"last_updated_locally,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"` @@ -823,254 +868,236 @@ type SyncInstallationContactV2 struct { ContactRequestRemoteClock int64 `protobuf:"varint,19,opt,name=contact_request_remote_clock,json=contactRequestRemoteClock,proto3" json:"contact_request_remote_clock,omitempty"` DisplayName string `protobuf:"bytes,20,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` CustomizationColor uint32 `protobuf:"varint,21,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncInstallationContactV2) Reset() { - *x = SyncInstallationContactV2{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncInstallationContactV2) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncInstallationContactV2) ProtoMessage() {} - -func (x *SyncInstallationContactV2) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncInstallationContactV2.ProtoReflect.Descriptor instead. +func (m *SyncInstallationContactV2) Reset() { *m = SyncInstallationContactV2{} } +func (m *SyncInstallationContactV2) String() string { return proto.CompactTextString(m) } +func (*SyncInstallationContactV2) ProtoMessage() {} func (*SyncInstallationContactV2) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{6} + return fileDescriptor_d61ab7221f0b5518, []int{6} } -func (x *SyncInstallationContactV2) GetLastUpdatedLocally() uint64 { - if x != nil { - return x.LastUpdatedLocally +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) GetLastUpdatedLocally() uint64 { + if m != nil { + return m.LastUpdatedLocally } return 0 } -func (x *SyncInstallationContactV2) GetId() string { - if x != nil { - return x.Id +func (m *SyncInstallationContactV2) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *SyncInstallationContactV2) GetProfileImage() string { - if x != nil { - return x.ProfileImage +func (m *SyncInstallationContactV2) GetProfileImage() string { + if m != nil { + return m.ProfileImage } return "" } -func (x *SyncInstallationContactV2) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *SyncInstallationContactV2) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *SyncInstallationContactV2) GetLastUpdated() uint64 { - if x != nil { - return x.LastUpdated +func (m *SyncInstallationContactV2) GetLastUpdated() uint64 { + if m != nil { + return m.LastUpdated } return 0 } -func (x *SyncInstallationContactV2) GetSystemTags() []string { - if x != nil { - return x.SystemTags +func (m *SyncInstallationContactV2) GetSystemTags() []string { + if m != nil { + return m.SystemTags } return nil } -func (x *SyncInstallationContactV2) GetLocalNickname() string { - if x != nil { - return x.LocalNickname +func (m *SyncInstallationContactV2) GetLocalNickname() string { + if m != nil { + return m.LocalNickname } return "" } -func (x *SyncInstallationContactV2) GetAdded() bool { - if x != nil { - return x.Added +func (m *SyncInstallationContactV2) GetAdded() bool { + if m != nil { + return m.Added } return false } -func (x *SyncInstallationContactV2) GetBlocked() bool { - if x != nil { - return x.Blocked +func (m *SyncInstallationContactV2) GetBlocked() bool { + if m != nil { + return m.Blocked } return false } -func (x *SyncInstallationContactV2) GetMuted() bool { - if x != nil { - return x.Muted +func (m *SyncInstallationContactV2) GetMuted() bool { + if m != nil { + return m.Muted } return false } -func (x *SyncInstallationContactV2) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncInstallationContactV2) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncInstallationContactV2) GetHasAddedUs() bool { - if x != nil { - return x.HasAddedUs +func (m *SyncInstallationContactV2) GetHasAddedUs() bool { + if m != nil { + return m.HasAddedUs } return false } -func (x *SyncInstallationContactV2) GetVerificationStatus() int64 { - if x != nil { - return x.VerificationStatus +func (m *SyncInstallationContactV2) GetVerificationStatus() int64 { + if m != nil { + return m.VerificationStatus } return 0 } -func (x *SyncInstallationContactV2) GetTrustStatus() int64 { - if x != nil { - return x.TrustStatus +func (m *SyncInstallationContactV2) GetTrustStatus() int64 { + if m != nil { + return m.TrustStatus } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestLocalState() int64 { - if x != nil { - return x.ContactRequestLocalState +func (m *SyncInstallationContactV2) GetContactRequestLocalState() int64 { + if m != nil { + return m.ContactRequestLocalState } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestLocalClock() int64 { - if x != nil { - return x.ContactRequestLocalClock +func (m *SyncInstallationContactV2) GetContactRequestLocalClock() int64 { + if m != nil { + return m.ContactRequestLocalClock } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestRemoteState() int64 { - if x != nil { - return x.ContactRequestRemoteState +func (m *SyncInstallationContactV2) GetContactRequestRemoteState() int64 { + if m != nil { + return m.ContactRequestRemoteState } return 0 } -func (x *SyncInstallationContactV2) GetContactRequestRemoteClock() int64 { - if x != nil { - return x.ContactRequestRemoteClock +func (m *SyncInstallationContactV2) GetContactRequestRemoteClock() int64 { + if m != nil { + return m.ContactRequestRemoteClock } return 0 } -func (x *SyncInstallationContactV2) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *SyncInstallationContactV2) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *SyncInstallationContactV2) GetCustomizationColor() uint32 { - if x != nil { - return x.CustomizationColor +func (m *SyncInstallationContactV2) GetCustomizationColor() uint32 { + if m != nil { + return m.CustomizationColor } return 0 } type SyncInstallationAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - 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"` + 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 (x *SyncInstallationAccount) Reset() { - *x = SyncInstallationAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncInstallationAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncInstallationAccount) ProtoMessage() {} - -func (x *SyncInstallationAccount) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncInstallationAccount.ProtoReflect.Descriptor instead. +func (m *SyncInstallationAccount) Reset() { *m = SyncInstallationAccount{} } +func (m *SyncInstallationAccount) String() string { return proto.CompactTextString(m) } +func (*SyncInstallationAccount) ProtoMessage() {} func (*SyncInstallationAccount) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{7} + return fileDescriptor_d61ab7221f0b5518, []int{7} } -func (x *SyncInstallationAccount) GetClock() uint64 { - if x != nil { - return x.Clock +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 (x *SyncInstallationAccount) GetProfileImage() string { - if x != nil { - return x.ProfileImage +func (m *SyncInstallationAccount) GetProfileImage() string { + if m != nil { + return m.ProfileImage } return "" } -func (x *SyncInstallationAccount) GetLastUpdated() uint64 { - if x != nil { - return x.LastUpdated +func (m *SyncInstallationAccount) GetLastUpdated() uint64 { + if m != nil { + return m.LastUpdated } return 0 } type SyncInstallationCommunity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Don't sync private_key because we want to have only one control node - // - // Deprecated: Marked as deprecated in pairing.proto. - PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` + PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Deprecated: Do not use. 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"` @@ -1080,335 +1107,309 @@ type SyncInstallationCommunity struct { Encrypted bool `protobuf:"varint,10,opt,name=encrypted,proto3" json:"encrypted,omitempty"` Spectated bool `protobuf:"varint,11,opt,name=spectated,proto3" json:"spectated,omitempty"` // Kept for backward compatibility - // - // Deprecated: Marked as deprecated in pairing.proto. - EncryptionKeysV1 []byte `protobuf:"bytes,12,opt,name=encryption_keys_v1,json=encryptionKeysV1,proto3" json:"encryption_keys_v1,omitempty"` - ControlNode *SyncCommunityControlNode `protobuf:"bytes,13,opt,name=control_node,json=controlNode,proto3" json:"control_node,omitempty"` - JoinedAt int64 `protobuf:"varint,14,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` - LastOpenedAt int64 `protobuf:"varint,15,opt,name=last_opened_at,json=lastOpenedAt,proto3" json:"last_opened_at,omitempty"` - EncryptionKeysV2 [][]byte `protobuf:"bytes,16,rep,name=encryption_keys_v2,json=encryptionKeysV2,proto3" json:"encryption_keys_v2,omitempty"` + EncryptionKeysV1 []byte `protobuf:"bytes,12,opt,name=encryption_keys_v1,json=encryptionKeysV1,proto3" json:"encryption_keys_v1,omitempty"` // Deprecated: Do not use. + ControlNode *SyncCommunityControlNode `protobuf:"bytes,13,opt,name=control_node,json=controlNode,proto3" json:"control_node,omitempty"` + JoinedAt int64 `protobuf:"varint,14,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"` + LastOpenedAt int64 `protobuf:"varint,15,opt,name=last_opened_at,json=lastOpenedAt,proto3" json:"last_opened_at,omitempty"` + EncryptionKeysV2 [][]byte `protobuf:"bytes,16,rep,name=encryption_keys_v2,json=encryptionKeysV2,proto3" json:"encryption_keys_v2,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncInstallationCommunity) Reset() { - *x = SyncInstallationCommunity{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncInstallationCommunity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncInstallationCommunity) ProtoMessage() {} - -func (x *SyncInstallationCommunity) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncInstallationCommunity.ProtoReflect.Descriptor instead. +func (m *SyncInstallationCommunity) Reset() { *m = SyncInstallationCommunity{} } +func (m *SyncInstallationCommunity) String() string { return proto.CompactTextString(m) } +func (*SyncInstallationCommunity) ProtoMessage() {} func (*SyncInstallationCommunity) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{8} + return fileDescriptor_d61ab7221f0b5518, []int{8} } -func (x *SyncInstallationCommunity) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncInstallationCommunity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncInstallationCommunity.Unmarshal(m, b) +} +func (m *SyncInstallationCommunity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncInstallationCommunity.Marshal(b, m, deterministic) +} +func (m *SyncInstallationCommunity) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncInstallationCommunity.Merge(m, src) +} +func (m *SyncInstallationCommunity) XXX_Size() int { + return xxx_messageInfo_SyncInstallationCommunity.Size(m) +} +func (m *SyncInstallationCommunity) XXX_DiscardUnknown() { + xxx_messageInfo_SyncInstallationCommunity.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncInstallationCommunity proto.InternalMessageInfo + +func (m *SyncInstallationCommunity) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncInstallationCommunity) GetId() []byte { - if x != nil { - return x.Id +func (m *SyncInstallationCommunity) GetId() []byte { + if m != nil { + return m.Id } return nil } -// Deprecated: Marked as deprecated in pairing.proto. -func (x *SyncInstallationCommunity) GetPrivateKey() []byte { - if x != nil { - return x.PrivateKey +// Deprecated: Do not use. +func (m *SyncInstallationCommunity) GetPrivateKey() []byte { + if m != nil { + return m.PrivateKey } return nil } -func (x *SyncInstallationCommunity) GetDescription() []byte { - if x != nil { - return x.Description +func (m *SyncInstallationCommunity) GetDescription() []byte { + if m != nil { + return m.Description } return nil } -func (x *SyncInstallationCommunity) GetJoined() bool { - if x != nil { - return x.Joined +func (m *SyncInstallationCommunity) GetJoined() bool { + if m != nil { + return m.Joined } return false } -func (x *SyncInstallationCommunity) GetVerified() bool { - if x != nil { - return x.Verified +func (m *SyncInstallationCommunity) GetVerified() bool { + if m != nil { + return m.Verified } return false } -func (x *SyncInstallationCommunity) GetMuted() bool { - if x != nil { - return x.Muted +func (m *SyncInstallationCommunity) GetMuted() bool { + if m != nil { + return m.Muted } return false } -func (x *SyncInstallationCommunity) GetRequestsToJoin() []*SyncCommunityRequestsToJoin { - if x != nil { - return x.RequestsToJoin +func (m *SyncInstallationCommunity) GetRequestsToJoin() []*SyncCommunityRequestsToJoin { + if m != nil { + return m.RequestsToJoin } return nil } -func (x *SyncInstallationCommunity) GetSettings() *SyncCommunitySettings { - if x != nil { - return x.Settings +func (m *SyncInstallationCommunity) GetSettings() *SyncCommunitySettings { + if m != nil { + return m.Settings } return nil } -func (x *SyncInstallationCommunity) GetEncrypted() bool { - if x != nil { - return x.Encrypted +func (m *SyncInstallationCommunity) GetEncrypted() bool { + if m != nil { + return m.Encrypted } return false } -func (x *SyncInstallationCommunity) GetSpectated() bool { - if x != nil { - return x.Spectated +func (m *SyncInstallationCommunity) GetSpectated() bool { + if m != nil { + return m.Spectated } return false } -// Deprecated: Marked as deprecated in pairing.proto. -func (x *SyncInstallationCommunity) GetEncryptionKeysV1() []byte { - if x != nil { - return x.EncryptionKeysV1 +// Deprecated: Do not use. +func (m *SyncInstallationCommunity) GetEncryptionKeysV1() []byte { + if m != nil { + return m.EncryptionKeysV1 } return nil } -func (x *SyncInstallationCommunity) GetControlNode() *SyncCommunityControlNode { - if x != nil { - return x.ControlNode +func (m *SyncInstallationCommunity) GetControlNode() *SyncCommunityControlNode { + if m != nil { + return m.ControlNode } return nil } -func (x *SyncInstallationCommunity) GetJoinedAt() int64 { - if x != nil { - return x.JoinedAt +func (m *SyncInstallationCommunity) GetJoinedAt() int64 { + if m != nil { + return m.JoinedAt } return 0 } -func (x *SyncInstallationCommunity) GetLastOpenedAt() int64 { - if x != nil { - return x.LastOpenedAt +func (m *SyncInstallationCommunity) GetLastOpenedAt() int64 { + if m != nil { + return m.LastOpenedAt } return 0 } -func (x *SyncInstallationCommunity) GetEncryptionKeysV2() [][]byte { - if x != nil { - return x.EncryptionKeysV2 +func (m *SyncInstallationCommunity) GetEncryptionKeysV2() [][]byte { + if m != nil { + return m.EncryptionKeysV2 } return nil } type SyncCommunityRequestsToJoin struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - 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"` - RevealedAccounts []*RevealedAccount `protobuf:"bytes,8,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` - CustomizationColor uint32 `protobuf:"varint,9,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` + 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"` + RevealedAccounts []*RevealedAccount `protobuf:"bytes,8,rep,name=revealed_accounts,json=revealedAccounts,proto3" json:"revealed_accounts,omitempty"` + CustomizationColor uint32 `protobuf:"varint,9,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncCommunityRequestsToJoin) Reset() { - *x = SyncCommunityRequestsToJoin{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCommunityRequestsToJoin) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCommunityRequestsToJoin) ProtoMessage() {} - -func (x *SyncCommunityRequestsToJoin) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCommunityRequestsToJoin.ProtoReflect.Descriptor instead. +func (m *SyncCommunityRequestsToJoin) Reset() { *m = SyncCommunityRequestsToJoin{} } +func (m *SyncCommunityRequestsToJoin) String() string { return proto.CompactTextString(m) } +func (*SyncCommunityRequestsToJoin) ProtoMessage() {} func (*SyncCommunityRequestsToJoin) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{9} + return fileDescriptor_d61ab7221f0b5518, []int{9} } -func (x *SyncCommunityRequestsToJoin) GetId() []byte { - if x != nil { - return x.Id +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 (x *SyncCommunityRequestsToJoin) GetPublicKey() string { - if x != nil { - return x.PublicKey +func (m *SyncCommunityRequestsToJoin) GetPublicKey() string { + if m != nil { + return m.PublicKey } return "" } -func (x *SyncCommunityRequestsToJoin) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncCommunityRequestsToJoin) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncCommunityRequestsToJoin) GetEnsName() string { - if x != nil { - return x.EnsName +func (m *SyncCommunityRequestsToJoin) GetEnsName() string { + if m != nil { + return m.EnsName } return "" } -func (x *SyncCommunityRequestsToJoin) GetChatId() string { - if x != nil { - return x.ChatId +func (m *SyncCommunityRequestsToJoin) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *SyncCommunityRequestsToJoin) GetCommunityId() []byte { - if x != nil { - return x.CommunityId +func (m *SyncCommunityRequestsToJoin) GetCommunityId() []byte { + if m != nil { + return m.CommunityId } return nil } -func (x *SyncCommunityRequestsToJoin) GetState() uint64 { - if x != nil { - return x.State +func (m *SyncCommunityRequestsToJoin) GetState() uint64 { + if m != nil { + return m.State } return 0 } -func (x *SyncCommunityRequestsToJoin) GetRevealedAccounts() []*RevealedAccount { - if x != nil { - return x.RevealedAccounts +func (m *SyncCommunityRequestsToJoin) GetRevealedAccounts() []*RevealedAccount { + if m != nil { + return m.RevealedAccounts } return nil } -func (x *SyncCommunityRequestsToJoin) GetCustomizationColor() uint32 { - if x != nil { - return x.CustomizationColor +func (m *SyncCommunityRequestsToJoin) GetCustomizationColor() uint32 { + if m != nil { + return m.CustomizationColor } return 0 } type SyncCommunityControlNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - // Lamport timestamp of control node change Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // The device id of the control node // Empty if there is no control node - InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + InstallationId string `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncCommunityControlNode) Reset() { - *x = SyncCommunityControlNode{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCommunityControlNode) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCommunityControlNode) ProtoMessage() {} - -func (x *SyncCommunityControlNode) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCommunityControlNode.ProtoReflect.Descriptor instead. +func (m *SyncCommunityControlNode) Reset() { *m = SyncCommunityControlNode{} } +func (m *SyncCommunityControlNode) String() string { return proto.CompactTextString(m) } +func (*SyncCommunityControlNode) ProtoMessage() {} func (*SyncCommunityControlNode) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{10} + return fileDescriptor_d61ab7221f0b5518, []int{10} } -func (x *SyncCommunityControlNode) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncCommunityControlNode) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncCommunityControlNode.Unmarshal(m, b) +} +func (m *SyncCommunityControlNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncCommunityControlNode.Marshal(b, m, deterministic) +} +func (m *SyncCommunityControlNode) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncCommunityControlNode.Merge(m, src) +} +func (m *SyncCommunityControlNode) XXX_Size() int { + return xxx_messageInfo_SyncCommunityControlNode.Size(m) +} +func (m *SyncCommunityControlNode) XXX_DiscardUnknown() { + xxx_messageInfo_SyncCommunityControlNode.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncCommunityControlNode proto.InternalMessageInfo + +func (m *SyncCommunityControlNode) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncCommunityControlNode) GetInstallationId() string { - if x != nil { - return x.InstallationId +func (m *SyncCommunityControlNode) GetInstallationId() string { + if m != nil { + return m.InstallationId } return "" } type SyncChat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ChatType uint32 `protobuf:"varint,2,opt,name=chat_type,json=chatType,proto3" json:"chat_type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -1416,1199 +1417,1075 @@ type SyncChat struct { Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"` Clock uint64 `protobuf:"varint,6,opt,name=clock,proto3" json:"clock,omitempty"` Muted bool `protobuf:"varint,7,opt,name=muted,proto3" json:"muted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncChat) Reset() { - *x = SyncChat{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncChat) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncChat) ProtoMessage() {} - -func (x *SyncChat) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncChat.ProtoReflect.Descriptor instead. +func (m *SyncChat) Reset() { *m = SyncChat{} } +func (m *SyncChat) String() string { return proto.CompactTextString(m) } +func (*SyncChat) ProtoMessage() {} func (*SyncChat) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{11} + return fileDescriptor_d61ab7221f0b5518, []int{11} } -func (x *SyncChat) GetId() string { - if x != nil { - return x.Id +func (m *SyncChat) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncChat.Unmarshal(m, b) +} +func (m *SyncChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncChat.Marshal(b, m, deterministic) +} +func (m *SyncChat) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncChat.Merge(m, src) +} +func (m *SyncChat) XXX_Size() int { + return xxx_messageInfo_SyncChat.Size(m) +} +func (m *SyncChat) XXX_DiscardUnknown() { + xxx_messageInfo_SyncChat.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncChat proto.InternalMessageInfo + +func (m *SyncChat) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *SyncChat) GetChatType() uint32 { - if x != nil { - return x.ChatType +func (m *SyncChat) GetChatType() uint32 { + if m != nil { + return m.ChatType } return 0 } -func (x *SyncChat) GetName() string { - if x != nil { - return x.Name +func (m *SyncChat) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncChat) GetMembershipUpdateEvents() []*MembershipUpdateEvents { - if x != nil { - return x.MembershipUpdateEvents +func (m *SyncChat) GetMembershipUpdateEvents() []*MembershipUpdateEvents { + if m != nil { + return m.MembershipUpdateEvents } return nil } -func (x *SyncChat) GetActive() bool { - if x != nil { - return x.Active +func (m *SyncChat) GetActive() bool { + if m != nil { + return m.Active } return false } -func (x *SyncChat) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncChat) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncChat) GetMuted() bool { - if x != nil { - return x.Muted +func (m *SyncChat) GetMuted() bool { + if m != nil { + return m.Muted } return false } type MembershipUpdateEvents struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` - Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` - Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` - Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` - ChatId string `protobuf:"bytes,6,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - From string `protobuf:"bytes,7,opt,name=from,proto3" json:"from,omitempty"` - RawPayload []byte `protobuf:"bytes,8,opt,name=raw_payload,json=rawPayload,proto3" json:"raw_payload,omitempty"` - Color string `protobuf:"bytes,9,opt,name=color,proto3" json:"color,omitempty"` - Image []byte `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` + Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + ChatId string `protobuf:"bytes,6,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + From string `protobuf:"bytes,7,opt,name=from,proto3" json:"from,omitempty"` + RawPayload []byte `protobuf:"bytes,8,opt,name=raw_payload,json=rawPayload,proto3" json:"raw_payload,omitempty"` + Color string `protobuf:"bytes,9,opt,name=color,proto3" json:"color,omitempty"` + Image []byte `protobuf:"bytes,10,opt,name=image,proto3" json:"image,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MembershipUpdateEvents) Reset() { - *x = MembershipUpdateEvents{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MembershipUpdateEvents) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MembershipUpdateEvents) ProtoMessage() {} - -func (x *MembershipUpdateEvents) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MembershipUpdateEvents.ProtoReflect.Descriptor instead. +func (m *MembershipUpdateEvents) Reset() { *m = MembershipUpdateEvents{} } +func (m *MembershipUpdateEvents) String() string { return proto.CompactTextString(m) } +func (*MembershipUpdateEvents) ProtoMessage() {} func (*MembershipUpdateEvents) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{12} + return fileDescriptor_d61ab7221f0b5518, []int{12} } -func (x *MembershipUpdateEvents) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *MembershipUpdateEvents) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MembershipUpdateEvents.Unmarshal(m, b) +} +func (m *MembershipUpdateEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MembershipUpdateEvents.Marshal(b, m, deterministic) +} +func (m *MembershipUpdateEvents) XXX_Merge(src proto.Message) { + xxx_messageInfo_MembershipUpdateEvents.Merge(m, src) +} +func (m *MembershipUpdateEvents) XXX_Size() int { + return xxx_messageInfo_MembershipUpdateEvents.Size(m) +} +func (m *MembershipUpdateEvents) XXX_DiscardUnknown() { + xxx_messageInfo_MembershipUpdateEvents.DiscardUnknown(m) +} + +var xxx_messageInfo_MembershipUpdateEvents proto.InternalMessageInfo + +func (m *MembershipUpdateEvents) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *MembershipUpdateEvents) GetType() uint32 { - if x != nil { - return x.Type +func (m *MembershipUpdateEvents) GetType() uint32 { + if m != nil { + return m.Type } return 0 } -func (x *MembershipUpdateEvents) GetMembers() []string { - if x != nil { - return x.Members +func (m *MembershipUpdateEvents) GetMembers() []string { + if m != nil { + return m.Members } return nil } -func (x *MembershipUpdateEvents) GetName() string { - if x != nil { - return x.Name +func (m *MembershipUpdateEvents) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *MembershipUpdateEvents) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *MembershipUpdateEvents) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *MembershipUpdateEvents) GetChatId() string { - if x != nil { - return x.ChatId +func (m *MembershipUpdateEvents) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *MembershipUpdateEvents) GetFrom() string { - if x != nil { - return x.From +func (m *MembershipUpdateEvents) GetFrom() string { + if m != nil { + return m.From } return "" } -func (x *MembershipUpdateEvents) GetRawPayload() []byte { - if x != nil { - return x.RawPayload +func (m *MembershipUpdateEvents) GetRawPayload() []byte { + if m != nil { + return m.RawPayload } return nil } -func (x *MembershipUpdateEvents) GetColor() string { - if x != nil { - return x.Color +func (m *MembershipUpdateEvents) GetColor() string { + if m != nil { + return m.Color } return "" } -func (x *MembershipUpdateEvents) GetImage() []byte { - if x != nil { - return x.Image +func (m *MembershipUpdateEvents) GetImage() []byte { + if m != nil { + return m.Image } return nil } type SyncChatRemoved struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + 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 (x *SyncChatRemoved) Reset() { - *x = SyncChatRemoved{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncChatRemoved) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncChatRemoved) ProtoMessage() {} - -func (x *SyncChatRemoved) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncChatRemoved.ProtoReflect.Descriptor instead. +func (m *SyncChatRemoved) Reset() { *m = SyncChatRemoved{} } +func (m *SyncChatRemoved) String() string { return proto.CompactTextString(m) } +func (*SyncChatRemoved) ProtoMessage() {} func (*SyncChatRemoved) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{13} + return fileDescriptor_d61ab7221f0b5518, []int{13} } -func (x *SyncChatRemoved) GetClock() uint64 { - if x != nil { - return x.Clock +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 (x *SyncChatRemoved) GetId() string { - if x != nil { - return x.Id +func (m *SyncChatRemoved) GetId() string { + if m != nil { + return m.Id } return "" } type SyncChatMessagesRead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + 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 (x *SyncChatMessagesRead) Reset() { - *x = SyncChatMessagesRead{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncChatMessagesRead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncChatMessagesRead) ProtoMessage() {} - -func (x *SyncChatMessagesRead) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncChatMessagesRead.ProtoReflect.Descriptor instead. +func (m *SyncChatMessagesRead) Reset() { *m = SyncChatMessagesRead{} } +func (m *SyncChatMessagesRead) String() string { return proto.CompactTextString(m) } +func (*SyncChatMessagesRead) ProtoMessage() {} func (*SyncChatMessagesRead) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{14} + return fileDescriptor_d61ab7221f0b5518, []int{14} } -func (x *SyncChatMessagesRead) GetClock() uint64 { - if x != nil { - return x.Clock +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 (x *SyncChatMessagesRead) GetId() string { - if x != nil { - return x.Id +func (m *SyncChatMessagesRead) GetId() string { + if m != nil { + return m.Id } return "" } type SyncActivityCenterRead struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterRead) Reset() { - *x = SyncActivityCenterRead{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterRead) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterRead) ProtoMessage() {} - -func (x *SyncActivityCenterRead) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterRead.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterRead) Reset() { *m = SyncActivityCenterRead{} } +func (m *SyncActivityCenterRead) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterRead) ProtoMessage() {} func (*SyncActivityCenterRead) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{15} + return fileDescriptor_d61ab7221f0b5518, []int{15} } -func (x *SyncActivityCenterRead) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterRead) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterRead.Unmarshal(m, b) +} +func (m *SyncActivityCenterRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterRead.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterRead) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterRead.Merge(m, src) +} +func (m *SyncActivityCenterRead) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterRead.Size(m) +} +func (m *SyncActivityCenterRead) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterRead.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterRead proto.InternalMessageInfo + +func (m *SyncActivityCenterRead) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterRead) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterRead) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterAccepted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterAccepted) Reset() { - *x = SyncActivityCenterAccepted{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterAccepted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterAccepted) ProtoMessage() {} - -func (x *SyncActivityCenterAccepted) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterAccepted.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterAccepted) Reset() { *m = SyncActivityCenterAccepted{} } +func (m *SyncActivityCenterAccepted) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterAccepted) ProtoMessage() {} func (*SyncActivityCenterAccepted) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{16} + return fileDescriptor_d61ab7221f0b5518, []int{16} } -func (x *SyncActivityCenterAccepted) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterAccepted) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterAccepted.Unmarshal(m, b) +} +func (m *SyncActivityCenterAccepted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterAccepted.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterAccepted) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterAccepted.Merge(m, src) +} +func (m *SyncActivityCenterAccepted) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterAccepted.Size(m) +} +func (m *SyncActivityCenterAccepted) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterAccepted.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterAccepted proto.InternalMessageInfo + +func (m *SyncActivityCenterAccepted) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterAccepted) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterAccepted) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterDismissed struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterDismissed) Reset() { - *x = SyncActivityCenterDismissed{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterDismissed) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterDismissed) ProtoMessage() {} - -func (x *SyncActivityCenterDismissed) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterDismissed.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterDismissed) Reset() { *m = SyncActivityCenterDismissed{} } +func (m *SyncActivityCenterDismissed) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterDismissed) ProtoMessage() {} func (*SyncActivityCenterDismissed) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{17} + return fileDescriptor_d61ab7221f0b5518, []int{17} } -func (x *SyncActivityCenterDismissed) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterDismissed) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterDismissed.Unmarshal(m, b) +} +func (m *SyncActivityCenterDismissed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterDismissed.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterDismissed) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterDismissed.Merge(m, src) +} +func (m *SyncActivityCenterDismissed) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterDismissed.Size(m) +} +func (m *SyncActivityCenterDismissed) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterDismissed.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterDismissed proto.InternalMessageInfo + +func (m *SyncActivityCenterDismissed) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterDismissed) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterDismissed) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterDeleted struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterDeleted) Reset() { - *x = SyncActivityCenterDeleted{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterDeleted) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterDeleted) ProtoMessage() {} - -func (x *SyncActivityCenterDeleted) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterDeleted.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterDeleted) Reset() { *m = SyncActivityCenterDeleted{} } +func (m *SyncActivityCenterDeleted) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterDeleted) ProtoMessage() {} func (*SyncActivityCenterDeleted) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{18} + return fileDescriptor_d61ab7221f0b5518, []int{18} } -func (x *SyncActivityCenterDeleted) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterDeleted) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterDeleted.Unmarshal(m, b) +} +func (m *SyncActivityCenterDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterDeleted.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterDeleted) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterDeleted.Merge(m, src) +} +func (m *SyncActivityCenterDeleted) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterDeleted.Size(m) +} +func (m *SyncActivityCenterDeleted) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterDeleted.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterDeleted proto.InternalMessageInfo + +func (m *SyncActivityCenterDeleted) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterDeleted) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterDeleted) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterUnread struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterUnread) Reset() { - *x = SyncActivityCenterUnread{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncActivityCenterUnread) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncActivityCenterUnread) ProtoMessage() {} - -func (x *SyncActivityCenterUnread) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterUnread.ProtoReflect.Descriptor instead. +func (m *SyncActivityCenterUnread) Reset() { *m = SyncActivityCenterUnread{} } +func (m *SyncActivityCenterUnread) String() string { return proto.CompactTextString(m) } +func (*SyncActivityCenterUnread) ProtoMessage() {} func (*SyncActivityCenterUnread) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{19} + return fileDescriptor_d61ab7221f0b5518, []int{19} } -func (x *SyncActivityCenterUnread) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterUnread) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterUnread.Unmarshal(m, b) +} +func (m *SyncActivityCenterUnread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterUnread.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterUnread) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterUnread.Merge(m, src) +} +func (m *SyncActivityCenterUnread) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterUnread.Size(m) +} +func (m *SyncActivityCenterUnread) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterUnread.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterUnread proto.InternalMessageInfo + +func (m *SyncActivityCenterUnread) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterUnread) GetIds() [][]byte { - if x != nil { - return x.Ids +func (m *SyncActivityCenterUnread) GetIds() [][]byte { + if m != nil { + return m.Ids } return nil } type SyncActivityCenterCommunityRequestDecision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - MembershipStatus uint32 `protobuf:"varint,3,opt,name=membership_status,json=membershipStatus,proto3" json:"membership_status,omitempty"` - Decision SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision `protobuf:"varint,4,opt,name=decision,proto3,enum=protobuf.SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision" json:"decision,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + MembershipStatus uint32 `protobuf:"varint,3,opt,name=membership_status,json=membershipStatus,proto3" json:"membership_status,omitempty"` + Decision SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision `protobuf:"varint,4,opt,name=decision,proto3,enum=protobuf.SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision" json:"decision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncActivityCenterCommunityRequestDecision) Reset() { - *x = SyncActivityCenterCommunityRequestDecision{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *SyncActivityCenterCommunityRequestDecision) Reset() { + *m = SyncActivityCenterCommunityRequestDecision{} } - -func (x *SyncActivityCenterCommunityRequestDecision) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *SyncActivityCenterCommunityRequestDecision) String() string { + return proto.CompactTextString(m) } - func (*SyncActivityCenterCommunityRequestDecision) ProtoMessage() {} - -func (x *SyncActivityCenterCommunityRequestDecision) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncActivityCenterCommunityRequestDecision.ProtoReflect.Descriptor instead. func (*SyncActivityCenterCommunityRequestDecision) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{20} + return fileDescriptor_d61ab7221f0b5518, []int{20} } -func (x *SyncActivityCenterCommunityRequestDecision) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Unmarshal(m, b) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Marshal(b, m, deterministic) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Merge(m, src) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_Size() int { + return xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.Size(m) +} +func (m *SyncActivityCenterCommunityRequestDecision) XXX_DiscardUnknown() { + xxx_messageInfo_SyncActivityCenterCommunityRequestDecision.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncActivityCenterCommunityRequestDecision proto.InternalMessageInfo + +func (m *SyncActivityCenterCommunityRequestDecision) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncActivityCenterCommunityRequestDecision) GetId() []byte { - if x != nil { - return x.Id +func (m *SyncActivityCenterCommunityRequestDecision) GetId() []byte { + if m != nil { + return m.Id } return nil } -func (x *SyncActivityCenterCommunityRequestDecision) GetMembershipStatus() uint32 { - if x != nil { - return x.MembershipStatus +func (m *SyncActivityCenterCommunityRequestDecision) GetMembershipStatus() uint32 { + if m != nil { + return m.MembershipStatus } return 0 } -func (x *SyncActivityCenterCommunityRequestDecision) GetDecision() SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision { - if x != nil { - return x.Decision +func (m *SyncActivityCenterCommunityRequestDecision) GetDecision() SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision { + if m != nil { + return m.Decision } return SyncActivityCenterCommunityRequestDecision_ACCEPTED } type SyncBookmark struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` - Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` - DeletedAt uint64 `protobuf:"varint,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` + Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` + DeletedAt uint64 `protobuf:"varint,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncBookmark) Reset() { - *x = SyncBookmark{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncBookmark) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncBookmark) ProtoMessage() {} - -func (x *SyncBookmark) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncBookmark.ProtoReflect.Descriptor instead. +func (m *SyncBookmark) Reset() { *m = SyncBookmark{} } +func (m *SyncBookmark) String() string { return proto.CompactTextString(m) } +func (*SyncBookmark) ProtoMessage() {} func (*SyncBookmark) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{21} + return fileDescriptor_d61ab7221f0b5518, []int{21} } -func (x *SyncBookmark) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncBookmark) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncBookmark.Unmarshal(m, b) +} +func (m *SyncBookmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncBookmark.Marshal(b, m, deterministic) +} +func (m *SyncBookmark) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncBookmark.Merge(m, src) +} +func (m *SyncBookmark) XXX_Size() int { + return xxx_messageInfo_SyncBookmark.Size(m) +} +func (m *SyncBookmark) XXX_DiscardUnknown() { + xxx_messageInfo_SyncBookmark.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncBookmark proto.InternalMessageInfo + +func (m *SyncBookmark) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncBookmark) GetUrl() string { - if x != nil { - return x.Url +func (m *SyncBookmark) GetUrl() string { + if m != nil { + return m.Url } return "" } -func (x *SyncBookmark) GetName() string { - if x != nil { - return x.Name +func (m *SyncBookmark) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncBookmark) GetImageUrl() string { - if x != nil { - return x.ImageUrl +func (m *SyncBookmark) GetImageUrl() string { + if m != nil { + return m.ImageUrl } return "" } -func (x *SyncBookmark) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncBookmark) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncBookmark) GetDeletedAt() uint64 { - if x != nil { - return x.DeletedAt +func (m *SyncBookmark) GetDeletedAt() uint64 { + if m != nil { + return m.DeletedAt } return 0 } type SyncEnsUsernameDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` - ChainId uint64 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - Removed bool `protobuf:"varint,4,opt,name=removed,proto3" json:"removed,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` + ChainId uint64 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + Removed bool `protobuf:"varint,4,opt,name=removed,proto3" json:"removed,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncEnsUsernameDetail) Reset() { - *x = SyncEnsUsernameDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncEnsUsernameDetail) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncEnsUsernameDetail) ProtoMessage() {} - -func (x *SyncEnsUsernameDetail) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncEnsUsernameDetail.ProtoReflect.Descriptor instead. +func (m *SyncEnsUsernameDetail) Reset() { *m = SyncEnsUsernameDetail{} } +func (m *SyncEnsUsernameDetail) String() string { return proto.CompactTextString(m) } +func (*SyncEnsUsernameDetail) ProtoMessage() {} func (*SyncEnsUsernameDetail) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{22} + return fileDescriptor_d61ab7221f0b5518, []int{22} } -func (x *SyncEnsUsernameDetail) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncEnsUsernameDetail) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncEnsUsernameDetail.Unmarshal(m, b) +} +func (m *SyncEnsUsernameDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncEnsUsernameDetail.Marshal(b, m, deterministic) +} +func (m *SyncEnsUsernameDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncEnsUsernameDetail.Merge(m, src) +} +func (m *SyncEnsUsernameDetail) XXX_Size() int { + return xxx_messageInfo_SyncEnsUsernameDetail.Size(m) +} +func (m *SyncEnsUsernameDetail) XXX_DiscardUnknown() { + xxx_messageInfo_SyncEnsUsernameDetail.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncEnsUsernameDetail proto.InternalMessageInfo + +func (m *SyncEnsUsernameDetail) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncEnsUsernameDetail) GetUsername() string { - if x != nil { - return x.Username +func (m *SyncEnsUsernameDetail) GetUsername() string { + if m != nil { + return m.Username } return "" } -func (x *SyncEnsUsernameDetail) GetChainId() uint64 { - if x != nil { - return x.ChainId +func (m *SyncEnsUsernameDetail) GetChainId() uint64 { + if m != nil { + return m.ChainId } return 0 } -func (x *SyncEnsUsernameDetail) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncEnsUsernameDetail) GetRemoved() bool { + if m != nil { + return m.Removed } return false } type SyncClearHistory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` - ClearedAt uint64 `protobuf:"varint,2,opt,name=cleared_at,json=clearedAt,proto3" json:"cleared_at,omitempty"` + ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + ClearedAt uint64 `protobuf:"varint,2,opt,name=cleared_at,json=clearedAt,proto3" json:"cleared_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncClearHistory) Reset() { - *x = SyncClearHistory{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncClearHistory) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncClearHistory) ProtoMessage() {} - -func (x *SyncClearHistory) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncClearHistory.ProtoReflect.Descriptor instead. +func (m *SyncClearHistory) Reset() { *m = SyncClearHistory{} } +func (m *SyncClearHistory) String() string { return proto.CompactTextString(m) } +func (*SyncClearHistory) ProtoMessage() {} func (*SyncClearHistory) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{23} + return fileDescriptor_d61ab7221f0b5518, []int{23} } -func (x *SyncClearHistory) GetChatId() string { - if x != nil { - return x.ChatId +func (m *SyncClearHistory) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncClearHistory.Unmarshal(m, b) +} +func (m *SyncClearHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncClearHistory.Marshal(b, m, deterministic) +} +func (m *SyncClearHistory) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncClearHistory.Merge(m, src) +} +func (m *SyncClearHistory) XXX_Size() int { + return xxx_messageInfo_SyncClearHistory.Size(m) +} +func (m *SyncClearHistory) XXX_DiscardUnknown() { + xxx_messageInfo_SyncClearHistory.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncClearHistory proto.InternalMessageInfo + +func (m *SyncClearHistory) GetChatId() string { + if m != nil { + return m.ChatId } return "" } -func (x *SyncClearHistory) GetClearedAt() uint64 { - if x != nil { - return x.ClearedAt +func (m *SyncClearHistory) GetClearedAt() uint64 { + if m != nil { + return m.ClearedAt } return 0 } type SyncProfilePicture struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` - Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` - FileSize uint32 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` - ResizeTarget uint32 `protobuf:"varint,6,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` - Clock uint64 `protobuf:"varint,7,opt,name=clock,proto3" json:"clock,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + FileSize uint32 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` + ResizeTarget uint32 `protobuf:"varint,6,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` + Clock uint64 `protobuf:"varint,7,opt,name=clock,proto3" json:"clock,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncProfilePicture) Reset() { - *x = SyncProfilePicture{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncProfilePicture) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncProfilePicture) ProtoMessage() {} - -func (x *SyncProfilePicture) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncProfilePicture.ProtoReflect.Descriptor instead. +func (m *SyncProfilePicture) Reset() { *m = SyncProfilePicture{} } +func (m *SyncProfilePicture) String() string { return proto.CompactTextString(m) } +func (*SyncProfilePicture) ProtoMessage() {} func (*SyncProfilePicture) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{24} + return fileDescriptor_d61ab7221f0b5518, []int{24} } -func (x *SyncProfilePicture) GetName() string { - if x != nil { - return x.Name +func (m *SyncProfilePicture) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncProfilePicture.Unmarshal(m, b) +} +func (m *SyncProfilePicture) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncProfilePicture.Marshal(b, m, deterministic) +} +func (m *SyncProfilePicture) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncProfilePicture.Merge(m, src) +} +func (m *SyncProfilePicture) XXX_Size() int { + return xxx_messageInfo_SyncProfilePicture.Size(m) +} +func (m *SyncProfilePicture) XXX_DiscardUnknown() { + xxx_messageInfo_SyncProfilePicture.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncProfilePicture proto.InternalMessageInfo + +func (m *SyncProfilePicture) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncProfilePicture) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *SyncProfilePicture) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *SyncProfilePicture) GetWidth() uint32 { - if x != nil { - return x.Width +func (m *SyncProfilePicture) GetWidth() uint32 { + if m != nil { + return m.Width } return 0 } -func (x *SyncProfilePicture) GetHeight() uint32 { - if x != nil { - return x.Height +func (m *SyncProfilePicture) GetHeight() uint32 { + if m != nil { + return m.Height } return 0 } -func (x *SyncProfilePicture) GetFileSize() uint32 { - if x != nil { - return x.FileSize +func (m *SyncProfilePicture) GetFileSize() uint32 { + if m != nil { + return m.FileSize } return 0 } -func (x *SyncProfilePicture) GetResizeTarget() uint32 { - if x != nil { - return x.ResizeTarget +func (m *SyncProfilePicture) GetResizeTarget() uint32 { + if m != nil { + return m.ResizeTarget } return 0 } -func (x *SyncProfilePicture) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncProfilePicture) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type SyncProfilePictures struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - Pictures []*SyncProfilePicture `protobuf:"bytes,2,rep,name=pictures,proto3" json:"pictures,omitempty"` + KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + Pictures []*SyncProfilePicture `protobuf:"bytes,2,rep,name=pictures,proto3" json:"pictures,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncProfilePictures) Reset() { - *x = SyncProfilePictures{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncProfilePictures) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncProfilePictures) ProtoMessage() {} - -func (x *SyncProfilePictures) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncProfilePictures.ProtoReflect.Descriptor instead. +func (m *SyncProfilePictures) Reset() { *m = SyncProfilePictures{} } +func (m *SyncProfilePictures) String() string { return proto.CompactTextString(m) } +func (*SyncProfilePictures) ProtoMessage() {} func (*SyncProfilePictures) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{25} + return fileDescriptor_d61ab7221f0b5518, []int{25} } -func (x *SyncProfilePictures) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncProfilePictures) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncProfilePictures.Unmarshal(m, b) +} +func (m *SyncProfilePictures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncProfilePictures.Marshal(b, m, deterministic) +} +func (m *SyncProfilePictures) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncProfilePictures.Merge(m, src) +} +func (m *SyncProfilePictures) XXX_Size() int { + return xxx_messageInfo_SyncProfilePictures.Size(m) +} +func (m *SyncProfilePictures) XXX_DiscardUnknown() { + xxx_messageInfo_SyncProfilePictures.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncProfilePictures proto.InternalMessageInfo + +func (m *SyncProfilePictures) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncProfilePictures) GetPictures() []*SyncProfilePicture { - if x != nil { - return x.Pictures +func (m *SyncProfilePictures) GetPictures() []*SyncProfilePicture { + if m != nil { + return m.Pictures } return nil } type SyncAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` - Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - ColorId string `protobuf:"bytes,7,opt,name=color_id,json=colorId,proto3" json:"color_id,omitempty"` - Emoji string `protobuf:"bytes,8,opt,name=emoji,proto3" json:"emoji,omitempty"` - Wallet bool `protobuf:"varint,9,opt,name=wallet,proto3" json:"wallet,omitempty"` - Chat bool `protobuf:"varint,10,opt,name=chat,proto3" json:"chat,omitempty"` - Hidden bool `protobuf:"varint,11,opt,name=hidden,proto3" json:"hidden,omitempty"` - Removed bool `protobuf:"varint,12,opt,name=removed,proto3" json:"removed,omitempty"` - Position int64 `protobuf:"varint,13,opt,name=position,proto3" json:"position,omitempty"` - ProdPreferredChainIDs string `protobuf:"bytes,14,opt,name=prodPreferredChainIDs,proto3" json:"prodPreferredChainIDs,omitempty"` - TestPreferredChainIDs string `protobuf:"bytes,15,opt,name=testPreferredChainIDs,proto3" json:"testPreferredChainIDs,omitempty"` - Operable string `protobuf:"bytes,16,opt,name=operable,proto3" json:"operable,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` + Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + ColorId string `protobuf:"bytes,7,opt,name=color_id,json=colorId,proto3" json:"color_id,omitempty"` + Emoji string `protobuf:"bytes,8,opt,name=emoji,proto3" json:"emoji,omitempty"` + Wallet bool `protobuf:"varint,9,opt,name=wallet,proto3" json:"wallet,omitempty"` + Chat bool `protobuf:"varint,10,opt,name=chat,proto3" json:"chat,omitempty"` + Hidden bool `protobuf:"varint,11,opt,name=hidden,proto3" json:"hidden,omitempty"` + Removed bool `protobuf:"varint,12,opt,name=removed,proto3" json:"removed,omitempty"` + Position int64 `protobuf:"varint,13,opt,name=position,proto3" json:"position,omitempty"` + ProdPreferredChainIDs string `protobuf:"bytes,14,opt,name=prodPreferredChainIDs,proto3" json:"prodPreferredChainIDs,omitempty"` + TestPreferredChainIDs string `protobuf:"bytes,15,opt,name=testPreferredChainIDs,proto3" json:"testPreferredChainIDs,omitempty"` + Operable string `protobuf:"bytes,16,opt,name=operable,proto3" json:"operable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncAccount) Reset() { - *x = SyncAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncAccount) ProtoMessage() {} - -func (x *SyncAccount) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncAccount.ProtoReflect.Descriptor instead. +func (m *SyncAccount) Reset() { *m = SyncAccount{} } +func (m *SyncAccount) String() string { return proto.CompactTextString(m) } +func (*SyncAccount) ProtoMessage() {} func (*SyncAccount) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{26} + return fileDescriptor_d61ab7221f0b5518, []int{26} } -func (x *SyncAccount) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncAccount) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncAccount.Unmarshal(m, b) +} +func (m *SyncAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncAccount.Marshal(b, m, deterministic) +} +func (m *SyncAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncAccount.Merge(m, src) +} +func (m *SyncAccount) XXX_Size() int { + return xxx_messageInfo_SyncAccount.Size(m) +} +func (m *SyncAccount) XXX_DiscardUnknown() { + xxx_messageInfo_SyncAccount.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncAccount proto.InternalMessageInfo + +func (m *SyncAccount) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncAccount) GetAddress() []byte { - if x != nil { - return x.Address +func (m *SyncAccount) GetAddress() []byte { + if m != nil { + return m.Address } return nil } -func (x *SyncAccount) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncAccount) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncAccount) GetPublicKey() []byte { - if x != nil { - return x.PublicKey +func (m *SyncAccount) GetPublicKey() []byte { + if m != nil { + return m.PublicKey } return nil } -func (x *SyncAccount) GetPath() string { - if x != nil { - return x.Path +func (m *SyncAccount) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *SyncAccount) GetName() string { - if x != nil { - return x.Name +func (m *SyncAccount) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncAccount) GetColorId() string { - if x != nil { - return x.ColorId +func (m *SyncAccount) GetColorId() string { + if m != nil { + return m.ColorId } return "" } -func (x *SyncAccount) GetEmoji() string { - if x != nil { - return x.Emoji +func (m *SyncAccount) GetEmoji() string { + if m != nil { + return m.Emoji } return "" } -func (x *SyncAccount) GetWallet() bool { - if x != nil { - return x.Wallet +func (m *SyncAccount) GetWallet() bool { + if m != nil { + return m.Wallet } return false } -func (x *SyncAccount) GetChat() bool { - if x != nil { - return x.Chat +func (m *SyncAccount) GetChat() bool { + if m != nil { + return m.Chat } return false } -func (x *SyncAccount) GetHidden() bool { - if x != nil { - return x.Hidden +func (m *SyncAccount) GetHidden() bool { + if m != nil { + return m.Hidden } return false } -func (x *SyncAccount) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncAccount) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncAccount) GetPosition() int64 { - if x != nil { - return x.Position +func (m *SyncAccount) GetPosition() int64 { + if m != nil { + return m.Position } return 0 } -func (x *SyncAccount) GetProdPreferredChainIDs() string { - if x != nil { - return x.ProdPreferredChainIDs +func (m *SyncAccount) GetProdPreferredChainIDs() string { + if m != nil { + return m.ProdPreferredChainIDs } return "" } -func (x *SyncAccount) GetTestPreferredChainIDs() string { - if x != nil { - return x.TestPreferredChainIDs +func (m *SyncAccount) GetTestPreferredChainIDs() string { + if m != nil { + return m.TestPreferredChainIDs } return "" } -func (x *SyncAccount) GetOperable() string { - if x != nil { - return x.Operable +func (m *SyncAccount) GetOperable() string { + if m != nil { + return m.Operable } return "" } type SyncKeypair struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` KeyUid string `protobuf:"bytes,2,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -2620,113 +2497,109 @@ type SyncKeypair struct { Keycards []*SyncKeycard `protobuf:"bytes,9,rep,name=keycards,proto3" json:"keycards,omitempty"` Removed bool `protobuf:"varint,10,opt,name=removed,proto3" json:"removed,omitempty"` KeycardPairings []byte `protobuf:"bytes,11,opt,name=keycard_pairings,json=keycardPairings,proto3" json:"keycard_pairings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncKeypair) Reset() { - *x = SyncKeypair{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncKeypair) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncKeypair) ProtoMessage() {} - -func (x *SyncKeypair) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncKeypair.ProtoReflect.Descriptor instead. +func (m *SyncKeypair) Reset() { *m = SyncKeypair{} } +func (m *SyncKeypair) String() string { return proto.CompactTextString(m) } +func (*SyncKeypair) ProtoMessage() {} func (*SyncKeypair) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{27} + return fileDescriptor_d61ab7221f0b5518, []int{27} } -func (x *SyncKeypair) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncKeypair) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncKeypair.Unmarshal(m, b) +} +func (m *SyncKeypair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncKeypair.Marshal(b, m, deterministic) +} +func (m *SyncKeypair) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncKeypair.Merge(m, src) +} +func (m *SyncKeypair) XXX_Size() int { + return xxx_messageInfo_SyncKeypair.Size(m) +} +func (m *SyncKeypair) XXX_DiscardUnknown() { + xxx_messageInfo_SyncKeypair.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncKeypair proto.InternalMessageInfo + +func (m *SyncKeypair) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncKeypair) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncKeypair) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncKeypair) GetName() string { - if x != nil { - return x.Name +func (m *SyncKeypair) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncKeypair) GetType() string { - if x != nil { - return x.Type +func (m *SyncKeypair) GetType() string { + if m != nil { + return m.Type } return "" } -func (x *SyncKeypair) GetDerivedFrom() string { - if x != nil { - return x.DerivedFrom +func (m *SyncKeypair) GetDerivedFrom() string { + if m != nil { + return m.DerivedFrom } return "" } -func (x *SyncKeypair) GetLastUsedDerivationIndex() uint64 { - if x != nil { - return x.LastUsedDerivationIndex +func (m *SyncKeypair) GetLastUsedDerivationIndex() uint64 { + if m != nil { + return m.LastUsedDerivationIndex } return 0 } -func (x *SyncKeypair) GetSyncedFrom() string { - if x != nil { - return x.SyncedFrom +func (m *SyncKeypair) GetSyncedFrom() string { + if m != nil { + return m.SyncedFrom } return "" } -func (x *SyncKeypair) GetAccounts() []*SyncAccount { - if x != nil { - return x.Accounts +func (m *SyncKeypair) GetAccounts() []*SyncAccount { + if m != nil { + return m.Accounts } return nil } -func (x *SyncKeypair) GetKeycards() []*SyncKeycard { - if x != nil { - return x.Keycards +func (m *SyncKeypair) GetKeycards() []*SyncKeycard { + if m != nil { + return m.Keycards } return nil } -func (x *SyncKeypair) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncKeypair) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncKeypair) GetKeycardPairings() []byte { - if x != nil { - return x.KeycardPairings +func (m *SyncKeypair) GetKeycardPairings() []byte { + if m != nil { + return m.KeycardPairings } return nil } @@ -2734,469 +2607,432 @@ func (x *SyncKeypair) GetKeycardPairings() []byte { // this message is used for syncing accounts positions only, for syncing any other info consider // `SyncAccount` or `SyncKeypair` message type SyncAccountsPositions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Accounts []*SyncAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Accounts []*SyncAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncAccountsPositions) Reset() { - *x = SyncAccountsPositions{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncAccountsPositions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncAccountsPositions) ProtoMessage() {} - -func (x *SyncAccountsPositions) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncAccountsPositions.ProtoReflect.Descriptor instead. +func (m *SyncAccountsPositions) Reset() { *m = SyncAccountsPositions{} } +func (m *SyncAccountsPositions) String() string { return proto.CompactTextString(m) } +func (*SyncAccountsPositions) ProtoMessage() {} func (*SyncAccountsPositions) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{28} + return fileDescriptor_d61ab7221f0b5518, []int{28} } -func (x *SyncAccountsPositions) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncAccountsPositions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncAccountsPositions.Unmarshal(m, b) +} +func (m *SyncAccountsPositions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncAccountsPositions.Marshal(b, m, deterministic) +} +func (m *SyncAccountsPositions) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncAccountsPositions.Merge(m, src) +} +func (m *SyncAccountsPositions) XXX_Size() int { + return xxx_messageInfo_SyncAccountsPositions.Size(m) +} +func (m *SyncAccountsPositions) XXX_DiscardUnknown() { + xxx_messageInfo_SyncAccountsPositions.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncAccountsPositions proto.InternalMessageInfo + +func (m *SyncAccountsPositions) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncAccountsPositions) GetAccounts() []*SyncAccount { - if x != nil { - return x.Accounts +func (m *SyncAccountsPositions) GetAccounts() []*SyncAccount { + if m != nil { + return m.Accounts } return nil } type SyncSavedAddress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` - UpdateClock uint64 `protobuf:"varint,7,opt,name=update_clock,json=updateClock,proto3" json:"update_clock,omitempty"` - ChainShortNames string `protobuf:"bytes,8,opt,name=chain_short_names,json=chainShortNames,proto3" json:"chain_short_names,omitempty"` - Ens string `protobuf:"bytes,9,opt,name=ens,proto3" json:"ens,omitempty"` - IsTest bool `protobuf:"varint,10,opt,name=is_test,json=isTest,proto3" json:"is_test,omitempty"` - Color string `protobuf:"bytes,11,opt,name=color,proto3" json:"color,omitempty"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Removed bool `protobuf:"varint,5,opt,name=removed,proto3" json:"removed,omitempty"` + UpdateClock uint64 `protobuf:"varint,7,opt,name=update_clock,json=updateClock,proto3" json:"update_clock,omitempty"` + ChainShortNames string `protobuf:"bytes,8,opt,name=chain_short_names,json=chainShortNames,proto3" json:"chain_short_names,omitempty"` + Ens string `protobuf:"bytes,9,opt,name=ens,proto3" json:"ens,omitempty"` + IsTest bool `protobuf:"varint,10,opt,name=is_test,json=isTest,proto3" json:"is_test,omitempty"` + Color string `protobuf:"bytes,11,opt,name=color,proto3" json:"color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncSavedAddress) Reset() { - *x = SyncSavedAddress{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncSavedAddress) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncSavedAddress) ProtoMessage() {} - -func (x *SyncSavedAddress) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncSavedAddress.ProtoReflect.Descriptor instead. +func (m *SyncSavedAddress) Reset() { *m = SyncSavedAddress{} } +func (m *SyncSavedAddress) String() string { return proto.CompactTextString(m) } +func (*SyncSavedAddress) ProtoMessage() {} func (*SyncSavedAddress) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{29} + return fileDescriptor_d61ab7221f0b5518, []int{29} } -func (x *SyncSavedAddress) GetAddress() []byte { - if x != nil { - return x.Address +func (m *SyncSavedAddress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncSavedAddress.Unmarshal(m, b) +} +func (m *SyncSavedAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncSavedAddress.Marshal(b, m, deterministic) +} +func (m *SyncSavedAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncSavedAddress.Merge(m, src) +} +func (m *SyncSavedAddress) XXX_Size() int { + return xxx_messageInfo_SyncSavedAddress.Size(m) +} +func (m *SyncSavedAddress) XXX_DiscardUnknown() { + xxx_messageInfo_SyncSavedAddress.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncSavedAddress proto.InternalMessageInfo + +func (m *SyncSavedAddress) GetAddress() []byte { + if m != nil { + return m.Address } return nil } -func (x *SyncSavedAddress) GetName() string { - if x != nil { - return x.Name +func (m *SyncSavedAddress) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncSavedAddress) GetRemoved() bool { - if x != nil { - return x.Removed +func (m *SyncSavedAddress) GetRemoved() bool { + if m != nil { + return m.Removed } return false } -func (x *SyncSavedAddress) GetUpdateClock() uint64 { - if x != nil { - return x.UpdateClock +func (m *SyncSavedAddress) GetUpdateClock() uint64 { + if m != nil { + return m.UpdateClock } return 0 } -func (x *SyncSavedAddress) GetChainShortNames() string { - if x != nil { - return x.ChainShortNames +func (m *SyncSavedAddress) GetChainShortNames() string { + if m != nil { + return m.ChainShortNames } return "" } -func (x *SyncSavedAddress) GetEns() string { - if x != nil { - return x.Ens +func (m *SyncSavedAddress) GetEns() string { + if m != nil { + return m.Ens } return "" } -func (x *SyncSavedAddress) GetIsTest() bool { - if x != nil { - return x.IsTest +func (m *SyncSavedAddress) GetIsTest() bool { + if m != nil { + return m.IsTest } return false } -func (x *SyncSavedAddress) GetColor() string { - if x != nil { - return x.Color +func (m *SyncSavedAddress) GetColor() string { + if m != nil { + return m.Color } return "" } type SyncCommunitySettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - CommunityId string `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` - HistoryArchiveSupportEnabled bool `protobuf:"varint,3,opt,name=history_archive_support_enabled,json=historyArchiveSupportEnabled,proto3" json:"history_archive_support_enabled,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + CommunityId string `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + HistoryArchiveSupportEnabled bool `protobuf:"varint,3,opt,name=history_archive_support_enabled,json=historyArchiveSupportEnabled,proto3" json:"history_archive_support_enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncCommunitySettings) Reset() { - *x = SyncCommunitySettings{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCommunitySettings) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCommunitySettings) ProtoMessage() {} - -func (x *SyncCommunitySettings) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCommunitySettings.ProtoReflect.Descriptor instead. +func (m *SyncCommunitySettings) Reset() { *m = SyncCommunitySettings{} } +func (m *SyncCommunitySettings) String() string { return proto.CompactTextString(m) } +func (*SyncCommunitySettings) ProtoMessage() {} func (*SyncCommunitySettings) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{30} + return fileDescriptor_d61ab7221f0b5518, []int{30} } -func (x *SyncCommunitySettings) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncCommunitySettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncCommunitySettings.Unmarshal(m, b) +} +func (m *SyncCommunitySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncCommunitySettings.Marshal(b, m, deterministic) +} +func (m *SyncCommunitySettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncCommunitySettings.Merge(m, src) +} +func (m *SyncCommunitySettings) XXX_Size() int { + return xxx_messageInfo_SyncCommunitySettings.Size(m) +} +func (m *SyncCommunitySettings) XXX_DiscardUnknown() { + xxx_messageInfo_SyncCommunitySettings.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncCommunitySettings proto.InternalMessageInfo + +func (m *SyncCommunitySettings) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncCommunitySettings) GetCommunityId() string { - if x != nil { - return x.CommunityId +func (m *SyncCommunitySettings) GetCommunityId() string { + if m != nil { + return m.CommunityId } return "" } -func (x *SyncCommunitySettings) GetHistoryArchiveSupportEnabled() bool { - if x != nil { - return x.HistoryArchiveSupportEnabled +func (m *SyncCommunitySettings) GetHistoryArchiveSupportEnabled() bool { + if m != nil { + return m.HistoryArchiveSupportEnabled } return false } type SyncTrustedUser struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Status SyncTrustedUser_TrustStatus `protobuf:"varint,3,opt,name=status,proto3,enum=protobuf.SyncTrustedUser_TrustStatus" json:"status,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Status SyncTrustedUser_TrustStatus `protobuf:"varint,3,opt,name=status,proto3,enum=protobuf.SyncTrustedUser_TrustStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncTrustedUser) Reset() { - *x = SyncTrustedUser{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncTrustedUser) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncTrustedUser) ProtoMessage() {} - -func (x *SyncTrustedUser) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncTrustedUser.ProtoReflect.Descriptor instead. +func (m *SyncTrustedUser) Reset() { *m = SyncTrustedUser{} } +func (m *SyncTrustedUser) String() string { return proto.CompactTextString(m) } +func (*SyncTrustedUser) ProtoMessage() {} func (*SyncTrustedUser) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{31} + return fileDescriptor_d61ab7221f0b5518, []int{31} } -func (x *SyncTrustedUser) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncTrustedUser) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncTrustedUser.Unmarshal(m, b) +} +func (m *SyncTrustedUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncTrustedUser.Marshal(b, m, deterministic) +} +func (m *SyncTrustedUser) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncTrustedUser.Merge(m, src) +} +func (m *SyncTrustedUser) XXX_Size() int { + return xxx_messageInfo_SyncTrustedUser.Size(m) +} +func (m *SyncTrustedUser) XXX_DiscardUnknown() { + xxx_messageInfo_SyncTrustedUser.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncTrustedUser proto.InternalMessageInfo + +func (m *SyncTrustedUser) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncTrustedUser) GetId() string { - if x != nil { - return x.Id +func (m *SyncTrustedUser) GetId() string { + if m != nil { + return m.Id } return "" } -func (x *SyncTrustedUser) GetStatus() SyncTrustedUser_TrustStatus { - if x != nil { - return x.Status +func (m *SyncTrustedUser) GetStatus() SyncTrustedUser_TrustStatus { + if m != nil { + return m.Status } return SyncTrustedUser_UNKNOWN } type SyncVerificationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - Challenge string `protobuf:"bytes,4,opt,name=challenge,proto3" json:"challenge,omitempty"` - RequestedAt uint64 `protobuf:"varint,5,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` - Response string `protobuf:"bytes,6,opt,name=response,proto3" json:"response,omitempty"` - RepliedAt uint64 `protobuf:"varint,7,opt,name=replied_at,json=repliedAt,proto3" json:"replied_at,omitempty"` - VerificationStatus SyncVerificationRequest_VerificationStatus `protobuf:"varint,8,opt,name=verification_status,json=verificationStatus,proto3,enum=protobuf.SyncVerificationRequest_VerificationStatus" json:"verification_status,omitempty"` - Id string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + Challenge string `protobuf:"bytes,4,opt,name=challenge,proto3" json:"challenge,omitempty"` + RequestedAt uint64 `protobuf:"varint,5,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` + Response string `protobuf:"bytes,6,opt,name=response,proto3" json:"response,omitempty"` + RepliedAt uint64 `protobuf:"varint,7,opt,name=replied_at,json=repliedAt,proto3" json:"replied_at,omitempty"` + VerificationStatus SyncVerificationRequest_VerificationStatus `protobuf:"varint,8,opt,name=verification_status,json=verificationStatus,proto3,enum=protobuf.SyncVerificationRequest_VerificationStatus" json:"verification_status,omitempty"` + Id string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncVerificationRequest) Reset() { - *x = SyncVerificationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncVerificationRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncVerificationRequest) ProtoMessage() {} - -func (x *SyncVerificationRequest) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncVerificationRequest.ProtoReflect.Descriptor instead. +func (m *SyncVerificationRequest) Reset() { *m = SyncVerificationRequest{} } +func (m *SyncVerificationRequest) String() string { return proto.CompactTextString(m) } +func (*SyncVerificationRequest) ProtoMessage() {} func (*SyncVerificationRequest) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{32} + return fileDescriptor_d61ab7221f0b5518, []int{32} } -func (x *SyncVerificationRequest) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncVerificationRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncVerificationRequest.Unmarshal(m, b) +} +func (m *SyncVerificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncVerificationRequest.Marshal(b, m, deterministic) +} +func (m *SyncVerificationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncVerificationRequest.Merge(m, src) +} +func (m *SyncVerificationRequest) XXX_Size() int { + return xxx_messageInfo_SyncVerificationRequest.Size(m) +} +func (m *SyncVerificationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SyncVerificationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncVerificationRequest proto.InternalMessageInfo + +func (m *SyncVerificationRequest) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncVerificationRequest) GetFrom() string { - if x != nil { - return x.From +func (m *SyncVerificationRequest) GetFrom() string { + if m != nil { + return m.From } return "" } -func (x *SyncVerificationRequest) GetTo() string { - if x != nil { - return x.To +func (m *SyncVerificationRequest) GetTo() string { + if m != nil { + return m.To } return "" } -func (x *SyncVerificationRequest) GetChallenge() string { - if x != nil { - return x.Challenge +func (m *SyncVerificationRequest) GetChallenge() string { + if m != nil { + return m.Challenge } return "" } -func (x *SyncVerificationRequest) GetRequestedAt() uint64 { - if x != nil { - return x.RequestedAt +func (m *SyncVerificationRequest) GetRequestedAt() uint64 { + if m != nil { + return m.RequestedAt } return 0 } -func (x *SyncVerificationRequest) GetResponse() string { - if x != nil { - return x.Response +func (m *SyncVerificationRequest) GetResponse() string { + if m != nil { + return m.Response } return "" } -func (x *SyncVerificationRequest) GetRepliedAt() uint64 { - if x != nil { - return x.RepliedAt +func (m *SyncVerificationRequest) GetRepliedAt() uint64 { + if m != nil { + return m.RepliedAt } return 0 } -func (x *SyncVerificationRequest) GetVerificationStatus() SyncVerificationRequest_VerificationStatus { - if x != nil { - return x.VerificationStatus +func (m *SyncVerificationRequest) GetVerificationStatus() SyncVerificationRequest_VerificationStatus { + if m != nil { + return m.VerificationStatus } return SyncVerificationRequest_UNKNOWN } -func (x *SyncVerificationRequest) GetId() string { - if x != nil { - return x.Id +func (m *SyncVerificationRequest) GetId() string { + if m != nil { + return m.Id } return "" } type SyncContactRequestDecision struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + // common.Message.ID RequestId string `protobuf:"bytes,2,opt,name=requestId,proto3" json:"requestId,omitempty"` DecisionStatus SyncContactRequestDecision_DecisionStatus `protobuf:"varint,3,opt,name=decision_status,json=decisionStatus,proto3,enum=protobuf.SyncContactRequestDecision_DecisionStatus" json:"decision_status,omitempty"` + // The `contactId` is solely utilized during local pair synchronization. + // We cannot use `requestId` to locate the corresponding UserMessage and AC notification in the database + // because UserMessages are not synchronized. Specifically, during local pair sync, `contactId` is essential + // for managing AC notifications generated by `syncContactRequestForInstallationContact`. These notifications + // undergo special processing via the function `defaultContactRequestID`, necessitating the use of `contactId` + // to correctly link related records. + ContactId string `protobuf:"bytes,4,opt,name=contactId,proto3" json:"contactId,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncContactRequestDecision) Reset() { - *x = SyncContactRequestDecision{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncContactRequestDecision) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncContactRequestDecision) ProtoMessage() {} - -func (x *SyncContactRequestDecision) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncContactRequestDecision.ProtoReflect.Descriptor instead. +func (m *SyncContactRequestDecision) Reset() { *m = SyncContactRequestDecision{} } +func (m *SyncContactRequestDecision) String() string { return proto.CompactTextString(m) } +func (*SyncContactRequestDecision) ProtoMessage() {} func (*SyncContactRequestDecision) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{33} + return fileDescriptor_d61ab7221f0b5518, []int{33} } -func (x *SyncContactRequestDecision) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncContactRequestDecision) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncContactRequestDecision.Unmarshal(m, b) +} +func (m *SyncContactRequestDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncContactRequestDecision.Marshal(b, m, deterministic) +} +func (m *SyncContactRequestDecision) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncContactRequestDecision.Merge(m, src) +} +func (m *SyncContactRequestDecision) XXX_Size() int { + return xxx_messageInfo_SyncContactRequestDecision.Size(m) +} +func (m *SyncContactRequestDecision) XXX_DiscardUnknown() { + xxx_messageInfo_SyncContactRequestDecision.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncContactRequestDecision proto.InternalMessageInfo + +func (m *SyncContactRequestDecision) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncContactRequestDecision) GetRequestId() string { - if x != nil { - return x.RequestId +func (m *SyncContactRequestDecision) GetRequestId() string { + if m != nil { + return m.RequestId } return "" } -func (x *SyncContactRequestDecision) GetDecisionStatus() SyncContactRequestDecision_DecisionStatus { - if x != nil { - return x.DecisionStatus +func (m *SyncContactRequestDecision) GetDecisionStatus() SyncContactRequestDecision_DecisionStatus { + if m != nil { + return m.DecisionStatus } return SyncContactRequestDecision_ACCEPTED } +func (m *SyncContactRequestDecision) GetContactId() string { + if m != nil { + return m.ContactId + } + return "" +} + // `BackedUpProfile` is used to describe profile of logged in user type BackedUpProfile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` DisplayNameClock uint64 `protobuf:"varint,3,opt,name=display_name_clock,json=displayNameClock,proto3" json:"display_name_clock,omitempty"` @@ -3204,2265 +3040,891 @@ type BackedUpProfile struct { SocialLinks *SyncSocialLinks `protobuf:"bytes,5,opt,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"` EnsUsernameDetails []*SyncEnsUsernameDetail `protobuf:"bytes,6,rep,name=ens_username_details,json=ensUsernameDetails,proto3" json:"ens_username_details,omitempty"` ProfileShowcasePreferences *SyncProfileShowcasePreferences `protobuf:"bytes,7,opt,name=profile_showcase_preferences,json=profileShowcasePreferences,proto3" json:"profile_showcase_preferences,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *BackedUpProfile) Reset() { - *x = BackedUpProfile{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BackedUpProfile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BackedUpProfile) ProtoMessage() {} - -func (x *BackedUpProfile) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BackedUpProfile.ProtoReflect.Descriptor instead. +func (m *BackedUpProfile) Reset() { *m = BackedUpProfile{} } +func (m *BackedUpProfile) String() string { return proto.CompactTextString(m) } +func (*BackedUpProfile) ProtoMessage() {} func (*BackedUpProfile) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{34} + return fileDescriptor_d61ab7221f0b5518, []int{34} } -func (x *BackedUpProfile) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *BackedUpProfile) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackedUpProfile.Unmarshal(m, b) +} +func (m *BackedUpProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackedUpProfile.Marshal(b, m, deterministic) +} +func (m *BackedUpProfile) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackedUpProfile.Merge(m, src) +} +func (m *BackedUpProfile) XXX_Size() int { + return xxx_messageInfo_BackedUpProfile.Size(m) +} +func (m *BackedUpProfile) XXX_DiscardUnknown() { + xxx_messageInfo_BackedUpProfile.DiscardUnknown(m) +} + +var xxx_messageInfo_BackedUpProfile proto.InternalMessageInfo + +func (m *BackedUpProfile) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *BackedUpProfile) GetDisplayName() string { - if x != nil { - return x.DisplayName +func (m *BackedUpProfile) GetDisplayName() string { + if m != nil { + return m.DisplayName } return "" } -func (x *BackedUpProfile) GetDisplayNameClock() uint64 { - if x != nil { - return x.DisplayNameClock +func (m *BackedUpProfile) GetDisplayNameClock() uint64 { + if m != nil { + return m.DisplayNameClock } return 0 } -func (x *BackedUpProfile) GetPictures() []*SyncProfilePicture { - if x != nil { - return x.Pictures +func (m *BackedUpProfile) GetPictures() []*SyncProfilePicture { + if m != nil { + return m.Pictures } return nil } -func (x *BackedUpProfile) GetSocialLinks() *SyncSocialLinks { - if x != nil { - return x.SocialLinks +func (m *BackedUpProfile) GetSocialLinks() *SyncSocialLinks { + if m != nil { + return m.SocialLinks } return nil } -func (x *BackedUpProfile) GetEnsUsernameDetails() []*SyncEnsUsernameDetail { - if x != nil { - return x.EnsUsernameDetails +func (m *BackedUpProfile) GetEnsUsernameDetails() []*SyncEnsUsernameDetail { + if m != nil { + return m.EnsUsernameDetails } return nil } -func (x *BackedUpProfile) GetProfileShowcasePreferences() *SyncProfileShowcasePreferences { - if x != nil { - return x.ProfileShowcasePreferences +func (m *BackedUpProfile) GetProfileShowcasePreferences() *SyncProfileShowcasePreferences { + if m != nil { + return m.ProfileShowcasePreferences } return nil } type RawMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - MessageType ApplicationMetadataMessage_Type `protobuf:"varint,2,opt,name=messageType,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"messageType,omitempty"` + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + MessageType ApplicationMetadataMessage_Type `protobuf:"varint,2,opt,name=messageType,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"messageType,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *RawMessage) Reset() { - *x = RawMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawMessage) ProtoMessage() {} - -func (x *RawMessage) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawMessage.ProtoReflect.Descriptor instead. +func (m *RawMessage) Reset() { *m = RawMessage{} } +func (m *RawMessage) String() string { return proto.CompactTextString(m) } +func (*RawMessage) ProtoMessage() {} func (*RawMessage) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{35} + return fileDescriptor_d61ab7221f0b5518, []int{35} } -func (x *RawMessage) GetPayload() []byte { - if x != nil { - return x.Payload +func (m *RawMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawMessage.Unmarshal(m, b) +} +func (m *RawMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawMessage.Marshal(b, m, deterministic) +} +func (m *RawMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawMessage.Merge(m, src) +} +func (m *RawMessage) XXX_Size() int { + return xxx_messageInfo_RawMessage.Size(m) +} +func (m *RawMessage) XXX_DiscardUnknown() { + xxx_messageInfo_RawMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_RawMessage proto.InternalMessageInfo + +func (m *RawMessage) GetPayload() []byte { + if m != nil { + return m.Payload } return nil } -func (x *RawMessage) GetMessageType() ApplicationMetadataMessage_Type { - if x != nil { - return x.MessageType +func (m *RawMessage) GetMessageType() ApplicationMetadataMessage_Type { + if m != nil { + return m.MessageType } return ApplicationMetadataMessage_UNKNOWN } type SyncRawMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - RawMessages []*RawMessage `protobuf:"bytes,1,rep,name=rawMessages,proto3" json:"rawMessages,omitempty"` // we need these to be able to login - SubAccountsJsonBytes []byte `protobuf:"bytes,2,opt,name=subAccountsJsonBytes,proto3" json:"subAccountsJsonBytes,omitempty"` - SettingsJsonBytes []byte `protobuf:"bytes,3,opt,name=settingsJsonBytes,proto3" json:"settingsJsonBytes,omitempty"` + SubAccountsJsonBytes []byte `protobuf:"bytes,2,opt,name=subAccountsJsonBytes,proto3" json:"subAccountsJsonBytes,omitempty"` + SettingsJsonBytes []byte `protobuf:"bytes,3,opt,name=settingsJsonBytes,proto3" json:"settingsJsonBytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncRawMessage) Reset() { - *x = SyncRawMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncRawMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncRawMessage) ProtoMessage() {} - -func (x *SyncRawMessage) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncRawMessage.ProtoReflect.Descriptor instead. +func (m *SyncRawMessage) Reset() { *m = SyncRawMessage{} } +func (m *SyncRawMessage) String() string { return proto.CompactTextString(m) } +func (*SyncRawMessage) ProtoMessage() {} func (*SyncRawMessage) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{36} + return fileDescriptor_d61ab7221f0b5518, []int{36} } -func (x *SyncRawMessage) GetRawMessages() []*RawMessage { - if x != nil { - return x.RawMessages +func (m *SyncRawMessage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncRawMessage.Unmarshal(m, b) +} +func (m *SyncRawMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncRawMessage.Marshal(b, m, deterministic) +} +func (m *SyncRawMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncRawMessage.Merge(m, src) +} +func (m *SyncRawMessage) XXX_Size() int { + return xxx_messageInfo_SyncRawMessage.Size(m) +} +func (m *SyncRawMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SyncRawMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncRawMessage proto.InternalMessageInfo + +func (m *SyncRawMessage) GetRawMessages() []*RawMessage { + if m != nil { + return m.RawMessages } return nil } -func (x *SyncRawMessage) GetSubAccountsJsonBytes() []byte { - if x != nil { - return x.SubAccountsJsonBytes +func (m *SyncRawMessage) GetSubAccountsJsonBytes() []byte { + if m != nil { + return m.SubAccountsJsonBytes } return nil } -func (x *SyncRawMessage) GetSettingsJsonBytes() []byte { - if x != nil { - return x.SettingsJsonBytes +func (m *SyncRawMessage) GetSettingsJsonBytes() []byte { + if m != nil { + return m.SettingsJsonBytes } return nil } type SyncKeycard struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"` - KeyUid string `protobuf:"bytes,4,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - Addresses [][]byte `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` - Position uint64 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"` + KeyUid string `protobuf:"bytes,4,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + Addresses [][]byte `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` + Position uint64 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncKeycard) Reset() { - *x = SyncKeycard{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncKeycard) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncKeycard) ProtoMessage() {} - -func (x *SyncKeycard) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncKeycard.ProtoReflect.Descriptor instead. +func (m *SyncKeycard) Reset() { *m = SyncKeycard{} } +func (m *SyncKeycard) String() string { return proto.CompactTextString(m) } +func (*SyncKeycard) ProtoMessage() {} func (*SyncKeycard) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{37} + return fileDescriptor_d61ab7221f0b5518, []int{37} } -func (x *SyncKeycard) GetUid() string { - if x != nil { - return x.Uid +func (m *SyncKeycard) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncKeycard.Unmarshal(m, b) +} +func (m *SyncKeycard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncKeycard.Marshal(b, m, deterministic) +} +func (m *SyncKeycard) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncKeycard.Merge(m, src) +} +func (m *SyncKeycard) XXX_Size() int { + return xxx_messageInfo_SyncKeycard.Size(m) +} +func (m *SyncKeycard) XXX_DiscardUnknown() { + xxx_messageInfo_SyncKeycard.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncKeycard proto.InternalMessageInfo + +func (m *SyncKeycard) GetUid() string { + if m != nil { + return m.Uid } return "" } -func (x *SyncKeycard) GetName() string { - if x != nil { - return x.Name +func (m *SyncKeycard) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *SyncKeycard) GetLocked() bool { - if x != nil { - return x.Locked +func (m *SyncKeycard) GetLocked() bool { + if m != nil { + return m.Locked } return false } -func (x *SyncKeycard) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncKeycard) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } -func (x *SyncKeycard) GetAddresses() [][]byte { - if x != nil { - return x.Addresses +func (m *SyncKeycard) GetAddresses() [][]byte { + if m != nil { + return m.Addresses } return nil } -func (x *SyncKeycard) GetPosition() uint64 { - if x != nil { - return x.Position +func (m *SyncKeycard) GetPosition() uint64 { + if m != nil { + return m.Position } return 0 } type SyncSocialLinks struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SocialLinks []*SocialLink `protobuf:"bytes,1,rep,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"` - Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"` + SocialLinks []*SocialLink `protobuf:"bytes,1,rep,name=social_links,json=socialLinks,proto3" json:"social_links,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 (x *SyncSocialLinks) Reset() { - *x = SyncSocialLinks{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncSocialLinks) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncSocialLinks) ProtoMessage() {} - -func (x *SyncSocialLinks) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncSocialLinks.ProtoReflect.Descriptor instead. +func (m *SyncSocialLinks) Reset() { *m = SyncSocialLinks{} } +func (m *SyncSocialLinks) String() string { return proto.CompactTextString(m) } +func (*SyncSocialLinks) ProtoMessage() {} func (*SyncSocialLinks) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{38} + return fileDescriptor_d61ab7221f0b5518, []int{38} } -func (x *SyncSocialLinks) GetSocialLinks() []*SocialLink { - if x != nil { - return x.SocialLinks +func (m *SyncSocialLinks) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncSocialLinks.Unmarshal(m, b) +} +func (m *SyncSocialLinks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncSocialLinks.Marshal(b, m, deterministic) +} +func (m *SyncSocialLinks) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncSocialLinks.Merge(m, src) +} +func (m *SyncSocialLinks) XXX_Size() int { + return xxx_messageInfo_SyncSocialLinks.Size(m) +} +func (m *SyncSocialLinks) XXX_DiscardUnknown() { + xxx_messageInfo_SyncSocialLinks.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncSocialLinks proto.InternalMessageInfo + +func (m *SyncSocialLinks) GetSocialLinks() []*SocialLink { + if m != nil { + return m.SocialLinks } return nil } -func (x *SyncSocialLinks) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncSocialLinks) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } type SyncAccountCustomizationColor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UpdatedAt uint64 `protobuf:"varint,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - CustomizationColor string `protobuf:"bytes,2,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` - KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + UpdatedAt uint64 `protobuf:"varint,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + CustomizationColor string `protobuf:"bytes,2,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"` + KeyUid string `protobuf:"bytes,3,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncAccountCustomizationColor) Reset() { - *x = SyncAccountCustomizationColor{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncAccountCustomizationColor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncAccountCustomizationColor) ProtoMessage() {} - -func (x *SyncAccountCustomizationColor) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncAccountCustomizationColor.ProtoReflect.Descriptor instead. +func (m *SyncAccountCustomizationColor) Reset() { *m = SyncAccountCustomizationColor{} } +func (m *SyncAccountCustomizationColor) String() string { return proto.CompactTextString(m) } +func (*SyncAccountCustomizationColor) ProtoMessage() {} func (*SyncAccountCustomizationColor) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{39} + return fileDescriptor_d61ab7221f0b5518, []int{39} } -func (x *SyncAccountCustomizationColor) GetUpdatedAt() uint64 { - if x != nil { - return x.UpdatedAt +func (m *SyncAccountCustomizationColor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncAccountCustomizationColor.Unmarshal(m, b) +} +func (m *SyncAccountCustomizationColor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncAccountCustomizationColor.Marshal(b, m, deterministic) +} +func (m *SyncAccountCustomizationColor) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncAccountCustomizationColor.Merge(m, src) +} +func (m *SyncAccountCustomizationColor) XXX_Size() int { + return xxx_messageInfo_SyncAccountCustomizationColor.Size(m) +} +func (m *SyncAccountCustomizationColor) XXX_DiscardUnknown() { + xxx_messageInfo_SyncAccountCustomizationColor.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncAccountCustomizationColor proto.InternalMessageInfo + +func (m *SyncAccountCustomizationColor) GetUpdatedAt() uint64 { + if m != nil { + return m.UpdatedAt } return 0 } -func (x *SyncAccountCustomizationColor) GetCustomizationColor() string { - if x != nil { - return x.CustomizationColor +func (m *SyncAccountCustomizationColor) GetCustomizationColor() string { + if m != nil { + return m.CustomizationColor } return "" } -func (x *SyncAccountCustomizationColor) GetKeyUid() string { - if x != nil { - return x.KeyUid +func (m *SyncAccountCustomizationColor) GetKeyUid() string { + if m != nil { + return m.KeyUid } return "" } type TokenPreferences struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` - GroupPosition int64 `protobuf:"varint,3,opt,name=groupPosition,proto3" json:"groupPosition,omitempty"` - Visible bool `protobuf:"varint,4,opt,name=visible,proto3" json:"visible,omitempty"` - CommunityId string `protobuf:"bytes,5,opt,name=communityId,proto3" json:"communityId,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` + GroupPosition int64 `protobuf:"varint,3,opt,name=groupPosition,proto3" json:"groupPosition,omitempty"` + Visible bool `protobuf:"varint,4,opt,name=visible,proto3" json:"visible,omitempty"` + CommunityId string `protobuf:"bytes,5,opt,name=communityId,proto3" json:"communityId,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *TokenPreferences) Reset() { - *x = TokenPreferences{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TokenPreferences) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TokenPreferences) ProtoMessage() {} - -func (x *TokenPreferences) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TokenPreferences.ProtoReflect.Descriptor instead. +func (m *TokenPreferences) Reset() { *m = TokenPreferences{} } +func (m *TokenPreferences) String() string { return proto.CompactTextString(m) } +func (*TokenPreferences) ProtoMessage() {} func (*TokenPreferences) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{40} + return fileDescriptor_d61ab7221f0b5518, []int{40} } -func (x *TokenPreferences) GetKey() string { - if x != nil { - return x.Key +func (m *TokenPreferences) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TokenPreferences.Unmarshal(m, b) +} +func (m *TokenPreferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TokenPreferences.Marshal(b, m, deterministic) +} +func (m *TokenPreferences) XXX_Merge(src proto.Message) { + xxx_messageInfo_TokenPreferences.Merge(m, src) +} +func (m *TokenPreferences) XXX_Size() int { + return xxx_messageInfo_TokenPreferences.Size(m) +} +func (m *TokenPreferences) XXX_DiscardUnknown() { + xxx_messageInfo_TokenPreferences.DiscardUnknown(m) +} + +var xxx_messageInfo_TokenPreferences proto.InternalMessageInfo + +func (m *TokenPreferences) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *TokenPreferences) GetPosition() int64 { - if x != nil { - return x.Position +func (m *TokenPreferences) GetPosition() int64 { + if m != nil { + return m.Position } return 0 } -func (x *TokenPreferences) GetGroupPosition() int64 { - if x != nil { - return x.GroupPosition +func (m *TokenPreferences) GetGroupPosition() int64 { + if m != nil { + return m.GroupPosition } return 0 } -func (x *TokenPreferences) GetVisible() bool { - if x != nil { - return x.Visible +func (m *TokenPreferences) GetVisible() bool { + if m != nil { + return m.Visible } return false } -func (x *TokenPreferences) GetCommunityId() string { - if x != nil { - return x.CommunityId +func (m *TokenPreferences) GetCommunityId() string { + if m != nil { + return m.CommunityId } return "" } type SyncTokenPreferences struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` - Preferences []*TokenPreferences `protobuf:"bytes,3,rep,name=preferences,proto3" json:"preferences,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` + Preferences []*TokenPreferences `protobuf:"bytes,3,rep,name=preferences,proto3" json:"preferences,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncTokenPreferences) Reset() { - *x = SyncTokenPreferences{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncTokenPreferences) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncTokenPreferences) ProtoMessage() {} - -func (x *SyncTokenPreferences) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncTokenPreferences.ProtoReflect.Descriptor instead. +func (m *SyncTokenPreferences) Reset() { *m = SyncTokenPreferences{} } +func (m *SyncTokenPreferences) String() string { return proto.CompactTextString(m) } +func (*SyncTokenPreferences) ProtoMessage() {} func (*SyncTokenPreferences) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{41} + return fileDescriptor_d61ab7221f0b5518, []int{41} } -func (x *SyncTokenPreferences) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncTokenPreferences) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncTokenPreferences.Unmarshal(m, b) +} +func (m *SyncTokenPreferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncTokenPreferences.Marshal(b, m, deterministic) +} +func (m *SyncTokenPreferences) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncTokenPreferences.Merge(m, src) +} +func (m *SyncTokenPreferences) XXX_Size() int { + return xxx_messageInfo_SyncTokenPreferences.Size(m) +} +func (m *SyncTokenPreferences) XXX_DiscardUnknown() { + xxx_messageInfo_SyncTokenPreferences.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncTokenPreferences proto.InternalMessageInfo + +func (m *SyncTokenPreferences) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncTokenPreferences) GetTestnet() bool { - if x != nil { - return x.Testnet +func (m *SyncTokenPreferences) GetTestnet() bool { + if m != nil { + return m.Testnet } return false } -func (x *SyncTokenPreferences) GetPreferences() []*TokenPreferences { - if x != nil { - return x.Preferences +func (m *SyncTokenPreferences) GetPreferences() []*TokenPreferences { + if m != nil { + return m.Preferences } return nil } type CollectiblePreferences struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` - Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - Position int64 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` - Visible bool `protobuf:"varint,4,opt,name=visible,proto3" json:"visible,omitempty"` + Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + Position int64 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` + Visible bool `protobuf:"varint,4,opt,name=visible,proto3" json:"visible,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *CollectiblePreferences) Reset() { - *x = CollectiblePreferences{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CollectiblePreferences) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CollectiblePreferences) ProtoMessage() {} - -func (x *CollectiblePreferences) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CollectiblePreferences.ProtoReflect.Descriptor instead. +func (m *CollectiblePreferences) Reset() { *m = CollectiblePreferences{} } +func (m *CollectiblePreferences) String() string { return proto.CompactTextString(m) } +func (*CollectiblePreferences) ProtoMessage() {} func (*CollectiblePreferences) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{42} + return fileDescriptor_d61ab7221f0b5518, []int{42} } -func (x *CollectiblePreferences) GetType() int64 { - if x != nil { - return x.Type +func (m *CollectiblePreferences) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CollectiblePreferences.Unmarshal(m, b) +} +func (m *CollectiblePreferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CollectiblePreferences.Marshal(b, m, deterministic) +} +func (m *CollectiblePreferences) XXX_Merge(src proto.Message) { + xxx_messageInfo_CollectiblePreferences.Merge(m, src) +} +func (m *CollectiblePreferences) XXX_Size() int { + return xxx_messageInfo_CollectiblePreferences.Size(m) +} +func (m *CollectiblePreferences) XXX_DiscardUnknown() { + xxx_messageInfo_CollectiblePreferences.DiscardUnknown(m) +} + +var xxx_messageInfo_CollectiblePreferences proto.InternalMessageInfo + +func (m *CollectiblePreferences) GetType() int64 { + if m != nil { + return m.Type } return 0 } -func (x *CollectiblePreferences) GetKey() string { - if x != nil { - return x.Key +func (m *CollectiblePreferences) GetKey() string { + if m != nil { + return m.Key } return "" } -func (x *CollectiblePreferences) GetPosition() int64 { - if x != nil { - return x.Position +func (m *CollectiblePreferences) GetPosition() int64 { + if m != nil { + return m.Position } return 0 } -func (x *CollectiblePreferences) GetVisible() bool { - if x != nil { - return x.Visible +func (m *CollectiblePreferences) GetVisible() bool { + if m != nil { + return m.Visible } return false } type SyncCollectiblePreferences struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` - Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` - Preferences []*CollectiblePreferences `protobuf:"bytes,3,rep,name=preferences,proto3" json:"preferences,omitempty"` + Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` + Testnet bool `protobuf:"varint,2,opt,name=testnet,proto3" json:"testnet,omitempty"` + Preferences []*CollectiblePreferences `protobuf:"bytes,3,rep,name=preferences,proto3" json:"preferences,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *SyncCollectiblePreferences) Reset() { - *x = SyncCollectiblePreferences{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SyncCollectiblePreferences) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SyncCollectiblePreferences) ProtoMessage() {} - -func (x *SyncCollectiblePreferences) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SyncCollectiblePreferences.ProtoReflect.Descriptor instead. +func (m *SyncCollectiblePreferences) Reset() { *m = SyncCollectiblePreferences{} } +func (m *SyncCollectiblePreferences) String() string { return proto.CompactTextString(m) } +func (*SyncCollectiblePreferences) ProtoMessage() {} func (*SyncCollectiblePreferences) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{43} + return fileDescriptor_d61ab7221f0b5518, []int{43} } -func (x *SyncCollectiblePreferences) GetClock() uint64 { - if x != nil { - return x.Clock +func (m *SyncCollectiblePreferences) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SyncCollectiblePreferences.Unmarshal(m, b) +} +func (m *SyncCollectiblePreferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SyncCollectiblePreferences.Marshal(b, m, deterministic) +} +func (m *SyncCollectiblePreferences) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncCollectiblePreferences.Merge(m, src) +} +func (m *SyncCollectiblePreferences) XXX_Size() int { + return xxx_messageInfo_SyncCollectiblePreferences.Size(m) +} +func (m *SyncCollectiblePreferences) XXX_DiscardUnknown() { + xxx_messageInfo_SyncCollectiblePreferences.DiscardUnknown(m) +} + +var xxx_messageInfo_SyncCollectiblePreferences proto.InternalMessageInfo + +func (m *SyncCollectiblePreferences) GetClock() uint64 { + if m != nil { + return m.Clock } return 0 } -func (x *SyncCollectiblePreferences) GetTestnet() bool { - if x != nil { - return x.Testnet +func (m *SyncCollectiblePreferences) GetTestnet() bool { + if m != nil { + return m.Testnet } return false } -func (x *SyncCollectiblePreferences) GetPreferences() []*CollectiblePreferences { - if x != nil { - return x.Preferences +func (m *SyncCollectiblePreferences) GetPreferences() []*CollectiblePreferences { + if m != nil { + return m.Preferences } return nil } -type MultiAccount_ColorHash struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index []int64 `protobuf:"varint,1,rep,packed,name=index,proto3" json:"index,omitempty"` +func init() { + proto.RegisterEnum("protobuf.SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision", SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_name, SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision_value) + proto.RegisterEnum("protobuf.SyncTrustedUser_TrustStatus", SyncTrustedUser_TrustStatus_name, SyncTrustedUser_TrustStatus_value) + proto.RegisterEnum("protobuf.SyncVerificationRequest_VerificationStatus", SyncVerificationRequest_VerificationStatus_name, SyncVerificationRequest_VerificationStatus_value) + proto.RegisterEnum("protobuf.SyncContactRequestDecision_DecisionStatus", SyncContactRequestDecision_DecisionStatus_name, SyncContactRequestDecision_DecisionStatus_value) + proto.RegisterType((*FetchingBackedUpDataDetails)(nil), "protobuf.FetchingBackedUpDataDetails") + proto.RegisterType((*Backup)(nil), "protobuf.Backup") + proto.RegisterType((*MultiAccount)(nil), "protobuf.MultiAccount") + proto.RegisterType((*MultiAccount_ColorHash)(nil), "protobuf.MultiAccount.ColorHash") + proto.RegisterType((*MultiAccount_IdentityImage)(nil), "protobuf.MultiAccount.IdentityImage") + proto.RegisterType((*LocalPairingPayload)(nil), "protobuf.LocalPairingPayload") + proto.RegisterType((*LocalPairingPayload_Key)(nil), "protobuf.LocalPairingPayload.Key") + proto.RegisterType((*LocalPairingPeerHello)(nil), "protobuf.LocalPairingPeerHello") + proto.RegisterType((*SyncPairInstallation)(nil), "protobuf.SyncPairInstallation") + proto.RegisterType((*SyncInstallationContactV2)(nil), "protobuf.SyncInstallationContactV2") + proto.RegisterType((*SyncInstallationAccount)(nil), "protobuf.SyncInstallationAccount") + proto.RegisterType((*SyncInstallationCommunity)(nil), "protobuf.SyncInstallationCommunity") + proto.RegisterType((*SyncCommunityRequestsToJoin)(nil), "protobuf.SyncCommunityRequestsToJoin") + proto.RegisterType((*SyncCommunityControlNode)(nil), "protobuf.SyncCommunityControlNode") + proto.RegisterType((*SyncChat)(nil), "protobuf.SyncChat") + proto.RegisterType((*MembershipUpdateEvents)(nil), "protobuf.MembershipUpdateEvents") + proto.RegisterType((*SyncChatRemoved)(nil), "protobuf.SyncChatRemoved") + proto.RegisterType((*SyncChatMessagesRead)(nil), "protobuf.SyncChatMessagesRead") + proto.RegisterType((*SyncActivityCenterRead)(nil), "protobuf.SyncActivityCenterRead") + proto.RegisterType((*SyncActivityCenterAccepted)(nil), "protobuf.SyncActivityCenterAccepted") + proto.RegisterType((*SyncActivityCenterDismissed)(nil), "protobuf.SyncActivityCenterDismissed") + proto.RegisterType((*SyncActivityCenterDeleted)(nil), "protobuf.SyncActivityCenterDeleted") + proto.RegisterType((*SyncActivityCenterUnread)(nil), "protobuf.SyncActivityCenterUnread") + proto.RegisterType((*SyncActivityCenterCommunityRequestDecision)(nil), "protobuf.SyncActivityCenterCommunityRequestDecision") + proto.RegisterType((*SyncBookmark)(nil), "protobuf.SyncBookmark") + proto.RegisterType((*SyncEnsUsernameDetail)(nil), "protobuf.SyncEnsUsernameDetail") + proto.RegisterType((*SyncClearHistory)(nil), "protobuf.SyncClearHistory") + proto.RegisterType((*SyncProfilePicture)(nil), "protobuf.SyncProfilePicture") + proto.RegisterType((*SyncProfilePictures)(nil), "protobuf.SyncProfilePictures") + proto.RegisterType((*SyncAccount)(nil), "protobuf.SyncAccount") + proto.RegisterType((*SyncKeypair)(nil), "protobuf.SyncKeypair") + proto.RegisterType((*SyncAccountsPositions)(nil), "protobuf.SyncAccountsPositions") + proto.RegisterType((*SyncSavedAddress)(nil), "protobuf.SyncSavedAddress") + proto.RegisterType((*SyncCommunitySettings)(nil), "protobuf.SyncCommunitySettings") + proto.RegisterType((*SyncTrustedUser)(nil), "protobuf.SyncTrustedUser") + proto.RegisterType((*SyncVerificationRequest)(nil), "protobuf.SyncVerificationRequest") + proto.RegisterType((*SyncContactRequestDecision)(nil), "protobuf.SyncContactRequestDecision") + proto.RegisterType((*BackedUpProfile)(nil), "protobuf.BackedUpProfile") + proto.RegisterType((*RawMessage)(nil), "protobuf.RawMessage") + proto.RegisterType((*SyncRawMessage)(nil), "protobuf.SyncRawMessage") + proto.RegisterType((*SyncKeycard)(nil), "protobuf.SyncKeycard") + proto.RegisterType((*SyncSocialLinks)(nil), "protobuf.SyncSocialLinks") + proto.RegisterType((*SyncAccountCustomizationColor)(nil), "protobuf.SyncAccountCustomizationColor") + proto.RegisterType((*TokenPreferences)(nil), "protobuf.TokenPreferences") + proto.RegisterType((*SyncTokenPreferences)(nil), "protobuf.SyncTokenPreferences") + proto.RegisterType((*CollectiblePreferences)(nil), "protobuf.CollectiblePreferences") + proto.RegisterType((*SyncCollectiblePreferences)(nil), "protobuf.SyncCollectiblePreferences") } -func (x *MultiAccount_ColorHash) Reset() { - *x = MultiAccount_ColorHash{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func init() { + proto.RegisterFile("pairing.proto", fileDescriptor_d61ab7221f0b5518) } -func (x *MultiAccount_ColorHash) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiAccount_ColorHash) ProtoMessage() {} - -func (x *MultiAccount_ColorHash) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiAccount_ColorHash.ProtoReflect.Descriptor instead. -func (*MultiAccount_ColorHash) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *MultiAccount_ColorHash) GetIndex() []int64 { - if x != nil { - return x.Index - } - return nil -} - -type MultiAccount_IdentityImage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KeyUid string `protobuf:"bytes,1,opt,name=key_uid,json=keyUid,proto3" json:"key_uid,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` - Width int64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` - Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` - Filesize int64 `protobuf:"varint,6,opt,name=filesize,proto3" json:"filesize,omitempty"` - ResizeTarget int64 `protobuf:"varint,7,opt,name=resize_target,json=resizeTarget,proto3" json:"resize_target,omitempty"` - Clock uint64 `protobuf:"varint,8,opt,name=clock,proto3" json:"clock,omitempty"` -} - -func (x *MultiAccount_IdentityImage) Reset() { - *x = MultiAccount_IdentityImage{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MultiAccount_IdentityImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MultiAccount_IdentityImage) ProtoMessage() {} - -func (x *MultiAccount_IdentityImage) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MultiAccount_IdentityImage.ProtoReflect.Descriptor instead. -func (*MultiAccount_IdentityImage) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{2, 1} -} - -func (x *MultiAccount_IdentityImage) GetKeyUid() string { - if x != nil { - return x.KeyUid - } - return "" -} - -func (x *MultiAccount_IdentityImage) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *MultiAccount_IdentityImage) GetPayload() []byte { - if x != nil { - return x.Payload - } - return nil -} - -func (x *MultiAccount_IdentityImage) GetWidth() int64 { - if x != nil { - return x.Width - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetHeight() int64 { - if x != nil { - return x.Height - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetFilesize() int64 { - if x != nil { - return x.Filesize - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetResizeTarget() int64 { - if x != nil { - return x.ResizeTarget - } - return 0 -} - -func (x *MultiAccount_IdentityImage) GetClock() uint64 { - if x != nil { - return x.Clock - } - return 0 -} - -type LocalPairingPayload_Key struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *LocalPairingPayload_Key) Reset() { - *x = LocalPairingPayload_Key{} - if protoimpl.UnsafeEnabled { - mi := &file_pairing_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LocalPairingPayload_Key) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LocalPairingPayload_Key) ProtoMessage() {} - -func (x *LocalPairingPayload_Key) ProtoReflect() protoreflect.Message { - mi := &file_pairing_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LocalPairingPayload_Key.ProtoReflect.Descriptor instead. -func (*LocalPairingPayload_Key) Descriptor() ([]byte, []int) { - return file_pairing_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *LocalPairingPayload_Key) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *LocalPairingPayload_Key) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -var File_pairing_proto protoreflect.FileDescriptor - -var file_pairing_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, - 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x70, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x1b, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, - 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xfd, 0x07, 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, - 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x32, 0x52, 0x08, 0x63, - 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, - 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4f, - 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, - 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0f, - 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, - 0x55, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, - 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x52, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x69, 0x65, 0x73, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, - 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x70, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, - 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x73, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x4f, 0x0a, 0x0f, 0x73, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, - 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0f, 0x73, 0x65, 0x74, - 0x74, 0x69, 0x6e, 0x67, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x07, - 0x6b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4b, 0x65, 0x79, - 0x70, 0x61, 0x69, 0x72, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, 0x12, 0x4d, 0x0a, - 0x0e, 0x6b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, - 0x70, 0x44, 0x61, 0x74, 0x61, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x6b, 0x65, - 0x79, 0x70, 0x61, 0x69, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x41, 0x0a, 0x10, - 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, 0x77, - 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x5f, 0x0a, 0x17, 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, - 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x17, 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, - 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x12, 0x28, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, - 0x68, 0x61, 0x74, 0x52, 0x05, 0x63, 0x68, 0x61, 0x74, 0x73, 0x12, 0x49, 0x0a, 0x0c, 0x63, 0x68, - 0x61, 0x74, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x74, 0x63, - 0x68, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x44, 0x61, 0x74, 0x61, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x74, 0x73, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xa8, 0x05, 0x0a, 0x0c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, - 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x48, 0x61, 0x73, 0x68, 0x52, 0x09, 0x63, 0x6f, - 0x6c, 0x6f, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6f, 0x6c, 0x6f, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x6f, 0x72, - 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x5f, 0x70, 0x61, - 0x69, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6b, 0x65, 0x79, - 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x6b, - 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, - 0x79, 0x55, 0x69, 0x64, 0x12, 0x3c, 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x08, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x6c, 0x6f, 0x72, 0x12, 0x3a, 0x0a, 0x19, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, - 0x21, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x1a, 0xdb, 0x01, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, - 0x6d, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, - 0x69, 0x64, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, - 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, - 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, - 0x73, 0x69, 0x7a, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x22, 0x97, 0x02, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, - 0x67, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, - 0x3a, 0x0a, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x6d, - 0x75, 0x6c, 0x74, 0x69, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, - 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, - 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x4b, - 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x74, 0x4b, 0x65, - 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, - 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6b, 0x65, 0x79, 0x63, - 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x2d, 0x0a, 0x03, 0x4b, - 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb9, 0x01, 0x0a, 0x15, 0x4c, - 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x65, 0x72, 0x48, - 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, - 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, - 0x07, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x70, 0x65, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, - 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x14, 0x53, 0x79, 0x6e, 0x63, 0x50, - 0x61, 0x69, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, - 0x0a, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb2, 0x06, - 0x0a, 0x19, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x56, 0x32, 0x12, 0x30, 0x0a, 0x14, 0x6c, - 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, - 0x6c, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x6d, 0x61, - 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x61, 0x67, - 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, - 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, - 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x75, 0x74, 0x65, - 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x68, 0x61, 0x73, 0x5f, - 0x61, 0x64, 0x64, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x68, 0x61, 0x73, 0x41, 0x64, 0x64, 0x65, 0x64, 0x55, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, - 0x72, 0x75, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x74, 0x72, 0x75, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3d, - 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x10, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, - 0x1b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3f, 0x0a, 0x1c, - 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3f, 0x0a, - 0x1c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x13, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, - 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x14, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, - 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, - 0x6f, 0x72, 0x22, 0x77, 0x0a, 0x17, 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, - 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, - 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, - 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0x86, 0x05, 0x0a, 0x19, - 0x53, 0x79, 0x6e, 0x63, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x23, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x08, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x75, - 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, - 0x12, 0x4f, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x5f, 0x74, 0x6f, 0x5f, - 0x6a, 0x6f, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, - 0x6e, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, 0x4a, 0x6f, 0x69, - 0x6e, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1c, - 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x73, 0x70, 0x65, 0x63, 0x74, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x09, 0x73, 0x70, 0x65, 0x63, 0x74, 0x61, 0x74, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x12, 0x65, 0x6e, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x5f, 0x76, 0x31, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x65, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x56, 0x31, 0x12, 0x45, 0x0a, 0x0c, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, - 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4e, - 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4f, 0x70, - 0x65, 0x6e, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x5f, 0x76, 0x32, 0x18, 0x10, 0x20, 0x03, - 0x28, 0x0c, 0x52, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, - 0x79, 0x73, 0x56, 0x32, 0x22, 0xc8, 0x02, 0x0a, 0x1b, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, - 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x54, 0x6f, - 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, - 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x73, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x73, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, - 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x72, 0x65, 0x76, 0x65, 0x61, 0x6c, - 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x76, - 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x10, 0x72, 0x65, - 0x76, 0x65, 0x61, 0x6c, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2f, - 0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x63, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x22, - 0x59, 0x0a, 0x18, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xe9, 0x01, 0x0a, 0x08, 0x53, - 0x79, 0x6e, 0x63, 0x43, 0x68, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x68, 0x61, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x16, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x16, 0x6d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x05, 0x6d, 0x75, 0x74, 0x65, 0x64, 0x22, 0x88, 0x02, 0x0a, 0x16, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x68, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x77, 0x5f, 0x70, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x61, 0x77, 0x50, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, - 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x22, 0x37, 0x0a, 0x0f, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3c, 0x0a, 0x14, 0x53, 0x79, - 0x6e, 0x63, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, - 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x40, 0x0a, 0x16, 0x53, 0x79, 0x6e, 0x63, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x1a, 0x53, 0x79, - 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, - 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, - 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, - 0x22, 0x45, 0x0a, 0x1b, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, - 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x69, 0x73, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x43, 0x0a, 0x19, 0x53, 0x79, 0x6e, 0x63, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x42, 0x0a, 0x18, - 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, - 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, - 0x22, 0xa6, 0x02, 0x0a, 0x2a, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, - 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x68, 0x69, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x10, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x6b, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x64, 0x65, 0x63, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0x38, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x5f, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x0a, - 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, - 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x22, 0xa0, 0x01, 0x0a, 0x0c, 0x53, 0x79, - 0x6e, 0x63, 0x42, 0x6f, 0x6f, 0x6b, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, - 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, - 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x55, 0x72, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x7e, 0x0a, 0x15, - 0x53, 0x79, 0x6e, 0x63, 0x45, 0x6e, 0x73, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x4a, 0x0a, 0x10, - 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x65, - 0x61, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, - 0x6c, 0x65, 0x61, 0x72, 0x65, 0x64, 0x41, 0x74, 0x22, 0xc8, 0x01, 0x0a, 0x12, 0x53, 0x79, 0x6e, - 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, - 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x69, - 0x7a, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0c, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x22, 0x68, 0x0a, 0x13, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, - 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, - 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, - 0x55, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, - 0x75, 0x72, 0x65, 0x52, 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xd0, 0x03, - 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, - 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a, - 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, - 0x08, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x6f, 0x6a, - 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x12, 0x16, - 0x0a, 0x06, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x68, 0x61, 0x74, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x63, 0x68, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x69, - 0x64, 0x64, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, - 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x64, - 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, - 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x64, 0x50, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x73, 0x12, 0x34, - 0x0a, 0x15, 0x74, 0x65, 0x73, 0x74, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x43, - 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x74, - 0x65, 0x73, 0x74, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, - 0x6e, 0x49, 0x44, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, - 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x90, 0x03, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x4b, 0x65, 0x79, 0x70, 0x61, 0x69, 0x72, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x72, 0x69, 0x76, - 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x3b, 0x0a, 0x1a, 0x6c, 0x61, - 0x73, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, - 0x6c, 0x61, 0x73, 0x74, 0x55, 0x73, 0x65, 0x64, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x65, - 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, - 0x6e, 0x63, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x31, 0x0a, 0x08, 0x6b, - 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4b, 0x65, 0x79, - 0x63, 0x61, 0x72, 0x64, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x73, 0x12, 0x18, - 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x6b, 0x65, 0x79, 0x63, - 0x61, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x6b, 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x50, 0x61, 0x69, 0x72, 0x69, - 0x6e, 0x67, 0x73, 0x22, 0x60, 0x0a, 0x15, 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x79, 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x10, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x61, - 0x76, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x73, - 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x65, 0x6e, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x54, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, - 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x97, - 0x01, 0x0a, 0x15, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, - 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, - 0x64, 0x12, 0x45, 0x0a, 0x1f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x61, 0x72, 0x63, - 0x68, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x68, 0x69, 0x73, 0x74, - 0x6f, 0x72, 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, - 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0xb2, 0x01, 0x0a, 0x0f, 0x53, 0x79, 0x6e, - 0x63, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, - 0x6e, 0x63, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x54, 0x72, - 0x75, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x22, 0x3a, 0x0a, 0x0b, 0x54, 0x72, 0x75, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, - 0x07, 0x54, 0x52, 0x55, 0x53, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, - 0x54, 0x52, 0x55, 0x53, 0x54, 0x57, 0x4f, 0x52, 0x54, 0x48, 0x59, 0x10, 0x02, 0x22, 0xa0, 0x03, - 0x0a, 0x17, 0x53, 0x79, 0x6e, 0x63, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, - 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, - 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x41, 0x74, 0x12, - 0x65, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x12, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, - 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, - 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, - 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x44, - 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x04, - 0x22, 0xdc, 0x01, 0x0a, 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x49, 0x64, 0x12, 0x5c, 0x0a, 0x0f, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x0e, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x22, 0x2c, 0x0a, 0x0e, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x43, 0x4c, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x01, 0x22, - 0xb2, 0x03, 0x0a, 0x0f, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x70, 0x50, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, - 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x2c, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, - 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x64, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x38, 0x0a, - 0x08, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x50, - 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x70, - 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x6f, 0x63, 0x69, 0x61, - 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x53, 0x6f, 0x63, - 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, - 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x51, 0x0a, 0x14, 0x65, 0x6e, 0x73, 0x5f, 0x75, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x79, 0x6e, 0x63, 0x45, 0x6e, 0x73, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x52, 0x12, 0x65, 0x6e, 0x73, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x6a, 0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x66, - 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x50, 0x72, - 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x50, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x1a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, - 0x65, 0x53, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x73, 0x22, 0x73, 0x0a, 0x0a, 0x52, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x4b, 0x0a, 0x0b, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x0e, 0x53, 0x79, - 0x6e, 0x63, 0x52, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x0b, - 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x61, 0x77, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x72, 0x61, 0x77, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x73, 0x75, 0x62, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x14, 0x73, 0x75, 0x62, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4a, - 0x73, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x11, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x73, 0x6f, - 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x9e, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x4b, - 0x65, 0x79, 0x63, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6c, 0x6f, - 0x63, 0x6b, 0x65, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x55, 0x69, 0x64, 0x12, 0x1c, 0x0a, - 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, - 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x0f, 0x53, 0x79, 0x6e, 0x63, 0x53, - 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x37, 0x0a, 0x0c, 0x73, 0x6f, - 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x63, 0x69, - 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, - 0x6e, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x88, 0x01, 0x0a, 0x1d, 0x53, 0x79, - 0x6e, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x6b, - 0x65, 0x79, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x65, - 0x79, 0x55, 0x69, 0x64, 0x22, 0xa2, 0x01, 0x0a, 0x10, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, - 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x84, 0x01, 0x0a, 0x14, 0x53, 0x79, - 0x6e, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x73, 0x74, - 0x6e, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x65, 0x73, 0x74, 0x6e, - 0x65, 0x74, 0x12, 0x3c, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x73, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, - 0x22, 0x74, 0x0a, 0x16, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x50, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, - 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x43, - 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x74, - 0x65, 0x73, 0x74, 0x6e, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x65, - 0x73, 0x74, 0x6e, 0x65, 0x74, 0x12, 0x42, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x62, 0x6c, - 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x0b, 0x70, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_pairing_proto_rawDescOnce sync.Once - file_pairing_proto_rawDescData = file_pairing_proto_rawDesc -) - -func file_pairing_proto_rawDescGZIP() []byte { - file_pairing_proto_rawDescOnce.Do(func() { - file_pairing_proto_rawDescData = protoimpl.X.CompressGZIP(file_pairing_proto_rawDescData) - }) - return file_pairing_proto_rawDescData -} - -var file_pairing_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_pairing_proto_msgTypes = make([]protoimpl.MessageInfo, 47) -var file_pairing_proto_goTypes = []interface{}{ - (SyncActivityCenterCommunityRequestDecisionCommunityRequestDecision)(0), // 0: protobuf.SyncActivityCenterCommunityRequestDecision.community_request_decision - (SyncTrustedUser_TrustStatus)(0), // 1: protobuf.SyncTrustedUser.TrustStatus - (SyncVerificationRequest_VerificationStatus)(0), // 2: protobuf.SyncVerificationRequest.VerificationStatus - (SyncContactRequestDecision_DecisionStatus)(0), // 3: protobuf.SyncContactRequestDecision.DecisionStatus - (*FetchingBackedUpDataDetails)(nil), // 4: protobuf.FetchingBackedUpDataDetails - (*Backup)(nil), // 5: protobuf.Backup - (*MultiAccount)(nil), // 6: protobuf.MultiAccount - (*LocalPairingPayload)(nil), // 7: protobuf.LocalPairingPayload - (*LocalPairingPeerHello)(nil), // 8: protobuf.LocalPairingPeerHello - (*SyncPairInstallation)(nil), // 9: protobuf.SyncPairInstallation - (*SyncInstallationContactV2)(nil), // 10: protobuf.SyncInstallationContactV2 - (*SyncInstallationAccount)(nil), // 11: protobuf.SyncInstallationAccount - (*SyncInstallationCommunity)(nil), // 12: protobuf.SyncInstallationCommunity - (*SyncCommunityRequestsToJoin)(nil), // 13: protobuf.SyncCommunityRequestsToJoin - (*SyncCommunityControlNode)(nil), // 14: protobuf.SyncCommunityControlNode - (*SyncChat)(nil), // 15: protobuf.SyncChat - (*MembershipUpdateEvents)(nil), // 16: protobuf.MembershipUpdateEvents - (*SyncChatRemoved)(nil), // 17: protobuf.SyncChatRemoved - (*SyncChatMessagesRead)(nil), // 18: protobuf.SyncChatMessagesRead - (*SyncActivityCenterRead)(nil), // 19: protobuf.SyncActivityCenterRead - (*SyncActivityCenterAccepted)(nil), // 20: protobuf.SyncActivityCenterAccepted - (*SyncActivityCenterDismissed)(nil), // 21: protobuf.SyncActivityCenterDismissed - (*SyncActivityCenterDeleted)(nil), // 22: protobuf.SyncActivityCenterDeleted - (*SyncActivityCenterUnread)(nil), // 23: protobuf.SyncActivityCenterUnread - (*SyncActivityCenterCommunityRequestDecision)(nil), // 24: protobuf.SyncActivityCenterCommunityRequestDecision - (*SyncBookmark)(nil), // 25: protobuf.SyncBookmark - (*SyncEnsUsernameDetail)(nil), // 26: protobuf.SyncEnsUsernameDetail - (*SyncClearHistory)(nil), // 27: protobuf.SyncClearHistory - (*SyncProfilePicture)(nil), // 28: protobuf.SyncProfilePicture - (*SyncProfilePictures)(nil), // 29: protobuf.SyncProfilePictures - (*SyncAccount)(nil), // 30: protobuf.SyncAccount - (*SyncKeypair)(nil), // 31: protobuf.SyncKeypair - (*SyncAccountsPositions)(nil), // 32: protobuf.SyncAccountsPositions - (*SyncSavedAddress)(nil), // 33: protobuf.SyncSavedAddress - (*SyncCommunitySettings)(nil), // 34: protobuf.SyncCommunitySettings - (*SyncTrustedUser)(nil), // 35: protobuf.SyncTrustedUser - (*SyncVerificationRequest)(nil), // 36: protobuf.SyncVerificationRequest - (*SyncContactRequestDecision)(nil), // 37: protobuf.SyncContactRequestDecision - (*BackedUpProfile)(nil), // 38: protobuf.BackedUpProfile - (*RawMessage)(nil), // 39: protobuf.RawMessage - (*SyncRawMessage)(nil), // 40: protobuf.SyncRawMessage - (*SyncKeycard)(nil), // 41: protobuf.SyncKeycard - (*SyncSocialLinks)(nil), // 42: protobuf.SyncSocialLinks - (*SyncAccountCustomizationColor)(nil), // 43: protobuf.SyncAccountCustomizationColor - (*TokenPreferences)(nil), // 44: protobuf.TokenPreferences - (*SyncTokenPreferences)(nil), // 45: protobuf.SyncTokenPreferences - (*CollectiblePreferences)(nil), // 46: protobuf.CollectiblePreferences - (*SyncCollectiblePreferences)(nil), // 47: protobuf.SyncCollectiblePreferences - (*MultiAccount_ColorHash)(nil), // 48: protobuf.MultiAccount.ColorHash - (*MultiAccount_IdentityImage)(nil), // 49: protobuf.MultiAccount.IdentityImage - (*LocalPairingPayload_Key)(nil), // 50: protobuf.LocalPairingPayload.Key - (*SyncSetting)(nil), // 51: protobuf.SyncSetting - (*RevealedAccount)(nil), // 52: protobuf.RevealedAccount - (*SyncProfileShowcasePreferences)(nil), // 53: protobuf.SyncProfileShowcasePreferences - (ApplicationMetadataMessage_Type)(0), // 54: protobuf.ApplicationMetadataMessage.Type - (*SocialLink)(nil), // 55: protobuf.SocialLink -} -var file_pairing_proto_depIdxs = []int32{ - 10, // 0: protobuf.Backup.contacts:type_name -> protobuf.SyncInstallationContactV2 - 12, // 1: protobuf.Backup.communities:type_name -> protobuf.SyncInstallationCommunity - 4, // 2: protobuf.Backup.contactsDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 4, // 3: protobuf.Backup.communitiesDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 38, // 4: protobuf.Backup.profile:type_name -> protobuf.BackedUpProfile - 4, // 5: protobuf.Backup.profileDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 51, // 6: protobuf.Backup.setting:type_name -> protobuf.SyncSetting - 4, // 7: protobuf.Backup.settingsDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 31, // 8: protobuf.Backup.keypair:type_name -> protobuf.SyncKeypair - 4, // 9: protobuf.Backup.keypairDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 30, // 10: protobuf.Backup.watchOnlyAccount:type_name -> protobuf.SyncAccount - 4, // 11: protobuf.Backup.watchOnlyAccountDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 15, // 12: protobuf.Backup.chats:type_name -> protobuf.SyncChat - 4, // 13: protobuf.Backup.chatsDetails:type_name -> protobuf.FetchingBackedUpDataDetails - 48, // 14: protobuf.MultiAccount.color_hash:type_name -> protobuf.MultiAccount.ColorHash - 49, // 15: protobuf.MultiAccount.images:type_name -> protobuf.MultiAccount.IdentityImage - 50, // 16: protobuf.LocalPairingPayload.keys:type_name -> protobuf.LocalPairingPayload.Key - 6, // 17: protobuf.LocalPairingPayload.multiaccount:type_name -> protobuf.MultiAccount - 13, // 18: protobuf.SyncInstallationCommunity.requests_to_join:type_name -> protobuf.SyncCommunityRequestsToJoin - 34, // 19: protobuf.SyncInstallationCommunity.settings:type_name -> protobuf.SyncCommunitySettings - 14, // 20: protobuf.SyncInstallationCommunity.control_node:type_name -> protobuf.SyncCommunityControlNode - 52, // 21: protobuf.SyncCommunityRequestsToJoin.revealed_accounts:type_name -> protobuf.RevealedAccount - 16, // 22: protobuf.SyncChat.membershipUpdateEvents:type_name -> protobuf.MembershipUpdateEvents - 0, // 23: protobuf.SyncActivityCenterCommunityRequestDecision.decision:type_name -> protobuf.SyncActivityCenterCommunityRequestDecision.community_request_decision - 28, // 24: protobuf.SyncProfilePictures.pictures:type_name -> protobuf.SyncProfilePicture - 30, // 25: protobuf.SyncKeypair.accounts:type_name -> protobuf.SyncAccount - 41, // 26: protobuf.SyncKeypair.keycards:type_name -> protobuf.SyncKeycard - 30, // 27: protobuf.SyncAccountsPositions.accounts:type_name -> protobuf.SyncAccount - 1, // 28: protobuf.SyncTrustedUser.status:type_name -> protobuf.SyncTrustedUser.TrustStatus - 2, // 29: protobuf.SyncVerificationRequest.verification_status:type_name -> protobuf.SyncVerificationRequest.VerificationStatus - 3, // 30: protobuf.SyncContactRequestDecision.decision_status:type_name -> protobuf.SyncContactRequestDecision.DecisionStatus - 28, // 31: protobuf.BackedUpProfile.pictures:type_name -> protobuf.SyncProfilePicture - 42, // 32: protobuf.BackedUpProfile.social_links:type_name -> protobuf.SyncSocialLinks - 26, // 33: protobuf.BackedUpProfile.ens_username_details:type_name -> protobuf.SyncEnsUsernameDetail - 53, // 34: protobuf.BackedUpProfile.profile_showcase_preferences:type_name -> protobuf.SyncProfileShowcasePreferences - 54, // 35: protobuf.RawMessage.messageType:type_name -> protobuf.ApplicationMetadataMessage.Type - 39, // 36: protobuf.SyncRawMessage.rawMessages:type_name -> protobuf.RawMessage - 55, // 37: protobuf.SyncSocialLinks.social_links:type_name -> protobuf.SocialLink - 44, // 38: protobuf.SyncTokenPreferences.preferences:type_name -> protobuf.TokenPreferences - 46, // 39: protobuf.SyncCollectiblePreferences.preferences:type_name -> protobuf.CollectiblePreferences - 40, // [40:40] is the sub-list for method output_type - 40, // [40:40] is the sub-list for method input_type - 40, // [40:40] is the sub-list for extension type_name - 40, // [40:40] is the sub-list for extension extendee - 0, // [0:40] is the sub-list for field type_name -} - -func init() { file_pairing_proto_init() } -func file_pairing_proto_init() { - if File_pairing_proto != nil { - return - } - file_chat_identity_proto_init() - file_sync_settings_proto_init() - file_application_metadata_message_proto_init() - file_communities_proto_init() - file_profile_showcase_proto_init() - if !protoimpl.UnsafeEnabled { - file_pairing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchingBackedUpDataDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Backup); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalPairingPayload); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalPairingPeerHello); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncPairInstallation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncInstallationContactV2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncInstallationAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncInstallationCommunity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCommunityRequestsToJoin); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCommunityControlNode); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncChat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MembershipUpdateEvents); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncChatRemoved); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncChatMessagesRead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterRead); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterAccepted); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterDismissed); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterDeleted); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterUnread); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActivityCenterCommunityRequestDecision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncBookmark); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncEnsUsernameDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncClearHistory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncProfilePicture); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncProfilePictures); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncKeypair); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncAccountsPositions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncSavedAddress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCommunitySettings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncTrustedUser); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncVerificationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncContactRequestDecision); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackedUpProfile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncRawMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncKeycard); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncSocialLinks); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncAccountCustomizationColor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TokenPreferences); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncTokenPreferences); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CollectiblePreferences); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncCollectiblePreferences); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiAccount_ColorHash); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MultiAccount_IdentityImage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pairing_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalPairingPayload_Key); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pairing_proto_rawDesc, - NumEnums: 4, - NumMessages: 47, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pairing_proto_goTypes, - DependencyIndexes: file_pairing_proto_depIdxs, - EnumInfos: file_pairing_proto_enumTypes, - MessageInfos: file_pairing_proto_msgTypes, - }.Build() - File_pairing_proto = out.File - file_pairing_proto_rawDesc = nil - file_pairing_proto_goTypes = nil - file_pairing_proto_depIdxs = nil +var fileDescriptor_d61ab7221f0b5518 = []byte{ + // 3514 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x5a, 0x5f, 0x6f, 0x24, 0xc7, + 0x71, 0xf7, 0xfe, 0xe1, 0x72, 0xb7, 0x76, 0x49, 0xee, 0xf5, 0xf1, 0x78, 0x7b, 0xbc, 0x3b, 0x88, + 0x37, 0x92, 0x60, 0xda, 0x51, 0x28, 0x8b, 0x72, 0x62, 0x43, 0x92, 0xa1, 0xec, 0x91, 0x54, 0x8e, + 0xf7, 0x87, 0xc7, 0x34, 0xc9, 0xb3, 0x1d, 0x04, 0x18, 0x0f, 0x67, 0xfa, 0xb8, 0x23, 0xce, 0xce, + 0x4c, 0xa6, 0x7b, 0xc9, 0xac, 0x1e, 0xf2, 0x14, 0x04, 0x7e, 0xf4, 0x9b, 0xdf, 0x02, 0x23, 0x08, + 0x82, 0x20, 0x8f, 0x7a, 0xcb, 0x37, 0xd0, 0x63, 0xde, 0xf3, 0x09, 0xf2, 0x05, 0xf2, 0x10, 0x20, + 0x40, 0xd0, 0xd5, 0xdd, 0xb3, 0x3d, 0xbb, 0x33, 0xd4, 0x11, 0x7e, 0xda, 0xa9, 0xea, 0xea, 0x9e, + 0xea, 0xea, 0xaa, 0xea, 0x5f, 0xd5, 0x2c, 0xac, 0xa4, 0x5e, 0x98, 0x85, 0xf1, 0xc5, 0x4e, 0x9a, + 0x25, 0x22, 0x21, 0x6d, 0xfc, 0x39, 0x9f, 0xbc, 0xdd, 0xbc, 0xeb, 0x8f, 0x3c, 0xe1, 0x86, 0x01, + 0x8b, 0x45, 0x28, 0xa6, 0x6a, 0x78, 0xf3, 0x2e, 0x9f, 0xc6, 0xbe, 0xcb, 0x99, 0x10, 0x61, 0x7c, + 0xc1, 0x35, 0xd3, 0xf1, 0xd2, 0x34, 0x0a, 0x7d, 0x4f, 0x84, 0x49, 0xec, 0x8e, 0x99, 0xf0, 0x02, + 0x4f, 0x78, 0xee, 0x98, 0x71, 0xee, 0x5d, 0x30, 0x2d, 0x73, 0xc7, 0x4f, 0xc6, 0xe3, 0x49, 0x1c, + 0x8a, 0x90, 0x99, 0x69, 0x1b, 0x69, 0x96, 0xbc, 0x0d, 0x23, 0xe6, 0xf2, 0x51, 0x72, 0xed, 0x7b, + 0x5c, 0x8b, 0x3a, 0x1e, 0x3c, 0xfc, 0x8a, 0x09, 0x7f, 0x14, 0xc6, 0x17, 0x4f, 0x3d, 0xff, 0x92, + 0x05, 0x67, 0xe9, 0xbe, 0x27, 0xbc, 0x7d, 0x26, 0xbc, 0x30, 0xe2, 0xe4, 0x3d, 0xe8, 0xe2, 0xfa, + 0xf1, 0x64, 0x7c, 0xce, 0xb2, 0x41, 0x6d, 0xab, 0xb6, 0xbd, 0x42, 0x41, 0xb2, 0x8e, 0x90, 0x43, + 0x9e, 0x40, 0x4f, 0x24, 0xc2, 0x8b, 0x8c, 0x44, 0x1d, 0x25, 0xba, 0xc8, 0x53, 0x22, 0xce, 0xff, + 0x2d, 0x43, 0x4b, 0xae, 0x3d, 0x49, 0xc9, 0x3a, 0x2c, 0xf9, 0x51, 0xe2, 0x5f, 0xe2, 0x42, 0x4d, + 0xaa, 0x08, 0xb2, 0x0a, 0xf5, 0x30, 0xc0, 0x99, 0x1d, 0x5a, 0x0f, 0x03, 0xf2, 0x25, 0xb4, 0xfd, + 0x24, 0x16, 0x9e, 0x2f, 0xf8, 0xa0, 0xb1, 0xd5, 0xd8, 0xee, 0xee, 0xbe, 0xbf, 0x63, 0x2c, 0xb5, + 0x73, 0x32, 0x8d, 0xfd, 0xc3, 0x98, 0x0b, 0x2f, 0x8a, 0xd0, 0x06, 0x7b, 0x4a, 0xf2, 0xcd, 0x2e, + 0xcd, 0x27, 0x91, 0x03, 0xe8, 0x5a, 0x16, 0x18, 0x34, 0xbf, 0x7f, 0x0d, 0x25, 0x3c, 0xa5, 0xf6, + 0x3c, 0xf2, 0x1a, 0xd6, 0xcc, 0x92, 0xda, 0x1e, 0x83, 0xa5, 0xad, 0xda, 0x76, 0x77, 0xf7, 0xc3, + 0xd9, 0x52, 0x37, 0x18, 0x8f, 0xce, 0xcf, 0x26, 0x67, 0x40, 0xac, 0xf5, 0xcd, 0x9a, 0xad, 0xdb, + 0xac, 0x59, 0xb2, 0x00, 0xf9, 0x14, 0x96, 0xf5, 0xe9, 0x0e, 0x96, 0x71, 0xad, 0x07, 0xb3, 0xb5, + 0xcc, 0x1a, 0xc7, 0x4a, 0x80, 0x1a, 0x49, 0xf2, 0x0a, 0x56, 0xf5, 0xa3, 0xd1, 0xa3, 0x7d, 0x1b, + 0x3d, 0xe6, 0x26, 0x93, 0x8f, 0x61, 0x59, 0x3b, 0xea, 0xa0, 0x83, 0xeb, 0xdc, 0x2b, 0x9a, 0xfb, + 0x44, 0x0d, 0x52, 0x23, 0x25, 0x8d, 0x6b, 0x3c, 0xdb, 0x28, 0x00, 0xb7, 0x32, 0xee, 0xdc, 0x6c, + 0xa9, 0xc1, 0x25, 0x9b, 0xca, 0x00, 0x1b, 0x74, 0xcb, 0x34, 0x78, 0xa1, 0x06, 0xa9, 0x91, 0x92, + 0x16, 0xd0, 0x8f, 0x46, 0x81, 0xde, 0xad, 0x2c, 0x50, 0x9c, 0x4c, 0x86, 0xd0, 0xbf, 0xf6, 0x84, + 0x3f, 0x7a, 0x1d, 0x47, 0xd3, 0xa1, 0xef, 0x27, 0x93, 0x58, 0x0c, 0x56, 0xca, 0x14, 0xd1, 0x83, + 0x74, 0x41, 0x9c, 0xb8, 0x70, 0x7f, 0x9e, 0x67, 0x54, 0x5b, 0xbd, 0x8d, 0x6a, 0x55, 0xab, 0x90, + 0x6d, 0x58, 0x92, 0x89, 0x86, 0x0f, 0xd6, 0x30, 0x24, 0x48, 0x51, 0xb1, 0xbd, 0x91, 0x27, 0xa8, + 0x12, 0x20, 0x87, 0xd0, 0xc3, 0x07, 0xf3, 0xfe, 0xfe, 0x6d, 0xde, 0x5f, 0x98, 0xea, 0xfc, 0xdb, + 0x12, 0xf4, 0x5e, 0x4d, 0x22, 0x11, 0x9a, 0x6d, 0x12, 0x68, 0xc6, 0xde, 0x98, 0x61, 0x12, 0xe8, + 0x50, 0x7c, 0x26, 0x8f, 0xa0, 0x23, 0xc2, 0x31, 0xe3, 0xc2, 0x1b, 0xa7, 0x98, 0x0a, 0x1a, 0x74, + 0xc6, 0x90, 0xa3, 0x2a, 0x37, 0xfa, 0x49, 0x3c, 0x68, 0xe0, 0xb4, 0x19, 0x83, 0x7c, 0x09, 0xe0, + 0x27, 0x51, 0x92, 0xb9, 0x23, 0x8f, 0x8f, 0x74, 0xb4, 0x6f, 0xcd, 0x34, 0xb5, 0xdf, 0xbd, 0xb3, + 0x27, 0x05, 0x9f, 0x79, 0x7c, 0x44, 0x3b, 0xbe, 0x79, 0x24, 0x0f, 0x64, 0xc2, 0x91, 0x0b, 0x84, + 0x01, 0x46, 0x78, 0x83, 0x2e, 0x23, 0x7d, 0x18, 0x90, 0x1f, 0xc2, 0xda, 0x25, 0x9b, 0xfa, 0x5e, + 0x16, 0xb8, 0x3a, 0x77, 0x63, 0xbc, 0x76, 0xf0, 0xf8, 0x25, 0xfb, 0x58, 0x71, 0xc9, 0x7d, 0x74, + 0x3f, 0x77, 0x12, 0x06, 0x18, 0x84, 0x1d, 0xda, 0xba, 0x64, 0xd3, 0xb3, 0x30, 0x20, 0x5f, 0x40, + 0x2b, 0x1c, 0x7b, 0x17, 0x4c, 0x06, 0x98, 0xd4, 0xec, 0x83, 0x0a, 0xcd, 0x0e, 0x75, 0xf2, 0x3f, + 0x94, 0xc2, 0x54, 0xcf, 0x21, 0x1f, 0xc3, 0x5d, 0x7f, 0xc2, 0x45, 0x32, 0x0e, 0xbf, 0x51, 0x29, + 0x1f, 0x15, 0xc3, 0x18, 0xeb, 0x50, 0x52, 0x18, 0xc2, 0xad, 0x91, 0xcf, 0xe0, 0x41, 0xc9, 0x04, + 0x57, 0xa5, 0x5d, 0xc0, 0xb4, 0x7b, 0x7f, 0x71, 0xda, 0x9e, 0x1c, 0xde, 0x7c, 0x02, 0x9d, 0xdc, + 0x3e, 0x32, 0x57, 0x87, 0x71, 0xc0, 0xfe, 0x6e, 0x50, 0xdb, 0x6a, 0x6c, 0x37, 0xa8, 0x22, 0x36, + 0xff, 0xab, 0x06, 0x2b, 0x05, 0x4d, 0xed, 0x8d, 0xd7, 0x0a, 0x1b, 0x37, 0xc7, 0x5c, 0xb7, 0x8e, + 0x79, 0x00, 0xcb, 0xa9, 0x37, 0x8d, 0x12, 0x2f, 0xc0, 0x63, 0xec, 0x51, 0x43, 0xca, 0xd7, 0x5d, + 0x87, 0x81, 0x90, 0xe7, 0x27, 0x0f, 0x40, 0x11, 0x64, 0x03, 0x5a, 0x23, 0x16, 0x5e, 0x8c, 0x84, + 0x3e, 0x17, 0x4d, 0x91, 0x4d, 0x68, 0xcb, 0xec, 0xc3, 0xc3, 0x6f, 0x18, 0x9e, 0x47, 0x83, 0xe6, + 0x34, 0x79, 0x1f, 0x56, 0x32, 0x7c, 0x72, 0x85, 0x97, 0x5d, 0x30, 0x81, 0xe7, 0xd1, 0xa0, 0x3d, + 0xc5, 0x3c, 0x45, 0xde, 0xec, 0x26, 0x6a, 0x5b, 0x37, 0x91, 0xf3, 0xfb, 0x3a, 0xdc, 0x7d, 0x99, + 0xf8, 0x5e, 0xa4, 0x4f, 0xf5, 0x58, 0x2b, 0xf7, 0x67, 0xd0, 0xbc, 0x64, 0x53, 0x8e, 0xa6, 0xe8, + 0xee, 0x3e, 0x99, 0x9d, 0x60, 0x89, 0xf0, 0xce, 0x0b, 0x36, 0xa5, 0x28, 0x4e, 0x3e, 0x83, 0xde, + 0x58, 0x1e, 0xb1, 0xa7, 0xd3, 0x41, 0x1d, 0x83, 0x68, 0xa3, 0xdc, 0x01, 0x68, 0x41, 0x56, 0xee, + 0x30, 0xf5, 0x38, 0xbf, 0x4e, 0xb2, 0x40, 0x7b, 0x7c, 0x4e, 0x4b, 0x2b, 0xca, 0x08, 0x7b, 0xc1, + 0xa6, 0x68, 0xad, 0x0e, 0x35, 0x24, 0xd9, 0xce, 0xdd, 0x55, 0x2b, 0xa5, 0xae, 0xac, 0x0e, 0x9d, + 0x67, 0x6f, 0xfe, 0x29, 0x34, 0xe4, 0x84, 0xb2, 0x58, 0x24, 0xd0, 0x94, 0x37, 0x3c, 0xaa, 0xdb, + 0xa3, 0xf8, 0xec, 0xfc, 0x47, 0x0d, 0xee, 0x15, 0x36, 0xcb, 0x58, 0xf6, 0x8c, 0x45, 0x51, 0x22, + 0x23, 0x44, 0x47, 0x86, 0x7b, 0xc5, 0x32, 0x1e, 0x26, 0x31, 0x2e, 0xb6, 0x44, 0x57, 0x35, 0xfb, + 0x8d, 0xe2, 0x4a, 0x47, 0x49, 0x19, 0xc3, 0x20, 0x53, 0x2b, 0xb7, 0x24, 0x79, 0x18, 0x20, 0xc8, + 0x60, 0x57, 0xa1, 0xcf, 0x5c, 0x54, 0x45, 0xed, 0x16, 0x14, 0xeb, 0x48, 0x2a, 0x34, 0x13, 0x10, + 0xd3, 0x94, 0xe9, 0x3d, 0x6b, 0x81, 0xd3, 0x69, 0x8a, 0xd9, 0x83, 0x87, 0x17, 0xb1, 0x27, 0x26, + 0x19, 0xc3, 0x0d, 0xf7, 0xe8, 0x8c, 0xe1, 0xfc, 0x4b, 0x0d, 0xd6, 0x65, 0x7e, 0x93, 0xaa, 0xdb, + 0xd7, 0x7e, 0x05, 0x1c, 0xf9, 0x21, 0xac, 0x85, 0x96, 0x94, 0x9b, 0x63, 0x93, 0x55, 0x9b, 0x5d, + 0xd0, 0x1b, 0xd5, 0x6a, 0x2c, 0xa8, 0x65, 0x8c, 0xdb, 0x2c, 0x46, 0x80, 0x31, 0xd3, 0x12, 0x62, + 0x25, 0x43, 0x3a, 0xdf, 0xb6, 0xe0, 0x41, 0x25, 0xba, 0x21, 0x3f, 0x81, 0xf5, 0xc8, 0xe3, 0xc2, + 0x9d, 0xa4, 0x81, 0x27, 0x58, 0xe0, 0x46, 0xf2, 0x30, 0xa2, 0xa9, 0x56, 0x9d, 0xc8, 0xb1, 0x33, + 0x35, 0xf4, 0x52, 0x8d, 0x2c, 0xc0, 0xaa, 0xf7, 0x61, 0xc5, 0x80, 0x40, 0x4c, 0x2e, 0x5a, 0xe1, + 0x9e, 0x66, 0xaa, 0x68, 0x7e, 0x00, 0x6d, 0x16, 0x73, 0xd7, 0x52, 0x7b, 0x99, 0xc5, 0x1c, 0x4f, + 0xe1, 0x09, 0xf4, 0x6c, 0x0d, 0x50, 0xfd, 0x26, 0xed, 0x5a, 0x6f, 0x96, 0x16, 0xe1, 0x53, 0x2e, + 0xd8, 0xd8, 0x15, 0xde, 0x85, 0x44, 0x36, 0x0d, 0x69, 0x11, 0xc5, 0x3a, 0xf5, 0x2e, 0x38, 0xf9, + 0x10, 0x56, 0x51, 0x71, 0x37, 0x0e, 0xfd, 0x4b, 0x7c, 0x89, 0x4a, 0x96, 0x2b, 0xc8, 0x3d, 0xd2, + 0x4c, 0x79, 0x30, 0x5e, 0x10, 0xb0, 0x00, 0xf3, 0x5c, 0x9b, 0x2a, 0x42, 0x9a, 0xee, 0x5c, 0x9e, + 0x10, 0x0b, 0x30, 0x91, 0xb5, 0xa9, 0x21, 0xa5, 0xfc, 0x78, 0x22, 0x75, 0xea, 0x2a, 0x79, 0x24, + 0xa4, 0x7c, 0xc6, 0xc6, 0xc9, 0x15, 0x0b, 0xf0, 0x66, 0x6f, 0x53, 0x43, 0x92, 0x2d, 0xe8, 0x8d, + 0x3c, 0xee, 0xe2, 0xb2, 0xee, 0x84, 0xe3, 0x3d, 0xdd, 0xa6, 0x30, 0xf2, 0xf8, 0x50, 0xb2, 0xce, + 0x30, 0xef, 0x5e, 0xb1, 0x2c, 0x7c, 0x6b, 0x90, 0x36, 0x17, 0x9e, 0x98, 0xa8, 0x6b, 0xb8, 0x41, + 0x89, 0x3d, 0x74, 0x82, 0x23, 0x08, 0x84, 0xb3, 0x09, 0x17, 0x46, 0x72, 0x0d, 0x25, 0xbb, 0xc8, + 0xd3, 0x22, 0xbf, 0x80, 0x87, 0x1a, 0x11, 0xba, 0x19, 0xfb, 0xdb, 0x09, 0xe3, 0x42, 0x9d, 0x22, + 0x4e, 0x61, 0x78, 0xc5, 0x36, 0xe8, 0x40, 0x8b, 0x50, 0x25, 0x81, 0x87, 0x29, 0xe7, 0xb3, 0xea, + 0xe9, 0xca, 0x87, 0xef, 0x54, 0x4e, 0xc7, 0xe4, 0x4e, 0xbe, 0x84, 0x47, 0xf3, 0xd3, 0xa5, 0x39, + 0x04, 0xd3, 0xaf, 0x27, 0x38, 0xff, 0x41, 0x71, 0x3e, 0x45, 0x09, 0xf5, 0xfe, 0xea, 0x05, 0x94, + 0x02, 0x77, 0xab, 0x17, 0x50, 0x1a, 0x3c, 0x81, 0x5e, 0x10, 0xf2, 0x34, 0xf2, 0xa6, 0xca, 0xbf, + 0xd6, 0xf1, 0xe8, 0xbb, 0x9a, 0x87, 0x3e, 0x56, 0x71, 0xdd, 0xdd, 0xc3, 0x48, 0x29, 0xb9, 0xee, + 0x9c, 0x6b, 0xb8, 0x3f, 0x1f, 0x33, 0x06, 0x66, 0x94, 0x47, 0xf7, 0x42, 0x14, 0xd4, 0x4b, 0xa2, + 0x60, 0xde, 0xd5, 0x1b, 0x0b, 0xae, 0xee, 0xfc, 0xe3, 0x52, 0x59, 0xb4, 0xea, 0x3a, 0xe2, 0x7b, + 0x0b, 0x9d, 0x9e, 0x8e, 0xc8, 0x6e, 0x9a, 0x85, 0x57, 0x9e, 0x60, 0xee, 0x25, 0x9b, 0xaa, 0x1b, + 0xf1, 0x69, 0x7d, 0x50, 0xa3, 0xa0, 0xd9, 0x32, 0x43, 0x6f, 0xc9, 0x2c, 0xc3, 0xfd, 0x2c, 0x4c, + 0xe5, 0x2b, 0x30, 0x28, 0x7b, 0xd4, 0x66, 0xc9, 0x4b, 0xf2, 0xeb, 0x24, 0x8c, 0x75, 0x48, 0xb6, + 0xa9, 0xa6, 0xe4, 0x15, 0xa2, 0x1c, 0x95, 0x05, 0x78, 0x49, 0xb6, 0x69, 0x4e, 0xcf, 0x22, 0x66, + 0xd9, 0x8e, 0x98, 0xd7, 0xd0, 0xd7, 0x47, 0xcb, 0x5d, 0x91, 0xb8, 0x72, 0x1d, 0x8d, 0x5a, 0x3e, + 0x9c, 0x83, 0x8a, 0x79, 0xc5, 0xa4, 0xc5, 0x4f, 0x93, 0xe7, 0x49, 0x18, 0xd3, 0xd5, 0xac, 0x40, + 0x93, 0xcf, 0xa1, 0x6d, 0x70, 0xba, 0xae, 0x0b, 0xde, 0xab, 0x58, 0x48, 0x17, 0x08, 0x9c, 0xe6, + 0x13, 0x64, 0x56, 0x67, 0xb1, 0x9f, 0x4d, 0x53, 0x91, 0x47, 0xfc, 0x8c, 0x81, 0x39, 0x3f, 0x65, + 0xbe, 0xf0, 0x66, 0x71, 0x3f, 0x63, 0x90, 0x9f, 0x00, 0xd1, 0xa2, 0xd2, 0x8b, 0xe4, 0x6d, 0xec, + 0x5e, 0x7d, 0x82, 0x69, 0x40, 0x59, 0xb8, 0x3f, 0x1b, 0x7d, 0xc1, 0xa6, 0xfc, 0xcd, 0x27, 0xe4, + 0x00, 0x7a, 0xd2, 0x75, 0xb3, 0x24, 0x72, 0xe3, 0x24, 0x60, 0x1a, 0xbb, 0x3b, 0x15, 0xea, 0xee, + 0x29, 0xd1, 0xa3, 0x24, 0x60, 0xb2, 0x68, 0xcc, 0x09, 0xf2, 0x10, 0x3a, 0xca, 0xfc, 0xae, 0x27, + 0x74, 0xba, 0x68, 0x2b, 0xc6, 0x50, 0x90, 0x0f, 0x60, 0x15, 0xfd, 0x2a, 0x49, 0x99, 0x96, 0x50, + 0x69, 0x02, 0xbd, 0xed, 0x35, 0x32, 0x87, 0x82, 0x7c, 0x54, 0xa2, 0xfb, 0xee, 0xa0, 0xbf, 0xd5, + 0xd8, 0xee, 0x2d, 0xe8, 0xbd, 0xeb, 0x7c, 0x57, 0x87, 0x87, 0x37, 0x1c, 0x89, 0x76, 0xba, 0x5a, + 0xee, 0x74, 0x8f, 0x01, 0xd2, 0xc9, 0x79, 0x14, 0xfa, 0xe8, 0x73, 0xca, 0xfb, 0x3b, 0x8a, 0x23, + 0xdd, 0x2d, 0xf7, 0xdc, 0x86, 0xed, 0xb9, 0x37, 0x5c, 0x0b, 0xf7, 0x15, 0x18, 0x31, 0xd8, 0xb9, + 0x43, 0x5b, 0x92, 0x3c, 0x0c, 0x64, 0x10, 0x99, 0x62, 0x75, 0x2a, 0x47, 0x5b, 0xca, 0x73, 0x73, + 0xde, 0x21, 0x7a, 0xa1, 0x4a, 0x3e, 0xcb, 0xea, 0x65, 0x48, 0x90, 0xaf, 0xe0, 0x4e, 0xc6, 0xae, + 0x98, 0x17, 0x49, 0x13, 0xa9, 0x60, 0x36, 0xe0, 0xd9, 0xaa, 0x6c, 0xa9, 0x16, 0xc9, 0xcb, 0xa9, + 0xac, 0xc8, 0xb8, 0x11, 0x3b, 0x97, 0x27, 0x93, 0x5f, 0xc3, 0xa0, 0xea, 0x90, 0xff, 0x48, 0xac, + 0xe0, 0xfc, 0x77, 0x0d, 0xda, 0xa6, 0xc6, 0xb2, 0x8e, 0x44, 0xdd, 0xcc, 0x0f, 0xa1, 0x83, 0x26, + 0x44, 0x18, 0xa1, 0x3a, 0x28, 0x6d, 0xc9, 0x28, 0x80, 0x88, 0x86, 0x05, 0x22, 0x7e, 0x05, 0x1b, + 0x63, 0x36, 0x3e, 0x67, 0x19, 0x1f, 0x85, 0xa9, 0xca, 0x48, 0x07, 0x57, 0x4c, 0x9a, 0x69, 0xb1, + 0xfa, 0x29, 0x95, 0xa3, 0x15, 0xf3, 0x65, 0x2e, 0xf1, 0x7c, 0x11, 0x5e, 0x31, 0x93, 0x4b, 0x14, + 0x35, 0xdb, 0x7e, 0xcb, 0xde, 0x7e, 0x69, 0x16, 0x71, 0x7e, 0x5b, 0x87, 0x8d, 0xf2, 0xd7, 0x56, + 0x58, 0x91, 0x40, 0xd3, 0xda, 0x3a, 0x3e, 0xcb, 0xcb, 0x5b, 0xab, 0x88, 0x3d, 0xa0, 0x0e, 0x35, + 0x64, 0x29, 0xaa, 0xba, 0x11, 0x00, 0xda, 0x2e, 0xda, 0x2a, 0xb8, 0x28, 0x81, 0xe6, 0xdb, 0x2c, + 0x19, 0x6b, 0x10, 0x82, 0xcf, 0x12, 0xc3, 0x64, 0xde, 0xb5, 0x6b, 0xca, 0x94, 0x36, 0x2e, 0x06, + 0x99, 0x77, 0x7d, 0x3c, 0xab, 0x54, 0xec, 0x22, 0x4c, 0x11, 0x58, 0x2e, 0xe1, 0x7d, 0x02, 0x38, + 0x41, 0x11, 0xce, 0xcf, 0x60, 0x2d, 0xaf, 0xac, 0x35, 0xf6, 0x78, 0xa7, 0x1e, 0x98, 0xf3, 0x85, + 0x82, 0xac, 0x72, 0xe2, 0x2b, 0xd5, 0xdb, 0xe3, 0x94, 0x79, 0xef, 0x3a, 0xfb, 0x2f, 0x60, 0x43, + 0x75, 0x1a, 0x44, 0x78, 0x25, 0xfd, 0x98, 0xc5, 0x82, 0x65, 0x37, 0xcc, 0xef, 0x43, 0x23, 0x0c, + 0xf8, 0xa0, 0x8e, 0x29, 0x46, 0x3e, 0x3a, 0xfb, 0xb0, 0xb9, 0xb8, 0xc2, 0xd0, 0xf7, 0x19, 0xe6, + 0xde, 0x77, 0x5d, 0xe5, 0x40, 0xa5, 0xa6, 0xe2, 0x2a, 0xfb, 0x21, 0x1f, 0x87, 0x9c, 0xdf, 0x62, + 0x99, 0x3d, 0x75, 0xd5, 0xce, 0x2d, 0xc3, 0x22, 0x76, 0x1b, 0x5d, 0x9e, 0xaa, 0xe0, 0x2e, 0x2e, + 0x72, 0x16, 0x67, 0xb7, 0xb1, 0xca, 0xbf, 0xd6, 0xe1, 0xc7, 0x8b, 0x8b, 0xcc, 0x67, 0xde, 0x7d, + 0xe6, 0x87, 0xbc, 0xba, 0xbe, 0x98, 0x47, 0x01, 0x7f, 0x02, 0x77, 0x66, 0xc1, 0x68, 0xe0, 0x63, + 0x03, 0x43, 0xa1, 0x3f, 0x1b, 0xd0, 0x18, 0xf2, 0x12, 0xda, 0x81, 0x5e, 0x1e, 0x03, 0x60, 0x75, + 0xf7, 0xf5, 0x7c, 0x77, 0xe9, 0x5d, 0x54, 0xdb, 0x99, 0x65, 0x66, 0x83, 0xe5, 0xcc, 0xb2, 0x34, + 0x7f, 0x81, 0xf3, 0x73, 0xd8, 0xac, 0x96, 0x23, 0x3d, 0x68, 0x0f, 0xf7, 0xf6, 0x0e, 0x8e, 0x4f, + 0x0f, 0xf6, 0xfb, 0x3f, 0x90, 0xd4, 0xfe, 0xc1, 0xde, 0xcb, 0xc3, 0xa3, 0x83, 0xfd, 0x7e, 0xcd, + 0xf9, 0x43, 0x0d, 0x7a, 0x52, 0x9b, 0xa7, 0x49, 0x72, 0x39, 0xf6, 0xb2, 0xcb, 0x6a, 0x0b, 0x4f, + 0xb2, 0x48, 0x3b, 0xae, 0x7c, 0x2c, 0xcd, 0x76, 0x0f, 0xa1, 0x83, 0xd1, 0xe4, 0x4a, 0x59, 0x15, + 0xf5, 0x6d, 0x64, 0x9c, 0x65, 0x91, 0x0d, 0xf2, 0x97, 0x8a, 0x20, 0xff, 0x31, 0x40, 0xa0, 0x7c, + 0x44, 0x5e, 0xb4, 0x2a, 0x6f, 0x75, 0x34, 0x67, 0x28, 0x9c, 0xbf, 0x87, 0x7b, 0x52, 0xc3, 0x83, + 0x98, 0x9f, 0x71, 0x96, 0xc9, 0x17, 0xa9, 0x86, 0x55, 0x85, 0xaa, 0x9b, 0xd0, 0x9e, 0x68, 0x39, + 0xad, 0x6f, 0x4e, 0x63, 0xff, 0x68, 0xe4, 0x85, 0x98, 0xfe, 0xd5, 0xb5, 0xb9, 0x8c, 0xf4, 0x61, + 0xa1, 0x06, 0x69, 0x16, 0xd4, 0x73, 0x9e, 0x43, 0x1f, 0x23, 0x3c, 0x62, 0x5e, 0xf6, 0x2c, 0xe4, + 0x22, 0xc9, 0xa6, 0x76, 0xa2, 0xaa, 0x15, 0x12, 0xd5, 0x63, 0x00, 0x5f, 0x0a, 0xaa, 0xbd, 0xd4, + 0xd5, 0x5e, 0x34, 0x67, 0x28, 0x9c, 0xef, 0x6a, 0x40, 0xb0, 0xc2, 0x55, 0x20, 0xf6, 0x38, 0xf4, + 0x31, 0xef, 0x95, 0x15, 0xf7, 0x56, 0x07, 0xa6, 0x5e, 0xd1, 0x81, 0x51, 0xbe, 0xb7, 0xd0, 0x81, + 0x69, 0x22, 0xdb, 0x74, 0x60, 0x1e, 0x42, 0x47, 0x7d, 0x4f, 0x08, 0xbf, 0x61, 0xba, 0x92, 0xc5, + 0x16, 0xcc, 0x49, 0x69, 0x0b, 0xa6, 0x85, 0x02, 0x15, 0x2d, 0x98, 0x65, 0xbb, 0x05, 0x33, 0x82, + 0xbb, 0x8b, 0x3b, 0xe1, 0xd5, 0x5d, 0xa6, 0x9f, 0x43, 0x3b, 0xd5, 0x42, 0x18, 0xa9, 0xdd, 0xdd, + 0x47, 0xc5, 0x80, 0x28, 0xae, 0x44, 0x73, 0x69, 0xe7, 0x3f, 0x1b, 0xd0, 0xb5, 0xfa, 0xb1, 0x15, + 0xe7, 0x3e, 0x80, 0x65, 0x2f, 0x08, 0x32, 0xc6, 0xb9, 0xb1, 0x97, 0x26, 0x6d, 0x95, 0x1a, 0x05, + 0x95, 0x8a, 0x08, 0x4b, 0x01, 0x76, 0x0b, 0x61, 0x11, 0x68, 0xa6, 0x9e, 0x18, 0x69, 0xb4, 0x84, + 0xcf, 0xf9, 0x49, 0xb5, 0xac, 0x93, 0xb2, 0xbb, 0x92, 0xcb, 0xba, 0xcd, 0xa3, 0xbb, 0x92, 0xeb, + 0xb0, 0xc4, 0xc6, 0xc9, 0xd7, 0x21, 0xde, 0x4e, 0x1d, 0xaa, 0x08, 0x79, 0x54, 0xd7, 0x5e, 0x14, + 0x31, 0xa1, 0xcb, 0x66, 0x4d, 0xc9, 0xc5, 0xa5, 0x1b, 0x69, 0x08, 0x8d, 0xcf, 0x78, 0xac, 0x61, + 0x10, 0xb0, 0x58, 0x43, 0x67, 0x4d, 0xdd, 0x50, 0x33, 0x6f, 0x42, 0x3b, 0x4d, 0x78, 0x88, 0x45, + 0xc8, 0x8a, 0xc2, 0xb5, 0x86, 0x26, 0x3f, 0x85, 0x7b, 0x69, 0x96, 0x04, 0xc7, 0x19, 0x7b, 0xcb, + 0xb2, 0x8c, 0x05, 0x7b, 0xe8, 0xfd, 0xfb, 0xaa, 0x5e, 0xee, 0xd0, 0xf2, 0x41, 0x39, 0x4b, 0x30, + 0x2e, 0x16, 0x67, 0xad, 0xa9, 0x59, 0xa5, 0x83, 0x52, 0x8f, 0x24, 0x65, 0x99, 0x77, 0x1e, 0xa9, + 0x92, 0xb9, 0x43, 0x73, 0xda, 0xf9, 0x9d, 0x3e, 0x52, 0xdd, 0xeb, 0xaf, 0x38, 0x52, 0xeb, 0xe0, + 0xea, 0xa5, 0x1d, 0xcb, 0x46, 0xb1, 0x19, 0x66, 0x35, 0x9d, 0x14, 0x36, 0x91, 0x85, 0x2c, 0xcb, + 0xc2, 0x2b, 0x16, 0xb8, 0x08, 0x1f, 0x96, 0x74, 0x21, 0xab, 0x78, 0x5f, 0x49, 0x14, 0xf1, 0x39, + 0x6c, 0xaa, 0x0a, 0x92, 0xb3, 0xc0, 0xc5, 0x01, 0x0d, 0x10, 0xb1, 0xa5, 0xaa, 0x92, 0xd1, 0x7d, + 0xac, 0x27, 0x39, 0x0b, 0xf6, 0xf3, 0xf1, 0x43, 0x39, 0xac, 0xda, 0x28, 0xb1, 0x6f, 0x96, 0x57, + 0x87, 0x0f, 0x8a, 0x85, 0xab, 0x7f, 0x02, 0xed, 0x39, 0x60, 0x5c, 0xf1, 0x8d, 0x21, 0x17, 0x93, + 0x53, 0x74, 0x0b, 0x50, 0x56, 0x62, 0x8d, 0xd2, 0xef, 0x23, 0x72, 0x94, 0xe6, 0x62, 0xb6, 0x2f, + 0x40, 0xd1, 0x17, 0x7e, 0x04, 0xfd, 0xb9, 0xae, 0x38, 0x47, 0x3f, 0xea, 0x2d, 0xf4, 0x19, 0x9d, + 0xdf, 0xa8, 0x34, 0x6b, 0x40, 0xf9, 0xb1, 0x76, 0x99, 0x2a, 0x28, 0x68, 0xef, 0xac, 0xfe, 0x4e, + 0x3b, 0x73, 0xfe, 0xa7, 0xa6, 0x32, 0xe9, 0x89, 0x77, 0xc5, 0x82, 0xa1, 0x0e, 0x4e, 0x2b, 0x6c, + 0x6b, 0xc5, 0xb0, 0xad, 0x68, 0x4b, 0x57, 0x5c, 0x22, 0x4f, 0xa0, 0xa7, 0x9a, 0x00, 0xae, 0x9d, + 0xab, 0xba, 0x8a, 0xa7, 0xda, 0x1a, 0x3f, 0x86, 0x3b, 0x2a, 0xfb, 0xf3, 0x51, 0x92, 0x09, 0xac, + 0x91, 0xb8, 0x0e, 0xcc, 0x35, 0x1c, 0x38, 0x91, 0x7c, 0x59, 0x2b, 0x71, 0x79, 0xe1, 0xb1, 0x98, + 0x6b, 0xe4, 0x28, 0x1f, 0xa5, 0x33, 0x86, 0xdc, 0x95, 0xae, 0xae, 0x8d, 0xdc, 0x0a, 0xf9, 0x29, + 0xe3, 0x62, 0x06, 0x33, 0xbb, 0x16, 0xcc, 0x7c, 0xde, 0x6c, 0x37, 0xfa, 0xcd, 0xe7, 0xcd, 0x76, + 0xb3, 0xbf, 0xe4, 0xfc, 0xbe, 0xa6, 0x6c, 0xbb, 0x50, 0x43, 0x57, 0xd8, 0x76, 0xbe, 0x20, 0x53, + 0x16, 0x28, 0x14, 0x64, 0x07, 0xf0, 0xde, 0x48, 0xdd, 0x45, 0xae, 0x97, 0xf9, 0xa3, 0xf0, 0x8a, + 0xb9, 0x7c, 0x92, 0xa6, 0x72, 0x5f, 0x2c, 0x96, 0x21, 0xa6, 0x72, 0x5d, 0x9b, 0x3e, 0xd2, 0x62, + 0x43, 0x25, 0x75, 0xa2, 0x84, 0x0e, 0x94, 0x8c, 0xf3, 0x6d, 0x4d, 0xe1, 0xde, 0xd3, 0x6c, 0xc2, + 0x05, 0x0b, 0xe4, 0x05, 0xfb, 0x8e, 0xdf, 0x7e, 0x7f, 0x01, 0x2d, 0x0b, 0x01, 0xad, 0xce, 0xf7, + 0x1d, 0xac, 0x05, 0x77, 0x4e, 0x67, 0xad, 0x35, 0xaa, 0x27, 0x39, 0x9f, 0x41, 0xd7, 0x62, 0x93, + 0x2e, 0x2c, 0x9f, 0x1d, 0xbd, 0x38, 0x7a, 0xfd, 0xcb, 0xa3, 0xfe, 0x0f, 0x24, 0x71, 0x4a, 0xcf, + 0x4e, 0x24, 0x5c, 0xa9, 0x91, 0x3b, 0xb0, 0x72, 0x76, 0x84, 0xe4, 0x2f, 0x5f, 0xd3, 0xd3, 0x67, + 0xbf, 0xee, 0xd7, 0x9d, 0x3f, 0x34, 0x54, 0x2f, 0xe9, 0x8d, 0xd5, 0xdc, 0xd3, 0xb0, 0xa9, 0xba, + 0x6e, 0xc1, 0x00, 0xad, 0x5b, 0xe5, 0xc3, 0x2a, 0xd4, 0x45, 0xa2, 0x33, 0x48, 0x5d, 0x24, 0xb2, + 0x32, 0xf1, 0x47, 0x32, 0x0f, 0xc7, 0x17, 0x26, 0x89, 0xcc, 0x18, 0xf2, 0x48, 0x34, 0xae, 0x52, + 0x37, 0xbb, 0xee, 0xa9, 0xe6, 0xbc, 0x21, 0x7e, 0x08, 0xc8, 0x18, 0x4f, 0x93, 0x98, 0x9b, 0xeb, + 0x21, 0xa7, 0xe5, 0x4d, 0x93, 0xb1, 0x34, 0x0a, 0xd5, 0x64, 0xe5, 0x9b, 0x1d, 0xcd, 0x19, 0x0a, + 0xc2, 0xca, 0x9b, 0x98, 0x6d, 0xb4, 0xec, 0x4f, 0x8b, 0x96, 0x2d, 0xd9, 0xf5, 0xce, 0x9b, 0x85, + 0x36, 0x67, 0x69, 0xeb, 0x53, 0x9d, 0x61, 0x27, 0xaf, 0x3e, 0x7e, 0x05, 0x64, 0x71, 0xe6, 0xc2, + 0x59, 0x1c, 0x1f, 0x1c, 0xed, 0x1f, 0x1e, 0xfd, 0x65, 0xbf, 0x56, 0x00, 0x92, 0xf5, 0x02, 0x90, + 0x6c, 0x48, 0x6a, 0x6f, 0x78, 0xb4, 0x77, 0xf0, 0xf2, 0x60, 0xbf, 0xdf, 0x74, 0xfe, 0xb7, 0xa6, + 0xca, 0x92, 0xbd, 0x42, 0x8f, 0xf1, 0x7b, 0xf0, 0xf6, 0x23, 0xe8, 0x68, 0x7b, 0x1e, 0x1a, 0x4f, + 0x9b, 0x31, 0xc8, 0xdf, 0xc0, 0x9a, 0x41, 0xb4, 0x6e, 0xc1, 0xf3, 0x3e, 0x9d, 0xef, 0xfc, 0x94, + 0xbd, 0x72, 0xc7, 0x3c, 0x68, 0xf3, 0xac, 0x06, 0x05, 0x1a, 0x4f, 0x5f, 0x4d, 0x3c, 0x0c, 0xf2, + 0xd3, 0x37, 0x0c, 0xe7, 0x23, 0x58, 0x2d, 0xce, 0xbf, 0x11, 0x53, 0x7f, 0xdb, 0x80, 0xb5, 0xb9, + 0xcf, 0xf9, 0xd5, 0xb0, 0x68, 0xbe, 0xd7, 0x5a, 0x5f, 0xec, 0xb5, 0x7e, 0x04, 0xc4, 0x16, 0x71, + 0xed, 0xb6, 0x4f, 0xdf, 0x12, 0x54, 0x59, 0xce, 0xc6, 0x59, 0xcd, 0xdb, 0xe0, 0x2c, 0xf2, 0x05, + 0xf4, 0x78, 0xe2, 0x87, 0x5e, 0xe4, 0x46, 0x61, 0x7c, 0x69, 0xfe, 0x43, 0xf1, 0x60, 0xee, 0xff, + 0x01, 0x28, 0xf1, 0x52, 0x0a, 0xd0, 0x2e, 0x9f, 0x11, 0xe4, 0xaf, 0x60, 0x9d, 0xc5, 0xdc, 0x35, + 0x58, 0xdb, 0x0d, 0xf2, 0x7f, 0x4d, 0x34, 0x16, 0xbb, 0x89, 0x0b, 0x60, 0x9e, 0x12, 0x36, 0xcf, + 0xe2, 0xe4, 0x6b, 0x78, 0x34, 0xff, 0x6f, 0x18, 0x37, 0x45, 0x9c, 0xc1, 0x62, 0x9f, 0x71, 0xfd, + 0x27, 0x8a, 0xed, 0xd2, 0xed, 0x9d, 0xe8, 0x09, 0xc7, 0x33, 0x79, 0xba, 0x99, 0x56, 0x8e, 0x39, + 0x1c, 0x80, 0x7a, 0xd7, 0xba, 0x84, 0xb7, 0xc1, 0x77, 0xad, 0x08, 0xbe, 0x5f, 0x40, 0x57, 0xff, + 0x87, 0xe7, 0xd4, 0x74, 0x42, 0x56, 0x77, 0x7f, 0x34, 0x53, 0x61, 0x38, 0xfb, 0xd7, 0xcf, 0x2b, + 0xfd, 0xa7, 0x1f, 0xbd, 0xe8, 0x8e, 0x9c, 0x40, 0xed, 0xd9, 0xce, 0xbf, 0xd7, 0x60, 0x55, 0xea, + 0x6c, 0xbd, 0xf9, 0xcf, 0xb1, 0xab, 0x61, 0x5a, 0x09, 0xfa, 0x43, 0xe6, 0xba, 0xd5, 0x4d, 0xcb, + 0x07, 0xa9, 0x2d, 0x48, 0x76, 0x61, 0x9d, 0x4f, 0xce, 0xcd, 0xed, 0xfd, 0x9c, 0x27, 0xf1, 0xd3, + 0xa9, 0x60, 0x06, 0x0b, 0x97, 0x8e, 0x91, 0x8f, 0xe0, 0x8e, 0xe9, 0xe1, 0xce, 0x26, 0xa8, 0xcf, + 0xbd, 0x8b, 0x03, 0xce, 0x3f, 0xd5, 0x72, 0xcc, 0x26, 0x81, 0x03, 0xd6, 0x84, 0xb9, 0x3b, 0xcb, + 0xc7, 0xd2, 0x1b, 0x7b, 0x03, 0x5a, 0xfa, 0x53, 0x90, 0xba, 0x8f, 0x34, 0x65, 0x07, 0x44, 0xb3, + 0x10, 0x10, 0x8f, 0xa0, 0xa3, 0x11, 0x00, 0x93, 0x2e, 0x28, 0x4b, 0xfa, 0x19, 0xa3, 0x00, 0x6e, + 0x15, 0x38, 0xcb, 0x69, 0xe7, 0x37, 0xea, 0x2e, 0xb3, 0x3c, 0x94, 0xfc, 0x6c, 0xce, 0xa5, 0x17, + 0xcc, 0x39, 0x13, 0x2e, 0x7a, 0x73, 0x9e, 0xa1, 0xea, 0x76, 0xcd, 0xf3, 0xdb, 0x1a, 0x3c, 0xb6, + 0xb0, 0xcd, 0xde, 0xe2, 0x57, 0xfd, 0xc7, 0x00, 0xe6, 0xc3, 0x9f, 0x27, 0x74, 0x7a, 0xeb, 0x68, + 0xce, 0x50, 0x54, 0x75, 0x3a, 0xeb, 0x95, 0xff, 0x12, 0xa8, 0xaa, 0x5d, 0x9c, 0x7f, 0xae, 0x41, + 0xff, 0x34, 0xb9, 0x64, 0xb1, 0xe5, 0xc4, 0xf2, 0x48, 0x64, 0x25, 0xa3, 0x8f, 0xe4, 0x92, 0x4d, + 0x0b, 0xf6, 0xaa, 0xcf, 0x15, 0x03, 0x1f, 0xc0, 0xca, 0x45, 0x96, 0x4c, 0x52, 0x03, 0xf5, 0xf0, + 0x0d, 0x0d, 0x5a, 0x64, 0xe2, 0x77, 0xd0, 0x90, 0x87, 0x12, 0xc5, 0xeb, 0xc2, 0x58, 0x93, 0x64, + 0x0b, 0x6c, 0x48, 0x62, 0xc0, 0xb5, 0xc5, 0x72, 0xfe, 0x41, 0x7f, 0xd0, 0x5d, 0x50, 0xb4, 0xb2, + 0x84, 0x93, 0xf8, 0x2a, 0x66, 0xaa, 0x72, 0x6e, 0x53, 0x43, 0x92, 0x2f, 0xa0, 0x6b, 0x07, 0xbe, + 0xfa, 0xb3, 0xd9, 0xe6, 0xec, 0x18, 0xe7, 0x5f, 0x40, 0x6d, 0x71, 0x47, 0xc0, 0xc6, 0x5e, 0x12, + 0x45, 0xcc, 0x17, 0x52, 0x6f, 0x5b, 0x0f, 0x53, 0x34, 0xd4, 0x70, 0xe7, 0xaa, 0x68, 0xd0, 0x46, + 0xac, 0x97, 0x1b, 0xb1, 0x31, 0x67, 0xc4, 0x4a, 0xf3, 0x38, 0xbf, 0xcb, 0xef, 0xc0, 0xd2, 0x57, + 0xdf, 0xd6, 0x04, 0x4f, 0xcb, 0x4c, 0x60, 0xf5, 0x8f, 0xcb, 0x5f, 0x53, 0x30, 0xc4, 0xd3, 0x95, + 0xbf, 0xee, 0xee, 0x7c, 0xfc, 0xb9, 0x99, 0x72, 0xde, 0xc2, 0xa7, 0x4f, 0xff, 0x3f, 0x00, 0x00, + 0xff, 0xff, 0x3d, 0x8a, 0xa1, 0x4f, 0xee, 0x28, 0x00, 0x00, } diff --git a/protocol/protobuf/pairing.proto b/protocol/protobuf/pairing.proto index e9e1ca27c..44cf11a89 100644 --- a/protocol/protobuf/pairing.proto +++ b/protocol/protobuf/pairing.proto @@ -364,8 +364,19 @@ message SyncVerificationRequest { message SyncContactRequestDecision { uint64 clock = 1; + /* common.Message.ID */ string requestId = 2; DecisionStatus decision_status = 3; + /* + The `contactId` is solely utilized during local pair synchronization. + We cannot use `requestId` to locate the corresponding UserMessage and AC notification in the database + because UserMessages are not synchronized. Specifically, during local pair sync, `contactId` is essential + for managing AC notifications generated by `syncContactRequestForInstallationContact`. These notifications + undergo special processing via the function `defaultContactRequestID`, necessitating the use of `contactId` + to correctly link related records. + */ + string contactId = 4; + enum DecisionStatus { ACCEPTED = 0; diff --git a/server/pairing/sync_device_test.go b/server/pairing/sync_device_test.go index 7cfffcf7d..3a2e71ad1 100644 --- a/server/pairing/sync_device_test.go +++ b/server/pairing/sync_device_test.go @@ -678,6 +678,79 @@ func (s *SyncDeviceSuite) TestPairPendingContactRequest() { ensurePendingContact(alice2Backend.Messenger()) } +type contactRequestAction func(messenger *protocol.Messenger, contactRequestID string) (*protocol.MessengerResponse, error) +type notificationValidateFunc func(r *protocol.ActivityCenterPaginationResponse) + +func (s *SyncDeviceSuite) testPairContactRequest(requestAction contactRequestAction, validateFunc notificationValidateFunc) { + bobBackend, _ := s.createUser("bob") + defer func() { + s.Require().NoError(bobBackend.Logout()) + }() + + alice1Backend, alice1TmpDir := s.createUser("alice1") + defer func() { + s.Require().NoError(alice1Backend.Logout()) + }() + + alicePublicKey := alice1Backend.Messenger().IdentityPublicKeyString() + request := &requests.SendContactRequest{ + ID: alicePublicKey, + Message: protocol.RandomLettersString(5), + } + s.sendContactRequest(request, bobBackend.Messenger()) + contactRequest := s.receiveContactRequest(request.Message, alice1Backend.Messenger()) + s.Require().Equal(request.Message, contactRequest.Text) + _, err := requestAction(alice1Backend.Messenger(), contactRequest.ID) + s.Require().NoError(err) + + alice2TmpDir := filepath.Join(s.tmpdir, "alice2") + alice2Backend := s.prepareBackendWithoutAccount(alice2TmpDir) + defer func() { + s.Require().NoError(alice2Backend.Logout()) + }() + s.pairAccounts(alice1Backend, alice1TmpDir, alice2Backend, alice2TmpDir) + + internalNotificationValidateFunc := func(m *protocol.Messenger) { + acRequest := protocol.ActivityCenterNotificationsRequest{ + ActivityTypes: []protocol.ActivityCenterType{ + protocol.ActivityCenterNotificationTypeContactRequest, + }, + ReadType: protocol.ActivityCenterQueryParamsReadAll, + Limit: 10, + } + r, err := m.ActivityCenterNotifications(acRequest) + s.Require().NoError(err) + validateFunc(r) + } + + internalNotificationValidateFunc(alice1Backend.Messenger()) + internalNotificationValidateFunc(alice2Backend.Messenger()) +} + +func (s *SyncDeviceSuite) TestPairDeclineContactRequest() { + declineContactRequest := func(messenger *protocol.Messenger, contactRequestID string) (*protocol.MessengerResponse, error) { + return messenger.DeclineContactRequest(context.Background(), &requests.DeclineContactRequest{ID: types.Hex2Bytes(contactRequestID)}) + } + s.testPairContactRequest(declineContactRequest, func(r *protocol.ActivityCenterPaginationResponse) { + s.Require().Len(r.Notifications, 1) + s.Require().False(r.Notifications[0].Accepted) + s.Require().True(r.Notifications[0].Dismissed) + s.Require().True(r.Notifications[0].Read) + }) +} + +func (s *SyncDeviceSuite) TestPairAcceptContactRequest() { + acceptContactRequest := func(messenger *protocol.Messenger, contactRequestID string) (*protocol.MessengerResponse, error) { + return messenger.AcceptContactRequest(context.Background(), &requests.AcceptContactRequest{ID: types.Hex2Bytes(contactRequestID)}) + } + s.testPairContactRequest(acceptContactRequest, func(r *protocol.ActivityCenterPaginationResponse) { + s.Require().Len(r.Notifications, 1) + s.Require().True(r.Notifications[0].Accepted) + s.Require().False(r.Notifications[0].Dismissed) + s.Require().True(r.Notifications[0].Read) + }) +} + func defaultSettings(generatedAccountInfo generator.GeneratedAccountInfo, derivedAddresses map[string]generator.AccountInfo, mnemonic *string) (*settings.Settings, error) { chatKeyString := derivedAddresses[pathDefaultChat].PublicKey