viam.gen.component.audioout.v1.audioout_pb2

@generated by mypy-protobuf. Do not edit manually! isort:skip_file

Attributes

DESCRIPTOR

Global___PlayRequest

Global___PlayResponse

Classes

PlayRequest

Abstract base class for protocol messages.

PlayResponse

Abstract base class for protocol messages.

Module Contents

viam.gen.component.audioout.v1.audioout_pb2.DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class viam.gen.component.audioout.v1.audioout_pb2.PlayRequest(*, name: str = ..., audio_data: bytes = ..., audio_info: common.v1.common_pb2.AudioInfo | None = ..., extra: google.protobuf.struct_pb2.Struct | None = ...)

Bases: 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.

name: str
audio_data: bytes
audio_info() common.v1.common_pb2.AudioInfo

Info describing the audio_data

extra() google.protobuf.struct_pb2.Struct
HasField(field_name: _HasFieldArgType) 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, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

type viam.gen.component.audioout.v1.audioout_pb2.Global___PlayRequest = PlayRequest
class viam.gen.component.audioout.v1.audioout_pb2.PlayResponse

Bases: 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.

type viam.gen.component.audioout.v1.audioout_pb2.Global___PlayResponse = PlayResponse