5 _b=sys.version_info[0]<3
and (
lambda x:x)
or (
lambda x:x.encode(
'latin1'))
6 from google.protobuf
import descriptor
as _descriptor
7 from google.protobuf
import message
as _message
8 from google.protobuf
import reflection
as _reflection
9 from google.protobuf
import symbol_database
as _symbol_database
12 _sym_db = _symbol_database.Default()
15 import math_pb2
as math__pb2
18 DESCRIPTOR = _descriptor.FileDescriptor(
19 name=
'robot_state.proto',
22 serialized_options=
None,
23 serialized_pb=
_b(
'\n\x11robot_state.proto\x12\tflr.robot\x1a\nmath.proto\"\x83\x03\n\nRobotState\x12\r\n\x05query\x18\x01 \x01(\t\x12\x13\n\x0bpage_number\x18\x02 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x03 \x01(\x05\x12,\n\x06\x63orpus\x18\x04 \x01(\x0e\x32\x1c.flr.robot.RobotState.Corpus\x12\x1d\n\x03pos\x18\x05 \x01(\x0b\x32\x10.flr.math.Vector\x12\x17\n\x0fjoint_positions\x18\x06 \x03(\x01\x12@\n\x0esensor_reading\x18\x07 \x03(\x0b\x32(.flr.robot.RobotState.SensorReadingEntry\x1a\x34\n\x12SensorReadingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"Z\n\x06\x43orpus\x12\r\n\tUNIVERSAL\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\n\n\x06IMAGES\x10\x02\x12\t\n\x05LOCAL\x10\x03\x12\x08\n\x04NEWS\x10\x04\x12\x0c\n\x08PRODUCTS\x10\x05\x12\t\n\x05VIDEO\x10\x06\x62\x06proto3')
25 dependencies=[math__pb2.DESCRIPTOR,])
29 _ROBOTSTATE_CORPUS = _descriptor.EnumDescriptor(
31 full_name=
'flr.robot.RobotState.Corpus',
35 _descriptor.EnumValueDescriptor(
36 name=
'UNIVERSAL', index=0, number=0,
37 serialized_options=
None,
39 _descriptor.EnumValueDescriptor(
40 name=
'WEB', index=1, number=1,
41 serialized_options=
None,
43 _descriptor.EnumValueDescriptor(
44 name=
'IMAGES', index=2, number=2,
45 serialized_options=
None,
47 _descriptor.EnumValueDescriptor(
48 name=
'LOCAL', index=3, number=3,
49 serialized_options=
None,
51 _descriptor.EnumValueDescriptor(
52 name=
'NEWS', index=4, number=4,
53 serialized_options=
None,
55 _descriptor.EnumValueDescriptor(
56 name=
'PRODUCTS', index=5, number=5,
57 serialized_options=
None,
59 _descriptor.EnumValueDescriptor(
60 name=
'VIDEO', index=6, number=6,
61 serialized_options=
None,
65 serialized_options=
None,
69 _sym_db.RegisterEnumDescriptor(_ROBOTSTATE_CORPUS)
72 _ROBOTSTATE_SENSORREADINGENTRY = _descriptor.Descriptor(
73 name=
'SensorReadingEntry',
74 full_name=
'flr.robot.RobotState.SensorReadingEntry',
79 _descriptor.FieldDescriptor(
80 name=
'key', full_name=
'flr.robot.RobotState.SensorReadingEntry.key', index=0,
81 number=1, type=9, cpp_type=9, label=1,
82 has_default_value=
False, default_value=
_b(
"").decode(
'utf-8'),
83 message_type=
None, enum_type=
None, containing_type=
None,
84 is_extension=
False, extension_scope=
None,
85 serialized_options=
None, file=DESCRIPTOR),
86 _descriptor.FieldDescriptor(
87 name=
'value', full_name=
'flr.robot.RobotState.SensorReadingEntry.value', index=1,
88 number=2, type=5, cpp_type=1, label=1,
89 has_default_value=
False, default_value=0,
90 message_type=
None, enum_type=
None, containing_type=
None,
91 is_extension=
False, extension_scope=
None,
92 serialized_options=
None, file=DESCRIPTOR),
99 serialized_options=
_b(
'8\001'),
105 serialized_start=288,
109 _ROBOTSTATE = _descriptor.Descriptor(
111 full_name=
'flr.robot.RobotState',
114 containing_type=
None,
116 _descriptor.FieldDescriptor(
117 name=
'query', full_name=
'flr.robot.RobotState.query', index=0,
118 number=1, type=9, cpp_type=9, label=1,
119 has_default_value=
False, default_value=
_b(
"").decode(
'utf-8'),
120 message_type=
None, enum_type=
None, containing_type=
None,
121 is_extension=
False, extension_scope=
None,
122 serialized_options=
None, file=DESCRIPTOR),
123 _descriptor.FieldDescriptor(
124 name=
'page_number', full_name=
'flr.robot.RobotState.page_number', index=1,
125 number=2, type=5, cpp_type=1, label=1,
126 has_default_value=
False, default_value=0,
127 message_type=
None, enum_type=
None, containing_type=
None,
128 is_extension=
False, extension_scope=
None,
129 serialized_options=
None, file=DESCRIPTOR),
130 _descriptor.FieldDescriptor(
131 name=
'result_per_page', full_name=
'flr.robot.RobotState.result_per_page', index=2,
132 number=3, type=5, cpp_type=1, label=1,
133 has_default_value=
False, default_value=0,
134 message_type=
None, enum_type=
None, containing_type=
None,
135 is_extension=
False, extension_scope=
None,
136 serialized_options=
None, file=DESCRIPTOR),
137 _descriptor.FieldDescriptor(
138 name=
'corpus', full_name=
'flr.robot.RobotState.corpus', index=3,
139 number=4, type=14, cpp_type=8, label=1,
140 has_default_value=
False, default_value=0,
141 message_type=
None, enum_type=
None, containing_type=
None,
142 is_extension=
False, extension_scope=
None,
143 serialized_options=
None, file=DESCRIPTOR),
144 _descriptor.FieldDescriptor(
145 name=
'pos', full_name=
'flr.robot.RobotState.pos', index=4,
146 number=5, type=11, cpp_type=10, label=1,
147 has_default_value=
False, default_value=
None,
148 message_type=
None, enum_type=
None, containing_type=
None,
149 is_extension=
False, extension_scope=
None,
150 serialized_options=
None, file=DESCRIPTOR),
151 _descriptor.FieldDescriptor(
152 name=
'joint_positions', full_name=
'flr.robot.RobotState.joint_positions', index=5,
153 number=6, type=1, cpp_type=5, label=3,
154 has_default_value=
False, default_value=[],
155 message_type=
None, enum_type=
None, containing_type=
None,
156 is_extension=
False, extension_scope=
None,
157 serialized_options=
None, file=DESCRIPTOR),
158 _descriptor.FieldDescriptor(
159 name=
'sensor_reading', full_name=
'flr.robot.RobotState.sensor_reading', index=6,
160 number=7, type=11, cpp_type=10, label=3,
161 has_default_value=
False, default_value=[],
162 message_type=
None, enum_type=
None, containing_type=
None,
163 is_extension=
False, extension_scope=
None,
164 serialized_options=
None, file=DESCRIPTOR),
168 nested_types=[_ROBOTSTATE_SENSORREADINGENTRY, ],
172 serialized_options=
None,
182 _ROBOTSTATE_SENSORREADINGENTRY.containing_type = _ROBOTSTATE
183 _ROBOTSTATE.fields_by_name[
'corpus'].enum_type = _ROBOTSTATE_CORPUS
184 _ROBOTSTATE.fields_by_name[
'pos'].message_type = math__pb2._VECTOR
185 _ROBOTSTATE.fields_by_name[
'sensor_reading'].message_type = _ROBOTSTATE_SENSORREADINGENTRY
186 _ROBOTSTATE_CORPUS.containing_type = _ROBOTSTATE
187 DESCRIPTOR.message_types_by_name[
'RobotState'] = _ROBOTSTATE
188 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
190 RobotState = _reflection.GeneratedProtocolMessageType(
'RobotState', (_message.Message,), dict(
192 SensorReadingEntry = _reflection.GeneratedProtocolMessageType(
'SensorReadingEntry', (_message.Message,), dict(
193 DESCRIPTOR = _ROBOTSTATE_SENSORREADINGENTRY,
194 __module__ =
'robot_state_pb2'
198 DESCRIPTOR = _ROBOTSTATE,
199 __module__ =
'robot_state_pb2'
202 _sym_db.RegisterMessage(RobotState)
203 _sym_db.RegisterMessage(RobotState.SensorReadingEntry)
206 _ROBOTSTATE_SENSORREADINGENTRY._options =
None