Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: dmi/commons.proto |
| 3 | |
| 4 | package dmi |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | math "math" |
| 10 | ) |
| 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
| 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 22 | |
| 23 | type Status int32 |
| 24 | |
| 25 | const ( |
| 26 | Status_UNDEFINED_STATUS Status = 0 |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 27 | Status_OK_STATUS Status = 1 |
| 28 | Status_ERROR_STATUS Status = 2 |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 29 | ) |
| 30 | |
| 31 | var Status_name = map[int32]string{ |
| 32 | 0: "UNDEFINED_STATUS", |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 33 | 1: "OK_STATUS", |
| 34 | 2: "ERROR_STATUS", |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | var Status_value = map[string]int32{ |
| 38 | "UNDEFINED_STATUS": 0, |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 39 | "OK_STATUS": 1, |
| 40 | "ERROR_STATUS": 2, |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | func (x Status) String() string { |
| 44 | return proto.EnumName(Status_name, int32(x)) |
| 45 | } |
| 46 | |
| 47 | func (Status) EnumDescriptor() ([]byte, []int) { |
| 48 | return fileDescriptor_74aedf0dda1205d8, []int{0} |
| 49 | } |
| 50 | |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 51 | //Log Level |
| 52 | type LogLevel int32 |
| 53 | |
| 54 | const ( |
| 55 | LogLevel_TRACE LogLevel = 0 |
| 56 | LogLevel_DEBUG LogLevel = 1 |
| 57 | LogLevel_INFO LogLevel = 2 |
| 58 | LogLevel_WARN LogLevel = 3 |
| 59 | LogLevel_ERROR LogLevel = 4 |
| 60 | ) |
| 61 | |
| 62 | var LogLevel_name = map[int32]string{ |
| 63 | 0: "TRACE", |
| 64 | 1: "DEBUG", |
| 65 | 2: "INFO", |
| 66 | 3: "WARN", |
| 67 | 4: "ERROR", |
| 68 | } |
| 69 | |
| 70 | var LogLevel_value = map[string]int32{ |
| 71 | "TRACE": 0, |
| 72 | "DEBUG": 1, |
| 73 | "INFO": 2, |
| 74 | "WARN": 3, |
| 75 | "ERROR": 4, |
| 76 | } |
| 77 | |
| 78 | func (x LogLevel) String() string { |
| 79 | return proto.EnumName(LogLevel_name, int32(x)) |
| 80 | } |
| 81 | |
| 82 | func (LogLevel) EnumDescriptor() ([]byte, []int) { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 83 | return fileDescriptor_74aedf0dda1205d8, []int{1} |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 84 | } |
| 85 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 86 | func init() { |
| 87 | proto.RegisterEnum("dmi.Status", Status_name, Status_value) |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 88 | proto.RegisterEnum("dmi.LogLevel", LogLevel_name, LogLevel_value) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 89 | } |
| 90 | |
| 91 | func init() { proto.RegisterFile("dmi/commons.proto", fileDescriptor_74aedf0dda1205d8) } |
| 92 | |
| 93 | var fileDescriptor_74aedf0dda1205d8 = []byte{ |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 94 | // 217 bytes of a gzipped FileDescriptorProto |
| 95 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8f, 0x5f, 0x6b, 0xc2, 0x30, |
| 96 | 0x14, 0xc5, 0xfd, 0x37, 0xd1, 0xb0, 0xc1, 0x5d, 0xd8, 0xa7, 0x10, 0x34, 0x0f, 0x3e, 0x8d, 0x3d, |
| 97 | 0x48, 0x5d, 0xe3, 0x90, 0x49, 0x0b, 0x69, 0xcb, 0x60, 0x2f, 0xa3, 0x26, 0x77, 0x5d, 0x60, 0x37, |
| 98 | 0x57, 0x6a, 0xec, 0xe7, 0x97, 0x0a, 0xbe, 0xfd, 0xce, 0x39, 0x70, 0xe0, 0x27, 0x9e, 0x1d, 0x79, |
| 99 | 0x65, 0x99, 0x88, 0xc3, 0x79, 0x75, 0x6a, 0x39, 0xb2, 0x1c, 0x3b, 0xf2, 0x8b, 0x8d, 0x98, 0x16, |
| 100 | 0xb1, 0x8e, 0x97, 0xb3, 0x7c, 0x11, 0x50, 0x65, 0xa9, 0xde, 0xed, 0x33, 0x9d, 0xfe, 0x14, 0x65, |
| 101 | 0x52, 0x56, 0x05, 0x0c, 0xe4, 0x93, 0x98, 0xe7, 0x9f, 0xf7, 0x38, 0x94, 0x20, 0x1e, 0xb5, 0x31, |
| 102 | 0xb9, 0xb9, 0x37, 0xa3, 0xc5, 0x46, 0xcc, 0x0e, 0xdc, 0x1c, 0xb0, 0xc3, 0x7f, 0x39, 0x17, 0x0f, |
| 103 | 0xa5, 0x49, 0xde, 0x35, 0x0c, 0x7a, 0x4c, 0xf5, 0xb6, 0xfa, 0x80, 0xa1, 0x9c, 0x89, 0xc9, 0x3e, |
| 104 | 0xdb, 0xe5, 0x30, 0xea, 0xe9, 0x2b, 0x31, 0x19, 0x8c, 0xfb, 0xf9, 0xf6, 0x03, 0x93, 0xed, 0xdb, |
| 105 | 0xf7, 0x6b, 0xe3, 0xe3, 0xdf, 0xe5, 0xb8, 0xb2, 0x4c, 0x8a, 0x4f, 0x18, 0x2c, 0xb7, 0x4e, 0x39, |
| 106 | 0xec, 0xbc, 0xc5, 0x25, 0xd5, 0xa1, 0x6e, 0x90, 0x30, 0xc4, 0xa5, 0x0f, 0x11, 0xdb, 0xdf, 0xda, |
| 107 | 0xa2, 0xea, 0xd6, 0xaa, 0x61, 0xe5, 0xc8, 0x1f, 0xa7, 0x37, 0x95, 0xf5, 0x35, 0x00, 0x00, 0xff, |
| 108 | 0xff, 0x6b, 0x43, 0x1e, 0x6c, 0xdf, 0x00, 0x00, 0x00, |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 109 | } |