status-go/protocol/protobuf/communities.pb.go

1359 lines
52 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: communities.proto
package protobuf
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CommunityMember_Roles int32
const (
CommunityMember_UNKNOWN_ROLE CommunityMember_Roles = 0
CommunityMember_ROLE_ALL CommunityMember_Roles = 1
CommunityMember_ROLE_MANAGE_USERS CommunityMember_Roles = 2
CommunityMember_ROLE_MODERATE_CONTENT CommunityMember_Roles = 3
)
var CommunityMember_Roles_name = map[int32]string{
0: "UNKNOWN_ROLE",
1: "ROLE_ALL",
2: "ROLE_MANAGE_USERS",
3: "ROLE_MODERATE_CONTENT",
}
var CommunityMember_Roles_value = map[string]int32{
"UNKNOWN_ROLE": 0,
"ROLE_ALL": 1,
"ROLE_MANAGE_USERS": 2,
"ROLE_MODERATE_CONTENT": 3,
}
func (x CommunityMember_Roles) String() string {
return proto.EnumName(CommunityMember_Roles_name, int32(x))
}
func (CommunityMember_Roles) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{1, 0}
}
type CommunityPermissions_Access int32
const (
CommunityPermissions_UNKNOWN_ACCESS CommunityPermissions_Access = 0
CommunityPermissions_NO_MEMBERSHIP CommunityPermissions_Access = 1
CommunityPermissions_INVITATION_ONLY CommunityPermissions_Access = 2
CommunityPermissions_ON_REQUEST CommunityPermissions_Access = 3
)
var CommunityPermissions_Access_name = map[int32]string{
0: "UNKNOWN_ACCESS",
1: "NO_MEMBERSHIP",
2: "INVITATION_ONLY",
3: "ON_REQUEST",
}
var CommunityPermissions_Access_value = map[string]int32{
"UNKNOWN_ACCESS": 0,
"NO_MEMBERSHIP": 1,
"INVITATION_ONLY": 2,
"ON_REQUEST": 3,
}
func (x CommunityPermissions_Access) String() string {
return proto.EnumName(CommunityPermissions_Access_name, int32(x))
}
func (CommunityPermissions_Access) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{2, 0}
}
type Grant struct {
CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
MemberId []byte `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"`
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
Clock uint64 `protobuf:"varint,4,opt,name=clock,proto3" json:"clock,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Grant) Reset() { *m = Grant{} }
func (m *Grant) String() string { return proto.CompactTextString(m) }
func (*Grant) ProtoMessage() {}
func (*Grant) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{0}
}
func (m *Grant) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Grant.Unmarshal(m, b)
}
func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Grant.Marshal(b, m, deterministic)
}
func (m *Grant) XXX_Merge(src proto.Message) {
xxx_messageInfo_Grant.Merge(m, src)
}
func (m *Grant) XXX_Size() int {
return xxx_messageInfo_Grant.Size(m)
}
func (m *Grant) XXX_DiscardUnknown() {
xxx_messageInfo_Grant.DiscardUnknown(m)
}
var xxx_messageInfo_Grant proto.InternalMessageInfo
func (m *Grant) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *Grant) GetMemberId() []byte {
if m != nil {
return m.MemberId
}
return nil
}
func (m *Grant) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *Grant) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
type CommunityMember struct {
Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityMember) Reset() { *m = CommunityMember{} }
func (m *CommunityMember) String() string { return proto.CompactTextString(m) }
func (*CommunityMember) ProtoMessage() {}
func (*CommunityMember) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{1}
}
func (m *CommunityMember) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityMember.Unmarshal(m, b)
}
func (m *CommunityMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityMember.Marshal(b, m, deterministic)
}
func (m *CommunityMember) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityMember.Merge(m, src)
}
func (m *CommunityMember) XXX_Size() int {
return xxx_messageInfo_CommunityMember.Size(m)
}
func (m *CommunityMember) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityMember.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityMember proto.InternalMessageInfo
func (m *CommunityMember) GetRoles() []CommunityMember_Roles {
if m != nil {
return m.Roles
}
return nil
}
type CommunityPermissions struct {
EnsOnly bool `protobuf:"varint,1,opt,name=ens_only,json=ensOnly,proto3" json:"ens_only,omitempty"`
// https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md is a candidate for the algorithm to be used in case we want to have private communityal chats, lighter than pairwise encryption using the DR, less secure, but more efficient for large number of participants
Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"`
Access CommunityPermissions_Access `protobuf:"varint,3,opt,name=access,proto3,enum=protobuf.CommunityPermissions_Access" json:"access,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityPermissions) Reset() { *m = CommunityPermissions{} }
func (m *CommunityPermissions) String() string { return proto.CompactTextString(m) }
func (*CommunityPermissions) ProtoMessage() {}
func (*CommunityPermissions) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{2}
}
func (m *CommunityPermissions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityPermissions.Unmarshal(m, b)
}
func (m *CommunityPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityPermissions.Marshal(b, m, deterministic)
}
func (m *CommunityPermissions) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityPermissions.Merge(m, src)
}
func (m *CommunityPermissions) XXX_Size() int {
return xxx_messageInfo_CommunityPermissions.Size(m)
}
func (m *CommunityPermissions) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityPermissions.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityPermissions proto.InternalMessageInfo
func (m *CommunityPermissions) GetEnsOnly() bool {
if m != nil {
return m.EnsOnly
}
return false
}
func (m *CommunityPermissions) GetPrivate() bool {
if m != nil {
return m.Private
}
return false
}
func (m *CommunityPermissions) GetAccess() CommunityPermissions_Access {
if m != nil {
return m.Access
}
return CommunityPermissions_UNKNOWN_ACCESS
}
type CommunityDescription struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
Members map[string]*CommunityMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Permissions *CommunityPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"`
Identity *ChatIdentity `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"`
Chats map[string]*CommunityChat `protobuf:"bytes,6,rep,name=chats,proto3" json:"chats,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
BanList []string `protobuf:"bytes,7,rep,name=ban_list,json=banList,proto3" json:"ban_list,omitempty"`
Categories map[string]*CommunityCategory `protobuf:"bytes,8,rep,name=categories,proto3" json:"categories,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
ArchiveMagnetlinkClock uint64 `protobuf:"varint,9,opt,name=archive_magnetlink_clock,json=archiveMagnetlinkClock,proto3" json:"archive_magnetlink_clock,omitempty"`
AdminSettings *CommunityAdminSettings `protobuf:"bytes,10,opt,name=admin_settings,json=adminSettings,proto3" json:"admin_settings,omitempty"`
IntroMessage string `protobuf:"bytes,11,opt,name=intro_message,json=introMessage,proto3" json:"intro_message,omitempty"`
OutroMessage string `protobuf:"bytes,12,opt,name=outro_message,json=outroMessage,proto3" json:"outro_message,omitempty"`
Encrypted bool `protobuf:"varint,13,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityDescription) Reset() { *m = CommunityDescription{} }
func (m *CommunityDescription) String() string { return proto.CompactTextString(m) }
func (*CommunityDescription) ProtoMessage() {}
func (*CommunityDescription) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{3}
}
func (m *CommunityDescription) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityDescription.Unmarshal(m, b)
}
func (m *CommunityDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityDescription.Marshal(b, m, deterministic)
}
func (m *CommunityDescription) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityDescription.Merge(m, src)
}
func (m *CommunityDescription) XXX_Size() int {
return xxx_messageInfo_CommunityDescription.Size(m)
}
func (m *CommunityDescription) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityDescription.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityDescription proto.InternalMessageInfo
func (m *CommunityDescription) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityDescription) GetMembers() map[string]*CommunityMember {
if m != nil {
return m.Members
}
return nil
}
func (m *CommunityDescription) GetPermissions() *CommunityPermissions {
if m != nil {
return m.Permissions
}
return nil
}
func (m *CommunityDescription) GetIdentity() *ChatIdentity {
if m != nil {
return m.Identity
}
return nil
}
func (m *CommunityDescription) GetChats() map[string]*CommunityChat {
if m != nil {
return m.Chats
}
return nil
}
func (m *CommunityDescription) GetBanList() []string {
if m != nil {
return m.BanList
}
return nil
}
func (m *CommunityDescription) GetCategories() map[string]*CommunityCategory {
if m != nil {
return m.Categories
}
return nil
}
func (m *CommunityDescription) GetArchiveMagnetlinkClock() uint64 {
if m != nil {
return m.ArchiveMagnetlinkClock
}
return 0
}
func (m *CommunityDescription) GetAdminSettings() *CommunityAdminSettings {
if m != nil {
return m.AdminSettings
}
return nil
}
func (m *CommunityDescription) GetIntroMessage() string {
if m != nil {
return m.IntroMessage
}
return ""
}
func (m *CommunityDescription) GetOutroMessage() string {
if m != nil {
return m.OutroMessage
}
return ""
}
func (m *CommunityDescription) GetEncrypted() bool {
if m != nil {
return m.Encrypted
}
return false
}
func (m *CommunityDescription) GetTags() []string {
if m != nil {
return m.Tags
}
return nil
}
type CommunityAdminSettings struct {
PinMessageAllMembersEnabled bool `protobuf:"varint,1,opt,name=pin_message_all_members_enabled,json=pinMessageAllMembersEnabled,proto3" json:"pin_message_all_members_enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityAdminSettings) Reset() { *m = CommunityAdminSettings{} }
func (m *CommunityAdminSettings) String() string { return proto.CompactTextString(m) }
func (*CommunityAdminSettings) ProtoMessage() {}
func (*CommunityAdminSettings) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{4}
}
func (m *CommunityAdminSettings) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityAdminSettings.Unmarshal(m, b)
}
func (m *CommunityAdminSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityAdminSettings.Marshal(b, m, deterministic)
}
func (m *CommunityAdminSettings) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityAdminSettings.Merge(m, src)
}
func (m *CommunityAdminSettings) XXX_Size() int {
return xxx_messageInfo_CommunityAdminSettings.Size(m)
}
func (m *CommunityAdminSettings) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityAdminSettings.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityAdminSettings proto.InternalMessageInfo
func (m *CommunityAdminSettings) GetPinMessageAllMembersEnabled() bool {
if m != nil {
return m.PinMessageAllMembersEnabled
}
return false
}
type CommunityChat struct {
Members map[string]*CommunityMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
Identity *ChatIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
CategoryId string `protobuf:"bytes,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
Position int32 `protobuf:"varint,5,opt,name=position,proto3" json:"position,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityChat) Reset() { *m = CommunityChat{} }
func (m *CommunityChat) String() string { return proto.CompactTextString(m) }
func (*CommunityChat) ProtoMessage() {}
func (*CommunityChat) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{5}
}
func (m *CommunityChat) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityChat.Unmarshal(m, b)
}
func (m *CommunityChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityChat.Marshal(b, m, deterministic)
}
func (m *CommunityChat) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityChat.Merge(m, src)
}
func (m *CommunityChat) XXX_Size() int {
return xxx_messageInfo_CommunityChat.Size(m)
}
func (m *CommunityChat) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityChat.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityChat proto.InternalMessageInfo
func (m *CommunityChat) GetMembers() map[string]*CommunityMember {
if m != nil {
return m.Members
}
return nil
}
func (m *CommunityChat) GetPermissions() *CommunityPermissions {
if m != nil {
return m.Permissions
}
return nil
}
func (m *CommunityChat) GetIdentity() *ChatIdentity {
if m != nil {
return m.Identity
}
return nil
}
func (m *CommunityChat) GetCategoryId() string {
if m != nil {
return m.CategoryId
}
return ""
}
func (m *CommunityChat) GetPosition() int32 {
if m != nil {
return m.Position
}
return 0
}
type CommunityCategory struct {
CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Position int32 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityCategory) Reset() { *m = CommunityCategory{} }
func (m *CommunityCategory) String() string { return proto.CompactTextString(m) }
func (*CommunityCategory) ProtoMessage() {}
func (*CommunityCategory) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{6}
}
func (m *CommunityCategory) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityCategory.Unmarshal(m, b)
}
func (m *CommunityCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityCategory.Marshal(b, m, deterministic)
}
func (m *CommunityCategory) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityCategory.Merge(m, src)
}
func (m *CommunityCategory) XXX_Size() int {
return xxx_messageInfo_CommunityCategory.Size(m)
}
func (m *CommunityCategory) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityCategory.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityCategory proto.InternalMessageInfo
func (m *CommunityCategory) GetCategoryId() string {
if m != nil {
return m.CategoryId
}
return ""
}
func (m *CommunityCategory) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CommunityCategory) GetPosition() int32 {
if m != nil {
return m.Position
}
return 0
}
type CommunityInvitation struct {
CommunityDescription []byte `protobuf:"bytes,1,opt,name=community_description,json=communityDescription,proto3" json:"community_description,omitempty"`
Grant []byte `protobuf:"bytes,2,opt,name=grant,proto3" json:"grant,omitempty"`
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityInvitation) Reset() { *m = CommunityInvitation{} }
func (m *CommunityInvitation) String() string { return proto.CompactTextString(m) }
func (*CommunityInvitation) ProtoMessage() {}
func (*CommunityInvitation) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{7}
}
func (m *CommunityInvitation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityInvitation.Unmarshal(m, b)
}
func (m *CommunityInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityInvitation.Marshal(b, m, deterministic)
}
func (m *CommunityInvitation) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityInvitation.Merge(m, src)
}
func (m *CommunityInvitation) XXX_Size() int {
return xxx_messageInfo_CommunityInvitation.Size(m)
}
func (m *CommunityInvitation) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityInvitation.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityInvitation proto.InternalMessageInfo
func (m *CommunityInvitation) GetCommunityDescription() []byte {
if m != nil {
return m.CommunityDescription
}
return nil
}
func (m *CommunityInvitation) GetGrant() []byte {
if m != nil {
return m.Grant
}
return nil
}
func (m *CommunityInvitation) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *CommunityInvitation) GetPublicKey() []byte {
if m != nil {
return m.PublicKey
}
return nil
}
type CommunityRequestToJoin struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityRequestToJoin) Reset() { *m = CommunityRequestToJoin{} }
func (m *CommunityRequestToJoin) String() string { return proto.CompactTextString(m) }
func (*CommunityRequestToJoin) ProtoMessage() {}
func (*CommunityRequestToJoin) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{8}
}
func (m *CommunityRequestToJoin) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityRequestToJoin.Unmarshal(m, b)
}
func (m *CommunityRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityRequestToJoin.Marshal(b, m, deterministic)
}
func (m *CommunityRequestToJoin) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityRequestToJoin.Merge(m, src)
}
func (m *CommunityRequestToJoin) XXX_Size() int {
return xxx_messageInfo_CommunityRequestToJoin.Size(m)
}
func (m *CommunityRequestToJoin) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityRequestToJoin.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityRequestToJoin proto.InternalMessageInfo
func (m *CommunityRequestToJoin) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityRequestToJoin) GetEnsName() string {
if m != nil {
return m.EnsName
}
return ""
}
func (m *CommunityRequestToJoin) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *CommunityRequestToJoin) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *CommunityRequestToJoin) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
type CommunityCancelRequestToJoin struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityCancelRequestToJoin) Reset() { *m = CommunityCancelRequestToJoin{} }
func (m *CommunityCancelRequestToJoin) String() string { return proto.CompactTextString(m) }
func (*CommunityCancelRequestToJoin) ProtoMessage() {}
func (*CommunityCancelRequestToJoin) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{9}
}
func (m *CommunityCancelRequestToJoin) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityCancelRequestToJoin.Unmarshal(m, b)
}
func (m *CommunityCancelRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityCancelRequestToJoin.Marshal(b, m, deterministic)
}
func (m *CommunityCancelRequestToJoin) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityCancelRequestToJoin.Merge(m, src)
}
func (m *CommunityCancelRequestToJoin) XXX_Size() int {
return xxx_messageInfo_CommunityCancelRequestToJoin.Size(m)
}
func (m *CommunityCancelRequestToJoin) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityCancelRequestToJoin.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityCancelRequestToJoin proto.InternalMessageInfo
func (m *CommunityCancelRequestToJoin) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityCancelRequestToJoin) GetEnsName() string {
if m != nil {
return m.EnsName
}
return ""
}
func (m *CommunityCancelRequestToJoin) GetChatId() string {
if m != nil {
return m.ChatId
}
return ""
}
func (m *CommunityCancelRequestToJoin) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *CommunityCancelRequestToJoin) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
type CommunityRequestToJoinResponse struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
Community *CommunityDescription `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"`
Accepted bool `protobuf:"varint,3,opt,name=accepted,proto3" json:"accepted,omitempty"`
Grant []byte `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant,omitempty"`
CommunityId []byte `protobuf:"bytes,5,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
MagnetUri string `protobuf:"bytes,6,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityRequestToJoinResponse) Reset() { *m = CommunityRequestToJoinResponse{} }
func (m *CommunityRequestToJoinResponse) String() string { return proto.CompactTextString(m) }
func (*CommunityRequestToJoinResponse) ProtoMessage() {}
func (*CommunityRequestToJoinResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{10}
}
func (m *CommunityRequestToJoinResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityRequestToJoinResponse.Unmarshal(m, b)
}
func (m *CommunityRequestToJoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityRequestToJoinResponse.Marshal(b, m, deterministic)
}
func (m *CommunityRequestToJoinResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityRequestToJoinResponse.Merge(m, src)
}
func (m *CommunityRequestToJoinResponse) XXX_Size() int {
return xxx_messageInfo_CommunityRequestToJoinResponse.Size(m)
}
func (m *CommunityRequestToJoinResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityRequestToJoinResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityRequestToJoinResponse proto.InternalMessageInfo
func (m *CommunityRequestToJoinResponse) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityRequestToJoinResponse) GetCommunity() *CommunityDescription {
if m != nil {
return m.Community
}
return nil
}
func (m *CommunityRequestToJoinResponse) GetAccepted() bool {
if m != nil {
return m.Accepted
}
return false
}
func (m *CommunityRequestToJoinResponse) GetGrant() []byte {
if m != nil {
return m.Grant
}
return nil
}
func (m *CommunityRequestToJoinResponse) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
func (m *CommunityRequestToJoinResponse) GetMagnetUri() string {
if m != nil {
return m.MagnetUri
}
return ""
}
type CommunityRequestToLeave struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
CommunityId []byte `protobuf:"bytes,2,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityRequestToLeave) Reset() { *m = CommunityRequestToLeave{} }
func (m *CommunityRequestToLeave) String() string { return proto.CompactTextString(m) }
func (*CommunityRequestToLeave) ProtoMessage() {}
func (*CommunityRequestToLeave) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{11}
}
func (m *CommunityRequestToLeave) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityRequestToLeave.Unmarshal(m, b)
}
func (m *CommunityRequestToLeave) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityRequestToLeave.Marshal(b, m, deterministic)
}
func (m *CommunityRequestToLeave) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityRequestToLeave.Merge(m, src)
}
func (m *CommunityRequestToLeave) XXX_Size() int {
return xxx_messageInfo_CommunityRequestToLeave.Size(m)
}
func (m *CommunityRequestToLeave) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityRequestToLeave.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityRequestToLeave proto.InternalMessageInfo
func (m *CommunityRequestToLeave) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityRequestToLeave) GetCommunityId() []byte {
if m != nil {
return m.CommunityId
}
return nil
}
type CommunityMessageArchiveMagnetlink struct {
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
MagnetUri string `protobuf:"bytes,2,opt,name=magnet_uri,json=magnetUri,proto3" json:"magnet_uri,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CommunityMessageArchiveMagnetlink) Reset() { *m = CommunityMessageArchiveMagnetlink{} }
func (m *CommunityMessageArchiveMagnetlink) String() string { return proto.CompactTextString(m) }
func (*CommunityMessageArchiveMagnetlink) ProtoMessage() {}
func (*CommunityMessageArchiveMagnetlink) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{12}
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Unmarshal(m, b)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Marshal(b, m, deterministic)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Merge(src proto.Message) {
xxx_messageInfo_CommunityMessageArchiveMagnetlink.Merge(m, src)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_Size() int {
return xxx_messageInfo_CommunityMessageArchiveMagnetlink.Size(m)
}
func (m *CommunityMessageArchiveMagnetlink) XXX_DiscardUnknown() {
xxx_messageInfo_CommunityMessageArchiveMagnetlink.DiscardUnknown(m)
}
var xxx_messageInfo_CommunityMessageArchiveMagnetlink proto.InternalMessageInfo
func (m *CommunityMessageArchiveMagnetlink) GetClock() uint64 {
if m != nil {
return m.Clock
}
return 0
}
func (m *CommunityMessageArchiveMagnetlink) GetMagnetUri() string {
if m != nil {
return m.MagnetUri
}
return ""
}
type WakuMessage struct {
Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Topic []byte `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
Padding []byte `protobuf:"bytes,5,opt,name=padding,proto3" json:"padding,omitempty"`
Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
ThirdPartyId string `protobuf:"bytes,7,opt,name=thirdPartyId,proto3" json:"thirdPartyId,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessage) Reset() { *m = WakuMessage{} }
func (m *WakuMessage) String() string { return proto.CompactTextString(m) }
func (*WakuMessage) ProtoMessage() {}
func (*WakuMessage) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{13}
}
func (m *WakuMessage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessage.Unmarshal(m, b)
}
func (m *WakuMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessage.Marshal(b, m, deterministic)
}
func (m *WakuMessage) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessage.Merge(m, src)
}
func (m *WakuMessage) XXX_Size() int {
return xxx_messageInfo_WakuMessage.Size(m)
}
func (m *WakuMessage) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessage.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessage proto.InternalMessageInfo
func (m *WakuMessage) GetSig() []byte {
if m != nil {
return m.Sig
}
return nil
}
func (m *WakuMessage) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *WakuMessage) GetTopic() []byte {
if m != nil {
return m.Topic
}
return nil
}
func (m *WakuMessage) GetPayload() []byte {
if m != nil {
return m.Payload
}
return nil
}
func (m *WakuMessage) GetPadding() []byte {
if m != nil {
return m.Padding
}
return nil
}
func (m *WakuMessage) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
func (m *WakuMessage) GetThirdPartyId() string {
if m != nil {
return m.ThirdPartyId
}
return ""
}
type WakuMessageArchiveMetadata struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
ContentTopic [][]byte `protobuf:"bytes,4,rep,name=contentTopic,proto3" json:"contentTopic,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchiveMetadata) Reset() { *m = WakuMessageArchiveMetadata{} }
func (m *WakuMessageArchiveMetadata) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchiveMetadata) ProtoMessage() {}
func (*WakuMessageArchiveMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{14}
}
func (m *WakuMessageArchiveMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchiveMetadata.Unmarshal(m, b)
}
func (m *WakuMessageArchiveMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchiveMetadata.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchiveMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchiveMetadata.Merge(m, src)
}
func (m *WakuMessageArchiveMetadata) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchiveMetadata.Size(m)
}
func (m *WakuMessageArchiveMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchiveMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchiveMetadata proto.InternalMessageInfo
func (m *WakuMessageArchiveMetadata) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *WakuMessageArchiveMetadata) GetFrom() uint64 {
if m != nil {
return m.From
}
return 0
}
func (m *WakuMessageArchiveMetadata) GetTo() uint64 {
if m != nil {
return m.To
}
return 0
}
func (m *WakuMessageArchiveMetadata) GetContentTopic() [][]byte {
if m != nil {
return m.ContentTopic
}
return nil
}
type WakuMessageArchive struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Messages []*WakuMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchive) Reset() { *m = WakuMessageArchive{} }
func (m *WakuMessageArchive) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchive) ProtoMessage() {}
func (*WakuMessageArchive) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{15}
}
func (m *WakuMessageArchive) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchive.Unmarshal(m, b)
}
func (m *WakuMessageArchive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchive.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchive) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchive.Merge(m, src)
}
func (m *WakuMessageArchive) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchive.Size(m)
}
func (m *WakuMessageArchive) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchive.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchive proto.InternalMessageInfo
func (m *WakuMessageArchive) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *WakuMessageArchive) GetMetadata() *WakuMessageArchiveMetadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *WakuMessageArchive) GetMessages() []*WakuMessage {
if m != nil {
return m.Messages
}
return nil
}
type WakuMessageArchiveIndexMetadata struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Metadata *WakuMessageArchiveMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
Padding uint64 `protobuf:"varint,5,opt,name=padding,proto3" json:"padding,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchiveIndexMetadata) Reset() { *m = WakuMessageArchiveIndexMetadata{} }
func (m *WakuMessageArchiveIndexMetadata) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchiveIndexMetadata) ProtoMessage() {}
func (*WakuMessageArchiveIndexMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{16}
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Unmarshal(m, b)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchiveIndexMetadata.Merge(m, src)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchiveIndexMetadata.Size(m)
}
func (m *WakuMessageArchiveIndexMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchiveIndexMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchiveIndexMetadata proto.InternalMessageInfo
func (m *WakuMessageArchiveIndexMetadata) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *WakuMessageArchiveIndexMetadata) GetMetadata() *WakuMessageArchiveMetadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *WakuMessageArchiveIndexMetadata) GetOffset() uint64 {
if m != nil {
return m.Offset
}
return 0
}
func (m *WakuMessageArchiveIndexMetadata) GetSize() uint64 {
if m != nil {
return m.Size
}
return 0
}
func (m *WakuMessageArchiveIndexMetadata) GetPadding() uint64 {
if m != nil {
return m.Padding
}
return 0
}
type WakuMessageArchiveIndex struct {
Archives map[string]*WakuMessageArchiveIndexMetadata `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WakuMessageArchiveIndex) Reset() { *m = WakuMessageArchiveIndex{} }
func (m *WakuMessageArchiveIndex) String() string { return proto.CompactTextString(m) }
func (*WakuMessageArchiveIndex) ProtoMessage() {}
func (*WakuMessageArchiveIndex) Descriptor() ([]byte, []int) {
return fileDescriptor_f937943d74c1cd8b, []int{17}
}
func (m *WakuMessageArchiveIndex) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WakuMessageArchiveIndex.Unmarshal(m, b)
}
func (m *WakuMessageArchiveIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WakuMessageArchiveIndex.Marshal(b, m, deterministic)
}
func (m *WakuMessageArchiveIndex) XXX_Merge(src proto.Message) {
xxx_messageInfo_WakuMessageArchiveIndex.Merge(m, src)
}
func (m *WakuMessageArchiveIndex) XXX_Size() int {
return xxx_messageInfo_WakuMessageArchiveIndex.Size(m)
}
func (m *WakuMessageArchiveIndex) XXX_DiscardUnknown() {
xxx_messageInfo_WakuMessageArchiveIndex.DiscardUnknown(m)
}
var xxx_messageInfo_WakuMessageArchiveIndex proto.InternalMessageInfo
func (m *WakuMessageArchiveIndex) GetArchives() map[string]*WakuMessageArchiveIndexMetadata {
if m != nil {
return m.Archives
}
return nil
}
func init() {
proto.RegisterEnum("protobuf.CommunityMember_Roles", CommunityMember_Roles_name, CommunityMember_Roles_value)
proto.RegisterEnum("protobuf.CommunityPermissions_Access", CommunityPermissions_Access_name, CommunityPermissions_Access_value)
proto.RegisterType((*Grant)(nil), "protobuf.Grant")
proto.RegisterType((*CommunityMember)(nil), "protobuf.CommunityMember")
proto.RegisterType((*CommunityPermissions)(nil), "protobuf.CommunityPermissions")
proto.RegisterType((*CommunityDescription)(nil), "protobuf.CommunityDescription")
proto.RegisterMapType((map[string]*CommunityCategory)(nil), "protobuf.CommunityDescription.CategoriesEntry")
proto.RegisterMapType((map[string]*CommunityChat)(nil), "protobuf.CommunityDescription.ChatsEntry")
proto.RegisterMapType((map[string]*CommunityMember)(nil), "protobuf.CommunityDescription.MembersEntry")
proto.RegisterType((*CommunityAdminSettings)(nil), "protobuf.CommunityAdminSettings")
proto.RegisterType((*CommunityChat)(nil), "protobuf.CommunityChat")
proto.RegisterMapType((map[string]*CommunityMember)(nil), "protobuf.CommunityChat.MembersEntry")
proto.RegisterType((*CommunityCategory)(nil), "protobuf.CommunityCategory")
proto.RegisterType((*CommunityInvitation)(nil), "protobuf.CommunityInvitation")
proto.RegisterType((*CommunityRequestToJoin)(nil), "protobuf.CommunityRequestToJoin")
proto.RegisterType((*CommunityCancelRequestToJoin)(nil), "protobuf.CommunityCancelRequestToJoin")
proto.RegisterType((*CommunityRequestToJoinResponse)(nil), "protobuf.CommunityRequestToJoinResponse")
proto.RegisterType((*CommunityRequestToLeave)(nil), "protobuf.CommunityRequestToLeave")
proto.RegisterType((*CommunityMessageArchiveMagnetlink)(nil), "protobuf.CommunityMessageArchiveMagnetlink")
proto.RegisterType((*WakuMessage)(nil), "protobuf.WakuMessage")
proto.RegisterType((*WakuMessageArchiveMetadata)(nil), "protobuf.WakuMessageArchiveMetadata")
proto.RegisterType((*WakuMessageArchive)(nil), "protobuf.WakuMessageArchive")
proto.RegisterType((*WakuMessageArchiveIndexMetadata)(nil), "protobuf.WakuMessageArchiveIndexMetadata")
proto.RegisterType((*WakuMessageArchiveIndex)(nil), "protobuf.WakuMessageArchiveIndex")
proto.RegisterMapType((map[string]*WakuMessageArchiveIndexMetadata)(nil), "protobuf.WakuMessageArchiveIndex.ArchivesEntry")
}
func init() {
proto.RegisterFile("communities.proto", fileDescriptor_f937943d74c1cd8b)
}
var fileDescriptor_f937943d74c1cd8b = []byte{
// 1404 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45,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