Lines Matching refs:CompSpecMsg
20 from vts.proto import ComponentSpecificationMessage_pb2 as CompSpecMsg unknown
38 message.type = CompSpecMsg.TYPE_ENUM
65 message.type = CompSpecMsg.TYPE_SCALAR
85 message.type = CompSpecMsg.TYPE_STRING
105 message.type = CompSpecMsg.TYPE_VECTOR
164 message.type = CompSpecMsg.TYPE_STRUCT
171 if attr.type == CompSpecMsg.TYPE_ENUM:
173 elif attr.type == CompSpecMsg.TYPE_SCALAR:
175 elif attr.type == CompSpecMsg.TYPE_STRING:
177 elif attr.type == CompSpecMsg.TYPE_VECTOR:
179 elif attr.type == CompSpecMsg.TYPE_STRUCT:
186 elif attr.type == CompSpecMsg.TYPE_UNION:
229 message.type = CompSpecMsg.TYPE_UNION
238 if attr.type == CompSpecMsg.TYPE_ENUM:
240 elif attr.type == CompSpecMsg.TYPE_SCALAR:
242 elif attr.type == CompSpecMsg.TYPE_STRING:
244 elif attr.type == CompSpecMsg.TYPE_VECTOR:
246 elif attr.type == CompSpecMsg.TYPE_STRUCT:
254 elif attr.type == CompSpecMsg.TYPE_UNION:
293 message = CompSpecMsg.VariableSpecificationMessage()
296 if isinstance(py_value, CompSpecMsg.VariableSpecificationMessage):
298 elif pb_spec.type == CompSpecMsg.TYPE_STRUCT:
300 elif pb_spec.type == CompSpecMsg.TYPE_UNION:
302 elif pb_spec.type == CompSpecMsg.TYPE_ENUM:
304 elif pb_spec.type == CompSpecMsg.TYPE_SCALAR:
306 elif pb_spec.type == CompSpecMsg.TYPE_STRING:
308 elif pb_spec.type == CompSpecMsg.TYPE_VECTOR: