2025-11-13 03:01:00 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2026-03-16 09:23:56 +08:00
|
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
2025-11-13 03:01:00 +08:00
|
|
|
# source: cmvr/api/speaker_command.proto
|
2026-03-16 09:23:56 +08:00
|
|
|
# Protobuf Python Version: 6.31.1
|
2025-11-13 03:01:00 +08:00
|
|
|
"""Generated protocol buffer code."""
|
|
|
|
|
from google.protobuf import descriptor as _descriptor
|
|
|
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
2026-03-16 09:23:56 +08:00
|
|
|
from google.protobuf import runtime_version as _runtime_version
|
2025-11-13 03:01:00 +08:00
|
|
|
from google.protobuf import symbol_database as _symbol_database
|
2026-03-16 09:23:56 +08:00
|
|
|
from google.protobuf.internal import builder as _builder
|
|
|
|
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
|
|
_runtime_version.Domain.PUBLIC,
|
|
|
|
|
6,
|
|
|
|
|
31,
|
|
|
|
|
1,
|
|
|
|
|
'',
|
|
|
|
|
'cmvr/api/speaker_command.proto'
|
|
|
|
|
)
|
2025-11-13 03:01:00 +08:00
|
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
|
|
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from cmvr.api import common_pb2 as cmvr_dot_api_dot_common__pb2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x63mvr/api/speaker_command.proto\x12\x08\x63mvr.api\x1a\x15\x63mvr/api/common.proto\"\xb3\x01\n\tAudioData\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x13\n\x0bsample_rate\x18\x02 \x01(\x05\x12\x10\n\x08\x63hannels\x18\x03 \x01(\x05\x12/\n\x06\x66ormat\x18\x04 \x01(\x0e\x32\x1f.cmvr.api.AudioData.AudioFormat\x12\r\n\x05\x63odec\x18\x05 \x01(\t\"1\n\x0b\x41udioFormat\x12\x07\n\x03PCM\x10\x00\x12\x07\n\x03MP3\x10\x01\x12\x07\n\x03\x41\x41\x43\x10\x02\x12\x07\n\x03WAV\x10\x03\"\x89\x01\n\x0cSpeakerState\x12\x16\n\x0eis_initialized\x18\x01 \x01(\x08\x12\x12\n\nis_running\x18\x02 \x01(\x08\x12\x13\n\x0bis_decoding\x18\x03 \x01(\x08\x12\x11\n\tis_paused\x18\x05 \x01(\x08\x12\x0e\n\x06volume\x18\x06 \x01(\x05\x12\x15\n\rerror_message\x18\x07 \x01(\t\"\xb9\x01\n\x16GetSpeakerStateCommand\x1a:\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x1a\x63\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\x12%\n\x05state\x18\x02 \x01(\x0b\x32\x16.cmvr.api.SpeakerState\"\xa0\x01\n\x10PlayAudioCommand\x1aN\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12\x12\n\naudio_path\x18\x02 \x01(\t\x1a<\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\x8e\x01\n\x12StopSpeakerCommand\x1a:\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x1a<\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\x8f\x01\n\x13PauseSpeakerCommand\x1a:\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x1a<\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\x90\x01\n\x14ResumeSpeakerCommand\x1a:\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x1a<\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\xa3\x01\n\x17SetSpeakerVolumeCommand\x1aJ\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12\x0e\n\x06volume\x18\x02 \x01(\x05\x1a<\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\xa3\x01\n\x17GetSpeakerVolumeCommand\x1a:\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x1aL\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\x12\x0e\n\x06volume\x18\x02 \x01(\x05\x62\x06proto3')
|
|
|
|
|
|
2026-03-16 09:23:56 +08:00
|
|
|
_globals = globals()
|
|
|
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
|
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cmvr.api.speaker_command_pb2', _globals)
|
|
|
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
|
|
DESCRIPTOR._loaded_options = None
|
|
|
|
|
_globals['_AUDIODATA']._serialized_start=68
|
|
|
|
|
_globals['_AUDIODATA']._serialized_end=247
|
|
|
|
|
_globals['_AUDIODATA_AUDIOFORMAT']._serialized_start=198
|
|
|
|
|
_globals['_AUDIODATA_AUDIOFORMAT']._serialized_end=247
|
|
|
|
|
_globals['_SPEAKERSTATE']._serialized_start=250
|
|
|
|
|
_globals['_SPEAKERSTATE']._serialized_end=387
|
|
|
|
|
_globals['_GETSPEAKERSTATECOMMAND']._serialized_start=390
|
|
|
|
|
_globals['_GETSPEAKERSTATECOMMAND']._serialized_end=575
|
|
|
|
|
_globals['_GETSPEAKERSTATECOMMAND_REQUEST']._serialized_start=416
|
|
|
|
|
_globals['_GETSPEAKERSTATECOMMAND_REQUEST']._serialized_end=474
|
|
|
|
|
_globals['_GETSPEAKERSTATECOMMAND_FEEDBACK']._serialized_start=476
|
|
|
|
|
_globals['_GETSPEAKERSTATECOMMAND_FEEDBACK']._serialized_end=575
|
|
|
|
|
_globals['_PLAYAUDIOCOMMAND']._serialized_start=578
|
|
|
|
|
_globals['_PLAYAUDIOCOMMAND']._serialized_end=738
|
|
|
|
|
_globals['_PLAYAUDIOCOMMAND_REQUEST']._serialized_start=598
|
|
|
|
|
_globals['_PLAYAUDIOCOMMAND_REQUEST']._serialized_end=676
|
|
|
|
|
_globals['_PLAYAUDIOCOMMAND_FEEDBACK']._serialized_start=476
|
|
|
|
|
_globals['_PLAYAUDIOCOMMAND_FEEDBACK']._serialized_end=536
|
|
|
|
|
_globals['_STOPSPEAKERCOMMAND']._serialized_start=741
|
|
|
|
|
_globals['_STOPSPEAKERCOMMAND']._serialized_end=883
|
|
|
|
|
_globals['_STOPSPEAKERCOMMAND_REQUEST']._serialized_start=416
|
|
|
|
|
_globals['_STOPSPEAKERCOMMAND_REQUEST']._serialized_end=474
|
|
|
|
|
_globals['_STOPSPEAKERCOMMAND_FEEDBACK']._serialized_start=476
|
|
|
|
|
_globals['_STOPSPEAKERCOMMAND_FEEDBACK']._serialized_end=536
|
|
|
|
|
_globals['_PAUSESPEAKERCOMMAND']._serialized_start=886
|
|
|
|
|
_globals['_PAUSESPEAKERCOMMAND']._serialized_end=1029
|
|
|
|
|
_globals['_PAUSESPEAKERCOMMAND_REQUEST']._serialized_start=416
|
|
|
|
|
_globals['_PAUSESPEAKERCOMMAND_REQUEST']._serialized_end=474
|
|
|
|
|
_globals['_PAUSESPEAKERCOMMAND_FEEDBACK']._serialized_start=476
|
|
|
|
|
_globals['_PAUSESPEAKERCOMMAND_FEEDBACK']._serialized_end=536
|
|
|
|
|
_globals['_RESUMESPEAKERCOMMAND']._serialized_start=1032
|
|
|
|
|
_globals['_RESUMESPEAKERCOMMAND']._serialized_end=1176
|
|
|
|
|
_globals['_RESUMESPEAKERCOMMAND_REQUEST']._serialized_start=416
|
|
|
|
|
_globals['_RESUMESPEAKERCOMMAND_REQUEST']._serialized_end=474
|
|
|
|
|
_globals['_RESUMESPEAKERCOMMAND_FEEDBACK']._serialized_start=476
|
|
|
|
|
_globals['_RESUMESPEAKERCOMMAND_FEEDBACK']._serialized_end=536
|
|
|
|
|
_globals['_SETSPEAKERVOLUMECOMMAND']._serialized_start=1179
|
|
|
|
|
_globals['_SETSPEAKERVOLUMECOMMAND']._serialized_end=1342
|
|
|
|
|
_globals['_SETSPEAKERVOLUMECOMMAND_REQUEST']._serialized_start=1206
|
|
|
|
|
_globals['_SETSPEAKERVOLUMECOMMAND_REQUEST']._serialized_end=1280
|
|
|
|
|
_globals['_SETSPEAKERVOLUMECOMMAND_FEEDBACK']._serialized_start=476
|
|
|
|
|
_globals['_SETSPEAKERVOLUMECOMMAND_FEEDBACK']._serialized_end=536
|
|
|
|
|
_globals['_GETSPEAKERVOLUMECOMMAND']._serialized_start=1345
|
|
|
|
|
_globals['_GETSPEAKERVOLUMECOMMAND']._serialized_end=1508
|
|
|
|
|
_globals['_GETSPEAKERVOLUMECOMMAND_REQUEST']._serialized_start=416
|
|
|
|
|
_globals['_GETSPEAKERVOLUMECOMMAND_REQUEST']._serialized_end=474
|
|
|
|
|
_globals['_GETSPEAKERVOLUMECOMMAND_FEEDBACK']._serialized_start=1432
|
|
|
|
|
_globals['_GETSPEAKERVOLUMECOMMAND_FEEDBACK']._serialized_end=1508
|
2025-11-13 03:01:00 +08:00
|
|
|
# @@protoc_insertion_point(module_scope)
|