| # -*- coding: utf-8 -*- |
| # Generated by the protocol buffer compiler. DO NOT EDIT! |
| # source: dmi/commons.proto |
| """Generated protocol buffer code.""" |
| from google.protobuf.internal import enum_type_wrapper |
| from google.protobuf import descriptor as _descriptor |
| from google.protobuf import message as _message |
| from google.protobuf import reflection as _reflection |
| from google.protobuf import symbol_database as _symbol_database |
| # @@protoc_insertion_point(imports) |
| |
| _sym_db = _symbol_database.Default() |
| |
| |
| |
| |
| DESCRIPTOR = _descriptor.FileDescriptor( |
| name='dmi/commons.proto', |
| package='dmi', |
| syntax='proto3', |
| serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi', |
| create_key=_descriptor._internal_create_key, |
| 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' |
| ) |
| |
| _STATUS = _descriptor.EnumDescriptor( |
| name='Status', |
| full_name='dmi.Status', |
| filename=None, |
| file=DESCRIPTOR, |
| create_key=_descriptor._internal_create_key, |
| values=[ |
| _descriptor.EnumValueDescriptor( |
| name='UNDEFINED_STATUS', index=0, number=0, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| _descriptor.EnumValueDescriptor( |
| name='OK', index=1, number=1, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| _descriptor.EnumValueDescriptor( |
| name='ERROR', index=2, number=2, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| ], |
| containing_type=None, |
| serialized_options=None, |
| serialized_start=26, |
| serialized_end=75, |
| ) |
| _sym_db.RegisterEnumDescriptor(_STATUS) |
| |
| Status = enum_type_wrapper.EnumTypeWrapper(_STATUS) |
| _REASON = _descriptor.EnumDescriptor( |
| name='Reason', |
| full_name='dmi.Reason', |
| filename=None, |
| file=DESCRIPTOR, |
| create_key=_descriptor._internal_create_key, |
| values=[ |
| _descriptor.EnumValueDescriptor( |
| name='UNDEFINED_REASON', index=0, number=0, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| _descriptor.EnumValueDescriptor( |
| name='UNKNOWN_DEVICE', index=1, number=1, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| _descriptor.EnumValueDescriptor( |
| name='INTERNAL_ERROR', index=2, number=2, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| _descriptor.EnumValueDescriptor( |
| name='WRONG_METRIC', index=3, number=3, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| _descriptor.EnumValueDescriptor( |
| name='WRONG_EVENT', index=4, number=4, |
| serialized_options=None, |
| type=None, |
| create_key=_descriptor._internal_create_key), |
| ], |
| containing_type=None, |
| serialized_options=None, |
| serialized_start=77, |
| serialized_end=182, |
| ) |
| _sym_db.RegisterEnumDescriptor(_REASON) |
| |
| Reason = enum_type_wrapper.EnumTypeWrapper(_REASON) |
| UNDEFINED_STATUS = 0 |
| OK = 1 |
| ERROR = 2 |
| UNDEFINED_REASON = 0 |
| UNKNOWN_DEVICE = 1 |
| INTERNAL_ERROR = 2 |
| WRONG_METRIC = 3 |
| WRONG_EVENT = 4 |
| |
| |
| DESCRIPTOR.enum_types_by_name['Status'] = _STATUS |
| DESCRIPTOR.enum_types_by_name['Reason'] = _REASON |
| _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| |
| |
| DESCRIPTOR._options = None |
| # @@protoc_insertion_point(module_scope) |