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

require 'google/protobuf'

require 'deviceapis/device/v1/deviceapis_device_common_v1_pb'
require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'google/protobuf/wrappers_pb'


descriptor_data = "\n4deviceapis/device/v1/deviceapis_device_rfid_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a\x36\x64\x65viceapis/device/v1/deviceapis_device_common_v1.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x17\n\x15\x44\x65leteRfidListRequest\"0\n\x16\x44\x65leteRfidListResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x42\x06\n\x04type\"$\n\x11\x44\x65leteRfidRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xad\x01\n\x12\x44\x65leteRfidResponse\x12?\n\x05\x65rror\x18\x01 \x01(\x0b\x32..deviceapis.device.v1.DeleteRfidResponse.ErrorH\x00\x1aN\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x15\n\x13GetRfidCountRequest\".\n\x14GetRfidCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x42\x06\n\x04type\"V\n\x12GetRfidListRequest\x12\x32\n\x06paging\x18\x01 \x01(\x0b\x32 .deviceapis.device.v1.RfidPagingH\x00\x42\x0c\n\npagination\"?\n\x13GetRfidListResponse\x12(\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1a.deviceapis.device.v1.Rfid\"!\n\x0eGetRfidRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"E\n\x0fGetRfidResponse\x12*\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.RfidH\x00\x42\x06\n\x04type\"\x8a\x02\n\x04Rfid\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06secret\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x15\n\rrelay_indexes\x18\x04 \x03(\x05\x1ay\n\x0bSavingError\x12O\n\x0frelay_not_found\x18\x01 \x01(\x0b\x32\x34.deviceapis.device.v1.Rfid.SavingError.RelayNotFoundH\x00\x1a\x0f\n\rRelayNotFoundB\x08\n\x06reason\"+\n\nRfidPaging\x12\r\n\x05limit\x18\x01 \x01(\x05\x12\x0e\n\x06offset\x18\x02 \x01(\x05\"?\n\x13SaveRfidListRequest\x12(\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1a.deviceapis.device.v1.Rfid\"\x9e\x02\n\x14SaveRfidListResponse\x12(\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x1a.deviceapis.device.v1.Rfid\x12@\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x30.deviceapis.device.v1.SaveRfidListResponse.Error\x1a\x99\x01\n\x05\x45rror\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\nvalidation\x18\x02 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12\x38\n\x06saving\x18\x03 \x01(\x0b\x32&.deviceapis.device.v1.Rfid.SavingErrorH\x00\x42\x08\n\x06reason\"@\n\x0fSaveRfidRequest\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.RfidB\x03\xe0\x41\x02\"\x90\x02\n\x10SaveRfidResponse\x12*\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1a.deviceapis.device.v1.RfidH\x00\x12=\n\x05\x65rror\x18\x02 \x01(\x0b\x32,.deviceapis.device.v1.SaveRfidResponse.ErrorH\x00\x1a\x88\x01\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12\x38\n\x06saving\x18\x02 \x01(\x0b\x32&.deviceapis.device.v1.Rfid.SavingErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\xb5\x07\n\x0bRfidService\x12\x81\x01\n\nDeleteRfid\x12\'.deviceapis.device.v1.DeleteRfidRequest\x1a(.deviceapis.device.v1.DeleteRfidResponse\" \x82\xd3\xe4\x93\x02\x1a*\x18/device/api/v1/rfid/{id}\x12\x8d\x01\n\x0e\x44\x65leteRfidList\x12+.deviceapis.device.v1.DeleteRfidListRequest\x1a,.deviceapis.device.v1.DeleteRfidListResponse\" \x82\xd3\xe4\x93\x02\x1a*\x18/device/api/v1/rfid/list\x12x\n\x07GetRfid\x12$.deviceapis.device.v1.GetRfidRequest\x1a%.deviceapis.device.v1.GetRfidResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/device/api/v1/rfid/{id}\x12\x88\x01\n\x0cGetRfidCount\x12).deviceapis.device.v1.GetRfidCountRequest\x1a*.deviceapis.device.v1.GetRfidCountResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/device/api/v1/rfid/count\x12\x84\x01\n\x0bGetRfidList\x12(.deviceapis.device.v1.GetRfidListRequest\x1a).deviceapis.device.v1.GetRfidListResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/device/api/v1/rfid/list\x12y\n\x08SaveRfid\x12%.deviceapis.device.v1.SaveRfidRequest\x1a&.deviceapis.device.v1.SaveRfidResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/device/api/v1/rfid:\x01*\x12\x8a\x01\n\x0cSaveRfidList\x12).deviceapis.device.v1.SaveRfidListRequest\x1a*.deviceapis.device.v1.SaveRfidListResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/device/api/v1/rfid/list:\x01*B\xaf\x01\n\x17ru.deviceapis.device.v1B\x17\x44\x65viceapisDeviceV1ProtoH\x03P\x00Z\x15/deviceapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x12\x44\x45VICEAPISDEVICEV1\xaa\x02\x14\x44\x65viceapis.Device.V1\xca\x02\x14\x44\x65viceapis\\Device\\V1\xea\x02\x16\x44\x65viceapis::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 = [
    ["deviceapis.device.v1.ValidationError", "deviceapis/device/v1/deviceapis_device_common_v1.proto"],
    ["google.protobuf.StringValue", "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 Deviceapis
  module Device
    module V1
      DeleteRfidListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteRfidListRequest").msgclass
      DeleteRfidListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteRfidListResponse").msgclass
      DeleteRfidRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteRfidRequest").msgclass
      DeleteRfidResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteRfidResponse").msgclass
      DeleteRfidResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteRfidResponse.Error").msgclass
      GetRfidCountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetRfidCountRequest").msgclass
      GetRfidCountResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetRfidCountResponse").msgclass
      GetRfidListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetRfidListRequest").msgclass
      GetRfidListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetRfidListResponse").msgclass
      GetRfidRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetRfidRequest").msgclass
      GetRfidResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetRfidResponse").msgclass
      Rfid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.Rfid").msgclass
      Rfid::SavingError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.Rfid.SavingError").msgclass
      Rfid::SavingError::RelayNotFound = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.Rfid.SavingError.RelayNotFound").msgclass
      RfidPaging = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.RfidPaging").msgclass
      SaveRfidListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveRfidListRequest").msgclass
      SaveRfidListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveRfidListResponse").msgclass
      SaveRfidListResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveRfidListResponse.Error").msgclass
      SaveRfidRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveRfidRequest").msgclass
      SaveRfidResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveRfidResponse").msgclass
      SaveRfidResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveRfidResponse.Error").msgclass
    end
  end
end
