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

163 lines
5.5 KiB
Go
Raw Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: enums.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 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
MessageType_COMMUNITY_CHAT MessageType = 5
2021-03-25 15:15:22 +00:00
// Only local
MessageType_SYSTEM_MESSAGE_GAP MessageType = 6
)
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",
}
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,
}
func (x MessageType) String() string {
return proto.EnumName(MessageType_name, int32(x))
}
func (MessageType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_888b6bd9597961ff, []int{0}
}
type ImageFormat int32
const (
ImageFormat_UNKNOWN_IMAGE_FORMAT ImageFormat = 0
// Raster image files is payload data that can be read as a raster image
ImageFormat_PNG ImageFormat = 1
ImageFormat_JPEG ImageFormat = 2
ImageFormat_WEBP ImageFormat = 3
ImageFormat_GIF ImageFormat = 4
)
var ImageFormat_name = map[int32]string{
0: "UNKNOWN_IMAGE_FORMAT",
1: "PNG",
2: "JPEG",
3: "WEBP",
4: "GIF",
}
var ImageFormat_value = map[string]int32{
"UNKNOWN_IMAGE_FORMAT": 0,
"PNG": 1,
"JPEG": 2,
"WEBP": 3,
"GIF": 4,
}
func (x ImageFormat) String() string {
return proto.EnumName(ImageFormat_name, int32(x))
}
func (ImageFormat) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_888b6bd9597961ff, []int{1}
}
type CommunityTokenType int32
const (
CommunityTokenType_UNKNOWN_TOKEN_TYPE CommunityTokenType = 0
CommunityTokenType_ERC20 CommunityTokenType = 1
CommunityTokenType_ERC721 CommunityTokenType = 2
CommunityTokenType_ENS CommunityTokenType = 3
)
var CommunityTokenType_name = map[int32]string{
0: "UNKNOWN_TOKEN_TYPE",
1: "ERC20",
2: "ERC721",
3: "ENS",
}
var CommunityTokenType_value = map[string]int32{
"UNKNOWN_TOKEN_TYPE": 0,
"ERC20": 1,
"ERC721": 2,
"ENS": 3,
}
func (x CommunityTokenType) String() string {
return proto.EnumName(CommunityTokenType_name, int32(x))
}
func (CommunityTokenType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_888b6bd9597961ff, []int{2}
}
func init() {
proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value)
proto.RegisterEnum("protobuf.ImageFormat", ImageFormat_name, ImageFormat_value)
proto.RegisterEnum("protobuf.CommunityTokenType", CommunityTokenType_name, CommunityTokenType_value)
}
func init() {
proto.RegisterFile("enums.proto", fileDescriptor_888b6bd9597961ff)
}
var fileDescriptor_888b6bd9597961ff = []byte{
// 302 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x4b, 0x4f, 0xfa, 0x50,
0x10, 0x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