Source code for ubii.proto.v1.services.service_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.services",
marshal="ubii.proto.v1",
manifest={
"Service",
"ServiceList",
}
)
[docs]class Service(Message):
"""
Attributes:
topic (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
request_message_format (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
response_message_format (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
tags (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~proto.primitives.ProtoType.STRING`
description (proto.fields.Field): :obj:`~proto.fields.Field` of type
:obj:`~proto.primitives.ProtoType.STRING`
"""
topic: str = Field(
STRING,
number=1,
)
request_message_format: str = Field(
STRING,
number=2,
)
response_message_format: str = Field(
STRING,
number=3,
)
tags: MutableSequence[str] = RepeatedField(
STRING,
number=4,
)
description: str = Field(
STRING,
number=5,
)
[docs]class ServiceList(Message):
"""
Attributes:
elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type
:obj:`~.Service`
"""
elements: MutableSequence[Service] = RepeatedField(
MESSAGE,
number=1,
message=Service,
)