Source code for ubii.proto.v1.dataStructure.lists_pb_plus
"""
@generated by codestare-proto-plus. Do not edit manually!
"""
from builtins import (
bool,
float,
int,
str,
)
from proto import (
BOOL,
DOUBLE,
FLOAT,
INT32,
RepeatedField,
STRING,
module,
)
from proto.message import (
Message,
)
from typing import (
MutableSequence,
)
__protobuf__ = module(
package="ubii.proto.v1.dataStructure",
marshal="ubii.proto.v1",
manifest={
"StringList",
"DoubleList",
"FloatList",
"BoolList",
"Int32List",
}
)
[docs]class StringList(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.STRING`
"""
elements: MutableSequence[str] = RepeatedField(
STRING,
number=1,
)
[docs]class DoubleList(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.DOUBLE`
"""
elements: MutableSequence[float] = RepeatedField(
DOUBLE,
number=1,
)
[docs]class FloatList(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.FLOAT`
"""
elements: MutableSequence[float] = RepeatedField(
FLOAT,
number=1,
)
[docs]class BoolList(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.BOOL`
"""
elements: MutableSequence[bool] = RepeatedField(
BOOL,
number=1,
)
[docs]class Int32List(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.INT32`
"""
elements: MutableSequence[int] = RepeatedField(
INT32,
number=1,
)