Source code for ubii.proto.v1.general.success_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.general",
    marshal="ubii.proto.v1",
    manifest={
        "Success",
        "SuccessList",
    }
)


[docs]class Success(Message): """ Attributes: title (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.STRING` message (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.STRING` """ title: str = Field( STRING, number=1, ) message: str = Field( STRING, number=2, )
[docs]class SuccessList(Message): """ Attributes: elements (proto.fields.RepeatedField): :obj:`~proto.fields.RepeatedField` of type :obj:`~.Success` """ elements: MutableSequence[Success] = RepeatedField( MESSAGE, number=1, message=Success, )