enum value
This commit is contained in:
snoop 2017-06-06 19:55:55 +09:00
parent 94672567e0
commit 2e800a282c
2 changed files with 37 additions and 37 deletions

View File

@ -40,20 +40,20 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type AuthStatus_AuthStatusType int32
const (
AuthStatus_AUTH_WAIT AuthStatus_AuthStatusType = 0
AuthStatus_AUTH_ACCEPT AuthStatus_AuthStatusType = 1
AuthStatus_AUTH_REFUSE AuthStatus_AuthStatusType = 2
AuthStatus_WAIT AuthStatus_AuthStatusType = 0
AuthStatus_ACCEPT AuthStatus_AuthStatusType = 1
AuthStatus_REFUSE AuthStatus_AuthStatusType = 2
)
var AuthStatus_AuthStatusType_name = map[int32]string{
0: "AUTH_WAIT",
1: "AUTH_ACCEPT",
2: "AUTH_REFUSE",
0: "WAIT",
1: "ACCEPT",
2: "REFUSE",
}
var AuthStatus_AuthStatusType_value = map[string]int32{
"AUTH_WAIT": 0,
"AUTH_ACCEPT": 1,
"AUTH_REFUSE": 2,
"WAIT": 0,
"ACCEPT": 1,
"REFUSE": 2,
}
func (x AuthStatus_AuthStatusType) String() string {
@ -178,7 +178,7 @@ func (m *AuthStatus) GetType() AuthStatus_AuthStatusType {
if m != nil {
return m.Type
}
return AuthStatus_AUTH_WAIT
return AuthStatus_WAIT
}
func init() {
@ -332,28 +332,28 @@ var _Initializer_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("initialize.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 363 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0xe1, 0x6a, 0xa3, 0x40,
0x14, 0x85, 0x35, 0xd9, 0x4d, 0xe2, 0x35, 0x31, 0x32, 0x2c, 0x8b, 0x48, 0xa1, 0x61, 0x68, 0x21,
0x85, 0x22, 0x34, 0x7d, 0x02, 0x09, 0x29, 0x95, 0x40, 0x29, 0xc6, 0xd0, 0x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0x07, 0xfe, 0x88, 0x82, 0x1f, 0x2c, 0xc6, 0xc4, 0x76, 0x8e,
0x47, 0x8d, 0xcf, 0xa0, 0xe0, 0xe8, 0x4b, 0x1f, 0x75, 0xc1, 0x38, 0xd5, 0xc9, 0x00, 0x34, 0x77,
0x19, 0xdc, 0xbf, 0x3c, 0xb9, 0x5e, 0x60, 0x2a, 0x64, 0x08, 0xba, 0x44, 0x77, 0x3a, 0x9d, 0x3d,
0x06, 0xa6, 0x5a, 0x0b, 0xfe, 0xec, 0x6e, 0xb9, 0x98, 0x99, 0xad, 0xc9, 0x8f, 0x0a, 0xba, 0x57,
0x17, 0x97, 0x92, 0x2b, 0x80, 0x4c, 0xb0, 0x54, 0xc8, 0xe2, 0x08, 0x38, 0x75, 0x81, 0xf6, 0xc0,
0x69, 0xb6, 0x44, 0x15, 0x72, 0x03, 0x46, 0x8a, 0xdb, 0x1c, 0x33, 0x51, 0xed, 0x38, 0x74, 0x4e,
0xab, 0xb1, 0xfb, 0x4e, 0x83, 0xa8, 0x42, 0x2e, 0x40, 0x9b, 0xae, 0x71, 0xf5, 0xb9, 0x9f, 0x9a,
0xf4, 0xaa, 0x43, 0x5b, 0x6f, 0xac, 0x47, 0x95, 0xd7, 0x8e, 0x7c, 0x3e, 0xb7, 0xbf, 0x01, 0x00,
0x00, 0xff, 0xff, 0x04, 0xed, 0xfd, 0x0b, 0x52, 0x02, 0x00, 0x00,
// 354 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0x61, 0x4b, 0xfa, 0x50,
0x14, 0xc6, 0x37, 0xf5, 0xaf, 0xee, 0xe8, 0x7f, 0x8d, 0x4b, 0xc4, 0x18, 0x41, 0x72, 0x29, 0x30,
0x88, 0x41, 0xf6, 0x09, 0x86, 0x18, 0x0c, 0x21, 0x62, 0x2e, 0x7a, 0x17, 0xdc, 0xec, 0x94, 0xa3,
0xb9, 0x5d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 0x71, 0xdc, 0x63, 0xab, 0xf1, 0x0c, 0x4b,
0x89, 0x81, 0xd2, 0xf1, 0x09, 0x98, 0xa7, 0x75, 0xd6, 0x87, 0xce, 0xab, 0xe7, 0x87, 0x96, 0xc6,
0x00, 0xba, 0xde, 0x74, 0x3a, 0x7b, 0x0e, 0x2d, 0x7d, 0xf7, 0x0e, 0x66, 0x8f, 0x2f, 0x8b, 0x99,
0xd5, 0x9a, 0xfc, 0xea, 0x30, 0xf0, 0x0f, 0x49, 0x65, 0xec, 0x16, 0x20, 0x27, 0x91, 0x91, 0x4a,
0x8a, 0x81, 0x7b, 0x48, 0xcc, 0xf9, 0xef, 0x36, 0x63, 0xe1, 0x1a, 0xbb, 0x07, 0x33, 0xc3, 0x4d,
0x81, 0x39, 0xd5, 0x47, 0x9d, 0xb9, 0xa7, 0x59, 0x38, 0x43, 0xb7, 0x41, 0x5c, 0x63, 0xd7, 0x60,
0x4c, 0x57, 0xb8, 0xfc, 0xde, 0xad, 0xc9, 0xfa, 0x75, 0xd3, 0x19, 0x34, 0xee, 0xe1, 0xda, 0x7b,
0x57, 0xfd, 0x2f, 0x0f, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xea, 0xe3, 0x48, 0x48, 0x43, 0x02,
0x00, 0x00,
}

View File

@ -27,9 +27,9 @@ message TempKey {
message AuthStatus {
enum AuthStatusType {
AUTH_WAIT = 0;
AUTH_ACCEPT = 1;
AUTH_REFUSE = 2;
WAIT = 0;
ACCEPT = 1;
REFUSE = 2;
}
AuthStatusType type = 1;
}