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

require 'google/protobuf'

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


descriptor_data = "\n<keyapis/iot_connect/v1/keyapis_iot_connect_callback_v1.proto\x12\x16keyapis.iot_connect.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x18\n\x16GetCallbackUserRequest\"0\n\x17GetCallbackUserResponse\x12\x15\n\x04\x64\x61ta\x18\x01 \x01(\x05R\x07user_id\"\xb8\x02\n\x05Model\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0cmanufacturer\x18\x02 \x01(\t\x12\r\n\x05model\x18\x03 \x01(\t\x12\x12\n\nhw_version\x18\x04 \x01(\t\x12\x12\n\nsw_version\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x07 \x01(\t\x12J\n\rfeature_types\x18\x08 \x03(\x0e\x32).keyapis.iot_connect.v1.Model.FeatureTypeR\x08\x66\x65\x61tures\"c\n\x0b\x46\x65\x61tureType\x12\x18\n\x14\x46\x45\x41TURE_TYPE_UNKNOWN\x10\x00\x12\x11\n\rINCOMING_CALL\x10\x01\x12\n\n\x06ONLINE\x10\x02\x12\x0f\n\x0bREJECT_CALL\x10\x03\x12\n\n\x06UNLOCK\x10\x04\"\xaa\x01\n\x06\x44\x65vice\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x65\x66\x61ult_name\x18\x03 \x01(\t\x12\x0c\n\x04home\x18\x04 \x01(\t\x12\x0c\n\x04room\x18\x05 \x01(\t\x12,\n\x05model\x18\x06 \x01(\x0b\x32\x1d.keyapis.iot_connect.v1.Model\x12\x12\n\nhw_version\x18\x07 \x01(\t\x12\x12\n\nsw_version\x18\x08 \x01(\t\"G\n\x10\x44\x65viceStateArray\x12\x33\n\x06states\x18\x01 \x03(\x0b\x32#.keyapis.iot_connect.v1.DeviceState\"K\n\x12\x44\x65viceCommandArray\x12\x35\n\x06states\x18\x01 \x03(\x0b\x32%.keyapis.iot_connect.v1.DeviceCommand\"\xf6\x03\n\rDeviceCommand\x12L\n\x10\x63ommand_key_type\x18\x01 \x01(\x0e\x32-.keyapis.iot_connect.v1.DeviceCommand.KeyTypeR\x03key\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.keyapis.iot_connect.v1.DeviceCommand.Value\x1a\x9c\x02\n\x05Value\x12>\n\x04type\x18\x01 \x01(\x0e\x32\x30.keyapis.iot_connect.v1.DeviceCommand.Value.Type\x12`\n\x0fvalue_enum_type\x18\x02 \x01(\x0e\x32\x39.keyapis.iot_connect.v1.DeviceCommand.Value.ValueEnumTypeH\x00R\nenum_value\"\"\n\x04Type\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x45NUM\x10\x01\"D\n\rValueEnumType\x12\x1b\n\x17VALUE_ENUM_TYPE_UNKNOWN\x10\x00\x12\n\n\x06REJECT\x10\x01\x12\n\n\x06UNLOCK\x10\x02\x42\x07\n\x05value\"<\n\x07KeyType\x12\x14\n\x10KEY_TYPE_UNKNOWN\x10\x00\x12\x0f\n\x0bREJECT_CALL\x10\x01\x12\n\n\x06UNLOCK\x10\x02\"\xd3\x02\n\x0b\x44\x65viceState\x12H\n\x0estate_key_type\x18\x01 \x01(\x0e\x32+.keyapis.iot_connect.v1.DeviceState.KeyTypeR\x03key\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).keyapis.iot_connect.v1.DeviceState.Value\x1a\x92\x01\n\x05Value\x12<\n\x04type\x18\x01 \x01(\x0e\x32..keyapis.iot_connect.v1.DeviceState.Value.Type\x12\x1e\n\x08is_value\x18\x02 \x01(\x08H\x00R\nbool_value\"\"\n\x04Type\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x42\x07\n\x05value\"+\n\x07KeyType\x12\x14\n\x10KEY_TYPE_UNKNOWN\x10\x00\x12\n\n\x06ONLINE\x10\x01\"\x1b\n\x19GetCallbackDevicesRequest\"J\n\x1aGetCallbackDevicesResponse\x12,\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1e.keyapis.iot_connect.v1.Device\"+\n\x18PostCallbackQueryRequest\x12\x0f\n\x07\x64\x65vices\x18\x01 \x03(\t\"\xc6\x01\n\x19PostCallbackQueryResponse\x12R\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32;.keyapis.iot_connect.v1.PostCallbackQueryResponse.DataEntryR\x07\x64\x65vices\x1aU\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.keyapis.iot_connect.v1.DeviceStateArray:\x02\x38\x01\"\xca\x01\n\x1aPostCallbackCommandRequest\x12P\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32?.keyapis.iot_connect.v1.PostCallbackCommandRequest.DevicesEntry\x1aZ\n\x0c\x44\x65vicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.keyapis.iot_connect.v1.DeviceCommandArray:\x02\x38\x01\"\x1d\n\x1bPostCallbackCommandResponse\"\x1b\n\x19PostCallbackUnlinkRequest\"\x1c\n\x1aPostCallbackUnlinkResponse2\xeb\x06\n\x19IotConnectCallbackService\x12\x9d\x01\n\x0fGetCallbackUser\x12..keyapis.iot_connect.v1.GetCallbackUserRequest\x1a/.keyapis.iot_connect.v1.GetCallbackUserResponse\")\x82\xd3\xe4\x93\x02#\x12!/iot_connect/api/v1/callback/user\x12\xa8\x01\n\x12PostCallbackUnlink\x12\x31.keyapis.iot_connect.v1.PostCallbackUnlinkRequest\x1a\x32.keyapis.iot_connect.v1.PostCallbackUnlinkResponse\"+\x82\xd3\xe4\x93\x02%\"#/iot_connect/api/v1/callback/unlink\x12\xa9\x01\n\x12GetCallbackDevices\x12\x31.keyapis.iot_connect.v1.GetCallbackDevicesRequest\x1a\x32.keyapis.iot_connect.v1.GetCallbackDevicesResponse\",\x82\xd3\xe4\x93\x02&\x12$/iot_connect/api/v1/callback/devices\x12\xa7\x01\n\x11PostCallbackQuery\x12\x30.keyapis.iot_connect.v1.PostCallbackQueryRequest\x1a\x31.keyapis.iot_connect.v1.PostCallbackQueryResponse\"-\x82\xd3\xe4\x93\x02\'\"\"/iot_connect/api/v1/callback/query:\x01*\x12\xac\x01\n\x13PostCallbackCommand\x12\x32.keyapis.iot_connect.v1.PostCallbackCommandRequest\x1a\x33.keyapis.iot_connect.v1.PostCallbackCommandResponse\",\x82\xd3\xe4\x93\x02&\"$/iot_connect/api/v1/callback/commandB\xb8\x01\n\x19ru.keyapis.iot_connect.v1B\x18KeyapisIotConnectV1ProtoH\x03P\x00Z\x17/keyapis_iot_connect_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x13KEYAPISIOTCONNECTV1\xaa\x02\x15Keyapis.IotConnect.V1\xca\x02\x15Keyapis\\IotConnect\\V1\xea\x02\x17Keyapis::IotConnect::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 = [
  ]
  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 IotConnect
    module V1
      GetCallbackUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.GetCallbackUserRequest").msgclass
      GetCallbackUserResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.GetCallbackUserResponse").msgclass
      Model = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.Model").msgclass
      Model::FeatureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.Model.FeatureType").enummodule
      Device = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.Device").msgclass
      DeviceStateArray = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceStateArray").msgclass
      DeviceCommandArray = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceCommandArray").msgclass
      DeviceCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceCommand").msgclass
      DeviceCommand::Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceCommand.Value").msgclass
      DeviceCommand::Value::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceCommand.Value.Type").enummodule
      DeviceCommand::Value::ValueEnumType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceCommand.Value.ValueEnumType").enummodule
      DeviceCommand::KeyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceCommand.KeyType").enummodule
      DeviceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceState").msgclass
      DeviceState::Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceState.Value").msgclass
      DeviceState::Value::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceState.Value.Type").enummodule
      DeviceState::KeyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.DeviceState.KeyType").enummodule
      GetCallbackDevicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.GetCallbackDevicesRequest").msgclass
      GetCallbackDevicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.GetCallbackDevicesResponse").msgclass
      PostCallbackQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackQueryRequest").msgclass
      PostCallbackQueryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackQueryResponse").msgclass
      PostCallbackCommandRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackCommandRequest").msgclass
      PostCallbackCommandResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackCommandResponse").msgclass
      PostCallbackUnlinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackUnlinkRequest").msgclass
      PostCallbackUnlinkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackUnlinkResponse").msgclass
    end
  end
end
