2023-07-04 13:48:52 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: url_data.proto
|
|
|
|
|
|
|
|
package protobuf
|
|
|
|
|
|
|
|
import (
|
2023-10-22 09:41:20 +00:00
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
2023-07-04 13:48:52 +00:00
|
|
|
)
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
// 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
|
2023-07-04 13:48:52 +00:00
|
|
|
|
|
|
|
type Community struct {
|
2023-10-22 09:41:20 +00:00
|
|
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
|
|
MembersCount uint32 `protobuf:"varint,3,opt,name=members_count,json=membersCount,proto3" json:"members_count,omitempty"`
|
|
|
|
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
|
|
|
|
TagIndices []uint32 `protobuf:"varint,5,rep,packed,name=tag_indices,json=tagIndices,proto3" json:"tag_indices,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Community) Reset() { *m = Community{} }
|
|
|
|
func (m *Community) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Community) ProtoMessage() {}
|
|
|
|
func (*Community) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_5f1e15b5f0115710, []int{0}
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Community.Unmarshal(m, b)
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Community.Marshal(b, m, deterministic)
|
2023-08-22 17:48:42 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Community.Merge(m, src)
|
2023-07-05 17:35:22 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Community.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Community) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Community.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Community proto.InternalMessageInfo
|
2023-07-04 13:48:52 +00:00
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) GetDescription() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Description
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) GetMembersCount() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MembersCount
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) GetColor() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Color
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Community) GetTagIndices() []uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TagIndices
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Channel struct {
|
2023-10-22 09:41:20 +00:00
|
|
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
|
|
Emoji string `protobuf:"bytes,3,opt,name=emoji,proto3" json:"emoji,omitempty"`
|
|
|
|
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
|
|
|
|
Community *Community `protobuf:"bytes,5,opt,name=community,proto3" json:"community,omitempty"`
|
|
|
|
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Channel) Reset() { *m = Channel{} }
|
|
|
|
func (m *Channel) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Channel) ProtoMessage() {}
|
|
|
|
func (*Channel) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_5f1e15b5f0115710, []int{1}
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Channel.Unmarshal(m, b)
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Channel.Marshal(b, m, deterministic)
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Channel.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Channel) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Channel.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Channel) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Channel.DiscardUnknown(m)
|
2023-07-05 17:35:22 +00:00
|
|
|
}
|
2023-08-22 17:48:42 +00:00
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
var xxx_messageInfo_Channel proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Channel) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) GetDescription() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Description
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) GetEmoji() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Emoji
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) GetColor() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Color
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) GetCommunity() *Community {
|
|
|
|
if m != nil {
|
|
|
|
return m.Community
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *Channel) GetUuid() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Uuid
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type User struct {
|
2023-10-22 09:41:20 +00:00
|
|
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
|
|
Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
2023-08-18 11:39:59 +00:00
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) Reset() { *m = User{} }
|
|
|
|
func (m *User) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*User) ProtoMessage() {}
|
|
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_5f1e15b5f0115710, []int{2}
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
2023-07-05 17:35:22 +00:00
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_User.Unmarshal(m, b)
|
2023-08-22 17:48:42 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_User.Marshal(b, m, deterministic)
|
2023-08-22 17:48:42 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_User.Merge(m, src)
|
2023-07-05 17:35:22 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_User.Size(m)
|
|
|
|
}
|
|
|
|
func (m *User) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_User.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_User proto.InternalMessageInfo
|
2023-07-04 13:48:52 +00:00
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) GetDescription() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Description
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *User) GetColor() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Color
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type URLData struct {
|
|
|
|
// Community, Channel, or User
|
2023-10-22 09:41:20 +00:00
|
|
|
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
|
Shard *Shard `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *URLData) Reset() { *m = URLData{} }
|
|
|
|
func (m *URLData) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*URLData) ProtoMessage() {}
|
|
|
|
func (*URLData) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_5f1e15b5f0115710, []int{3}
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *URLData) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_URLData.Unmarshal(m, b)
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *URLData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_URLData.Marshal(b, m, deterministic)
|
2023-08-22 17:48:42 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *URLData) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_URLData.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *URLData) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_URLData.Size(m)
|
2023-07-05 17:35:22 +00:00
|
|
|
}
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *URLData) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_URLData.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_URLData proto.InternalMessageInfo
|
2023-07-04 13:48:52 +00:00
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *URLData) GetContent() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Content
|
2023-07-04 13:48:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func (m *URLData) GetShard() *Shard {
|
|
|
|
if m != nil {
|
|
|
|
return m.Shard
|
2023-10-12 19:21:49 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-10-22 09:41:20 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Community)(nil), "protobuf.Community")
|
|
|
|
proto.RegisterType((*Channel)(nil), "protobuf.Channel")
|
|
|
|
proto.RegisterType((*User)(nil), "protobuf.User")
|
|
|
|
proto.RegisterType((*URLData)(nil), "protobuf.URLData")
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("url_data.proto", fileDescriptor_5f1e15b5f0115710)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_5f1e15b5f0115710 = []byte{
|
|
|
|
// 321 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xb1, 0x4e, 0xc3, 0x30,
|
|
|
|
0x10, 0x40, 0x15, 0xda, 0xb4, 0xe4, 0xdc, 0x80, 0x64, 0x3a, 0x58, 0x2c, 0x84, 0x20, 0xa4, 0x4c,
|
|
|
|
0x41, 0x94, 0x91, 0x8d, 0xb2, 0x80, 0x10, 0x83, 0x51, 0x17, 0x96, 0xc8, 0x4d, 0x4c, 0x6b, 0x14,
|
|
|
|
0xdb, 0x95, 0xe3, 0x0c, 0xfd, 0x27, 0x7e, 0x82, 0x3f, 0x43, 0xb5, 0x1b, 0xc2, 0xc2, 0xd6, 0xc9,
|
|
|
|
0x77, 0xef, 0x4e, 0xe7, 0xe7, 0x93, 0xe1, 0xa4, 0x35, 0x75, 0x51, 0x31, 0xcb, 0xf2, 0x8d, 0xd1,
|
|
|
|
0x56, 0xe3, 0x63, 0x77, 0x2c, 0xdb, 0x8f, 0x73, 0xd4, 0xac, 0x99, 0xa9, 0x3c, 0x4e, 0xbf, 0x02,
|
|
|
|
0x88, 0xe6, 0x5a, 0xca, 0x56, 0x09, 0xbb, 0xc5, 0x97, 0x30, 0xa9, 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