# 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\"=\n\x0b\x43ommonError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\t\"\xc2\x01\n\x06\x44\x65vice\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\t\x12\x11\n\tparent_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65\x66\x61ult_name\x18\x05 \x01(\t\x12\x0c\n\x04home\x18\x06 \x01(\t\x12\x0c\n\x04room\x18\x07 \x01(\t\x12\x0e\n\x06groups\x18\x08 \x03(\t\x12\x10\n\x08model_id\x18\t \x01(\t\x12\x12\n\nhw_version\x18\n \x01(\t\x12\x12\n\nsw_version\x18\x0b \x01(\t\"\x1b\n\x19GetCallbackDevicesRequest\"J\n\x1aGetCallbackDevicesResponse\x12,\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1e.keyapis.iot_connect.v1.Device\")\n\x19PostCallbackStatusRequest\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\xaa\x02\n\x1aPostCallbackStatusResponse\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.keyapis.iot_connect.v1.PostCallbackStatusResponse.Status\x1a\xc2\x01\n\x06Status\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\t\x12\x11\n\tparent_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65\x66\x61ult_name\x18\x05 \x01(\t\x12\x0c\n\x04home\x18\x06 \x01(\t\x12\x0c\n\x04room\x18\x07 \x01(\t\x12\x0e\n\x06groups\x18\x08 \x03(\t\x12\x10\n\x08model_id\x18\t \x01(\t\x12\x12\n\nhw_version\x18\n \x01(\t\x12\x12\n\nsw_version\x18\x0b \x01(\t\"\x1c\n\x1aPostCallbackCommandRequest\"\x1d\n\x1bPostCallbackCommandResponse\"\x1b\n\x19PostCallbackUnlinkRequest\"\x1c\n\x1aPostCallbackUnlinkResponse\"\x18\n\x16GetCallbackUserRequest\"\'\n\x17GetCallbackUserResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x05\x32\xec\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\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\xa8\x01\n\x12PostCallbackStatus\x12\x31.keyapis.iot_connect.v1.PostCallbackStatusRequest\x1a\x32.keyapis.iot_connect.v1.PostCallbackStatusResponse\"+\x82\xd3\xe4\x93\x02%\"#/iot_connect/api/v1/callback/status\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/command\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/unlinkB\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
      CommonError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.CommonError").msgclass
      Device = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.Device").msgclass
      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
      PostCallbackStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackStatusRequest").msgclass
      PostCallbackStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackStatusResponse").msgclass
      PostCallbackStatusResponse::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.iot_connect.v1.PostCallbackStatusResponse.Status").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
      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
    end
  end
end
