// 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 ) 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", } 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, } func (x MessageType) String() string { return proto.EnumName(MessageType_name, int32(x)) } func (MessageType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_888b6bd9597961ff, []int{0} } 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} } func init() { proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value) proto.RegisterEnum("protobuf.ImageType", ImageType_name, ImageType_value) } func init() { proto.RegisterFile("enums.proto", fileDescriptor_888b6bd9597961ff) } var fileDescriptor_888b6bd9597961ff = []byte{ // 223 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xbd, 0x4e, 0xc3, 0x40, 0x10, 0x84, 0x71, 0x6c, 0x48, 0xd8, 0x40, 0xb4, 0xac, 0x10, 0xa2, 0xa0, 0xa0, 0x4e, 0x41, 0xc3, 0x13, 0x38, 0xd6, 0x72, 0x1c, 0x70, 0x3f, 0xca, 0xdd, 0x11, 0xb9, 0x3a, 0x11, 0xe9, 0xa0, 0x0a, 0x89, 0x30, 0x2e, 0x78, 0x0d, 0x9e, 0x18, 0xd9, 0xc2, 0x88, 0x54, 0xbb, 0x1a, 0x8d, 0x66, 0xbe, 0x81, 0x69, 0x7a, 0x6f, 0x37, 0xcd, 0xcd, 0xee, 0x63, 0xfb, 0xb9, 0xa5, 0x49, 0x7f, 0xd6, 0xed, 0xeb, 0xfc, 0x3b, 0x83, 0xa9, 0x4a, 0x4d, 0xf3, 0xf2, 0x96, 0xfc, 0xd7, 0x2e, 0xd1, 0x25, 0x9c, 0x07, 0xfd, 0xa8, 0xcd, 0x4a, 0x47, 0xc5, 0xce, 0x95, 0x82, 0xa3, 0xaf, 0x2d, 0xe3, 0x01, 0xcd, 0x00, 0x8c, 0xe6, 0xe8, 0x4d, 0x34, 0x9a, 0x31, 0x23, 0x84, 0x13, 0x1b, 0x16, 0x4f, 0xb2, 0x8a, 0x62, 0x69, 0x82, 0xc5, 0x11, 0x9d, 0xc1, 0xa9, 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