260 lines
14 KiB
Python
260 lines
14 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: cmvr/api/microphone_command.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
# @@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!cmvr/api/microphone_command.proto\x12\x08\x63mvr.api\x1a\x15\x63mvr/api/common.proto\"s\n\x08MicState\x12\x16\n\x0eis_initialized\x18\x01 \x01(\x08\x12\x12\n\nis_running\x18\x02 \x01(\x08\x12\x14\n\x0cis_recording\x18\x03 \x01(\x08\x12\x0e\n\x06volume\x18\x04 \x01(\x05\x12\x15\n\rerror_message\x18\x05 \x01(\t\"\xb1\x01\n\x12GetMicStateCommand\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\x12!\n\x05state\x18\x02 \x01(\x0b\x32\x12.cmvr.api.MicState\"\xa7\x01\n\x18StartMicRecordingCommand\x1aM\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12\x11\n\tfile_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\"\x93\x01\n\x17StopMicRecordingCommand\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\"\x94\x01\n\x18PauseMicRecordingCommand\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\"\x95\x01\n\x19ResumeMicRecordingCommand\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\"\xa4\x01\n\x18SetMicPhoneVolumeCommand\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\"\xa4\x01\n\x18GetMicPhoneVolumeCommand\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')
|
|
|
|
|
|
|
|
_MICSTATE = DESCRIPTOR.message_types_by_name['MicState']
|
|
_GETMICSTATECOMMAND = DESCRIPTOR.message_types_by_name['GetMicStateCommand']
|
|
_GETMICSTATECOMMAND_REQUEST = _GETMICSTATECOMMAND.nested_types_by_name['Request']
|
|
_GETMICSTATECOMMAND_FEEDBACK = _GETMICSTATECOMMAND.nested_types_by_name['Feedback']
|
|
_STARTMICRECORDINGCOMMAND = DESCRIPTOR.message_types_by_name['StartMicRecordingCommand']
|
|
_STARTMICRECORDINGCOMMAND_REQUEST = _STARTMICRECORDINGCOMMAND.nested_types_by_name['Request']
|
|
_STARTMICRECORDINGCOMMAND_FEEDBACK = _STARTMICRECORDINGCOMMAND.nested_types_by_name['Feedback']
|
|
_STOPMICRECORDINGCOMMAND = DESCRIPTOR.message_types_by_name['StopMicRecordingCommand']
|
|
_STOPMICRECORDINGCOMMAND_REQUEST = _STOPMICRECORDINGCOMMAND.nested_types_by_name['Request']
|
|
_STOPMICRECORDINGCOMMAND_FEEDBACK = _STOPMICRECORDINGCOMMAND.nested_types_by_name['Feedback']
|
|
_PAUSEMICRECORDINGCOMMAND = DESCRIPTOR.message_types_by_name['PauseMicRecordingCommand']
|
|
_PAUSEMICRECORDINGCOMMAND_REQUEST = _PAUSEMICRECORDINGCOMMAND.nested_types_by_name['Request']
|
|
_PAUSEMICRECORDINGCOMMAND_FEEDBACK = _PAUSEMICRECORDINGCOMMAND.nested_types_by_name['Feedback']
|
|
_RESUMEMICRECORDINGCOMMAND = DESCRIPTOR.message_types_by_name['ResumeMicRecordingCommand']
|
|
_RESUMEMICRECORDINGCOMMAND_REQUEST = _RESUMEMICRECORDINGCOMMAND.nested_types_by_name['Request']
|
|
_RESUMEMICRECORDINGCOMMAND_FEEDBACK = _RESUMEMICRECORDINGCOMMAND.nested_types_by_name['Feedback']
|
|
_SETMICPHONEVOLUMECOMMAND = DESCRIPTOR.message_types_by_name['SetMicPhoneVolumeCommand']
|
|
_SETMICPHONEVOLUMECOMMAND_REQUEST = _SETMICPHONEVOLUMECOMMAND.nested_types_by_name['Request']
|
|
_SETMICPHONEVOLUMECOMMAND_FEEDBACK = _SETMICPHONEVOLUMECOMMAND.nested_types_by_name['Feedback']
|
|
_GETMICPHONEVOLUMECOMMAND = DESCRIPTOR.message_types_by_name['GetMicPhoneVolumeCommand']
|
|
_GETMICPHONEVOLUMECOMMAND_REQUEST = _GETMICPHONEVOLUMECOMMAND.nested_types_by_name['Request']
|
|
_GETMICPHONEVOLUMECOMMAND_FEEDBACK = _GETMICPHONEVOLUMECOMMAND.nested_types_by_name['Feedback']
|
|
MicState = _reflection.GeneratedProtocolMessageType('MicState', (_message.Message,), {
|
|
'DESCRIPTOR' : _MICSTATE,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.MicState)
|
|
})
|
|
_sym_db.RegisterMessage(MicState)
|
|
|
|
GetMicStateCommand = _reflection.GeneratedProtocolMessageType('GetMicStateCommand', (_message.Message,), {
|
|
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
'DESCRIPTOR' : _GETMICSTATECOMMAND_REQUEST,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetMicStateCommand.Request)
|
|
})
|
|
,
|
|
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
|
'DESCRIPTOR' : _GETMICSTATECOMMAND_FEEDBACK,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetMicStateCommand.Feedback)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _GETMICSTATECOMMAND,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetMicStateCommand)
|
|
})
|
|
_sym_db.RegisterMessage(GetMicStateCommand)
|
|
_sym_db.RegisterMessage(GetMicStateCommand.Request)
|
|
_sym_db.RegisterMessage(GetMicStateCommand.Feedback)
|
|
|
|
StartMicRecordingCommand = _reflection.GeneratedProtocolMessageType('StartMicRecordingCommand', (_message.Message,), {
|
|
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
'DESCRIPTOR' : _STARTMICRECORDINGCOMMAND_REQUEST,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.StartMicRecordingCommand.Request)
|
|
})
|
|
,
|
|
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
|
'DESCRIPTOR' : _STARTMICRECORDINGCOMMAND_FEEDBACK,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.StartMicRecordingCommand.Feedback)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _STARTMICRECORDINGCOMMAND,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.StartMicRecordingCommand)
|
|
})
|
|
_sym_db.RegisterMessage(StartMicRecordingCommand)
|
|
_sym_db.RegisterMessage(StartMicRecordingCommand.Request)
|
|
_sym_db.RegisterMessage(StartMicRecordingCommand.Feedback)
|
|
|
|
StopMicRecordingCommand = _reflection.GeneratedProtocolMessageType('StopMicRecordingCommand', (_message.Message,), {
|
|
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
'DESCRIPTOR' : _STOPMICRECORDINGCOMMAND_REQUEST,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.StopMicRecordingCommand.Request)
|
|
})
|
|
,
|
|
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
|
'DESCRIPTOR' : _STOPMICRECORDINGCOMMAND_FEEDBACK,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.StopMicRecordingCommand.Feedback)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _STOPMICRECORDINGCOMMAND,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.StopMicRecordingCommand)
|
|
})
|
|
_sym_db.RegisterMessage(StopMicRecordingCommand)
|
|
_sym_db.RegisterMessage(StopMicRecordingCommand.Request)
|
|
_sym_db.RegisterMessage(StopMicRecordingCommand.Feedback)
|
|
|
|
PauseMicRecordingCommand = _reflection.GeneratedProtocolMessageType('PauseMicRecordingCommand', (_message.Message,), {
|
|
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
'DESCRIPTOR' : _PAUSEMICRECORDINGCOMMAND_REQUEST,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.PauseMicRecordingCommand.Request)
|
|
})
|
|
,
|
|
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
|
'DESCRIPTOR' : _PAUSEMICRECORDINGCOMMAND_FEEDBACK,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.PauseMicRecordingCommand.Feedback)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _PAUSEMICRECORDINGCOMMAND,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.PauseMicRecordingCommand)
|
|
})
|
|
_sym_db.RegisterMessage(PauseMicRecordingCommand)
|
|
_sym_db.RegisterMessage(PauseMicRecordingCommand.Request)
|
|
_sym_db.RegisterMessage(PauseMicRecordingCommand.Feedback)
|
|
|
|
ResumeMicRecordingCommand = _reflection.GeneratedProtocolMessageType('ResumeMicRecordingCommand', (_message.Message,), {
|
|
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
'DESCRIPTOR' : _RESUMEMICRECORDINGCOMMAND_REQUEST,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.ResumeMicRecordingCommand.Request)
|
|
})
|
|
,
|
|
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
|
'DESCRIPTOR' : _RESUMEMICRECORDINGCOMMAND_FEEDBACK,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.ResumeMicRecordingCommand.Feedback)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _RESUMEMICRECORDINGCOMMAND,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.ResumeMicRecordingCommand)
|
|
})
|
|
_sym_db.RegisterMessage(ResumeMicRecordingCommand)
|
|
_sym_db.RegisterMessage(ResumeMicRecordingCommand.Request)
|
|
_sym_db.RegisterMessage(ResumeMicRecordingCommand.Feedback)
|
|
|
|
SetMicPhoneVolumeCommand = _reflection.GeneratedProtocolMessageType('SetMicPhoneVolumeCommand', (_message.Message,), {
|
|
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
'DESCRIPTOR' : _SETMICPHONEVOLUMECOMMAND_REQUEST,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SetMicPhoneVolumeCommand.Request)
|
|
})
|
|
,
|
|
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
|
'DESCRIPTOR' : _SETMICPHONEVOLUMECOMMAND_FEEDBACK,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SetMicPhoneVolumeCommand.Feedback)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _SETMICPHONEVOLUMECOMMAND,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SetMicPhoneVolumeCommand)
|
|
})
|
|
_sym_db.RegisterMessage(SetMicPhoneVolumeCommand)
|
|
_sym_db.RegisterMessage(SetMicPhoneVolumeCommand.Request)
|
|
_sym_db.RegisterMessage(SetMicPhoneVolumeCommand.Feedback)
|
|
|
|
GetMicPhoneVolumeCommand = _reflection.GeneratedProtocolMessageType('GetMicPhoneVolumeCommand', (_message.Message,), {
|
|
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
|
'DESCRIPTOR' : _GETMICPHONEVOLUMECOMMAND_REQUEST,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetMicPhoneVolumeCommand.Request)
|
|
})
|
|
,
|
|
|
|
'Feedback' : _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
|
|
'DESCRIPTOR' : _GETMICPHONEVOLUMECOMMAND_FEEDBACK,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetMicPhoneVolumeCommand.Feedback)
|
|
})
|
|
,
|
|
'DESCRIPTOR' : _GETMICPHONEVOLUMECOMMAND,
|
|
'__module__' : 'cmvr.api.microphone_command_pb2'
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetMicPhoneVolumeCommand)
|
|
})
|
|
_sym_db.RegisterMessage(GetMicPhoneVolumeCommand)
|
|
_sym_db.RegisterMessage(GetMicPhoneVolumeCommand.Request)
|
|
_sym_db.RegisterMessage(GetMicPhoneVolumeCommand.Feedback)
|
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
_MICSTATE._serialized_start=70
|
|
_MICSTATE._serialized_end=185
|
|
_GETMICSTATECOMMAND._serialized_start=188
|
|
_GETMICSTATECOMMAND._serialized_end=365
|
|
_GETMICSTATECOMMAND_REQUEST._serialized_start=210
|
|
_GETMICSTATECOMMAND_REQUEST._serialized_end=268
|
|
_GETMICSTATECOMMAND_FEEDBACK._serialized_start=270
|
|
_GETMICSTATECOMMAND_FEEDBACK._serialized_end=365
|
|
_STARTMICRECORDINGCOMMAND._serialized_start=368
|
|
_STARTMICRECORDINGCOMMAND._serialized_end=535
|
|
_STARTMICRECORDINGCOMMAND_REQUEST._serialized_start=396
|
|
_STARTMICRECORDINGCOMMAND_REQUEST._serialized_end=473
|
|
_STARTMICRECORDINGCOMMAND_FEEDBACK._serialized_start=270
|
|
_STARTMICRECORDINGCOMMAND_FEEDBACK._serialized_end=330
|
|
_STOPMICRECORDINGCOMMAND._serialized_start=538
|
|
_STOPMICRECORDINGCOMMAND._serialized_end=685
|
|
_STOPMICRECORDINGCOMMAND_REQUEST._serialized_start=210
|
|
_STOPMICRECORDINGCOMMAND_REQUEST._serialized_end=268
|
|
_STOPMICRECORDINGCOMMAND_FEEDBACK._serialized_start=270
|
|
_STOPMICRECORDINGCOMMAND_FEEDBACK._serialized_end=330
|
|
_PAUSEMICRECORDINGCOMMAND._serialized_start=688
|
|
_PAUSEMICRECORDINGCOMMAND._serialized_end=836
|
|
_PAUSEMICRECORDINGCOMMAND_REQUEST._serialized_start=210
|
|
_PAUSEMICRECORDINGCOMMAND_REQUEST._serialized_end=268
|
|
_PAUSEMICRECORDINGCOMMAND_FEEDBACK._serialized_start=270
|
|
_PAUSEMICRECORDINGCOMMAND_FEEDBACK._serialized_end=330
|
|
_RESUMEMICRECORDINGCOMMAND._serialized_start=839
|
|
_RESUMEMICRECORDINGCOMMAND._serialized_end=988
|
|
_RESUMEMICRECORDINGCOMMAND_REQUEST._serialized_start=210
|
|
_RESUMEMICRECORDINGCOMMAND_REQUEST._serialized_end=268
|
|
_RESUMEMICRECORDINGCOMMAND_FEEDBACK._serialized_start=270
|
|
_RESUMEMICRECORDINGCOMMAND_FEEDBACK._serialized_end=330
|
|
_SETMICPHONEVOLUMECOMMAND._serialized_start=991
|
|
_SETMICPHONEVOLUMECOMMAND._serialized_end=1155
|
|
_SETMICPHONEVOLUMECOMMAND_REQUEST._serialized_start=1019
|
|
_SETMICPHONEVOLUMECOMMAND_REQUEST._serialized_end=1093
|
|
_SETMICPHONEVOLUMECOMMAND_FEEDBACK._serialized_start=270
|
|
_SETMICPHONEVOLUMECOMMAND_FEEDBACK._serialized_end=330
|
|
_GETMICPHONEVOLUMECOMMAND._serialized_start=1158
|
|
_GETMICPHONEVOLUMECOMMAND._serialized_end=1322
|
|
_GETMICPHONEVOLUMECOMMAND_REQUEST._serialized_start=210
|
|
_GETMICPHONEVOLUMECOMMAND_REQUEST._serialized_end=268
|
|
_GETMICPHONEVOLUMECOMMAND_FEEDBACK._serialized_start=1246
|
|
_GETMICPHONEVOLUMECOMMAND_FEEDBACK._serialized_end=1322
|
|
# @@protoc_insertion_point(module_scope)
|