# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: common/error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 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='common/error.proto', package='common', syntax='proto3', serialized_options=_b('Z\033cnlab.net/csst/proto/common'), serialized_pb=_b('\n\x12\x63ommon/error.proto\x12\x06\x63ommon\"%\n\x05\x45rror\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\tB\x1dZ\x1b\x63nlab.net/csst/proto/commonb\x06proto3') ) _ERROR = _descriptor.Descriptor( name='Error', full_name='common.Error', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='code', full_name='common.Error.code', index=0, number=1, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='detail', full_name='common.Error.detail', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=30, serialized_end=67, ) DESCRIPTOR.message_types_by_name['Error'] = _ERROR _sym_db.RegisterFileDescriptor(DESCRIPTOR) Error = _reflection.GeneratedProtocolMessageType('Error', (_message.Message,), { 'DESCRIPTOR' : _ERROR, '__module__' : 'common.error_pb2' # @@protoc_insertion_point(class_scope:common.Error) }) _sym_db.RegisterMessage(Error) DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope)