Source code for ubii.proto.v1.services.request.topicSubscription_pb_plus
"""
@generated by codestare-proto-plus. Do not edit manually!
"""
from builtins import (
str,
)
from proto import (
Field,
RepeatedField,
STRING,
module,
)
from proto.message import (
Message,
)
from typing import (
MutableSequence,
)
__protobuf__ = module(
package="ubii.proto.v1.services.request",
marshal="ubii.proto.v1",
manifest={
"TopicSubscription",
}
)
[docs]class TopicSubscription(Message):
"""
Attributes:
client_id (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
subscribe_topics (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.STRING`
unsubscribe_topics (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.STRING`
subscribe_topic_regexp (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.STRING`
unsubscribe_topic_regexp (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.STRING`
"""
client_id: str = Field(
STRING,
number=1,
)
subscribe_topics: MutableSequence[str] = RepeatedField(
STRING,
number=2,
)
unsubscribe_topics: MutableSequence[str] = RepeatedField(
STRING,
number=3,
)
subscribe_topic_regexp: MutableSequence[str] = RepeatedField(
STRING,
number=4,
)
unsubscribe_topic_regexp: MutableSequence[str] = RepeatedField(
STRING,
number=5,
)