77 lines
2.7 KiB
Go
77 lines
2.7 KiB
Go
|
// 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
|
||
|
)
|
||
|
|
||
|
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",
|
||
|
}
|
||
|
|
||
|
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,
|
||
|
}
|
||
|
|
||
|
func (x MessageType) String() string {
|
||
|
return proto.EnumName(MessageType_name, int32(x))
|
||
|
}
|
||
|
|
||
|
func (MessageType) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_888b6bd9597961ff, []int{0}
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterEnum("protobuf.MessageType", MessageType_name, MessageType_value)
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("enums.proto", fileDescriptor_888b6bd9597961ff) }
|
||
|
|
||
|
var fileDescriptor_888b6bd9597961ff = []byte{
|
||
|
// 153 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4e, 0xcd, 0x2b, 0xcd,
|
||
|
0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x5a, 0x75,
|
||
|
0x5c, 0xdc, 0xbe, 0xa9, 0xc5, 0xc5, 0x89, 0xe9, 0xa9, 0x21, 0x95, 0x05, 0xa9, 0x42, 0x12, 0x5c,
|
||
|
0x22, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0xf1, 0xbe, 0xae, 0xc1, 0xc1, 0x8e, 0xee, 0xae,
|
||
|
0xf1, 0x21, 0x91, 0x01, 0xae, 0x02, 0x0c, 0x42, 0x7c, 0x5c, 0x5c, 0xfe, 0x7e, 0xae, 0xf1, 0x21,
|
||
|
0xfe, 0xf1, 0xfe, 0x7e, 0xae, 0x02, 0x8c, 0x42, 0x02, 0x5c, 0x3c, 0x01, 0xa1, 0x4e, 0x3e, 0x9e,
|
||
|
0xce, 0xf1, 0xee, 0x41, 0xfe, 0xa1, 0x01, 0x02, 0x4c, 0x42, 0x82, 0x5c, 0xbc, 0x01, 0x41, 0x9e,
|
||
|
0x61, 0x8e, 0x21, 0xae, 0x50, 0x21, 0x66, 0x21, 0x05, 0x2e, 0x99, 0xe0, 0xc8, 0xe0, 0x10, 0x57,
|
||
|
0x5f, 0xb8, 0x69, 0xa8, 0x2a, 0x58, 0x92, 0xd8, 0xc0, 0x2e, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff,
|
||
|
0xff, 0xa7, 0x40, 0x6b, 0x1d, 0x9f, 0x00, 0x00, 0x00,
|
||
|
}
|