Source code for ubii.proto.v1.dataStructure.vector3_pb_plus

"""
@generated by codestare-proto-plus.  Do not edit manually!
"""
from builtins import (
    float,
)

from proto import (
    DOUBLE,
    Field,
    MESSAGE,
    RepeatedField,
    module,
)

from proto.message import (
    Message,
)

from typing import (
    MutableSequence,
)


__protobuf__ = module(
    package="ubii.proto.v1.dataStructure",
    marshal="ubii.proto.v1",
    manifest={
        "Vector3",
        "Vector3List",
    }
)


[docs]class Vector3(Message): """ Attributes: x (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.DOUBLE` y (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.DOUBLE` z (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.DOUBLE` """ x: float = Field( DOUBLE, number=1, ) y: float = Field( DOUBLE, number=2, ) z: float = Field( DOUBLE, number=3, )
[docs]class Vector3List(Message): """ Attributes: elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type :obj:`~.Vector3` """ elements: MutableSequence[Vector3] = RepeatedField( MESSAGE, number=1, message=Vector3, )