2020-07-25 11:13:23 +00:00
|
|
|
// 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
|
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
|
|
|
)
|
|
|
|
|
|
|
|
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",
|
2020-11-18 09:16:51 +00:00
|
|
|
5: "COMMUNITY_CHAT",
|
2021-03-25 15:15:22 +00:00
|
|
|
6: "SYSTEM_MESSAGE_GAP",
|
2020-07-25 11:13:23 +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,
|
2020-11-18 09:16:51 +00:00
|
|
|
"COMMUNITY_CHAT": 5,
|
2021-03-25 15:15:22 +00:00
|
|
|
"SYSTEM_MESSAGE_GAP": 6,
|
2020-07-25 11:13:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x MessageType) String() string {
|
|
|
|
return proto.EnumName(MessageType_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (MessageType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_888b6bd9597961ff, []int{0}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
var ImageType_name = map[int32]string{
|
|
|
|
0: "UNKNOWN_IMAGE_TYPE",
|
|
|
|
1: "PNG",
|
|
|
|
2: "JPEG",
|
|
|
|
3: "WEBP",
|
|
|
|
4: "GIF",
|
|
|
|
}
|
|
|
|
|
|
|
|
var ImageType_value = map[string]int32{
|
|
|
|
"UNKNOWN_IMAGE_TYPE": 0,
|
|
|
|
"PNG": 1,
|
|
|
|
"JPEG": 2,
|
|
|
|
"WEBP": 3,
|
|
|
|
"GIF": 4,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x ImageType) String() string {
|
|
|
|
return proto.EnumName(ImageType_name, int32(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ImageType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_888b6bd9597961ff, []int{1}
|
|
|
|
}
|
|
|
|
|
2020-07-25 11:13:23 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value)
|
2020-10-22 13:19:25 +00:00
|
|
|
proto.RegisterEnum("protobuf.ImageType", ImageType_name, ImageType_value)
|
2020-07-25 11:13:23 +00:00
|
|
|
}
|
|
|
|
|
2020-11-16 18:31:34 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("enums.proto", fileDescriptor_888b6bd9597961ff)
|
|
|
|
}
|
2020-07-25 11:13:23 +00:00
|
|
|
|
|
|
|
var fileDescriptor_888b6bd9597961ff = []byte{
|
2021-03-25 15:15:22 +00:00
|
|
|
// 232 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0xd0, 0xcd, 0x4e, 0x02, 0x41,
|
|
|
|
0x0c, 0x07, 0x70, 0x97, 0x5d, 0x01, 0x8b, 0x92, 0xda, 0x18, 0xe2, 0xc1, 0x83, 0x67, 0x0e, 0x5e,
|
|
|
|
0x7c, 0x82, 0x61, 0x53, 0xc7, 0x51, 0xe7, 0x23, 0xcc, 0x8c, 0x64, 0x4f, 0x13, 0x49, 0x46, 0x4f,
|
|
|
|
0x08, 0x71, 0xe5, 0xe0, 0x2b, 0xf9, 0x94, 0x06, 0xe2, 0x1a, 0xf5, 0xd4, 0xa6, 0x69, 0x9b, 0x5f,
|
|
|
|
0xfe, 0x30, 0xca, 0xaf, 0xdb, 0x55, 0x7b, 0xb5, 0x79, 0x5b, 0xbf, 0xaf, 0x69, 0xb8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