uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: dmi/commons.proto |
Andrea Campanella | cb990bc | 2020-09-22 12:50:56 +0200 | [diff] [blame] | 4 | """Generated protocol buffer code.""" |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 5 | from google.protobuf.internal import enum_type_wrapper |
| 6 | from google.protobuf import descriptor as _descriptor |
| 7 | from google.protobuf import message as _message |
| 8 | from google.protobuf import reflection as _reflection |
| 9 | from google.protobuf import symbol_database as _symbol_database |
| 10 | # @@protoc_insertion_point(imports) |
| 11 | |
| 12 | _sym_db = _symbol_database.Default() |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 18 | name='dmi/commons.proto', |
| 19 | package='dmi', |
| 20 | syntax='proto3', |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 21 | serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi', |
| 22 | create_key=_descriptor._internal_create_key, |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame^] | 23 | serialized_pb=b'\n\x11\x64mi/commons.proto\x12\x03\x64mi*?\n\x06Status\x12\x14\n\x10UNDEFINED_STATUS\x10\x00\x12\r\n\tOK_STATUS\x10\x01\x12\x10\n\x0c\x45RROR_STATUS\x10\x02*\xdc\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x10\n\x0cWRONG_METRIC\x10\x03\x12\x0f\n\x0bWRONG_EVENT\x10\x04\x12\x1a\n\x16LOGGING_ENDPOINT_ERROR\x10\x05\x12#\n\x1fLOGGING_ENDPOINT_PROTOCOL_ERROR\x10\x06\x12\x18\n\x14KAFKA_ENDPOINT_ERROR\x10\x07\x12\x16\n\x12UNKNOWN_LOG_ENTITY\x10\x08*?\n\x08LogLevel\x12\t\n\x05TRACE\x10\x00\x12\t\n\x05\x44\x45\x42UG\x10\x01\x12\x08\n\x04INFO\x10\x02\x12\x08\n\x04WARN\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3' |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 24 | ) |
| 25 | |
| 26 | _STATUS = _descriptor.EnumDescriptor( |
| 27 | name='Status', |
| 28 | full_name='dmi.Status', |
| 29 | filename=None, |
| 30 | file=DESCRIPTOR, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 31 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 32 | values=[ |
| 33 | _descriptor.EnumValueDescriptor( |
| 34 | name='UNDEFINED_STATUS', index=0, number=0, |
| 35 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 36 | type=None, |
| 37 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 38 | _descriptor.EnumValueDescriptor( |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 39 | name='OK_STATUS', index=1, number=1, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 40 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 41 | type=None, |
| 42 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 43 | _descriptor.EnumValueDescriptor( |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 44 | name='ERROR_STATUS', index=2, number=2, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 45 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 46 | type=None, |
| 47 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 48 | ], |
| 49 | containing_type=None, |
| 50 | serialized_options=None, |
| 51 | serialized_start=26, |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 52 | serialized_end=89, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 53 | ) |
| 54 | _sym_db.RegisterEnumDescriptor(_STATUS) |
| 55 | |
| 56 | Status = enum_type_wrapper.EnumTypeWrapper(_STATUS) |
| 57 | _REASON = _descriptor.EnumDescriptor( |
| 58 | name='Reason', |
| 59 | full_name='dmi.Reason', |
| 60 | filename=None, |
| 61 | file=DESCRIPTOR, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 62 | create_key=_descriptor._internal_create_key, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 63 | values=[ |
| 64 | _descriptor.EnumValueDescriptor( |
| 65 | name='UNDEFINED_REASON', index=0, number=0, |
| 66 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 67 | type=None, |
| 68 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 69 | _descriptor.EnumValueDescriptor( |
| 70 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 71 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 72 | type=None, |
| 73 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 74 | _descriptor.EnumValueDescriptor( |
| 75 | name='INTERNAL_ERROR', index=2, number=2, |
| 76 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 77 | type=None, |
| 78 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 79 | _descriptor.EnumValueDescriptor( |
| 80 | name='WRONG_METRIC', index=3, number=3, |
| 81 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 82 | type=None, |
| 83 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 84 | _descriptor.EnumValueDescriptor( |
| 85 | name='WRONG_EVENT', index=4, number=4, |
| 86 | serialized_options=None, |
uwe ottrembka | 5ea5c0a | 2020-08-31 10:37:35 +0200 | [diff] [blame] | 87 | type=None, |
| 88 | create_key=_descriptor._internal_create_key), |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 89 | _descriptor.EnumValueDescriptor( |
| 90 | name='LOGGING_ENDPOINT_ERROR', index=5, number=5, |
| 91 | serialized_options=None, |
| 92 | type=None, |
| 93 | create_key=_descriptor._internal_create_key), |
| 94 | _descriptor.EnumValueDescriptor( |
| 95 | name='LOGGING_ENDPOINT_PROTOCOL_ERROR', index=6, number=6, |
| 96 | serialized_options=None, |
| 97 | type=None, |
| 98 | create_key=_descriptor._internal_create_key), |
| 99 | _descriptor.EnumValueDescriptor( |
| 100 | name='KAFKA_ENDPOINT_ERROR', index=7, number=7, |
| 101 | serialized_options=None, |
| 102 | type=None, |
| 103 | create_key=_descriptor._internal_create_key), |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame^] | 104 | _descriptor.EnumValueDescriptor( |
| 105 | name='UNKNOWN_LOG_ENTITY', index=8, number=8, |
| 106 | serialized_options=None, |
| 107 | type=None, |
| 108 | create_key=_descriptor._internal_create_key), |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 109 | ], |
| 110 | containing_type=None, |
| 111 | serialized_options=None, |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 112 | serialized_start=92, |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame^] | 113 | serialized_end=312, |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 114 | ) |
| 115 | _sym_db.RegisterEnumDescriptor(_REASON) |
| 116 | |
| 117 | Reason = enum_type_wrapper.EnumTypeWrapper(_REASON) |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 118 | _LOGLEVEL = _descriptor.EnumDescriptor( |
| 119 | name='LogLevel', |
| 120 | full_name='dmi.LogLevel', |
| 121 | filename=None, |
| 122 | file=DESCRIPTOR, |
| 123 | create_key=_descriptor._internal_create_key, |
| 124 | values=[ |
| 125 | _descriptor.EnumValueDescriptor( |
| 126 | name='TRACE', index=0, number=0, |
| 127 | serialized_options=None, |
| 128 | type=None, |
| 129 | create_key=_descriptor._internal_create_key), |
| 130 | _descriptor.EnumValueDescriptor( |
| 131 | name='DEBUG', index=1, number=1, |
| 132 | serialized_options=None, |
| 133 | type=None, |
| 134 | create_key=_descriptor._internal_create_key), |
| 135 | _descriptor.EnumValueDescriptor( |
| 136 | name='INFO', index=2, number=2, |
| 137 | serialized_options=None, |
| 138 | type=None, |
| 139 | create_key=_descriptor._internal_create_key), |
| 140 | _descriptor.EnumValueDescriptor( |
| 141 | name='WARN', index=3, number=3, |
| 142 | serialized_options=None, |
| 143 | type=None, |
| 144 | create_key=_descriptor._internal_create_key), |
| 145 | _descriptor.EnumValueDescriptor( |
| 146 | name='ERROR', index=4, number=4, |
| 147 | serialized_options=None, |
| 148 | type=None, |
| 149 | create_key=_descriptor._internal_create_key), |
| 150 | ], |
| 151 | containing_type=None, |
| 152 | serialized_options=None, |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame^] | 153 | serialized_start=314, |
| 154 | serialized_end=377, |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 155 | ) |
| 156 | _sym_db.RegisterEnumDescriptor(_LOGLEVEL) |
| 157 | |
| 158 | LogLevel = enum_type_wrapper.EnumTypeWrapper(_LOGLEVEL) |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 159 | UNDEFINED_STATUS = 0 |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 160 | OK_STATUS = 1 |
| 161 | ERROR_STATUS = 2 |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 162 | UNDEFINED_REASON = 0 |
| 163 | UNKNOWN_DEVICE = 1 |
| 164 | INTERNAL_ERROR = 2 |
| 165 | WRONG_METRIC = 3 |
| 166 | WRONG_EVENT = 4 |
amit.ghosh | 188a84f | 2020-09-27 20:59:25 +0200 | [diff] [blame] | 167 | LOGGING_ENDPOINT_ERROR = 5 |
| 168 | LOGGING_ENDPOINT_PROTOCOL_ERROR = 6 |
| 169 | KAFKA_ENDPOINT_ERROR = 7 |
amit.ghosh | 5d97dba | 2020-11-12 16:45:27 +0100 | [diff] [blame^] | 170 | UNKNOWN_LOG_ENTITY = 8 |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 171 | TRACE = 0 |
| 172 | DEBUG = 1 |
| 173 | INFO = 2 |
| 174 | WARN = 3 |
| 175 | ERROR = 4 |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 176 | |
| 177 | |
| 178 | DESCRIPTOR.enum_types_by_name['Status'] = _STATUS |
| 179 | DESCRIPTOR.enum_types_by_name['Reason'] = _REASON |
Andrea Campanella | b91e9a4 | 2020-10-09 14:31:43 +0200 | [diff] [blame] | 180 | DESCRIPTOR.enum_types_by_name['LogLevel'] = _LOGLEVEL |
uwe ottrembka | 66d91ea | 2020-08-11 10:50:55 +0200 | [diff] [blame] | 181 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 182 | |
| 183 | |
| 184 | DESCRIPTOR._options = None |
| 185 | # @@protoc_insertion_point(module_scope) |