2023-07-04 13:48:52 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: url_data.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 Community struct {
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Community) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Community.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Community) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Community.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Community) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Community.Merge(m, src)
|
|
|
|
}
|
|
|
|
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
|
|
|
|
|
|
|
|
func (m *Community) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Community) GetDescription() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Description
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Community) GetMembersCount() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.MembersCount
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Community) GetColor() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Color
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Community) GetTagIndices() []uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.TagIndices
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Channel struct {
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Channel) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Channel.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Channel.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Channel proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Channel) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Channel) GetDescription() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Description
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Channel) GetEmoji() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Emoji
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Channel) GetColor() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Color
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Channel) GetCommunity() *Community {
|
|
|
|
if m != nil {
|
|
|
|
return m.Community
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Channel) GetUuid() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Uuid
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type User struct {
|
|
|
|
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:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_User.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_User.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *User) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_User.Merge(m, src)
|
|
|
|
}
|
|
|
|
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
|
|
|
|
|
|
|
|
func (m *User) GetDisplayName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.DisplayName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) GetDescription() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Description
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *User) GetColor() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Color
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type URLData struct {
|
|
|
|
// Community, Channel, or User
|
|
|
|
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *URLData) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_URLData.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *URLData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_URLData.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
func (m *URLData) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_URLData.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_URLData proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *URLData) GetContent() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Content
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
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{
|
2023-08-14 10:25:42 +00:00
|
|
|
// 295 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x90, 0xb1, 0x4e, 0xeb, 0x30,
|
|
|
|
0x14, 0x86, 0xe5, 0xdb, 0xa6, 0xbd, 0x39, 0x69, 0x18, 0x4c, 0x07, 0x6f, 0x84, 0x74, 0xc9, 0x14,
|
|
|
|
0x04, 0x8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