# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_fr_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/field_mask_pb'
require 'protoc-gen-openapiv2/options/annotations_pb'


descriptor_data = "\n2deviceapis/device/v1/deviceapis_device_fr_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 google/protobuf/field_mask.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"w\n\x12\x45\x64itFacerecRequest\x12\x30\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.deviceapis.device.v1.FacerecB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xaf\x01\n\x13\x45\x64itFacerecResponse\x12@\n\x05\x65rror\x18\x01 \x01(\x0b\x32/.deviceapis.device.v1.EditFacerecResponse.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\"\x88\x04\n\x07\x46\x61\x63\x65rec\x12\"\n\nis_enabled\x18\x01 \x01(\x08\x42\x0e\xe0\x41\x02\x92\x41\x08J\x06\"true\"\x12/\n\x0cmain_address\x18\x02 \x01(\tB\x19\xe0\x41\x02\x92\x41\x13J\x11\"fr.key.rt.ru:80\"\x12-\n\x0b\x61lt_address\x18\x03 \x01(\tB\x18\x92\x41\x15J\x13\"fr.key.rt.ru:8080\"\x12\x32\n\x07request\x18\x04 \x01(\tB!\xe0\x41\x02\x92\x41\x1bJ\x19\"/api/v1/recognize/31700\"\x12/\n\rauthorization\x18\x05 \x01(\tB\x18\xe0\x41\x02\x92\x41\x12J\x10\"intercom_token\"\x12\x30\n\x06groups\x18\x06 \x03(\tB \x92\x41\x1dJ\x1b[\"this_group\",\"that_group\"]\x12-\n\x0brelay_index\x18\x07 \x01(\x05\x42\x18\x92\x41\x15J\x01\x31Y\x00\x00\x00\x00\xc0\xff\xdf@i\x00\x00\x00\x00\x00\x00\xf0?\x12(\n\rsend_interval\x18\x08 \x01(\x05\x42\x11\x92\x41\x0eJ\x03\x32\x30\x30Y\x00\x00\x00\x00\x00@\x8f@\x12+\n\rface_liveness\x18\t \x01(\x02\x42\x14\x92\x41\x11J\x06\"0.95\"Y\x00\x00\x00\x00\x00\x00\xf0?\x12\x1f\n\rmin_face_size\x18\n \x01(\x05\x42\x08\x92\x41\x05J\x03\x33\x32\x30\x12 \n\rmax_face_size\x18\x0b \x01(\x05\x42\t\x92\x41\x06J\x04\x31\x30\x38\x30\x12\x19\n\x08\x61\x64\x64_size\x18\x0c \x01(\x05\x42\x07\x92\x41\x04J\x02\x34\x30\"\x13\n\x11GetFacerecRequest\"K\n\x12GetFacerecResponse\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.deviceapis.device.v1.FacerecH\x00\x42\x06\n\x04type2\x9c\x02\n\x0e\x46\x61\x63\x65recService\x12\x88\x01\n\x0b\x45\x64itFacerec\x12(.deviceapis.device.v1.EditFacerecRequest\x1a).deviceapis.device.v1.EditFacerecResponse\"$\x82\xd3\xe4\x93\x02\x1e\x32\x16/device/api/v1/facerec:\x04\x64\x61ta\x12\x7f\n\nGetFacerec\x12\'.deviceapis.device.v1.GetFacerecRequest\x1a(.deviceapis.device.v1.GetFacerecResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/device/api/v1/facerecB\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 = [
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
    ["deviceapis.device.v1.ValidationError", "deviceapis/device/v1/deviceapis_device_common_v1.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
      EditFacerecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EditFacerecRequest").msgclass
      EditFacerecResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EditFacerecResponse").msgclass
      EditFacerecResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EditFacerecResponse.Error").msgclass
      Facerec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.Facerec").msgclass
      GetFacerecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetFacerecRequest").msgclass
      GetFacerecResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetFacerecResponse").msgclass
    end
  end
end
