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 |
| 4 | |
| 5 | import sys |
| 6 | _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) |
| 7 | from google.protobuf.internal import enum_type_wrapper |
| 8 | from google.protobuf import descriptor as _descriptor |
| 9 | from google.protobuf import message as _message |
| 10 | from google.protobuf import reflection as _reflection |
| 11 | from google.protobuf import symbol_database as _symbol_database |
| 12 | # @@protoc_insertion_point(imports) |
| 13 | |
| 14 | _sym_db = _symbol_database.Default() |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | DESCRIPTOR = _descriptor.FileDescriptor( |
| 20 | name='dmi/commons.proto', |
| 21 | package='dmi', |
| 22 | syntax='proto3', |
| 23 | serialized_options=_b('Z9github.com/opencord/device-management-interface/v3/go/dmi'), |
| 24 | serialized_pb=_b('\n\x11\x64mi/commons.proto\x12\x03\x64mi*1\n\x06Status\x12\x14\n\x10UNDEFINED_STATUS\x10\x00\x12\x06\n\x02OK\x10\x01\x12\t\n\x05\x45RROR\x10\x02*i\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\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3') |
| 25 | ) |
| 26 | |
| 27 | _STATUS = _descriptor.EnumDescriptor( |
| 28 | name='Status', |
| 29 | full_name='dmi.Status', |
| 30 | filename=None, |
| 31 | file=DESCRIPTOR, |
| 32 | values=[ |
| 33 | _descriptor.EnumValueDescriptor( |
| 34 | name='UNDEFINED_STATUS', index=0, number=0, |
| 35 | serialized_options=None, |
| 36 | type=None), |
| 37 | _descriptor.EnumValueDescriptor( |
| 38 | name='OK', index=1, number=1, |
| 39 | serialized_options=None, |
| 40 | type=None), |
| 41 | _descriptor.EnumValueDescriptor( |
| 42 | name='ERROR', index=2, number=2, |
| 43 | serialized_options=None, |
| 44 | type=None), |
| 45 | ], |
| 46 | containing_type=None, |
| 47 | serialized_options=None, |
| 48 | serialized_start=26, |
| 49 | serialized_end=75, |
| 50 | ) |
| 51 | _sym_db.RegisterEnumDescriptor(_STATUS) |
| 52 | |
| 53 | Status = enum_type_wrapper.EnumTypeWrapper(_STATUS) |
| 54 | _REASON = _descriptor.EnumDescriptor( |
| 55 | name='Reason', |
| 56 | full_name='dmi.Reason', |
| 57 | filename=None, |
| 58 | file=DESCRIPTOR, |
| 59 | values=[ |
| 60 | _descriptor.EnumValueDescriptor( |
| 61 | name='UNDEFINED_REASON', index=0, number=0, |
| 62 | serialized_options=None, |
| 63 | type=None), |
| 64 | _descriptor.EnumValueDescriptor( |
| 65 | name='UNKNOWN_DEVICE', index=1, number=1, |
| 66 | serialized_options=None, |
| 67 | type=None), |
| 68 | _descriptor.EnumValueDescriptor( |
| 69 | name='INTERNAL_ERROR', index=2, number=2, |
| 70 | serialized_options=None, |
| 71 | type=None), |
| 72 | _descriptor.EnumValueDescriptor( |
| 73 | name='WRONG_METRIC', index=3, number=3, |
| 74 | serialized_options=None, |
| 75 | type=None), |
| 76 | _descriptor.EnumValueDescriptor( |
| 77 | name='WRONG_EVENT', index=4, number=4, |
| 78 | serialized_options=None, |
| 79 | type=None), |
| 80 | ], |
| 81 | containing_type=None, |
| 82 | serialized_options=None, |
| 83 | serialized_start=77, |
| 84 | serialized_end=182, |
| 85 | ) |
| 86 | _sym_db.RegisterEnumDescriptor(_REASON) |
| 87 | |
| 88 | Reason = enum_type_wrapper.EnumTypeWrapper(_REASON) |
| 89 | UNDEFINED_STATUS = 0 |
| 90 | OK = 1 |
| 91 | ERROR = 2 |
| 92 | UNDEFINED_REASON = 0 |
| 93 | UNKNOWN_DEVICE = 1 |
| 94 | INTERNAL_ERROR = 2 |
| 95 | WRONG_METRIC = 3 |
| 96 | WRONG_EVENT = 4 |
| 97 | |
| 98 | |
| 99 | DESCRIPTOR.enum_types_by_name['Status'] = _STATUS |
| 100 | DESCRIPTOR.enum_types_by_name['Reason'] = _REASON |
| 101 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 102 | |
| 103 | |
| 104 | DESCRIPTOR._options = None |
| 105 | # @@protoc_insertion_point(module_scope) |