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

require 'google/protobuf'

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


descriptor_data = "\n-keyapis/event/v1/keyapis_event_event_v1.proto\x12\x10keyapis.event.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x83\x12\n\x05\x45vent\x12/\n\x04type\x18\x01 \x01(\x0e\x32\x1c.keyapis.event.v1.Event.TypeB\x03\xe0\x41\x02\x12\x32\n\traised_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12.\n\tdevice_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x37\n\x0b\x64\x65vice_type\x18\x04 \x01(\x0e\x32\".keyapis.event.v1.Event.DeviceType\x12/\n\ncompany_id\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12,\n\x07room_id\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12*\n\x05relay\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12,\n\x07user_id\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x30\n\nuser_agent\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0b\x62uilding_id\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12-\n\x08orpon_id\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0broom_number\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10ivr_phone_number\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12guest_phone_number\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04\x63ode\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04rfid\x18\x10 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nrequest_id\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x64tmf_phone_number\x18\x12 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tuser_kind\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05login\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08password\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04host\x18\x16 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65vice_model\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x07rfid_id\x18\x18 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12,\n\x07\x63ode_id\x18\x19 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x30\n\ncar_number\x18\x1a \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12(\n\x02os\x18\x1b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\npush_token\x18\x1c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\ncamera_uid\x18\x1d \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0escreenshot_url\x18\x1e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07vehicle\x18\x1f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63ourier_company_name\x18  \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0corder_number\x18! \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\ncourier_id\x18\" \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xef\x03\n\x04Type\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x13\n\x0f\x41PI_OPEN_REMOTE\x10\x01\x12\x14\n\x10\x46\x41\x43\x45_OPEN_REMOTE\x10\x02\x12\x18\n\x14PIN_CODE_OPEN_REMOTE\x10\x03\x12\x14\n\x10\x44TMF_OPEN_REMOTE\x10\x04\x12\x1c\n\x18\x45MERGENCY_MODE_ON_REMOTE\x10\x05\x12\x1d\n\x19\x45MERGENCY_MODE_OFF_REMOTE\x10\x06\x12\x13\n\x0f\x43ODE_OPEN_LOCAL\x10\x07\x12\x13\n\x0fRFID_OPEN_LOCAL\x10\x08\x12\x1a\n\x16\x45MERGENCY_ALARM_REMOTE\x10\t\x12\x13\n\x0fGET_CREDENTIALS\x10\n\x12\x13\n\x0f\x43HANGE_PASSWORD\x10\x0b\x12\x0e\n\nUSER_ENTRY\x10\x0c\x12\x13\n\x0f\x44TMF_OPEN_LOCAL\x10\r\x12\x1a\n\x16\x43\x41R_NUMBER_OPEN_REMOTE\x10\x0e\x12\x1e\n\x1a\x45MERGENCY_ALARM_OFF_REMOTE\x10\x0f\x12\x1d\n\x19\x45MERGENCY_ALARM_ON_REMOTE\x10\x10\x12\x13\n\x0f\x44ISPATCHER_OPEN\x10\x11\x12\x1a\n\x16\x44ISPATCHER_DENIED_OPEN\x10\x12\x12\x1c\n\x18VEHICLE_TYPE_OPEN_REMOTE\x10\x13\"u\n\nDeviceType\x12\x17\n\x13\x44\x45VICE_TYPE_UNKNOWN\x10\x00\x12\x0c\n\x08INTERCOM\x10\x01\x12\x0b\n\x07\x42\x41RRIER\x10\x02\x12\x08\n\x04GATE\x10\x03\x12\x18\n\x14\x41\x43\x43\x45SS_CONTROL_PANEL\x10\x04\x12\x0f\n\x0bVIDEOCAMERA\x10\x05\x42\x93\x01\n\x13ru.keyapis.event.v1B\x13KeyapisEventV1ProtoH\x03P\x00Z\x11/keyapis_event_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x0eKEYAPISEVENTV1\xaa\x02\x10Keyapis.Event.V1\xca\x02\x10Keyapis\\Event\\V1\xea\x02\x12Keyapis::Event::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.Timestamp", "google/protobuf/timestamp.proto"],
    ["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 Event
    module V1
      Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.event.v1.Event").msgclass
      Event::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.event.v1.Event.Type").enummodule
      Event::DeviceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.event.v1.Event.DeviceType").enummodule
    end
  end
end
