Source code for ubii.proto.v1.dataStructure.object3d_pb_plus
"""
@generated by codestare-proto-plus. Do not edit manually!
"""
from builtins import (
str,
)
from proto import (
Field,
MESSAGE,
RepeatedField,
STRING,
module,
)
from proto.message import (
Message,
)
from typing import (
MutableSequence,
)
from ubii.proto.v1.dataStructure.pose3d_pb_plus import (
Pose3D,
)
from ubii.proto.v1.dataStructure.vector3_pb_plus import (
Vector3,
)
__protobuf__ = module(
package="ubii.proto.v1.dataStructure",
marshal="ubii.proto.v1",
manifest={
"Object3D",
"Object3DList",
}
)
[docs]class Object3D(Message):
"""
Attributes:
id (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
pose (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~ubii.proto.v1.dataStructure.pose3d_pb_plus.Pose3D`
size (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~ubii.proto.v1.dataStructure.vector3_pb_plus.Vector3`
user_data_json (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
"""
id: str = Field(
STRING,
number=1,
)
pose: Pose3D = Field(
MESSAGE,
number=2,
message=Pose3D,
)
size: Vector3 = Field(
MESSAGE,
number=3,
message=Vector3,
)
user_data_json: str = Field(
STRING,
number=4,
)
[docs]class Object3DList(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~.Object3D`
"""
elements: MutableSequence[Object3D] = RepeatedField(
MESSAGE,
number=1,
message=Object3D,
)