2020-07-25 11:13:23 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: enums.proto
|
|
|
|
|
|
|
|
package protobuf
|
|
|
|
|
|
|
|
import (
|
2023-08-22 17:48:42 +00:00
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
2020-07-25 11:13:23 +00:00
|
|
|
)
|
|
|
|
|
2023-08-22 17:48:42 +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
|
2020-07-25 11:13:23 +00:00
|
|
|
|
|
|
|
type MessageType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
MessageType_UNKNOWN_MESSAGE_TYPE MessageType = 0
|
|
|
|
MessageType_ONE_TO_ONE MessageType = 1
|
|
|
|
MessageType_PUBLIC_GROUP MessageType = 2
|
|
|
|
MessageType_PRIVATE_GROUP MessageType = 3
|
|
|
|
// Only local
|
|
|
|
MessageType_SYSTEM_MESSAGE_PRIVATE_GROUP MessageType = 4
|
2020-11-18 09:16:51 +00:00
|
|
|
MessageType_COMMUNITY_CHAT MessageType = 5
|
2021-03-25 15:15:22 +00:00
|
|
|
// Only local
|
|
|
|
MessageType_SYSTEM_MESSAGE_GAP MessageType = 6
|
2020-07-25 11:13:23 +00:00
|
|
|
)
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
var MessageType_name = map[int32]string{
|
|
|
|
0: "UNKNOWN_MESSAGE_TYPE",
|
|
|
|
1: "ONE_TO_ONE",
|
|
|
|
2: "PUBLIC_GROUP",
|
|
|
|
3: "PRIVATE_GROUP",
|
|
|
|
4: "SYSTEM_MESSAGE_PRIVATE_GROUP",
|
|
|
|
5: "COMMUNITY_CHAT",
|
|
|
|
6: "SYSTEM_MESSAGE_GAP",
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
var MessageType_value = map[string]int32{
|
|
|
|
"UNKNOWN_MESSAGE_TYPE": 0,
|
|
|
|
"ONE_TO_ONE": 1,
|
|
|
|
"PUBLIC_GROUP": 2,
|
|
|
|
"PRIVATE_GROUP": 3,
|
|
|
|
"SYSTEM_MESSAGE_PRIVATE_GROUP": 4,
|
|
|
|
"COMMUNITY_CHAT": 5,
|
|
|
|
"SYSTEM_MESSAGE_GAP": 6,
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
func (x MessageType) String() string {
|
|
|
|
return proto.EnumName(MessageType_name, int32(x))
|
2020-07-25 11:13:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (MessageType) EnumDescriptor() ([]byte, []int) {
|
2023-08-22 17:48:42 +00:00
|
|
|
return fileDescriptor_888b6bd9597961ff, []int{0}
|
2020-07-25 11:13:23 +00:00
|
|
|
}
|
|
|
|
|
2020-10-22 13:19:25 +00:00
|
|
|
type ImageType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
ImageType_UNKNOWN_IMAGE_TYPE ImageType = 0
|
|
|
|
// Raster image files is payload data that can be read as a raster image
|
|
|
|
ImageType_PNG ImageType = 1
|
|
|
|
ImageType_JPEG ImageType = 2
|
|
|
|
ImageType_WEBP ImageType = 3
|
|
|
|
ImageType_GIF ImageType = 4
|
|
|
|
)
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
var ImageType_name = map[int32]string{
|
|
|
|
0: "UNKNOWN_IMAGE_TYPE",
|
|
|
|
1: "PNG",
|
|
|
|
2: "JPEG",
|
|
|
|
3: "WEBP",
|
|
|
|
4: "GIF",
|
2020-10-22 13:19:25 +00:00
|
|
|
}
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
var ImageType_value = map[string]int32{
|
|
|
|
"UNKNOWN_IMAGE_TYPE": 0,
|
|
|
|
"PNG": 1,
|
|
|
|
"JPEG": 2,
|
|
|
|
"WEBP": 3,
|
|
|
|
"GIF": 4,
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
func (x ImageType) String() string {
|
|
|
|
return proto.EnumName(ImageType_name, int32(x))
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
|
|
|
|
2020-10-22 13:19:25 +00:00
|
|
|
func (ImageType) EnumDescriptor() ([]byte, []int) {
|
2023-08-22 17:48:42 +00:00
|
|
|
return fileDescriptor_888b6bd9597961ff, []int{1}
|
2020-10-22 13:19:25 +00:00
|
|
|
}
|
|
|
|
|
2023-03-02 16:19:19 +00:00
|
|
|
type CommunityTokenType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
CommunityTokenType_UNKNOWN_TOKEN_TYPE CommunityTokenType = 0
|
|
|
|
CommunityTokenType_ERC20 CommunityTokenType = 1
|
|
|
|
CommunityTokenType_ERC721 CommunityTokenType = 2
|
|
|
|
CommunityTokenType_ENS CommunityTokenType = 3
|
|
|
|
)
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
var CommunityTokenType_name = map[int32]string{
|
|
|
|
0: "UNKNOWN_TOKEN_TYPE",
|
|
|
|
1: "ERC20",
|
|
|
|
2: "ERC721",
|
|
|
|
3: "ENS",
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
var CommunityTokenType_value = map[string]int32{
|
|
|
|
"UNKNOWN_TOKEN_TYPE": 0,
|
|
|
|
"ERC20": 1,
|
|
|
|
"ERC721": 2,
|
|
|
|
"ENS": 3,
|
2023-03-02 16:19:19 +00:00
|
|
|
}
|
|
|
|
|
2023-08-22 17:48:42 +00:00
|
|
|
func (x CommunityTokenType) String() string {
|
|
|
|
return proto.EnumName(CommunityTokenType_name, int32(x))
|
2023-08-18 11:39:59 +00:00
|
|
|
}
|
|
|
|
|
2023-03-02 16:19:19 +00:00
|
|
|
func (CommunityTokenType) EnumDescriptor() ([]byte, []int) {
|
2023-08-22 17:48:42 +00:00
|
|
|
return fileDescriptor_888b6bd9597961ff, []int{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value)
|
|
|
|
proto.RegisterEnum("protobuf.ImageType", ImageType_name, ImageType_value)
|
|
|
|
proto.RegisterEnum("protobuf.CommunityTokenType", CommunityTokenType_name, CommunityTokenType_value)
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("enums.proto", fileDescriptor_888b6bd9597961ff)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_888b6bd9597961ff = []byte{
|
|
|
|
// 286 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x4d, 0x4f, 0xc2, 0x40,
|
|
|
|
0x10, 0x86, 0x2d, 0xe5, 0x73, 0x10, 0x32, 0x4e, 0x0c, 0xf1, 0xe0, 0xc1, 0x33, 0x07, 0x54, 0x3c,
|
|
|
|
0x78, 0xf0, 0x54, 0x9a, 0xb1, 0xae, 0xb0, 0x1f, 0x69, 0xb7, 0x12, 0xbc, 0x6c, 0x24, 0xa9, 0xc6,
|
|
|
|
0x98, 0x52, 0x22, 0x70, 0xe0, 0x2f, 0xf9, 0x2b, 0x0d, 0xc4, 0x1a, 0xe5, 0x34, 0x6f, 0x26, 0x33,
|
|
|
|
0x4f, 0x9e, 0xbc, 0xd0, 0xce, 0x16, 0x9b, 0x7c, 0x35, 0x58, 0x7e, 0x16, 0xeb, 0x82, 0x9a, 0xfb,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