dips.LengthDataVal module#
Generated wrapper for LengthData protobuf message.
- class dips.LengthDataVal.LengthDataVal(length_unit: DataFormatterVal | None = None, proto_message: Any | None = None)#
Bases:
objectSimple wrapper for LengthData with Pythonic getters and setters.
- copy()#
Create a copy of this wrapper.
- classmethod from_proto(proto_message)#
Create wrapper from existing protobuf message.
- property length: float#
Get the Length field value.
- property length_unit: DataFormatterVal#
Get the LengthUnit field as a wrapper.
- to_proto()#
Get the underlying protobuf message.