viam.gen.component.audioout.v1.audioout_pb2 =========================================== .. py:module:: viam.gen.component.audioout.v1.audioout_pb2 .. autoapi-nested-parse:: @generated by mypy-protobuf. Do not edit manually! isort:skip_file Attributes ---------- .. autoapisummary:: viam.gen.component.audioout.v1.audioout_pb2.DESCRIPTOR viam.gen.component.audioout.v1.audioout_pb2.global___PlayRequest viam.gen.component.audioout.v1.audioout_pb2.global___PlayResponse Classes ------- .. autoapisummary:: viam.gen.component.audioout.v1.audioout_pb2.PlayRequest viam.gen.component.audioout.v1.audioout_pb2.PlayResponse Module Contents --------------- .. py:data:: DESCRIPTOR :type: google.protobuf.descriptor.FileDescriptor .. py:class:: PlayRequest(*, name: str = ..., audio_data: bytes = ..., audio_info: viam.gen.common.v1.common_pb2.AudioInfo | None = ..., extra: google.protobuf.struct_pb2.Struct | None = ...) Bases: :py:obj:`google.protobuf.message.Message` Abstract base class for protocol messages. Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below. .. py:attribute:: name :type: str .. py:attribute:: audio_data :type: bytes .. py:property:: audio_info :type: viam.gen.common.v1.common_pb2.AudioInfo Info describing the audio_data .. py:property:: extra :type: google.protobuf.struct_pb2.Struct .. py:method:: HasField(field_name: Literal['audio_info', b'audio_info', 'extra', b'extra']) -> bool Checks if a certain field is set for the message. For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, :exc:`ValueError` will be raised. :param field_name: The name of the field to check for presence. :type field_name: str :returns: Whether a value has been set for the named field. :rtype: bool :raises ValueError: if the `field_name` is not a member of this message. .. py:data:: global___PlayRequest .. py:class:: PlayResponse Bases: :py:obj:`google.protobuf.message.Message` Abstract base class for protocol messages. Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below. .. py:data:: global___PlayResponse