Source code for ubii.proto.v1.services.serviceRequest_pb_plus

"""
@generated by codestare-proto-plus.  Do not edit manually!
"""
from builtins import (
    str,
)

from proto import (
    Field,
    MESSAGE,
    STRING,
    module,
)

from proto.message import (
    Message,
)

from ubii.proto.v1.clients.client_pb_plus import (
    Client,
    ClientList,
)

from ubii.proto.v1.devices.component_pb_plus import (
    Component,
    ComponentList,
)

from ubii.proto.v1.devices.device_pb_plus import (
    Device,
    DeviceList,
)

from ubii.proto.v1.devices.topicDemux_pb_plus import (
    TopicDemux,
    TopicDemuxList,
)

from ubii.proto.v1.devices.topicMux_pb_plus import (
    TopicMux,
    TopicMuxList,
)

from ubii.proto.v1.processing.lockstepProcessing_pb_plus import (
    LockstepProcessingRequest,
)

from ubii.proto.v1.processing.processingModule_pb_plus import (
    ProcessingModule,
    ProcessingModuleList,
)

from ubii.proto.v1.services.request.topicSubscription_pb_plus import (
    TopicSubscription,
)

from ubii.proto.v1.sessions.session_pb_plus import (
    Session,
    SessionList,
)


__protobuf__ = module(
    package="ubii.proto.v1.services",
    marshal="ubii.proto.v1",
    manifest={
        "ServiceRequest",
    }
)


[docs]class ServiceRequest(Message): """ .. admonition:: One Ofs This message defines the following *oneof* group[s] .. attribute:: type - :attr:`.client` - :attr:`.device` - :attr:`.topic_subscription` - :attr:`.session` - :attr:`.session_list` - :attr:`.processing_module` - :attr:`.processing_module_list` - :attr:`.topic_mux` - :attr:`.topic_mux_list` - :attr:`.topic_demux` - :attr:`.topic_demux_list` - :attr:`.client_list` - :attr:`.device_list` - :attr:`.lockstep_processing_request` - :attr:`.component` - :attr:`.component_list` Attributes: topic (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~proto.primitives.ProtoType.STRING` client (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.clients.client_pb_plus.Client` -- *oneof* :attr:`.type` device (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.device_pb_plus.Device` -- *oneof* :attr:`.type` topic_subscription (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.services.request.topicSubscription_pb_plus.TopicSubscription` -- *oneof* :attr:`.type` session (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.sessions.session_pb_plus.Session` -- *oneof* :attr:`.type` session_list (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.sessions.session_pb_plus.SessionList` -- *oneof* :attr:`.type` processing_module (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.processing.processingModule_pb_plus.ProcessingModule` -- *oneof* :attr:`.type` processing_module_list (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.processing.processingModule_pb_plus.ProcessingModuleList` -- *oneof* :attr:`.type` topic_mux (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.topicMux_pb_plus.TopicMux` -- *oneof* :attr:`.type` topic_mux_list (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.topicMux_pb_plus.TopicMuxList` -- *oneof* :attr:`.type` topic_demux (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.topicDemux_pb_plus.TopicDemux` -- *oneof* :attr:`.type` topic_demux_list (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.topicDemux_pb_plus.TopicDemuxList` -- *oneof* :attr:`.type` client_list (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.clients.client_pb_plus.ClientList` -- *oneof* :attr:`.type` device_list (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.device_pb_plus.DeviceList` -- *oneof* :attr:`.type` lockstep_processing_request (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.processing.lockstepProcessing_pb_plus.LockstepProcessingRequest` -- *oneof* :attr:`.type` component (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.component_pb_plus.Component` -- *oneof* :attr:`.type` component_list (proto.fields.Field): :obj:`~proto.fields.Field` of type :obj:`~ubii.proto.v1.devices.component_pb_plus.ComponentList` -- *oneof* :attr:`.type` """ topic: str = Field( STRING, number=1, ) client: Client = Field( MESSAGE, number=2, message=Client, oneof='type', ) device: Device = Field( MESSAGE, number=3, message=Device, oneof='type', ) topic_subscription: TopicSubscription = Field( MESSAGE, number=4, message=TopicSubscription, oneof='type', ) session: Session = Field( MESSAGE, number=5, message=Session, oneof='type', ) session_list: SessionList = Field( MESSAGE, number=6, message=SessionList, oneof='type', ) processing_module: ProcessingModule = Field( MESSAGE, number=7, message=ProcessingModule, oneof='type', ) processing_module_list: ProcessingModuleList = Field( MESSAGE, number=8, message=ProcessingModuleList, oneof='type', ) topic_mux: TopicMux = Field( MESSAGE, number=9, message=TopicMux, oneof='type', ) topic_mux_list: TopicMuxList = Field( MESSAGE, number=10, message=TopicMuxList, oneof='type', ) topic_demux: TopicDemux = Field( MESSAGE, number=11, message=TopicDemux, oneof='type', ) topic_demux_list: TopicDemuxList = Field( MESSAGE, number=12, message=TopicDemuxList, oneof='type', ) client_list: ClientList = Field( MESSAGE, number=13, message=ClientList, oneof='type', ) device_list: DeviceList = Field( MESSAGE, number=14, message=DeviceList, oneof='type', ) lockstep_processing_request: LockstepProcessingRequest = Field( MESSAGE, number=15, message=LockstepProcessingRequest, oneof='type', ) component: Component = Field( MESSAGE, number=16, message=Component, oneof='type', ) component_list: ComponentList = Field( MESSAGE, number=17, message=ComponentList, oneof='type', )