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

128 lines
4.2 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",
2021-03-25 15:15:22 +00:00
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,
2021-03-25 15:15:22 +00:00
"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 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{
// 241 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0xd0, 0xbd, 0x4e, 0xc3, 0x40,
0x0c, 0x07, 0x70, 0xd2, 0x84, 0xb6, 0x38, 0xb4, 0x32, 0x16, 0xaa, 0x18, 0x18, 0x98, 0x3b, 0x94,
0x81, 0x91, 0x29, 0x89, 0xcc, 0x71, 0xc0, 0x7d, 0xa8, 0xb9, 0x50, 0x85, 0xe5, 0x44, 0xa5, 0x83,
0xa9, 0xb4, 0x22, 0x74, 0xe0, 0x95, 0x78, 0x4a, 0xd4, 0x88, 0x20, 0xe8, 0xe4, 0xbf, 0x2c, 0xdb,
0xfa, 0xc9, 0x90, 0x86, 0xb7, 0xed, 0xaa, 0x99, 0x6d, 0xde, 0xd7, 0x1f, 0x6b, 0x1a, 0xb6, 0x65,
0xb9, 0x7d, 0x99, 0x7e, 0x45, 0x90, 0xaa, 0xd0, 0x34, 0xcf, 0xaf, 0xc1, 0x7d, 0x6e, 0x02, 0x9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