meowlib/messages.pb.go

2176 lines
79 KiB
Go
Raw Normal View History

2023-08-01 22:47:18 +02:00
// You should use the field numbers 1 through 15
// for the most-frequently-set fields.
// Lower field number values take less space in the wire format.
// For example, field numbers in the range 1 through 15 take one byte to encode.
// Field numbers in the range 16 through 2047 take two bytes.
2023-11-06 22:44:21 +01:00
//*
// Meow messages
//
// This is the Meow protocol protobuf messages description.
//
2022-08-29 15:40:29 +02:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
2024-02-13 23:25:37 +01:00
// protoc-gen-go v1.32.0
2024-02-13 22:40:41 +01:00
// protoc v4.25.2
2022-08-29 15:40:29 +02:00
// source: messages.proto
package meowlib
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
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)
)
// structure definnig a message as received by a server in protobuf format
2022-08-29 15:40:29 +02:00
type PackedServerMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // The client public key for that server to get an answer
2022-10-22 22:40:03 +02:00
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // The ToServerMessage encrypted with the server public key |or| symetrical encryption as agreed earlier
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // The message signature with the client public key |eo| the reference to teh symetrical key used
2022-08-29 15:40:29 +02:00
}
func (x *PackedServerMessage) Reset() {
*x = PackedServerMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_messages_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PackedServerMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PackedServerMessage) ProtoMessage() {}
func (x *PackedServerMessage) ProtoReflect() protoreflect.Message {
mi := &file_messages_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 PackedServerMessage.ProtoReflect.Descriptor instead.
func (*PackedServerMessage) Descriptor() ([]byte, []int) {
return file_messages_proto_rawDescGZIP(), []int{0}
}
func (x *PackedServerMessage) GetFrom() string {
if x != nil {
return x.From
}
return ""
}
func (x *PackedServerMessage) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
}
2022-09-06 09:30:45 +02:00
func (x *PackedServerMessage) GetSignature() []byte {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Signature
}
2022-09-06 09:30:45 +02:00
return nil
2022-08-29 15:40:29 +02:00
}
// structure to hold an invitation through a server
type Invitation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-11-14 16:32:50 +01:00
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // invitation payload, encrypted after step 2
Timeout int32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // how long do I want the invitation to remain available on the server
ShortcodeLen int32 `protobuf:"varint,3,opt,name=shortcodeLen,proto3" json:"shortcodeLen,omitempty"` // len of the shortcode you wish for short url transmission
Shortcode string `protobuf:"bytes,4,opt,name=shortcode,proto3" json:"shortcode,omitempty"` // shortcode that the friend shall request to get the invitation
Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // password tou set for accessin invitation (optional)
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` // id that the friend gave you, that you should include to your reply to get recognized
Expiry int64 `protobuf:"varint,7,opt,name=expiry,proto3" json:"expiry,omitempty"` // the server allowed expiry date, it may be samller than the requested timeout according to server policy
Step int32 `protobuf:"varint,8,opt,name=step,proto3" json:"step,omitempty"` // progress in the inviattion process : 1=invite friend, 2=friend requests invitation, 3=friend's answer
2024-02-18 13:56:33 +01:00
From string `protobuf:"bytes,9,opt,name=from,proto3" json:"from,omitempty"` // used in step 3 the answer public key to check the signature in user message
}
func (x *Invitation) Reset() {
*x = Invitation{}
if protoimpl.UnsafeEnabled {
mi := &file_messages_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Invitation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Invitation) ProtoMessage() {}
func (x *Invitation) ProtoReflect() protoreflect.Message {
mi := &file_messages_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 Invitation.ProtoReflect.Descriptor instead.
func (*Invitation) Descriptor() ([]byte, []int) {
return file_messages_proto_rawDescGZIP(), []int{1}
}
func (x *Invitation) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
}
func (x *Invitation) GetTimeout() int32 {
if x != nil {
return x.Timeout
}
return 0
}
2023-11-14 16:32:50 +01:00
func (x *Invitation) GetShortcodeLen() int32 {
if x != nil {
2023-11-14 16:32:50 +01:00
return x.ShortcodeLen
}
return 0
}
2023-11-14 16:32:50 +01:00
func (x *Invitation) GetShortcode() string {
if x != nil {
return x.Shortcode
}
return ""
}
func (x *Invitation) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
2023-11-14 16:32:50 +01:00
func (x *Invitation) GetUuid() string {
if x != nil {
2023-11-14 16:32:50 +01:00
return x.Uuid
}
return ""
}
func (x *Invitation) GetExpiry() int64 {
if x != nil {
return x.Expiry
}
return 0
}
2023-08-31 23:38:03 +02:00
func (x *Invitation) GetStep() int32 {
if x != nil {
return x.Step
}
return 0
}
2024-02-18 13:56:33 +01:00
func (x *Invitation) GetFrom() string {
if x != nil {
return x.From
}
return ""
}
2023-11-06 22:44:21 +01:00
// structure for requesting incoming messages
type ConversationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-01-14 15:49:24 +01:00
LookupKey string `protobuf:"bytes,1,opt,name=lookup_key,json=lookupKey,proto3" json:"lookup_key,omitempty"` // lookup key for a conversation
// removed string lastServerUuidOK = 2; // Last Server message UUID received (send me all after that one)
SendTimestamp int64 `protobuf:"varint,2,opt,name=send_timestamp,json=sendTimestamp,proto3" json:"send_timestamp,omitempty"`
LookupSignature string `protobuf:"bytes,3,opt,name=lookup_signature,json=lookupSignature,proto3" json:"lookup_signature,omitempty"` // prove that I own the private key by signing that block
2023-11-06 22:44:21 +01:00
}
func (x *ConversationRequest) Reset() {
*x = ConversationRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_messages_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ConversationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConversationRequest) ProtoMessage() {}
func (x *ConversationRequest) ProtoReflect() protoreflect.Message {
mi := &file_messages_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 ConversationRequest.ProtoReflect.Descriptor instead.
func (*ConversationRequest) Descriptor() ([]byte, []int) {
return file_messages_proto_rawDescGZIP(), []int{2}
}
func (x *ConversationRequest) GetLookupKey() string {
if x != nil {
return x.LookupKey
}
return ""
}
2024-01-12 23:17:34 +01:00
func (x *ConversationRequest) GetSendTimestamp() int64 {
2023-11-06 22:44:21 +01:00
if x != nil {
2024-01-12 23:17:34 +01:00
return x.SendTimestamp
2023-11-06 22:44:21 +01:00
}
2024-01-12 23:17:34 +01:00
return 0
2023-11-06 22:44:21 +01:00
}
func (x *ConversationRequest) GetLookupSignature() string {
if x != nil {
return x.LookupSignature
}
return ""
}
2024-01-12 23:17:34 +01:00
type Meet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PublicStatus string `protobuf:"bytes,1,opt,name=public_status,json=publicStatus,proto3" json:"public_status,omitempty"` // Publish my online status, if the server is a meeting server
ContactCard *ContactCard `protobuf:"bytes,2,opt,name=contact_card,json=contactCard,proto3" json:"contact_card,omitempty"` // mine or the requester
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // short description
}
func (x *Meet) Reset() {
*x = Meet{}
if protoimpl.UnsafeEnabled {
mi := &file_messages_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Meet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Meet) ProtoMessage() {}
func (x *Meet) ProtoReflect() protoreflect.Message {
mi := &file_messages_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 Meet.ProtoReflect.Descriptor instead.
func (*Meet) Descriptor() ([]byte, []int) {
return file_messages_proto_rawDescGZIP(), []int{3}
}
func (x *Meet) GetPublicStatus() string {
if x != nil {
return x.PublicStatus
}
return ""
}
func (x *Meet) GetContactCard() *ContactCard {
if x != nil {
return x.ContactCard
}
return nil
}
func (x *Meet) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
// structure defining a message for a server, that will be encrypted, then sent in a "packedmessage" payload
2022-09-06 09:30:45 +02:00
type ToServerMessage struct {
2022-08-29 15:40:29 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-11-06 22:44:21 +01:00
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type 1 : final destination / 2 : forward
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // My pub key for the server to send me an encrypter answer
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // optional payload for server
2024-01-12 23:17:34 +01:00
PullRequest []*ConversationRequest `protobuf:"bytes,4,rep,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
2023-11-06 22:44:21 +01:00
Messages []*PackedUserMessage `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"`
2024-01-12 23:17:34 +01:00
KnownServers []*ServerCard `protobuf:"bytes,6,rep,name=known_servers,json=knownServers,proto3" json:"known_servers,omitempty"`
MatriochkaMessage *Matriochka `protobuf:"bytes,7,opt,name=matriochka_message,json=matriochkaMessage,proto3" json:"matriochka_message,omitempty"`
2023-11-06 22:44:21 +01:00
Uuid string `protobuf:"bytes,8,opt,name=uuid,proto3" json:"uuid,omitempty"`
2024-02-13 21:00:50 +01:00
Invitation *Invitation `protobuf:"bytes,9,opt,name=invitation,proto3" json:"invitation,omitempty"` // invitation for the 2 first steps of a "through server" invitation process
DeviceMessages []*PackedUserMessage `protobuf:"bytes,10,rep,name=device_messages,json=deviceMessages,proto3" json:"device_messages,omitempty"` // messages to another device belonging to the same user
2024-04-19 09:13:50 +02:00
Timeout int64 `protobuf:"varint,11,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout expected by the client for the server to answer (long polling)
2022-08-29 15:40:29 +02:00
}
2022-09-06 09:30:45 +02:00
func (x *ToServerMessage) Reset() {
*x = ToServerMessage{}
2022-08-29 15:40:29 +02:00
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[4]
2022-08-29 15:40:29 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2022-09-06 09:30:45 +02:00
func (x *ToServerMessage) String() string {
2022-08-29 15:40:29 +02:00
return protoimpl.X.MessageStringOf(x)
}
2022-09-06 09:30:45 +02:00
func (*ToServerMessage) ProtoMessage() {}
2022-08-29 15:40:29 +02:00
2022-09-06 09:30:45 +02:00
func (x *ToServerMessage) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[4]
2022-08-29 15:40:29 +02:00
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)
}
2022-09-06 09:30:45 +02:00
// Deprecated: Use ToServerMessage.ProtoReflect.Descriptor instead.
func (*ToServerMessage) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{4}
2022-08-29 15:40:29 +02:00
}
2022-09-06 09:30:45 +02:00
func (x *ToServerMessage) GetType() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Type
}
return ""
}
func (x *ToServerMessage) GetFrom() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.From
2022-08-29 15:40:29 +02:00
}
return ""
}
2022-09-06 09:30:45 +02:00
func (x *ToServerMessage) GetPayload() []byte {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Payload
}
return nil
}
2023-11-06 22:44:21 +01:00
func (x *ToServerMessage) GetPullRequest() []*ConversationRequest {
2022-08-29 15:40:29 +02:00
if x != nil {
2022-09-06 09:30:45 +02:00
return x.PullRequest
2022-08-29 15:40:29 +02:00
}
2022-09-06 09:30:45 +02:00
return nil
2022-08-29 15:40:29 +02:00
}
func (x *ToServerMessage) GetMessages() []*PackedUserMessage {
2022-08-29 15:40:29 +02:00
if x != nil {
2022-09-06 09:30:45 +02:00
return x.Messages
}
return nil
}
2023-11-08 21:52:09 +01:00
func (x *ToServerMessage) GetKnownServers() []*ServerCard {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.KnownServers
2022-09-06 09:30:45 +02:00
}
return nil
2022-09-06 09:30:45 +02:00
}
func (x *ToServerMessage) GetMatriochkaMessage() *Matriochka {
if x != nil {
return x.MatriochkaMessage
}
return nil
}
func (x *ToServerMessage) GetUuid() string {
if x != nil {
return x.Uuid
}
return ""
}
func (x *ToServerMessage) GetInvitation() *Invitation {
if x != nil {
return x.Invitation
}
return nil
}
2024-02-13 21:00:50 +01:00
func (x *ToServerMessage) GetDeviceMessages() []*PackedUserMessage {
if x != nil {
return x.DeviceMessages
}
return nil
}
2024-04-19 09:13:50 +02:00
func (x *ToServerMessage) GetTimeout() int64 {
if x != nil {
return x.Timeout
}
return 0
}
2023-11-06 22:44:21 +01:00
type ConversationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageUuids []string `protobuf:"bytes,1,rep,name=messageUuids,proto3" json:"messageUuids,omitempty"`
}
func (x *ConversationResponse) Reset() {
*x = ConversationResponse{}
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[5]
2023-11-06 22:44:21 +01:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ConversationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConversationResponse) ProtoMessage() {}
func (x *ConversationResponse) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[5]
2023-11-06 22:44:21 +01:00
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 ConversationResponse.ProtoReflect.Descriptor instead.
func (*ConversationResponse) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{5}
2023-11-06 22:44:21 +01:00
}
func (x *ConversationResponse) GetMessageUuids() []string {
if x != nil {
return x.MessageUuids
}
return nil
}
// structure defining a from server receiver message decrypted from a "packedmessage" payload
2022-09-06 09:30:45 +02:00
type FromServerMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-02-13 21:00:50 +01:00
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type
ServerPublicKey string `protobuf:"bytes,2,opt,name=server_public_key,json=serverPublicKey,proto3" json:"server_public_key,omitempty"` // Pub key from the server
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` //
UuidAck string `protobuf:"bytes,4,opt,name=uuid_ack,json=uuidAck,proto3" json:"uuid_ack,omitempty"` // Ack for the last received ToServerMessage Uuid
ServerUuid string `protobuf:"bytes,5,opt,name=server_uuid,json=serverUuid,proto3" json:"server_uuid,omitempty"` // Provides the server uuid that replaced the client uuid
2022-10-22 22:40:03 +02:00
Chat []*PackedUserMessage `protobuf:"bytes,6,rep,name=chat,proto3" json:"chat,omitempty"`
2024-02-13 21:00:50 +01:00
KnownServers []*ServerCard `protobuf:"bytes,7,rep,name=known_servers,json=knownServers,proto3" json:"known_servers,omitempty"`
Invitation *Invitation `protobuf:"bytes,8,opt,name=invitation,proto3" json:"invitation,omitempty"` // invitation answer, for the third steps of any invitation
DeviceMessages []*PackedUserMessage `protobuf:"bytes,9,rep,name=device_messages,json=deviceMessages,proto3" json:"device_messages,omitempty"` // messages from other devices belonging to the same user
2022-09-06 09:30:45 +02:00
}
func (x *FromServerMessage) Reset() {
*x = FromServerMessage{}
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[6]
2022-09-06 09:30:45 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FromServerMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FromServerMessage) ProtoMessage() {}
func (x *FromServerMessage) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[6]
2022-09-06 09:30:45 +02:00
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 FromServerMessage.ProtoReflect.Descriptor instead.
func (*FromServerMessage) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{6}
2022-09-06 09:30:45 +02:00
}
func (x *FromServerMessage) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *FromServerMessage) GetServerPublicKey() string {
2022-09-06 09:30:45 +02:00
if x != nil {
return x.ServerPublicKey
2022-09-06 09:30:45 +02:00
}
return ""
}
func (x *FromServerMessage) GetPayload() []byte {
if x != nil {
return x.Payload
2022-08-29 15:40:29 +02:00
}
return nil
}
func (x *FromServerMessage) GetUuidAck() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.UuidAck
2022-09-06 09:30:45 +02:00
}
return ""
2022-09-06 09:30:45 +02:00
}
func (x *FromServerMessage) GetServerUuid() string {
if x != nil {
return x.ServerUuid
}
return ""
}
2022-10-22 22:40:03 +02:00
func (x *FromServerMessage) GetChat() []*PackedUserMessage {
2022-09-06 09:30:45 +02:00
if x != nil {
2022-10-22 22:40:03 +02:00
return x.Chat
2022-08-29 15:40:29 +02:00
}
return nil
}
2023-11-08 21:52:09 +01:00
func (x *FromServerMessage) GetKnownServers() []*ServerCard {
2022-08-29 15:40:29 +02:00
if x != nil {
2022-10-22 22:40:03 +02:00
return x.KnownServers
2022-08-29 15:40:29 +02:00
}
return nil
}
func (x *FromServerMessage) GetInvitation() *Invitation {
if x != nil {
return x.Invitation
}
return nil
}
2024-02-13 21:00:50 +01:00
func (x *FromServerMessage) GetDeviceMessages() []*PackedUserMessage {
if x != nil {
return x.DeviceMessages
}
return nil
}
type MatriochkaServer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Server Url
PublicKey string `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"` // Server Public Key
Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` // Optional, uuid for delivery confirmation
Delay int32 `protobuf:"varint,4,opt,name=delay,proto3" json:"delay,omitempty"` // Max delay requested for message forwarding or delivery tracking
}
func (x *MatriochkaServer) Reset() {
*x = MatriochkaServer{}
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MatriochkaServer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MatriochkaServer) ProtoMessage() {}
func (x *MatriochkaServer) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_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 MatriochkaServer.ProtoReflect.Descriptor instead.
func (*MatriochkaServer) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{7}
}
func (x *MatriochkaServer) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *MatriochkaServer) GetPublicKey() string {
if x != nil {
return x.PublicKey
}
return ""
}
func (x *MatriochkaServer) GetUuid() string {
if x != nil {
return x.Uuid
}
return ""
}
func (x *MatriochkaServer) GetDelay() int32 {
if x != nil {
return x.Delay
}
return 0
}
type Matriochka struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LookupKey string `protobuf:"bytes,1,opt,name=lookupKey,proto3" json:"lookupKey,omitempty"` // Optional, only if you want delivery tracking, less stealth
Prev *MatriochkaServer `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"` // Optional, like above
Next *MatriochkaServer `protobuf:"bytes,3,opt,name=next,proto3" json:"next,omitempty"` // Next server to deliver the message to
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // Matriochka data
}
func (x *Matriochka) Reset() {
*x = Matriochka{}
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Matriochka) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Matriochka) ProtoMessage() {}
func (x *Matriochka) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_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 Matriochka.ProtoReflect.Descriptor instead.
func (*Matriochka) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{8}
}
func (x *Matriochka) GetLookupKey() string {
if x != nil {
return x.LookupKey
}
return ""
}
func (x *Matriochka) GetPrev() *MatriochkaServer {
if x != nil {
return x.Prev
}
return nil
}
func (x *Matriochka) GetNext() *MatriochkaServer {
if x != nil {
return x.Next
}
return nil
}
func (x *Matriochka) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
// structure describing required server attributes
2023-11-08 21:52:09 +01:00
type ServerCard struct {
2022-08-29 15:40:29 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // friendly server name
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // description : owner type (company/private/university...),
PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // public key you must use to send encrypted messages to that server
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // meow server url
Login string `protobuf:"bytes,5,opt,name=login,proto3" json:"login,omitempty"` // required login to access the server
Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` // password associated to the login
Signature string `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"` // signature of all previous fields by the server itself
2022-08-29 15:40:29 +02:00
}
2023-11-08 21:52:09 +01:00
func (x *ServerCard) Reset() {
*x = ServerCard{}
2022-08-29 15:40:29 +02:00
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[9]
2022-08-29 15:40:29 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-11-08 21:52:09 +01:00
func (x *ServerCard) String() string {
2022-08-29 15:40:29 +02:00
return protoimpl.X.MessageStringOf(x)
}
2023-11-08 21:52:09 +01:00
func (*ServerCard) ProtoMessage() {}
2022-08-29 15:40:29 +02:00
2023-11-08 21:52:09 +01:00
func (x *ServerCard) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[9]
2022-08-29 15:40:29 +02:00
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)
}
2023-11-08 21:52:09 +01:00
// Deprecated: Use ServerCard.ProtoReflect.Descriptor instead.
func (*ServerCard) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{9}
2022-08-29 15:40:29 +02:00
}
2023-11-08 21:52:09 +01:00
func (x *ServerCard) GetName() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Name
}
return ""
}
2023-11-08 21:52:09 +01:00
func (x *ServerCard) GetDescription() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Description
}
return ""
}
2023-11-08 21:52:09 +01:00
func (x *ServerCard) GetPublicKey() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.PublicKey
}
return ""
}
2023-11-08 21:52:09 +01:00
func (x *ServerCard) GetUrl() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Url
}
return ""
}
2023-11-27 00:31:43 +01:00
func (x *ServerCard) GetLogin() string {
if x != nil {
2023-11-27 00:31:43 +01:00
return x.Login
}
2023-11-27 00:31:43 +01:00
return ""
}
2023-11-27 00:31:43 +01:00
func (x *ServerCard) GetPassword() string {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-27 00:31:43 +01:00
return x.Password
2022-08-29 15:40:29 +02:00
}
2023-11-27 00:31:43 +01:00
return ""
}
func (x *ServerCard) GetSignature() string {
2023-11-27 00:31:43 +01:00
if x != nil {
return x.Signature
}
return ""
2022-08-29 15:40:29 +02:00
}
// structure describing a user contact card ie the minimum set of attributes for exchanging identities
2022-09-06 09:30:45 +02:00
type ContactCard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-01-01 22:45:54 +01:00
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contact nickname
ContactPublicKey string `protobuf:"bytes,2,opt,name=contact_public_key,json=contactPublicKey,proto3" json:"contact_public_key,omitempty"` // contact public key, will be used to authenticate her/his messages
EncryptionPublicKey string `protobuf:"bytes,3,opt,name=encryption_public_key,json=encryptionPublicKey,proto3" json:"encryption_public_key,omitempty"` // public key you must use to to write encrypted messages to that contact
LookupPublicKey string `protobuf:"bytes,4,opt,name=lookup_public_key,json=lookupPublicKey,proto3" json:"lookup_public_key,omitempty"` // public key you will use as "destination identifier" for her/him to lookup for your messages on the servers
PullServers []*ServerCard `protobuf:"bytes,5,rep,name=pull_servers,json=pullServers,proto3" json:"pull_servers,omitempty"` // list the servers where the contact will look for messages from you
2023-11-08 21:52:09 +01:00
Version uint32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
2024-01-01 22:45:54 +01:00
InvitationId string `protobuf:"bytes,7,opt,name=invitation_id,json=invitationId,proto3" json:"invitation_id,omitempty"`
InvitationMessage string `protobuf:"bytes,8,opt,name=invitation_message,json=invitationMessage,proto3" json:"invitation_message,omitempty"`
2022-09-06 09:30:45 +02:00
}
func (x *ContactCard) Reset() {
*x = ContactCard{}
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[10]
2022-09-06 09:30:45 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContactCard) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContactCard) ProtoMessage() {}
func (x *ContactCard) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[10]
2022-09-06 09:30:45 +02:00
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 ContactCard.ProtoReflect.Descriptor instead.
func (*ContactCard) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{10}
2022-09-06 09:30:45 +02:00
}
func (x *ContactCard) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ContactCard) GetContactPublicKey() string {
if x != nil {
return x.ContactPublicKey
}
return ""
}
func (x *ContactCard) GetEncryptionPublicKey() string {
if x != nil {
return x.EncryptionPublicKey
}
return ""
}
func (x *ContactCard) GetLookupPublicKey() string {
if x != nil {
return x.LookupPublicKey
}
return ""
}
2023-11-08 21:52:09 +01:00
func (x *ContactCard) GetPullServers() []*ServerCard {
2022-09-06 09:30:45 +02:00
if x != nil {
return x.PullServers
}
return nil
}
func (x *ContactCard) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *ContactCard) GetInvitationId() string {
if x != nil {
return x.InvitationId
}
return ""
}
2024-01-01 13:50:00 +01:00
func (x *ContactCard) GetInvitationMessage() string {
if x != nil {
return x.InvitationMessage
}
return ""
}
// structure for sending a message to be forwarded to another user in protobuf format
type PackedUserMessage struct {
2022-08-29 15:40:29 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-02-13 22:40:41 +01:00
Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // the peer's current conversation lookup public key
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // the message UserMessage encrypted with the destination peer's public key
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // the payload signature with the client identity private key
ServerTimestamp []int64 `protobuf:"varint,4,rep,packed,name=serverTimestamp,proto3" json:"serverTimestamp,omitempty"` // server time stamp, might be several in matriochka mode
2022-08-29 15:40:29 +02:00
}
func (x *PackedUserMessage) Reset() {
*x = PackedUserMessage{}
2022-08-29 15:40:29 +02:00
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[11]
2022-08-29 15:40:29 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PackedUserMessage) String() string {
2022-08-29 15:40:29 +02:00
return protoimpl.X.MessageStringOf(x)
}
func (*PackedUserMessage) ProtoMessage() {}
2022-08-29 15:40:29 +02:00
func (x *PackedUserMessage) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[11]
2022-08-29 15:40:29 +02:00
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 PackedUserMessage.ProtoReflect.Descriptor instead.
func (*PackedUserMessage) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{11}
2022-08-29 15:40:29 +02:00
}
func (x *PackedUserMessage) GetDestination() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Destination
2022-08-29 15:40:29 +02:00
}
return ""
}
func (x *PackedUserMessage) GetPayload() []byte {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Payload
}
return nil
}
func (x *PackedUserMessage) GetSignature() []byte {
if x != nil {
return x.Signature
2022-08-29 15:40:29 +02:00
}
return nil
}
2022-10-22 22:40:03 +02:00
func (x *PackedUserMessage) GetServerTimestamp() []int64 {
if x != nil {
return x.ServerTimestamp
}
return nil
}
2023-11-06 22:44:21 +01:00
type ConversationStatus struct {
2022-08-29 15:40:29 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
AnswerToUuid string `protobuf:"bytes,2,opt,name=answer_to_uuid,json=answerToUuid,proto3" json:"answer_to_uuid,omitempty"` // message is an answer to another one, specify uuid here
2024-04-19 09:13:50 +02:00
LocalSequence uint64 `protobuf:"varint,3,opt,name=localSequence,proto3" json:"localSequence,omitempty"` // seq number in local conversation for custom reordering
Sent uint64 `protobuf:"varint,4,opt,name=sent,proto3" json:"sent,omitempty"` // timestamp of the message sent
Received uint64 `protobuf:"varint,5,opt,name=received,proto3" json:"received,omitempty"` // timestamp of the message received
Processed uint64 `protobuf:"varint,6,opt,name=processed,proto3" json:"processed,omitempty"` // timestamp of the message processed
MyNextIdentity *ContactCard `protobuf:"bytes,7,opt,name=my_next_identity,json=myNextIdentity,proto3" json:"my_next_identity,omitempty"`
PeerNextIdentityAck int32 `protobuf:"varint,8,opt,name=peer_next_identityAck,json=peerNextIdentityAck,proto3" json:"peer_next_identityAck,omitempty"` // version of the new peer accepted id
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) Reset() {
*x = ConversationStatus{}
2022-08-29 15:40:29 +02:00
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[12]
2022-08-29 15:40:29 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) String() string {
2022-08-29 15:40:29 +02:00
return protoimpl.X.MessageStringOf(x)
}
2023-11-06 22:44:21 +01:00
func (*ConversationStatus) ProtoMessage() {}
2022-08-29 15:40:29 +02:00
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[12]
2022-08-29 15:40:29 +02:00
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)
}
2023-11-06 22:44:21 +01:00
// Deprecated: Use ConversationStatus.ProtoReflect.Descriptor instead.
func (*ConversationStatus) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{12}
2022-08-29 15:40:29 +02:00
}
func (x *ConversationStatus) GetUuid() string {
2022-08-29 15:40:29 +02:00
if x != nil {
return x.Uuid
}
return ""
}
func (x *ConversationStatus) GetAnswerToUuid() string {
if x != nil {
return x.AnswerToUuid
2022-08-29 15:40:29 +02:00
}
return ""
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) GetLocalSequence() uint64 {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.LocalSequence
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return 0
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) GetSent() uint64 {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Sent
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return 0
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) GetReceived() uint64 {
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Received
}
2023-11-06 22:44:21 +01:00
return 0
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) GetProcessed() uint64 {
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Processed
}
2023-11-06 22:44:21 +01:00
return 0
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) GetMyNextIdentity() *ContactCard {
2023-08-01 22:47:18 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.MyNextIdentity
2023-08-01 22:47:18 +02:00
}
return nil
}
2023-11-06 22:44:21 +01:00
func (x *ConversationStatus) GetPeerNextIdentityAck() int32 {
2023-08-01 22:47:18 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.PeerNextIdentityAck
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
return 0
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
type Group struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-11-06 22:44:21 +01:00
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Members []*ContactCard `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
}
2023-11-06 22:44:21 +01:00
func (x *Group) Reset() {
*x = Group{}
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-11-06 22:44:21 +01:00
func (x *Group) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-11-06 22:44:21 +01:00
func (*Group) ProtoMessage() {}
2023-11-06 22:44:21 +01:00
func (x *Group) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_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)
}
2023-11-06 22:44:21 +01:00
// Deprecated: Use Group.ProtoReflect.Descriptor instead.
func (*Group) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{13}
}
2023-11-06 22:44:21 +01:00
func (x *Group) GetName() string {
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Name
}
return ""
}
2023-11-06 22:44:21 +01:00
func (x *Group) GetMembers() []*ContactCard {
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Members
}
return nil
}
2023-11-06 22:44:21 +01:00
// structure defining information that might be exchanged between two peers.
type UserMessage struct {
2023-08-01 22:47:18 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-11-06 22:44:21 +01:00
Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // Lookupkey
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // My public key for that contact
2024-04-19 09:13:50 +02:00
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // Message type
2023-11-06 22:44:21 +01:00
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
2024-04-19 09:13:50 +02:00
Status *ConversationStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
2023-11-06 22:44:21 +01:00
Contact *ContactCard `protobuf:"bytes,6,opt,name=contact,proto3" json:"contact,omitempty"`
2023-11-08 21:52:09 +01:00
KnownServers *ServerCard `protobuf:"bytes,7,opt,name=knownServers,proto3" json:"knownServers,omitempty"`
2023-11-06 22:44:21 +01:00
Group *Group `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"`
Files []*File `protobuf:"bytes,9,rep,name=files,proto3" json:"files,omitempty"`
CurrentLocation *Location `protobuf:"bytes,10,opt,name=currentLocation,proto3" json:"currentLocation,omitempty"`
Appdata []byte `protobuf:"bytes,11,opt,name=appdata,proto3" json:"appdata,omitempty"`
2023-11-14 16:32:50 +01:00
Invitation *Invitation `protobuf:"bytes,12,opt,name=invitation,proto3" json:"invitation,omitempty"`
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) Reset() {
*x = UserMessage{}
2023-08-01 22:47:18 +02:00
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[14]
2023-08-01 22:47:18 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) String() string {
2023-08-01 22:47:18 +02:00
return protoimpl.X.MessageStringOf(x)
}
2023-11-06 22:44:21 +01:00
func (*UserMessage) ProtoMessage() {}
2023-08-01 22:47:18 +02:00
2023-11-06 22:44:21 +01:00
func (x *UserMessage) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[14]
2023-08-01 22:47:18 +02:00
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)
}
2023-11-06 22:44:21 +01:00
// Deprecated: Use UserMessage.ProtoReflect.Descriptor instead.
func (*UserMessage) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{14}
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetDestination() string {
2023-08-01 22:47:18 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Destination
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
return ""
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetFrom() string {
2023-08-01 22:47:18 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.From
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
return ""
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetType() string {
2023-08-01 22:47:18 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Type
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
return ""
2023-08-01 22:47:18 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetData() []byte {
2023-08-01 22:47:18 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Data
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return nil
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetStatus() *ConversationStatus {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Status
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return nil
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetContact() *ContactCard {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Contact
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return nil
2022-08-29 15:40:29 +02:00
}
2023-11-08 21:52:09 +01:00
func (x *UserMessage) GetKnownServers() *ServerCard {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.KnownServers
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return nil
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetGroup() *Group {
2022-09-06 09:30:45 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Group
2022-09-06 09:30:45 +02:00
}
2023-11-06 22:44:21 +01:00
return nil
2022-09-06 09:30:45 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetFiles() []*File {
if x != nil {
return x.Files
2022-09-06 09:30:45 +02:00
}
2023-11-06 22:44:21 +01:00
return nil
2022-09-06 09:30:45 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetCurrentLocation() *Location {
if x != nil {
return x.CurrentLocation
2022-09-06 09:30:45 +02:00
}
2023-11-06 22:44:21 +01:00
return nil
2022-09-06 09:30:45 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *UserMessage) GetAppdata() []byte {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Appdata
2022-08-29 15:40:29 +02:00
}
2022-09-06 09:30:45 +02:00
return nil
2022-08-29 15:40:29 +02:00
}
2023-11-14 16:32:50 +01:00
func (x *UserMessage) GetInvitation() *Invitation {
if x != nil {
return x.Invitation
}
return nil
}
2023-11-06 22:44:21 +01:00
type File struct {
2022-08-29 15:40:29 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-11-14 16:32:50 +01:00
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` // the proposed filename
Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // the file size
Chunk uint32 `protobuf:"varint,3,opt,name=chunk,proto3" json:"chunk,omitempty"` // the chunk counter if file is sent by chunks
Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // the file/chunk content
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *File) Reset() {
*x = File{}
2022-08-29 15:40:29 +02:00
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[15]
2022-08-29 15:40:29 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-11-06 22:44:21 +01:00
func (x *File) String() string {
2022-08-29 15:40:29 +02:00
return protoimpl.X.MessageStringOf(x)
}
2023-11-06 22:44:21 +01:00
func (*File) ProtoMessage() {}
2022-08-29 15:40:29 +02:00
2023-11-06 22:44:21 +01:00
func (x *File) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[15]
2022-08-29 15:40:29 +02:00
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)
}
2023-11-06 22:44:21 +01:00
// Deprecated: Use File.ProtoReflect.Descriptor instead.
func (*File) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{15}
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *File) GetFilename() string {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Filename
2022-08-29 15:40:29 +02:00
}
return ""
}
2023-11-06 22:44:21 +01:00
func (x *File) GetSize() uint64 {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Size
2022-08-29 15:40:29 +02:00
}
return 0
}
2023-11-06 22:44:21 +01:00
func (x *File) GetChunk() uint32 {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Chunk
2022-08-29 15:40:29 +02:00
}
return 0
}
2023-11-06 22:44:21 +01:00
func (x *File) GetData() []byte {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Data
2022-08-29 15:40:29 +02:00
}
return nil
2022-09-02 12:07:21 +02:00
}
2023-11-06 22:44:21 +01:00
type Location struct {
2022-08-29 15:40:29 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-11-06 22:44:21 +01:00
Time uint64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
Latitude float32 `protobuf:"fixed32,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
Longitude float32 `protobuf:"fixed32,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
Altitude int32 `protobuf:"varint,4,opt,name=altitude,proto3" json:"altitude,omitempty"`
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *Location) Reset() {
*x = Location{}
2022-08-29 15:40:29 +02:00
if protoimpl.UnsafeEnabled {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[16]
2022-08-29 15:40:29 +02:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-11-06 22:44:21 +01:00
func (x *Location) String() string {
2022-08-29 15:40:29 +02:00
return protoimpl.X.MessageStringOf(x)
}
2023-11-06 22:44:21 +01:00
func (*Location) ProtoMessage() {}
2022-08-29 15:40:29 +02:00
2023-11-06 22:44:21 +01:00
func (x *Location) ProtoReflect() protoreflect.Message {
2024-01-12 23:17:34 +01:00
mi := &file_messages_proto_msgTypes[16]
2022-08-29 15:40:29 +02:00
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)
}
2023-11-06 22:44:21 +01:00
// Deprecated: Use Location.ProtoReflect.Descriptor instead.
func (*Location) Descriptor() ([]byte, []int) {
2024-01-12 23:17:34 +01:00
return file_messages_proto_rawDescGZIP(), []int{16}
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *Location) GetTime() uint64 {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Time
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return 0
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
func (x *Location) GetLatitude() float32 {
2022-08-29 15:40:29 +02:00
if x != nil {
2023-11-06 22:44:21 +01:00
return x.Latitude
2022-08-29 15:40:29 +02:00
}
2023-11-06 22:44:21 +01:00
return 0
}
func (x *Location) GetLongitude() float32 {
if x != nil {
return x.Longitude
}
return 0
}
func (x *Location) GetAltitude() int32 {
if x != nil {
return x.Altitude
}
return 0
2022-08-29 15:40:29 +02:00
}
2024-02-29 21:03:15 +01:00
type DbMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Outbound bool `protobuf:"varint,1,opt,name=outbound,proto3" json:"outbound,omitempty"` // direction of the message
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // text data
Status *ConversationStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
Contact *ContactCard `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"`
Group *Group `protobuf:"bytes,6,opt,name=group,proto3" json:"group,omitempty"`
FilePaths []string `protobuf:"bytes,7,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"`
CurrentLocation *Location `protobuf:"bytes,8,opt,name=current_location,json=currentLocation,proto3" json:"current_location,omitempty"`
Appdata []byte `protobuf:"bytes,9,opt,name=appdata,proto3" json:"appdata,omitempty"`
Invitation *Invitation `protobuf:"bytes,10,opt,name=invitation,proto3" json:"invitation,omitempty"`
2024-04-19 09:13:50 +02:00
From string `protobuf:"bytes,11,opt,name=from,proto3" json:"from,omitempty"` // source peer uid, used when storing group conversations with more than one peer
2024-02-29 21:03:15 +01:00
}
func (x *DbMessage) Reset() {
*x = DbMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_messages_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DbMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DbMessage) ProtoMessage() {}
func (x *DbMessage) ProtoReflect() protoreflect.Message {
mi := &file_messages_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 DbMessage.ProtoReflect.Descriptor instead.
func (*DbMessage) Descriptor() ([]byte, []int) {
return file_messages_proto_rawDescGZIP(), []int{17}
}
func (x *DbMessage) GetOutbound() bool {
if x != nil {
return x.Outbound
}
return false
}
func (x *DbMessage) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *DbMessage) GetData() []byte {
if x != nil {
return x.Data
}
return nil
}
func (x *DbMessage) GetStatus() *ConversationStatus {
if x != nil {
return x.Status
}
return nil
}
func (x *DbMessage) GetContact() *ContactCard {
if x != nil {
return x.Contact
}
return nil
}
func (x *DbMessage) GetGroup() *Group {
if x != nil {
return x.Group
}
return nil
}
func (x *DbMessage) GetFilePaths() []string {
if x != nil {
return x.FilePaths
}
return nil
}
func (x *DbMessage) GetCurrentLocation() *Location {
if x != nil {
return x.CurrentLocation
}
return nil
}
func (x *DbMessage) GetAppdata() []byte {
if x != nil {
return x.Appdata
}
return nil
}
func (x *DbMessage) GetInvitation() *Invitation {
if x != nil {
return x.Invitation
}
return nil
}
2024-04-19 09:13:50 +02:00
func (x *DbMessage) GetFrom() string {
if x != nil {
return x.From
}
return ""
}
2022-08-29 15:40:29 +02:00
var File_messages_proto protoreflect.FileDescriptor
var file_messages_proto_rawDesc = []byte{
0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x07, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x22, 0x61, 0x0a, 0x13, 0x50, 0x61, 0x63,
0x6b, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
2022-09-06 17:07:35 +02:00
0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x66, 0x72, 0x6f, 0x6d, 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, 0x1c,
0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
2024-02-18 13:56:33 +01:00
0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xf2, 0x01, 0x0a,
0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12,
2023-11-14 16:32:50 +01:00
0x22, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x63, 0x6f, 0x64, 0x65, 0x4c, 0x65, 0x6e, 0x18,
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x63, 0x6f, 0x64, 0x65,
0x4c, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x63, 0x6f, 0x64, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x63, 0x6f, 0x64,
0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a,
0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69,
0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
2023-08-31 23:51:20 +02:00
0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x65,
2024-02-18 13:56:33 +01:00
0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x65, 0x70, 0x12, 0x12, 0x0a,
0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f,
0x6d, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x6f,
0x6b, 0x75, 0x70, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c,
0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x6e, 0x64,
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0d, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12,
0x29, 0x0a, 0x10, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75,
0x70, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x7e, 0x0a, 0x04, 0x4d, 0x65,
0x65, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69,
0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x37, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61,
0x63, 0x74, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43,
0x61, 0x72, 0x64, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x61, 0x72, 0x64,
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
2024-04-19 09:13:50 +02:00
0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xf2, 0x03, 0x0a, 0x0f, 0x54,
2024-02-18 13:56:33 +01:00
0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12,
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,
0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 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, 0x3f, 0x0a, 0x0c, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62,
0x2e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x52, 0x0b, 0x70, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x36, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x50, 0x61,
0x63, 0x6b, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x0d, 0x6b, 0x6e, 0x6f,
0x77, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x43, 0x61, 0x72, 0x64, 0x52, 0x0c, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x72, 0x76,
0x65, 0x72, 0x73, 0x12, 0x42, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x6f, 0x63, 0x68, 0x6b,
0x61, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x6f,
0x63, 0x68, 0x6b, 0x61, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x6f, 0x63, 0x68, 0x6b, 0x61,
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18,
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x33, 0x0a, 0x0a, 0x69,
0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x43, 0x0a, 0x0f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6f, 0x77,
0x6c, 0x69, 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65,
0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73,
2024-04-19 09:13:50 +02:00
0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22,
0x3a, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x75, 0x69, 0x64, 0x73, 0x22, 0x8d, 0x03, 0x0a, 0x11,
0x46, 0x72, 0x6f, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65,
0x79, 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, 0x19, 0x0a, 0x08, 0x75,
0x75, 0x69, 0x64, 0x5f, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75,
0x75, 0x69, 0x64, 0x41, 0x63, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72,
0x76, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x63, 0x68, 0x61, 0x74, 0x18,
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e,
2024-02-13 21:00:50 +01:00
0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
2024-04-19 09:13:50 +02:00
0x65, 0x52, 0x04, 0x63, 0x68, 0x61, 0x74, 0x12, 0x38, 0x0a, 0x0d, 0x6b, 0x6e, 0x6f, 0x77, 0x6e,
0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43,
0x61, 0x72, 0x64, 0x52, 0x0c, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x73, 0x12, 0x33, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e,
0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x69, 0x6e, 0x76, 0x69,
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64,
0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x64, 0x65, 0x76,
0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x6c, 0x0a, 0x10, 0x4d,
0x61, 0x74, 0x72, 0x69, 0x6f, 0x63, 0x68, 0x6b, 0x61, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12,
0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12,
0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75,
0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01,
0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x22, 0x9c, 0x01, 0x0a, 0x0a, 0x4d, 0x61,
0x74, 0x72, 0x69, 0x6f, 0x63, 0x68, 0x6b, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6f, 0x6b,
0x75, 0x70, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x6f,
0x6b, 0x75, 0x70, 0x4b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x4d,
0x61, 0x74, 0x72, 0x69, 0x6f, 0x63, 0x68, 0x6b, 0x61, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
0x04, 0x70, 0x72, 0x65, 0x76, 0x12, 0x2d, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x4d, 0x61,
0x74, 0x72, 0x69, 0x6f, 0x63, 0x68, 0x6b, 0x61, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x04,
0x6e, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc3, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x43, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64,
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a,
0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14,
0x0a, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xd5,
0x02, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x61, 0x72, 0x64, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x75,
0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
0x12, 0x32, 0x0a, 0x15, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70,
0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x13, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x75, 0x62, 0x6c, 0x69,
0x63, 0x4b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5f, 0x70,
0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
0x12, 0x36, 0x0a, 0x0c, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73,
0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62,
0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x61, 0x72, 0x64, 0x52, 0x0b, 0x70, 0x75, 0x6c,
0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x76, 0x69, 0x74,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x76, 0x69, 0x74,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20,
0x01, 0x28, 0x09, 0x52, 0x11, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x11, 0x50, 0x61, 0x63, 0x6b, 0x65,
0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b,
2024-02-18 13:56:33 +01:00
0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
2024-04-19 09:13:50 +02:00
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e,
0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67,
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52,
0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
0x22, 0xb6, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x61,
0x6e, 0x73, 0x77, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x54, 0x6f, 0x55, 0x75, 0x69,
0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e,
0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x53,
0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x18,
0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72,
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72,
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65,
0x73, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63,
0x65, 0x73, 0x73, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x10, 0x6d, 0x79, 0x5f, 0x6e, 0x65, 0x78, 0x74,
0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
2024-02-29 21:03:15 +01:00
0x14, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63,
2024-04-19 09:13:50 +02:00
0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x0e, 0x6d, 0x79, 0x4e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x65,
0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x6e, 0x65,
0x78, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x63, 0x6b, 0x18, 0x08,
0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x65, 0x65, 0x72, 0x4e, 0x65, 0x78, 0x74, 0x49, 0x64,
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x63, 0x6b, 0x22, 0x4b, 0x0a, 0x05, 0x47, 0x72, 0x6f,
0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69,
0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x07, 0x6d,
0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0xe0, 0x03, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x4d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04,
0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x43,
0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
0x74, 0x61, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x6f,
0x77, 0x6c, 0x69, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x61, 0x72, 0x64,
0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x37, 0x0a, 0x0c, 0x6b, 0x6e, 0x6f,
0x77, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x43, 0x61, 0x72, 0x64, 0x52, 0x0c, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x73, 0x12, 0x24, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75,
0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x23, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65,
0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69,
0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x3b, 0x0a,
0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62,
0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65,
0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70,
0x70, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x70, 0x70,
0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c,
0x69, 0x62, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x69,
0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x04, 0x46, 0x69, 0x6c,
0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a,
0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x74, 0x0a, 0x08, 0x4c,
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c,
0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6c,
0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69,
0x74, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67,
0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x6c, 0x74, 0x69, 0x74, 0x75, 0x64,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x61, 0x6c, 0x74, 0x69, 0x74, 0x75, 0x64,
0x65, 0x22, 0x9a, 0x03, 0x0a, 0x09, 0x44, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
0x1a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x08, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74,
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64,
0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69, 0x62, 0x2e, 0x43, 0x6f,
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74,
0x61, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x65, 0x6f, 0x77,
0x6c, 0x69, 0x62, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52,
0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75,
0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69,
0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d,
0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x07, 0x20, 0x03,
0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x3c, 0x0a,
0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69,
0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72,
0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61,
0x70, 0x70, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x70,
0x70, 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x6f, 0x77,
0x6c, 0x69, 0x62, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a,
0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72,
0x6f, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x42, 0x21,
0x5a, 0x1f, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x2e, 0x72, 0x65, 0x64, 0x72, 0x6f, 0x6f, 0x6d, 0x2e,
0x6c, 0x69, 0x6e, 0x6b, 0x2f, 0x79, 0x76, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x6f, 0x77, 0x6c, 0x69,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2022-08-29 15:40:29 +02:00
}
var (
file_messages_proto_rawDescOnce sync.Once
file_messages_proto_rawDescData = file_messages_proto_rawDesc
)
func file_messages_proto_rawDescGZIP() []byte {
file_messages_proto_rawDescOnce.Do(func() {
file_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_messages_proto_rawDescData)
})
return file_messages_proto_rawDescData
}
2024-02-29 21:03:15 +01:00
var file_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
2022-08-29 15:40:29 +02:00
var file_messages_proto_goTypes = []interface{}{
2023-11-06 22:44:21 +01:00
(*PackedServerMessage)(nil), // 0: meowlib.PackedServerMessage
(*Invitation)(nil), // 1: meowlib.Invitation
(*ConversationRequest)(nil), // 2: meowlib.ConversationRequest
2024-01-12 23:17:34 +01:00
(*Meet)(nil), // 3: meowlib.Meet
(*ToServerMessage)(nil), // 4: meowlib.ToServerMessage
(*ConversationResponse)(nil), // 5: meowlib.ConversationResponse
(*FromServerMessage)(nil), // 6: meowlib.FromServerMessage
(*MatriochkaServer)(nil), // 7: meowlib.MatriochkaServer
(*Matriochka)(nil), // 8: meowlib.Matriochka
(*ServerCard)(nil), // 9: meowlib.ServerCard
(*ContactCard)(nil), // 10: meowlib.ContactCard
(*PackedUserMessage)(nil), // 11: meowlib.PackedUserMessage
(*ConversationStatus)(nil), // 12: meowlib.ConversationStatus
(*Group)(nil), // 13: meowlib.Group
(*UserMessage)(nil), // 14: meowlib.UserMessage
(*File)(nil), // 15: meowlib.File
(*Location)(nil), // 16: meowlib.Location
2024-02-29 21:03:15 +01:00
(*DbMessage)(nil), // 17: meowlib.DbMessage
2022-08-29 15:40:29 +02:00
}
var file_messages_proto_depIdxs = []int32{
2024-01-12 23:17:34 +01:00
10, // 0: meowlib.Meet.contact_card:type_name -> meowlib.ContactCard
2, // 1: meowlib.ToServerMessage.pull_request:type_name -> meowlib.ConversationRequest
11, // 2: meowlib.ToServerMessage.messages:type_name -> meowlib.PackedUserMessage
9, // 3: meowlib.ToServerMessage.known_servers:type_name -> meowlib.ServerCard
8, // 4: meowlib.ToServerMessage.matriochka_message:type_name -> meowlib.Matriochka
1, // 5: meowlib.ToServerMessage.invitation:type_name -> meowlib.Invitation
2024-02-13 21:00:50 +01:00
11, // 6: meowlib.ToServerMessage.device_messages:type_name -> meowlib.PackedUserMessage
11, // 7: meowlib.FromServerMessage.chat:type_name -> meowlib.PackedUserMessage
9, // 8: meowlib.FromServerMessage.known_servers:type_name -> meowlib.ServerCard
1, // 9: meowlib.FromServerMessage.invitation:type_name -> meowlib.Invitation
11, // 10: meowlib.FromServerMessage.device_messages:type_name -> meowlib.PackedUserMessage
7, // 11: meowlib.Matriochka.prev:type_name -> meowlib.MatriochkaServer
7, // 12: meowlib.Matriochka.next:type_name -> meowlib.MatriochkaServer
9, // 13: meowlib.ContactCard.pull_servers:type_name -> meowlib.ServerCard
10, // 14: meowlib.ConversationStatus.my_next_identity:type_name -> meowlib.ContactCard
2024-02-13 21:00:50 +01:00
10, // 15: meowlib.Group.members:type_name -> meowlib.ContactCard
2024-04-19 09:13:50 +02:00
12, // 16: meowlib.UserMessage.status:type_name -> meowlib.ConversationStatus
2024-02-13 21:00:50 +01:00
10, // 17: meowlib.UserMessage.contact:type_name -> meowlib.ContactCard
9, // 18: meowlib.UserMessage.knownServers:type_name -> meowlib.ServerCard
13, // 19: meowlib.UserMessage.group:type_name -> meowlib.Group
15, // 20: meowlib.UserMessage.files:type_name -> meowlib.File
16, // 21: meowlib.UserMessage.currentLocation:type_name -> meowlib.Location
1, // 22: meowlib.UserMessage.invitation:type_name -> meowlib.Invitation
2024-02-29 21:03:15 +01:00
12, // 23: meowlib.DbMessage.status:type_name -> meowlib.ConversationStatus
10, // 24: meowlib.DbMessage.contact:type_name -> meowlib.ContactCard
13, // 25: meowlib.DbMessage.group:type_name -> meowlib.Group
16, // 26: meowlib.DbMessage.current_location:type_name -> meowlib.Location
1, // 27: meowlib.DbMessage.invitation:type_name -> meowlib.Invitation
28, // [28:28] is the sub-list for method output_type
28, // [28:28] is the sub-list for method input_type
28, // [28:28] is the sub-list for extension type_name
28, // [28:28] is the sub-list for extension extendee
0, // [0:28] is the sub-list for field type_name
2022-08-29 15:40:29 +02:00
}
func init() { file_messages_proto_init() }
func file_messages_proto_init() {
if File_messages_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PackedServerMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Invitation); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2023-11-06 22:44:21 +01:00
switch v := v.(*ConversationRequest); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*Meet); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*ToServerMessage); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*ConversationResponse); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*FromServerMessage); i {
2022-09-06 09:30:45 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*MatriochkaServer); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*Matriochka); i {
2022-09-06 09:30:45 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2022-10-22 22:40:03 +02:00
file_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*ServerCard); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2022-10-22 22:40:03 +02:00
file_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*ContactCard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*PackedUserMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*ConversationStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*Group); i {
2023-08-01 22:47:18 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*UserMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2024-01-12 23:17:34 +01:00
switch v := v.(*File); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_messages_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2023-11-06 22:44:21 +01:00
switch v := v.(*Location); i {
2022-08-29 15:40:29 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2024-02-29 21:03:15 +01:00
file_messages_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DbMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2022-08-29 15:40:29 +02:00
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_messages_proto_rawDesc,
NumEnums: 0,
2024-02-29 21:03:15 +01:00
NumMessages: 18,
2022-08-29 15:40:29 +02:00
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_messages_proto_goTypes,
DependencyIndexes: file_messages_proto_depIdxs,
MessageInfos: file_messages_proto_msgTypes,
}.Build()
File_messages_proto = out.File
file_messages_proto_rawDesc = nil
file_messages_proto_goTypes = nil
file_messages_proto_depIdxs = nil
}