blob: 98fce545a52efebd6bff9d106825aaeec6b76074 [file] [log] [blame]
uwe ottrembka66d91ea2020-08-11 10:50:55 +02001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: dmi/commons.proto
4
5import sys
6_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7from google.protobuf.internal import enum_type_wrapper
8from google.protobuf import descriptor as _descriptor
9from google.protobuf import message as _message
10from google.protobuf import reflection as _reflection
11from google.protobuf import symbol_database as _symbol_database
12# @@protoc_insertion_point(imports)
13
14_sym_db = _symbol_database.Default()
15
16
17
18
19DESCRIPTOR = _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
53Status = 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
88Reason = enum_type_wrapper.EnumTypeWrapper(_REASON)
89UNDEFINED_STATUS = 0
90OK = 1
91ERROR = 2
92UNDEFINED_REASON = 0
93UNKNOWN_DEVICE = 1
94INTERNAL_ERROR = 2
95WRONG_METRIC = 3
96WRONG_EVENT = 4
97
98
99DESCRIPTOR.enum_types_by_name['Status'] = _STATUS
100DESCRIPTOR.enum_types_by_name['Reason'] = _REASON
101_sym_db.RegisterFileDescriptor(DESCRIPTOR)
102
103
104DESCRIPTOR._options = None
105# @@protoc_insertion_point(module_scope)