blob: 8decd2bb21910b3b97e55042c2cb7ac3db98ce62 [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
Andrea Campanellacb990bc2020-09-22 12:50:56 +02004"""Generated protocol buffer code."""
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,
amit.ghosh188a84f2020-09-27 20:59:25 +020023 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*\xc4\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\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),
amit.ghosh188a84f2020-09-27 20:59:25 +020089 _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),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200104 ],
105 containing_type=None,
106 serialized_options=None,
amit.ghosh188a84f2020-09-27 20:59:25 +0200107 serialized_start=78,
108 serialized_end=274,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200109)
110_sym_db.RegisterEnumDescriptor(_REASON)
111
112Reason = enum_type_wrapper.EnumTypeWrapper(_REASON)
113UNDEFINED_STATUS = 0
114OK = 1
115ERROR = 2
116UNDEFINED_REASON = 0
117UNKNOWN_DEVICE = 1
118INTERNAL_ERROR = 2
119WRONG_METRIC = 3
120WRONG_EVENT = 4
amit.ghosh188a84f2020-09-27 20:59:25 +0200121LOGGING_ENDPOINT_ERROR = 5
122LOGGING_ENDPOINT_PROTOCOL_ERROR = 6
123KAFKA_ENDPOINT_ERROR = 7
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200124
125
126DESCRIPTOR.enum_types_by_name['Status'] = _STATUS
127DESCRIPTOR.enum_types_by_name['Reason'] = _REASON
128_sym_db.RegisterFileDescriptor(DESCRIPTOR)
129
130
131DESCRIPTOR._options = None
132# @@protoc_insertion_point(module_scope)