81 lines
4.2 KiB
Python
81 lines
4.2 KiB
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
|
# source: cmvr/api/common.proto
|
||
|
|
"""Generated protocol buffer code."""
|
||
|
|
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()
|
||
|
|
|
||
|
|
|
||
|
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
||
|
|
|
||
|
|
|
||
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x63mvr/api/common.proto\x12\x08\x63mvr.api\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb8\x01\n\x0f\x44\x65viceLifecycle\x12\x32\n\x05state\x18\x01 \x01(\x0e\x32#.cmvr.api.DeviceLifecycle.Lifecycle\"q\n\tLifecycle\x12\x0e\n\nSTATE_INIT\x10\x00\x12\x0f\n\x0bSTATE_READY\x10\x01\x12\x11\n\rSTATE_RUNNING\x10\x02\x12\x0f\n\x0bSTATE_ERROR\x10\x03\x12\x0f\n\x0bSTATE_ESTOP\x10\x04\x12\x0e\n\nSTATE_STOP\x10\x05\"\xbf\x01\n\rCommandHeader\x1aK\n\x07Request\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x61\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa2\x01\n\x0b\x43onfigParam\x12\x12\n\nparam_name\x18\x01 \x01(\t\x12\x13\n\tint_value\x18\x02 \x01(\x05H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x05 \x01(\x08H\x00\x12\x15\n\x0b\x62ytes_value\x18\x06 \x01(\x0cH\x00\x42\r\n\x0bparam_valueb\x06proto3')
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
_DEVICELIFECYCLE = DESCRIPTOR.message_types_by_name['DeviceLifecycle']
|
||
|
|
_COMMANDHEADER = DESCRIPTOR.message_types_by_name['CommandHeader']
|
||
|
|
_COMMANDHEADER_REQUEST = _COMMANDHEADER.nested_types_by_name['Request']
|
||
|
|
_COMMANDHEADER_FEEDBACK = _COMMANDHEADER.nested_types_by_name['Feedback']
|
||
|
|
_CONFIGPARAM = DESCRIPTOR.message_types_by_name['ConfigParam']
|
||
|
|
_DEVICELIFECYCLE_LIFECYCLE = _DEVICELIFECYCLE.enum_types_by_name['Lifecycle']
|
||
|
|
DeviceLifecycle = _reflection.GeneratedProtocolMessageType('DeviceLifecycle', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _DEVICELIFECYCLE,
|
||
|
|
'__module__' : 'cmvr.api.common_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.DeviceLifecycle)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(DeviceLifecycle)
|
||
|
|
|
||
|
|
CommandHeader = _reflection.GeneratedProtocolMessageType('CommandHeader', (_message.Message,), {
|
||
|
|
|
||
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _COMMANDHEADER_REQUEST,
|
||
|
|
'__module__' : 'cmvr.api.common_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.CommandHeader.Request)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
|
||
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _COMMANDHEADER_FEEDBACK,
|
||
|
|
'__module__' : 'cmvr.api.common_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.CommandHeader.Feedback)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
'DESCRIPTOR' : _COMMANDHEADER,
|
||
|
|
'__module__' : 'cmvr.api.common_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.CommandHeader)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(CommandHeader)
|
||
|
|
_sym_db.RegisterMessage(CommandHeader.Request)
|
||
|
|
_sym_db.RegisterMessage(CommandHeader.Feedback)
|
||
|
|
|
||
|
|
ConfigParam = _reflection.GeneratedProtocolMessageType('ConfigParam', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _CONFIGPARAM,
|
||
|
|
'__module__' : 'cmvr.api.common_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.ConfigParam)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(ConfigParam)
|
||
|
|
|
||
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
||
|
|
|
||
|
|
DESCRIPTOR._options = None
|
||
|
|
_DEVICELIFECYCLE._serialized_start=69
|
||
|
|
_DEVICELIFECYCLE._serialized_end=253
|
||
|
|
_DEVICELIFECYCLE_LIFECYCLE._serialized_start=140
|
||
|
|
_DEVICELIFECYCLE_LIFECYCLE._serialized_end=253
|
||
|
|
_COMMANDHEADER._serialized_start=256
|
||
|
|
_COMMANDHEADER._serialized_end=447
|
||
|
|
_COMMANDHEADER_REQUEST._serialized_start=273
|
||
|
|
_COMMANDHEADER_REQUEST._serialized_end=348
|
||
|
|
_COMMANDHEADER_FEEDBACK._serialized_start=350
|
||
|
|
_COMMANDHEADER_FEEDBACK._serialized_end=447
|
||
|
|
_CONFIGPARAM._serialized_start=450
|
||
|
|
_CONFIGPARAM._serialized_end=612
|
||
|
|
# @@protoc_insertion_point(module_scope)
|