# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cmvr/msgs/error_code.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool 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_pool.Default().AddSerializedFile(b'\n\x1a\x63mvr/msgs/error_code.proto\x12\tcmvr.msgs\"A\n\x08StatusPb\x12(\n\nerror_code\x18\x01 \x01(\x0e\x32\x14.cmvr.msgs.ErrorCode\x12\x0b\n\x03msg\x18\x02 \x01(\t*\x80\x02\n\tErrorCode\x12\x06\n\x02OK\x10\x00\x12\x11\n\x0c\x43\x41NBUS_ERROR\x10\xd0\x0f\x12\x1a\n\x15\x43\x41N_CLIENT_ERROR_BASE\x10\xb4\x10\x12(\n#CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED\x10\xb5\x10\x12\x1f\n\x1a\x43\x41N_CLIENT_ERROR_FRAME_NUM\x10\xb6\x10\x12!\n\x1c\x43\x41N_CLIENT_ERROR_SEND_FAILED\x10\xb7\x10\x12!\n\x1c\x43\x41N_CLIENT_ERROR_RECV_FAILED\x10\xb8\x10\x12\x10\n\x0bMOTOR_ERROR\x10\xb8\x17\x12\x19\n\x14MOTOR_ERROR_SET_ZERO\x10\xb9\x17\x62\x06proto3') _ERRORCODE = DESCRIPTOR.enum_types_by_name['ErrorCode'] ErrorCode = enum_type_wrapper.EnumTypeWrapper(_ERRORCODE) OK = 0 CANBUS_ERROR = 2000 CAN_CLIENT_ERROR_BASE = 2100 CAN_CLIENT_ERROR_OPEN_DEVICE_FAILED = 2101 CAN_CLIENT_ERROR_FRAME_NUM = 2102 CAN_CLIENT_ERROR_SEND_FAILED = 2103 CAN_CLIENT_ERROR_RECV_FAILED = 2104 MOTOR_ERROR = 3000 MOTOR_ERROR_SET_ZERO = 3001 _STATUSPB = DESCRIPTOR.message_types_by_name['StatusPb'] StatusPb = _reflection.GeneratedProtocolMessageType('StatusPb', (_message.Message,), { 'DESCRIPTOR' : _STATUSPB, '__module__' : 'cmvr.msgs.error_code_pb2' # @@protoc_insertion_point(class_scope:cmvr.msgs.StatusPb) }) _sym_db.RegisterMessage(StatusPb) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _ERRORCODE._serialized_start=109 _ERRORCODE._serialized_end=365 _STATUSPB._serialized_start=41 _STATUSPB._serialized_end=106 # @@protoc_insertion_point(module_scope)