# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: pyatv/protocols/mrp/protobuf/SendVoiceInputMessage.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
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 pyatv.protocols.mrp.protobuf import ProtocolMessage_pb2 as pyatv_dot_protocols_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2
from pyatv.protocols.mrp.protobuf import AudioFormatSettingsMessage_pb2 as pyatv_dot_protocols_dot_mrp_dot_protobuf_dot_AudioFormatSettingsMessage__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pyatv/protocols/mrp/protobuf/SendVoiceInputMessage.proto',
  package='',
  syntax='proto2',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n8pyatv/protocols/mrp/protobuf/SendVoiceInputMessage.proto\x1a\x32pyatv/protocols/mrp/protobuf/ProtocolMessage.proto\x1a=pyatv/protocols/mrp/protobuf/AudioFormatSettingsMessage.proto\"i\n\x1c\x41udioStreamPacketDescription\x12\x13\n\x0bstartOffset\x18\x01 \x01(\x03\x12\x1e\n\x16variableFramesInPacket\x18\x02 \x01(\r\x12\x14\n\x0c\x64\x61taByteSize\x18\x03 \x01(\r\"\xd0\x01\n\x0b\x41udioBuffer\x12,\n\x0e\x66ormatSettings\x18\x01 \x01(\x0b\x32\x14.AudioFormatSettings\x12\x16\n\x0epacketCapacity\x18\x02 \x01(\x03\x12\x19\n\x11maximumPacketSize\x18\x03 \x01(\x03\x12\x13\n\x0bpacketCount\x18\x04 \x01(\x03\x12\x10\n\x08\x63ontents\x18\x05 \x01(\x0c\x12\x39\n\x12packetDescriptions\x18\x06 \x03(\x0b\x32\x1d.AudioStreamPacketDescription\"2\n\tAudioTime\x12\x11\n\ttimestamp\x18\x01 \x01(\x01\x12\x12\n\nsampleRate\x18\x02 \x01(\x01\"V\n\x0e\x41udioDataBlock\x12\x1c\n\x06\x62uffer\x18\x01 \x01(\x0b\x32\x0c.AudioBuffer\x12\x18\n\x04time\x18\x02 \x01(\x0b\x32\n.AudioTime\x12\x0c\n\x04gain\x18\x03 \x01(\x01\";\n\x15SendVoiceInputMessage\x12\"\n\tdataBlock\x18\x01 \x01(\x0b\x32\x0f.AudioDataBlock:G\n\x15sendVoiceInputMessage\x12\x10.ProtocolMessage\x18$ \x01(\x0b\x32\x16.SendVoiceInputMessage'
  ,
  dependencies=[pyatv_dot_protocols_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.DESCRIPTOR,pyatv_dot_protocols_dot_mrp_dot_protobuf_dot_AudioFormatSettingsMessage__pb2.DESCRIPTOR,])


SENDVOICEINPUTMESSAGE_FIELD_NUMBER = 36
sendVoiceInputMessage = _descriptor.FieldDescriptor(
  name='sendVoiceInputMessage', full_name='sendVoiceInputMessage', index=0,
  number=36, type=11, cpp_type=10, label=1,
  has_default_value=False, default_value=None,
  message_type=None, enum_type=None, containing_type=None,
  is_extension=True, extension_scope=None,
  serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key)


_AUDIOSTREAMPACKETDESCRIPTION = _descriptor.Descriptor(
  name='AudioStreamPacketDescription',
  full_name='AudioStreamPacketDescription',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='startOffset', full_name='AudioStreamPacketDescription.startOffset', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='variableFramesInPacket', full_name='AudioStreamPacketDescription.variableFramesInPacket', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='dataByteSize', full_name='AudioStreamPacketDescription.dataByteSize', index=2,
      number=3, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=175,
  serialized_end=280,
)


_AUDIOBUFFER = _descriptor.Descriptor(
  name='AudioBuffer',
  full_name='AudioBuffer',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='formatSettings', full_name='AudioBuffer.formatSettings', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='packetCapacity', full_name='AudioBuffer.packetCapacity', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='maximumPacketSize', full_name='AudioBuffer.maximumPacketSize', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='packetCount', full_name='AudioBuffer.packetCount', index=3,
      number=4, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='contents', full_name='AudioBuffer.contents', index=4,
      number=5, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='packetDescriptions', full_name='AudioBuffer.packetDescriptions', index=5,
      number=6, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=283,
  serialized_end=491,
)


_AUDIOTIME = _descriptor.Descriptor(
  name='AudioTime',
  full_name='AudioTime',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='timestamp', full_name='AudioTime.timestamp', index=0,
      number=1, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='sampleRate', full_name='AudioTime.sampleRate', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=493,
  serialized_end=543,
)


_AUDIODATABLOCK = _descriptor.Descriptor(
  name='AudioDataBlock',
  full_name='AudioDataBlock',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='buffer', full_name='AudioDataBlock.buffer', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='time', full_name='AudioDataBlock.time', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='gain', full_name='AudioDataBlock.gain', index=2,
      number=3, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=545,
  serialized_end=631,
)


_SENDVOICEINPUTMESSAGE = _descriptor.Descriptor(
  name='SendVoiceInputMessage',
  full_name='SendVoiceInputMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='dataBlock', full_name='SendVoiceInputMessage.dataBlock', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=633,
  serialized_end=692,
)

_AUDIOBUFFER.fields_by_name['formatSettings'].message_type = pyatv_dot_protocols_dot_mrp_dot_protobuf_dot_AudioFormatSettingsMessage__pb2._AUDIOFORMATSETTINGS
_AUDIOBUFFER.fields_by_name['packetDescriptions'].message_type = _AUDIOSTREAMPACKETDESCRIPTION
_AUDIODATABLOCK.fields_by_name['buffer'].message_type = _AUDIOBUFFER
_AUDIODATABLOCK.fields_by_name['time'].message_type = _AUDIOTIME
_SENDVOICEINPUTMESSAGE.fields_by_name['dataBlock'].message_type = _AUDIODATABLOCK
DESCRIPTOR.message_types_by_name['AudioStreamPacketDescription'] = _AUDIOSTREAMPACKETDESCRIPTION
DESCRIPTOR.message_types_by_name['AudioBuffer'] = _AUDIOBUFFER
DESCRIPTOR.message_types_by_name['AudioTime'] = _AUDIOTIME
DESCRIPTOR.message_types_by_name['AudioDataBlock'] = _AUDIODATABLOCK
DESCRIPTOR.message_types_by_name['SendVoiceInputMessage'] = _SENDVOICEINPUTMESSAGE
DESCRIPTOR.extensions_by_name['sendVoiceInputMessage'] = sendVoiceInputMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AudioStreamPacketDescription = _reflection.GeneratedProtocolMessageType('AudioStreamPacketDescription', (_message.Message,), {
  'DESCRIPTOR' : _AUDIOSTREAMPACKETDESCRIPTION,
  '__module__' : 'pyatv.protocols.mrp.protobuf.SendVoiceInputMessage_pb2'
  # @@protoc_insertion_point(class_scope:AudioStreamPacketDescription)
  })
_sym_db.RegisterMessage(AudioStreamPacketDescription)

AudioBuffer = _reflection.GeneratedProtocolMessageType('AudioBuffer', (_message.Message,), {
  'DESCRIPTOR' : _AUDIOBUFFER,
  '__module__' : 'pyatv.protocols.mrp.protobuf.SendVoiceInputMessage_pb2'
  # @@protoc_insertion_point(class_scope:AudioBuffer)
  })
_sym_db.RegisterMessage(AudioBuffer)

AudioTime = _reflection.GeneratedProtocolMessageType('AudioTime', (_message.Message,), {
  'DESCRIPTOR' : _AUDIOTIME,
  '__module__' : 'pyatv.protocols.mrp.protobuf.SendVoiceInputMessage_pb2'
  # @@protoc_insertion_point(class_scope:AudioTime)
  })
_sym_db.RegisterMessage(AudioTime)

AudioDataBlock = _reflection.GeneratedProtocolMessageType('AudioDataBlock', (_message.Message,), {
  'DESCRIPTOR' : _AUDIODATABLOCK,
  '__module__' : 'pyatv.protocols.mrp.protobuf.SendVoiceInputMessage_pb2'
  # @@protoc_insertion_point(class_scope:AudioDataBlock)
  })
_sym_db.RegisterMessage(AudioDataBlock)

SendVoiceInputMessage = _reflection.GeneratedProtocolMessageType('SendVoiceInputMessage', (_message.Message,), {
  'DESCRIPTOR' : _SENDVOICEINPUTMESSAGE,
  '__module__' : 'pyatv.protocols.mrp.protobuf.SendVoiceInputMessage_pb2'
  # @@protoc_insertion_point(class_scope:SendVoiceInputMessage)
  })
_sym_db.RegisterMessage(SendVoiceInputMessage)

sendVoiceInputMessage.message_type = _SENDVOICEINPUTMESSAGE
pyatv_dot_protocols_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(sendVoiceInputMessage)

# @@protoc_insertion_point(module_scope)
