blob: 411acd140afea8998e7ecc62512d267ddc77dcf3 [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.ghosh5d97dba2020-11-12 16:45:27 +010023 serialized_pb=b'\n\x11\x64mi/commons.proto\x12\x03\x64mi*?\n\x06Status\x12\x14\n\x10UNDEFINED_STATUS\x10\x00\x12\r\n\tOK_STATUS\x10\x01\x12\x10\n\x0c\x45RROR_STATUS\x10\x02*\xdc\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\x12\x16\n\x12UNKNOWN_LOG_ENTITY\x10\x08*?\n\x08LogLevel\x12\t\n\x05TRACE\x10\x00\x12\t\n\x05\x44\x45\x42UG\x10\x01\x12\x08\n\x04INFO\x10\x02\x12\x08\n\x04WARN\x10\x03\x12\t\n\x05\x45RROR\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(
Andrea Campanellab91e9a42020-10-09 14:31:43 +020039 name='OK_STATUS', index=1, number=1,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020040 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(
Andrea Campanellab91e9a42020-10-09 14:31:43 +020044 name='ERROR_STATUS', index=2, number=2,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020045 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,
Andrea Campanellab91e9a42020-10-09 14:31:43 +020052 serialized_end=89,
uwe ottrembka66d91ea2020-08-11 10:50:55 +020053)
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),
amit.ghosh5d97dba2020-11-12 16:45:27 +0100104 _descriptor.EnumValueDescriptor(
105 name='UNKNOWN_LOG_ENTITY', index=8, number=8,
106 serialized_options=None,
107 type=None,
108 create_key=_descriptor._internal_create_key),
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200109 ],
110 containing_type=None,
111 serialized_options=None,
Andrea Campanellab91e9a42020-10-09 14:31:43 +0200112 serialized_start=92,
amit.ghosh5d97dba2020-11-12 16:45:27 +0100113 serialized_end=312,
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200114)
115_sym_db.RegisterEnumDescriptor(_REASON)
116
117Reason = enum_type_wrapper.EnumTypeWrapper(_REASON)
Andrea Campanellab91e9a42020-10-09 14:31:43 +0200118_LOGLEVEL = _descriptor.EnumDescriptor(
119 name='LogLevel',
120 full_name='dmi.LogLevel',
121 filename=None,
122 file=DESCRIPTOR,
123 create_key=_descriptor._internal_create_key,
124 values=[
125 _descriptor.EnumValueDescriptor(
126 name='TRACE', index=0, number=0,
127 serialized_options=None,
128 type=None,
129 create_key=_descriptor._internal_create_key),
130 _descriptor.EnumValueDescriptor(
131 name='DEBUG', index=1, number=1,
132 serialized_options=None,
133 type=None,
134 create_key=_descriptor._internal_create_key),
135 _descriptor.EnumValueDescriptor(
136 name='INFO', index=2, number=2,
137 serialized_options=None,
138 type=None,
139 create_key=_descriptor._internal_create_key),
140 _descriptor.EnumValueDescriptor(
141 name='WARN', index=3, number=3,
142 serialized_options=None,
143 type=None,
144 create_key=_descriptor._internal_create_key),
145 _descriptor.EnumValueDescriptor(
146 name='ERROR', index=4, number=4,
147 serialized_options=None,
148 type=None,
149 create_key=_descriptor._internal_create_key),
150 ],
151 containing_type=None,
152 serialized_options=None,
amit.ghosh5d97dba2020-11-12 16:45:27 +0100153 serialized_start=314,
154 serialized_end=377,
Andrea Campanellab91e9a42020-10-09 14:31:43 +0200155)
156_sym_db.RegisterEnumDescriptor(_LOGLEVEL)
157
158LogLevel = enum_type_wrapper.EnumTypeWrapper(_LOGLEVEL)
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200159UNDEFINED_STATUS = 0
Andrea Campanellab91e9a42020-10-09 14:31:43 +0200160OK_STATUS = 1
161ERROR_STATUS = 2
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200162UNDEFINED_REASON = 0
163UNKNOWN_DEVICE = 1
164INTERNAL_ERROR = 2
165WRONG_METRIC = 3
166WRONG_EVENT = 4
amit.ghosh188a84f2020-09-27 20:59:25 +0200167LOGGING_ENDPOINT_ERROR = 5
168LOGGING_ENDPOINT_PROTOCOL_ERROR = 6
169KAFKA_ENDPOINT_ERROR = 7
amit.ghosh5d97dba2020-11-12 16:45:27 +0100170UNKNOWN_LOG_ENTITY = 8
Andrea Campanellab91e9a42020-10-09 14:31:43 +0200171TRACE = 0
172DEBUG = 1
173INFO = 2
174WARN = 3
175ERROR = 4
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200176
177
178DESCRIPTOR.enum_types_by_name['Status'] = _STATUS
179DESCRIPTOR.enum_types_by_name['Reason'] = _REASON
Andrea Campanellab91e9a42020-10-09 14:31:43 +0200180DESCRIPTOR.enum_types_by_name['LogLevel'] = _LOGLEVEL
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200181_sym_db.RegisterFileDescriptor(DESCRIPTOR)
182
183
184DESCRIPTOR._options = None
185# @@protoc_insertion_point(module_scope)