# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/device/v1/keyapis_device_event_alert_v1.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/protobuf/wrappers_pb'


descriptor_data = "\n5keyapis/device/v1/keyapis_device_event_alert_v1.proto\x12\x11keyapis.device.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x80\x03\n\x10PrepareStartTask\x12\x17\n\nrequest_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0esound_file_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tdevice_id\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1f\n\x12tact_play_duration\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1e\n\x11tact_repeat_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1e\n\x11play_repeat_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x02\x12\x44\n\tplay_type\x18\x07 \x01(\x0e\x32,.keyapis.device.v1.PrepareStartTask.PlayTypeB\x03\xe0\x41\x02\"w\n\x08PlayType\x12\x15\n\x11PLAY_TYPE_UNKNOWN\x10\x00\x12\x10\n\x0cHANDSET_ONLY\x10\x01\x12\x10\n\x0cSPEAKER_ONLY\x10\x02\x12\x17\n\x13HANDSET_AND_SPEAKER\x10\x03\x12\x17\n\x13SPEAKER_AND_HANDSET\x10\x04\"B\n\x0fPrepareStopTask\x12\x17\n\nrequest_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tdevice_id\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xaf\x04\n\rPlayStartTask\x12\x17\n\nrequest_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tdevice_id\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0esound_file_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nip_address\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12)\n\x04port\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x12\n\x05model\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12tact_play_duration\x18\x07 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1e\n\x11tact_repeat_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1e\n\x11play_repeat_count\x18\t \x01(\x05\x42\x03\xe0\x41\x02\x12\x41\n\tplay_type\x18\n \x01(\x0e\x32).keyapis.device.v1.PlayStartTask.PlayTypeB\x03\xe0\x41\x02\x12+\n\x05login\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08password\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\"w\n\x08PlayType\x12\x15\n\x11PLAY_TYPE_UNKNOWN\x10\x00\x12\x10\n\x0cHANDSET_ONLY\x10\x01\x12\x10\n\x0cSPEAKER_ONLY\x10\x02\x12\x17\n\x13HANDSET_AND_SPEAKER\x10\x03\x12\x17\n\x13SPEAKER_AND_HANDSET\x10\x04\"\xf4\x01\n\x0cPlayStopTask\x12\x17\n\nrequest_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tdevice_id\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x17\n\nip_address\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12)\n\x04port\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x12\n\x05model\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12+\n\x05login\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08password\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x9a\x01\n\x14ru.keyapis.device.v1B\x14KeyapisDeviceV1ProtoH\x03P\x00Z\x12/keyapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x0fKEYAPISDEVICEV1\xaa\x02\x11Keyapis.Device.V1\xca\x02\x11Keyapis\\Device\\V1\xea\x02\x13Keyapis::Device::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError => e
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.protobuf.Int32Value", "google/protobuf/wrappers.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Keyapis
  module Device
    module V1
      PrepareStartTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.device.v1.PrepareStartTask").msgclass
      PrepareStartTask::PlayType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.device.v1.PrepareStartTask.PlayType").enummodule
      PrepareStopTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.device.v1.PrepareStopTask").msgclass
      PlayStartTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.device.v1.PlayStartTask").msgclass
      PlayStartTask::PlayType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.device.v1.PlayStartTask.PlayType").enummodule
      PlayStopTask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.device.v1.PlayStopTask").msgclass
    end
  end
end
