blob: d7673dc97b42bd4ce40fae3f678ec5c9bd8d870e [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
uwe ottrembka66d91ea2020-08-11 10:50:55 +02005from google.protobuf.internal import enum_type_wrapper
6from google.protobuf import descriptor as _descriptor
7from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10# @@protoc_insertion_point(imports)
11
12_sym_db = _symbol_database.Default()
13
14
15
16
17DESCRIPTOR = _descriptor.FileDescriptor(
18 name='dmi/commons.proto',
19 package='dmi',
20 syntax='proto3',
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020021 serialized_options=b'Z9github.com/opencord/device-management-interface/v3/go/dmi',
22 create_key=_descriptor._internal_create_key,
23 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'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020024)
25
26_STATUS = _descriptor.EnumDescriptor(
27 name='Status',
28 full_name='dmi.Status',
29 filename=None,
30 file=DESCRIPTOR,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020031 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020032 values=[
33 _descriptor.EnumValueDescriptor(
34 name='UNDEFINED_STATUS', index=0, number=0,
35 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020036 type=None,
37 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020038 _descriptor.EnumValueDescriptor(
39 name='OK', index=1, number=1,
40 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020041 type=None,
42 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020043 _descriptor.EnumValueDescriptor(
44 name='ERROR', index=2, number=2,
45 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020046 type=None,
47 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020048 ],
49 containing_type=None,
50 serialized_options=None,
51 serialized_start=26,
52 serialized_end=75,
53)
54_sym_db.RegisterEnumDescriptor(_STATUS)
55
56Status = enum_type_wrapper.EnumTypeWrapper(_STATUS)
57_REASON = _descriptor.EnumDescriptor(
58 name='Reason',
59 full_name='dmi.Reason',
60 filename=None,
61 file=DESCRIPTOR,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020062 create_key=_descriptor._internal_create_key,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020063 values=[
64 _descriptor.EnumValueDescriptor(
65 name='UNDEFINED_REASON', index=0, number=0,
66 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020067 type=None,
68 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020069 _descriptor.EnumValueDescriptor(
70 name='UNKNOWN_DEVICE', index=1, number=1,
71 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020072 type=None,
73 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020074 _descriptor.EnumValueDescriptor(
75 name='INTERNAL_ERROR', index=2, number=2,
76 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020077 type=None,
78 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020079 _descriptor.EnumValueDescriptor(
80 name='WRONG_METRIC', index=3, number=3,
81 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020082 type=None,
83 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020084 _descriptor.EnumValueDescriptor(
85 name='WRONG_EVENT', index=4, number=4,
86 serialized_options=None,
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020087 type=None,
88 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +020089 ],
90 containing_type=None,
91 serialized_options=None,
92 serialized_start=77,
93 serialized_end=182,
94)
95_sym_db.RegisterEnumDescriptor(_REASON)
96
97Reason = enum_type_wrapper.EnumTypeWrapper(_REASON)
98UNDEFINED_STATUS = 0
99OK = 1
100ERROR = 2
101UNDEFINED_REASON = 0
102UNKNOWN_DEVICE = 1
103INTERNAL_ERROR = 2
104WRONG_METRIC = 3
105WRONG_EVENT = 4
106
107
108DESCRIPTOR.enum_types_by_name['Status'] = _STATUS
109DESCRIPTOR.enum_types_by_name['Reason'] = _REASON
110_sym_db.RegisterFileDescriptor(DESCRIPTOR)
111
112
113DESCRIPTOR._options = None
114# @@protoc_insertion_point(module_scope)