github.com/status-im/status-go@v1.1.0/protocol/protobuf/chat_identity.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v3.20.3
     5  // source: chat_identity.proto
     6  
     7  package protobuf
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  // SourceType are the predefined types of image source allowed
    24  type IdentityImage_SourceType int32
    25  
    26  const (
    27  	IdentityImage_UNKNOWN_SOURCE_TYPE IdentityImage_SourceType = 0
    28  	// RAW_PAYLOAD image byte data
    29  	IdentityImage_RAW_PAYLOAD IdentityImage_SourceType = 1
    30  	// ENS_AVATAR uses the ENS record's resolver get-text-data.avatar data
    31  	// The `payload` field will be ignored if ENS_AVATAR is selected
    32  	// The application will read and parse the ENS avatar data as image payload data, URLs will be ignored
    33  	// The parent `ChatMessageIdentity` must have a valid `ens_name` set
    34  	IdentityImage_ENS_AVATAR IdentityImage_SourceType = 2
    35  )
    36  
    37  // Enum value maps for IdentityImage_SourceType.
    38  var (
    39  	IdentityImage_SourceType_name = map[int32]string{
    40  		0: "UNKNOWN_SOURCE_TYPE",
    41  		1: "RAW_PAYLOAD",
    42  		2: "ENS_AVATAR",
    43  	}
    44  	IdentityImage_SourceType_value = map[string]int32{
    45  		"UNKNOWN_SOURCE_TYPE": 0,
    46  		"RAW_PAYLOAD":         1,
    47  		"ENS_AVATAR":          2,
    48  	}
    49  )
    50  
    51  func (x IdentityImage_SourceType) Enum() *IdentityImage_SourceType {
    52  	p := new(IdentityImage_SourceType)
    53  	*p = x
    54  	return p
    55  }
    56  
    57  func (x IdentityImage_SourceType) String() string {
    58  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    59  }
    60  
    61  func (IdentityImage_SourceType) Descriptor() protoreflect.EnumDescriptor {
    62  	return file_chat_identity_proto_enumTypes[0].Descriptor()
    63  }
    64  
    65  func (IdentityImage_SourceType) Type() protoreflect.EnumType {
    66  	return &file_chat_identity_proto_enumTypes[0]
    67  }
    68  
    69  func (x IdentityImage_SourceType) Number() protoreflect.EnumNumber {
    70  	return protoreflect.EnumNumber(x)
    71  }
    72  
    73  // Deprecated: Use IdentityImage_SourceType.Descriptor instead.
    74  func (IdentityImage_SourceType) EnumDescriptor() ([]byte, []int) {
    75  	return file_chat_identity_proto_rawDescGZIP(), []int{1, 0}
    76  }
    77  
    78  // ChatIdentity represents the user defined identity associated with their public chat key
    79  type ChatIdentity struct {
    80  	state         protoimpl.MessageState
    81  	sizeCache     protoimpl.SizeCache
    82  	unknownFields protoimpl.UnknownFields
    83  
    84  	// Lamport timestamp of the message
    85  	Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
    86  	// ens_name is the valid ENS name associated with the chat key
    87  	EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
    88  	// images is a string indexed mapping of images associated with an identity
    89  	Images map[string]*IdentityImage `protobuf:"bytes,3,rep,name=images,proto3" json:"images,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    90  	// display name is the user set identity
    91  	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    92  	// description is the user set description
    93  	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
    94  	Color       string `protobuf:"bytes,6,opt,name=color,proto3" json:"color,omitempty"`
    95  	Emoji       string `protobuf:"bytes,7,opt,name=emoji,proto3" json:"emoji,omitempty"`
    96  	// Deprecated: Marked as deprecated in chat_identity.proto.
    97  	SocialLinks []*SocialLink `protobuf:"bytes,8,rep,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"`
    98  	// first known message timestamp in seconds (valid only for community chats for now)
    99  	// 0 - unknown
   100  	// 1 - no messages
   101  	FirstMessageTimestamp uint32           `protobuf:"varint,9,opt,name=first_message_timestamp,json=firstMessageTimestamp,proto3" json:"first_message_timestamp,omitempty"`
   102  	ProfileShowcase       *ProfileShowcase `protobuf:"bytes,10,opt,name=profile_showcase,json=profileShowcase,proto3" json:"profile_showcase,omitempty"`
   103  	CustomizationColor    uint32           `protobuf:"varint,11,opt,name=customization_color,json=customizationColor,proto3" json:"customization_color,omitempty"`
   104  }
   105  
   106  func (x *ChatIdentity) Reset() {
   107  	*x = ChatIdentity{}
   108  	if protoimpl.UnsafeEnabled {
   109  		mi := &file_chat_identity_proto_msgTypes[0]
   110  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   111  		ms.StoreMessageInfo(mi)
   112  	}
   113  }
   114  
   115  func (x *ChatIdentity) String() string {
   116  	return protoimpl.X.MessageStringOf(x)
   117  }
   118  
   119  func (*ChatIdentity) ProtoMessage() {}
   120  
   121  func (x *ChatIdentity) ProtoReflect() protoreflect.Message {
   122  	mi := &file_chat_identity_proto_msgTypes[0]
   123  	if protoimpl.UnsafeEnabled && x != nil {
   124  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   125  		if ms.LoadMessageInfo() == nil {
   126  			ms.StoreMessageInfo(mi)
   127  		}
   128  		return ms
   129  	}
   130  	return mi.MessageOf(x)
   131  }
   132  
   133  // Deprecated: Use ChatIdentity.ProtoReflect.Descriptor instead.
   134  func (*ChatIdentity) Descriptor() ([]byte, []int) {
   135  	return file_chat_identity_proto_rawDescGZIP(), []int{0}
   136  }
   137  
   138  func (x *ChatIdentity) GetClock() uint64 {
   139  	if x != nil {
   140  		return x.Clock
   141  	}
   142  	return 0
   143  }
   144  
   145  func (x *ChatIdentity) GetEnsName() string {
   146  	if x != nil {
   147  		return x.EnsName
   148  	}
   149  	return ""
   150  }
   151  
   152  func (x *ChatIdentity) GetImages() map[string]*IdentityImage {
   153  	if x != nil {
   154  		return x.Images
   155  	}
   156  	return nil
   157  }
   158  
   159  func (x *ChatIdentity) GetDisplayName() string {
   160  	if x != nil {
   161  		return x.DisplayName
   162  	}
   163  	return ""
   164  }
   165  
   166  func (x *ChatIdentity) GetDescription() string {
   167  	if x != nil {
   168  		return x.Description
   169  	}
   170  	return ""
   171  }
   172  
   173  func (x *ChatIdentity) GetColor() string {
   174  	if x != nil {
   175  		return x.Color
   176  	}
   177  	return ""
   178  }
   179  
   180  func (x *ChatIdentity) GetEmoji() string {
   181  	if x != nil {
   182  		return x.Emoji
   183  	}
   184  	return ""
   185  }
   186  
   187  // Deprecated: Marked as deprecated in chat_identity.proto.
   188  func (x *ChatIdentity) GetSocialLinks() []*SocialLink {
   189  	if x != nil {
   190  		return x.SocialLinks
   191  	}
   192  	return nil
   193  }
   194  
   195  func (x *ChatIdentity) GetFirstMessageTimestamp() uint32 {
   196  	if x != nil {
   197  		return x.FirstMessageTimestamp
   198  	}
   199  	return 0
   200  }
   201  
   202  func (x *ChatIdentity) GetProfileShowcase() *ProfileShowcase {
   203  	if x != nil {
   204  		return x.ProfileShowcase
   205  	}
   206  	return nil
   207  }
   208  
   209  func (x *ChatIdentity) GetCustomizationColor() uint32 {
   210  	if x != nil {
   211  		return x.CustomizationColor
   212  	}
   213  	return 0
   214  }
   215  
   216  // ProfileImage represents data associated with a user's profile image
   217  type IdentityImage struct {
   218  	state         protoimpl.MessageState
   219  	sizeCache     protoimpl.SizeCache
   220  	unknownFields protoimpl.UnknownFields
   221  
   222  	// payload is a context based payload for the profile image data,
   223  	// context is determined by the `source_type`
   224  	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
   225  	// source_type signals the image payload source
   226  	SourceType IdentityImage_SourceType `protobuf:"varint,2,opt,name=source_type,json=sourceType,proto3,enum=protobuf.IdentityImage_SourceType" json:"source_type,omitempty"`
   227  	// image_format signals the image format and method of parsing the payload
   228  	ImageFormat ImageFormat `protobuf:"varint,3,opt,name=image_format,json=imageFormat,proto3,enum=protobuf.ImageFormat" json:"image_format,omitempty"`
   229  	// encryption_keys is a list of encrypted keys that can be used to decrypted an encrypted payload
   230  	EncryptionKeys [][]byte `protobuf:"bytes,4,rep,name=encryption_keys,json=encryptionKeys,proto3" json:"encryption_keys,omitempty"`
   231  	// encrypted signals the encryption state of the payload, default is false.
   232  	Encrypted bool `protobuf:"varint,5,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
   233  }
   234  
   235  func (x *IdentityImage) Reset() {
   236  	*x = IdentityImage{}
   237  	if protoimpl.UnsafeEnabled {
   238  		mi := &file_chat_identity_proto_msgTypes[1]
   239  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   240  		ms.StoreMessageInfo(mi)
   241  	}
   242  }
   243  
   244  func (x *IdentityImage) String() string {
   245  	return protoimpl.X.MessageStringOf(x)
   246  }
   247  
   248  func (*IdentityImage) ProtoMessage() {}
   249  
   250  func (x *IdentityImage) ProtoReflect() protoreflect.Message {
   251  	mi := &file_chat_identity_proto_msgTypes[1]
   252  	if protoimpl.UnsafeEnabled && x != nil {
   253  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   254  		if ms.LoadMessageInfo() == nil {
   255  			ms.StoreMessageInfo(mi)
   256  		}
   257  		return ms
   258  	}
   259  	return mi.MessageOf(x)
   260  }
   261  
   262  // Deprecated: Use IdentityImage.ProtoReflect.Descriptor instead.
   263  func (*IdentityImage) Descriptor() ([]byte, []int) {
   264  	return file_chat_identity_proto_rawDescGZIP(), []int{1}
   265  }
   266  
   267  func (x *IdentityImage) GetPayload() []byte {
   268  	if x != nil {
   269  		return x.Payload
   270  	}
   271  	return nil
   272  }
   273  
   274  func (x *IdentityImage) GetSourceType() IdentityImage_SourceType {
   275  	if x != nil {
   276  		return x.SourceType
   277  	}
   278  	return IdentityImage_UNKNOWN_SOURCE_TYPE
   279  }
   280  
   281  func (x *IdentityImage) GetImageFormat() ImageFormat {
   282  	if x != nil {
   283  		return x.ImageFormat
   284  	}
   285  	return ImageFormat_UNKNOWN_IMAGE_FORMAT
   286  }
   287  
   288  func (x *IdentityImage) GetEncryptionKeys() [][]byte {
   289  	if x != nil {
   290  		return x.EncryptionKeys
   291  	}
   292  	return nil
   293  }
   294  
   295  func (x *IdentityImage) GetEncrypted() bool {
   296  	if x != nil {
   297  		return x.Encrypted
   298  	}
   299  	return false
   300  }
   301  
   302  // SocialLinks represents social link assosiated with given chat identity (personal/community)
   303  type SocialLink struct {
   304  	state         protoimpl.MessageState
   305  	sizeCache     protoimpl.SizeCache
   306  	unknownFields protoimpl.UnknownFields
   307  
   308  	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
   309  	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
   310  }
   311  
   312  func (x *SocialLink) Reset() {
   313  	*x = SocialLink{}
   314  	if protoimpl.UnsafeEnabled {
   315  		mi := &file_chat_identity_proto_msgTypes[2]
   316  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   317  		ms.StoreMessageInfo(mi)
   318  	}
   319  }
   320  
   321  func (x *SocialLink) String() string {
   322  	return protoimpl.X.MessageStringOf(x)
   323  }
   324  
   325  func (*SocialLink) ProtoMessage() {}
   326  
   327  func (x *SocialLink) ProtoReflect() protoreflect.Message {
   328  	mi := &file_chat_identity_proto_msgTypes[2]
   329  	if protoimpl.UnsafeEnabled && x != nil {
   330  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   331  		if ms.LoadMessageInfo() == nil {
   332  			ms.StoreMessageInfo(mi)
   333  		}
   334  		return ms
   335  	}
   336  	return mi.MessageOf(x)
   337  }
   338  
   339  // Deprecated: Use SocialLink.ProtoReflect.Descriptor instead.
   340  func (*SocialLink) Descriptor() ([]byte, []int) {
   341  	return file_chat_identity_proto_rawDescGZIP(), []int{2}
   342  }
   343  
   344  func (x *SocialLink) GetText() string {
   345  	if x != nil {
   346  		return x.Text
   347  	}
   348  	return ""
   349  }
   350  
   351  func (x *SocialLink) GetUrl() string {
   352  	if x != nil {
   353  		return x.Url
   354  	}
   355  	return ""
   356  }
   357  
   358  var File_chat_identity_proto protoreflect.FileDescriptor
   359  
   360  var file_chat_identity_proto_rawDesc = []byte{
   361  	0x0a, 0x13, 0x63, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
   362  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a,
   363  	0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x70, 0x72,
   364  	0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x2e, 0x70,
   365  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x04, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65,
   366  	0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01,
   367  	0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x65,
   368  	0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65,
   369  	0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73,
   370  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   371  	0x66, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x49,
   372  	0x6d, 0x61, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67,
   373  	0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
   374  	0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
   375  	0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
   376  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
   377  	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
   378  	0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a,
   379  	0x05, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d,
   380  	0x6f, 0x6a, 0x69, 0x12, 0x3b, 0x0a, 0x0c, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x69,
   381  	0x6e, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   382  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x42,
   383  	0x02, 0x18, 0x01, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73,
   384  	0x12, 0x36, 0x0a, 0x17, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
   385  	0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28,
   386  	0x0d, 0x52, 0x15, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
   387  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x44, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x66,
   388  	0x69, 0x6c, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01,
   389  	0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x50, 0x72,
   390  	0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x52, 0x0f, 0x70,
   391  	0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x68, 0x6f, 0x77, 0x63, 0x61, 0x73, 0x65, 0x12, 0x2f,
   392  	0x0a, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
   393  	0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x63, 0x75, 0x73,
   394  	0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x1a,
   395  	0x52, 0x0a, 0x0b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
   396  	0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
   397  	0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   398  	0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74,
   399  	0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
   400  	0x02, 0x38, 0x01, 0x22, 0xb7, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
   401  	0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
   402  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12,
   403  	0x43, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
   404  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   405  	0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x6f,
   406  	0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   407  	0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x6f,
   408  	0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f,
   409  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61,
   410  	0x74, 0x52, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x27,
   411  	0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79,
   412  	0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
   413  	0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x63, 0x72, 0x79,
   414  	0x70, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6e, 0x63, 0x72,
   415  	0x79, 0x70, 0x74, 0x65, 0x64, 0x22, 0x46, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54,
   416  	0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53,
   417  	0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b,
   418  	0x52, 0x41, 0x57, 0x5f, 0x50, 0x41, 0x59, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a,
   419  	0x0a, 0x45, 0x4e, 0x53, 0x5f, 0x41, 0x56, 0x41, 0x54, 0x41, 0x52, 0x10, 0x02, 0x22, 0x32, 0x0a,
   420  	0x0a, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74,
   421  	0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12,
   422  	0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
   423  	0x6c, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   424  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   425  }
   426  
   427  var (
   428  	file_chat_identity_proto_rawDescOnce sync.Once
   429  	file_chat_identity_proto_rawDescData = file_chat_identity_proto_rawDesc
   430  )
   431  
   432  func file_chat_identity_proto_rawDescGZIP() []byte {
   433  	file_chat_identity_proto_rawDescOnce.Do(func() {
   434  		file_chat_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_chat_identity_proto_rawDescData)
   435  	})
   436  	return file_chat_identity_proto_rawDescData
   437  }
   438  
   439  var file_chat_identity_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   440  var file_chat_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   441  var file_chat_identity_proto_goTypes = []interface{}{
   442  	(IdentityImage_SourceType)(0), // 0: protobuf.IdentityImage.SourceType
   443  	(*ChatIdentity)(nil),          // 1: protobuf.ChatIdentity
   444  	(*IdentityImage)(nil),         // 2: protobuf.IdentityImage
   445  	(*SocialLink)(nil),            // 3: protobuf.SocialLink
   446  	nil,                           // 4: protobuf.ChatIdentity.ImagesEntry
   447  	(*ProfileShowcase)(nil),       // 5: protobuf.ProfileShowcase
   448  	(ImageFormat)(0),              // 6: protobuf.ImageFormat
   449  }
   450  var file_chat_identity_proto_depIdxs = []int32{
   451  	4, // 0: protobuf.ChatIdentity.images:type_name -> protobuf.ChatIdentity.ImagesEntry
   452  	3, // 1: protobuf.ChatIdentity.social_links:type_name -> protobuf.SocialLink
   453  	5, // 2: protobuf.ChatIdentity.profile_showcase:type_name -> protobuf.ProfileShowcase
   454  	0, // 3: protobuf.IdentityImage.source_type:type_name -> protobuf.IdentityImage.SourceType
   455  	6, // 4: protobuf.IdentityImage.image_format:type_name -> protobuf.ImageFormat
   456  	2, // 5: protobuf.ChatIdentity.ImagesEntry.value:type_name -> protobuf.IdentityImage
   457  	6, // [6:6] is the sub-list for method output_type
   458  	6, // [6:6] is the sub-list for method input_type
   459  	6, // [6:6] is the sub-list for extension type_name
   460  	6, // [6:6] is the sub-list for extension extendee
   461  	0, // [0:6] is the sub-list for field type_name
   462  }
   463  
   464  func init() { file_chat_identity_proto_init() }
   465  func file_chat_identity_proto_init() {
   466  	if File_chat_identity_proto != nil {
   467  		return
   468  	}
   469  	file_enums_proto_init()
   470  	file_profile_showcase_proto_init()
   471  	if !protoimpl.UnsafeEnabled {
   472  		file_chat_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   473  			switch v := v.(*ChatIdentity); i {
   474  			case 0:
   475  				return &v.state
   476  			case 1:
   477  				return &v.sizeCache
   478  			case 2:
   479  				return &v.unknownFields
   480  			default:
   481  				return nil
   482  			}
   483  		}
   484  		file_chat_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   485  			switch v := v.(*IdentityImage); i {
   486  			case 0:
   487  				return &v.state
   488  			case 1:
   489  				return &v.sizeCache
   490  			case 2:
   491  				return &v.unknownFields
   492  			default:
   493  				return nil
   494  			}
   495  		}
   496  		file_chat_identity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   497  			switch v := v.(*SocialLink); i {
   498  			case 0:
   499  				return &v.state
   500  			case 1:
   501  				return &v.sizeCache
   502  			case 2:
   503  				return &v.unknownFields
   504  			default:
   505  				return nil
   506  			}
   507  		}
   508  	}
   509  	type x struct{}
   510  	out := protoimpl.TypeBuilder{
   511  		File: protoimpl.DescBuilder{
   512  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   513  			RawDescriptor: file_chat_identity_proto_rawDesc,
   514  			NumEnums:      1,
   515  			NumMessages:   4,
   516  			NumExtensions: 0,
   517  			NumServices:   0,
   518  		},
   519  		GoTypes:           file_chat_identity_proto_goTypes,
   520  		DependencyIndexes: file_chat_identity_proto_depIdxs,
   521  		EnumInfos:         file_chat_identity_proto_enumTypes,
   522  		MessageInfos:      file_chat_identity_proto_msgTypes,
   523  	}.Build()
   524  	File_chat_identity_proto = out.File
   525  	file_chat_identity_proto_rawDesc = nil
   526  	file_chat_identity_proto_goTypes = nil
   527  	file_chat_identity_proto_depIdxs = nil
   528  }