Source code for ubii.proto.v1.devices.topicMux_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,
)
__protobuf__ = module(
package="ubii.proto.v1.devices",
marshal="ubii.proto.v1",
manifest={
"TopicMux",
"TopicMuxList",
}
)
[docs]class TopicMux(Message):
"""
Attributes:
id (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
name (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
data_type (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
topic_selector (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
identity_match_pattern (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
"""
id: str = Field(
STRING,
number=1,
)
name: str = Field(
STRING,
number=2,
)
data_type: str = Field(
STRING,
number=3,
)
topic_selector: str = Field(
STRING,
number=4,
)
identity_match_pattern: str = Field(
STRING,
number=5,
)
[docs]class TopicMuxList(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~.TopicMux`
"""
elements: MutableSequence[TopicMux] = RepeatedField(
MESSAGE,
number=1,
message=TopicMux,
)