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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'google/protobuf/wrappers_pb'
require 'google/protobuf/timestamp_pb'
require 'keyapis/vc/v1/keyapis_vc_camera_v1_pb'


descriptor_data = "\n.keyapis/vc/v1/keyapis_vc_camera_group_v1.proto\x12\rkeyapis.vc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(keyapis/vc/v1/keyapis_vc_camera_v1.proto\"X\n\x1fGetCameraCollectionCountRequest\x12\x35\n\x06\x66ilter\x18\x01 \x01(\x0b\x32%.keyapis.vc.v1.CameraCollectionFilter\"\xcb\x01\n GetCameraCollectionCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12\x46\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x35.keyapis.vc.v1.GetCameraCollectionCountResponse.ErrorH\x00\x1aG\n\x05\x45rror\x12\x34\n\nvalidation\x18\x01 \x01(\x0b\x32\x1e.keyapis.vc.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"-\n\x1aGetCameraCollectionRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xe2\x01\n\x1bGetCameraCollectionResponse\x12/\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1f.keyapis.vc.v1.CameraCollectionH\x00\x12\x41\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x30.keyapis.vc.v1.GetCameraCollectionResponse.ErrorH\x00\x1aG\n\x05\x45rror\x12\x34\n\nvalidation\x18\x01 \x01(\x0b\x32\x1e.keyapis.vc.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x9e\x01\n\x1eGetCameraCollectionListRequest\x12\x35\n\x06\x66ilter\x18\x01 \x01(\x0b\x32%.keyapis.vc.v1.CameraCollectionFilter\x12\x37\n\x06paging\x18\x02 \x01(\x0b\x32%.keyapis.vc.v1.CameraCollectionPagingH\x00\x42\x0c\n\npagination\"y\n\x16\x43\x61meraCollectionFilter\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\x12\x13\n\x0b\x63ompany_ids\x18\x03 \x03(\x03\x12.\n\nis_deleted\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xda\x02\n\x16\x43\x61meraCollectionPaging\x12H\n\rorder_by_type\x18\x01 \x01(\x0e\x32\x31.keyapis.vc.v1.CameraCollectionPaging.OrderByType\x12K\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32\x33.keyapis.vc.v1.CameraCollectionPaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"J\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x06\n\x02ID\x10\x01\x12\x08\n\x04NAME\x10\x02\x12\x0e\n\nCHANGED_AT\x10\x03\">\n\rDirectionType\x12\x1a\n\x16\x44IRECTION_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x44\x45SC\x10\x01\x12\x07\n\x03\x41SC\x10\x02\"\xea\x01\n\x1fGetCameraCollectionListResponse\x12/\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1f.keyapis.vc.v1.CameraCollectionH\x00\x12\x45\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x34.keyapis.vc.v1.GetCameraCollectionListResponse.ErrorH\x00\x1aG\n\x05\x45rror\x12\x34\n\nvalidation\x18\x01 \x01(\x0b\x32\x1e.keyapis.vc.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"Q\n\x1bSaveCameraCollectionRequest\x12\x32\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1f.keyapis.vc.v1.CameraCollectionB\x03\xe0\x41\x02\"\xa4\x02\n\x1cSaveCameraCollectionResponse\x12/\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1f.keyapis.vc.v1.CameraCollectionH\x00\x12\x42\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x31.keyapis.vc.v1.SaveCameraCollectionResponse.ErrorH\x00\x1a\x86\x01\n\x05\x45rror\x12\x34\n\nvalidation\x18\x01 \x01(\x0b\x32\x1e.keyapis.vc.v1.ValidationErrorH\x00\x12=\n\x06saving\x18\x02 \x01(\x0b\x32+.keyapis.vc.v1.CameraCollection.SavingErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\xce\x03\n\x10\x43\x61meraCollection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\nchanged_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x17\n\ncompany_id\x18\x04 \x01(\x03\x42\x03\xe0\x41\x02\x12\x33\n\ndeleted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0c\n\x04tags\x18\x07 \x03(\t\x12\x1b\n\x13\x65xternal_camera_ids\x18\x08 \x03(\t\x1a\xd7\x01\n\x0bSavingError\x12H\n\x08\x63onflict\x18\x01 \x01(\x0b\x32\x34.keyapis.vc.v1.CameraCollection.SavingError.ConflictH\x00\x12V\n\x10wrong_company_id\x18\x02 \x01(\x0b\x32:.keyapis.vc.v1.CameraCollection.SavingError.WrongCompanyIdH\x00\x1a\n\n\x08\x43onflict\x1a\x10\n\x0eWrongCompanyIdB\x08\n\x06reason\"0\n\x1d\x44\x65leteCameraCollectionRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"5\n\"PostCameraCollectionRestoreRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xb7\x01\n\x1e\x44\x65leteCameraCollectionResponse\x12\x44\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x33.keyapis.vc.v1.DeleteCameraCollectionResponse.ErrorH\x00\x1aG\n\x05\x45rror\x12\x34\n\nvalidation\x18\x01 \x01(\x0b\x32\x1e.keyapis.vc.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\xc1\x01\n#PostCameraCollectionRestoreResponse\x12I\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x38.keyapis.vc.v1.PostCameraCollectionRestoreResponse.ErrorH\x00\x1aG\n\x05\x45rror\x12\x34\n\nvalidation\x18\x01 \x01(\x0b\x32\x1e.keyapis.vc.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\xfd\x07\n\x17\x43\x61meraCollectionService\x12\x97\x01\n\x13GetCameraCollection\x12).keyapis.vc.v1.GetCameraCollectionRequest\x1a*.keyapis.vc.v1.GetCameraCollectionResponse\")\x82\xd3\xe4\x93\x02#\x12!/vc/api/v1/camera_collection/{id}\x12\xa5\x01\n\x17GetCameraCollectionList\x12-.keyapis.vc.v1.GetCameraCollectionListRequest\x1a..keyapis.vc.v1.GetCameraCollectionListResponse\")\x82\xd3\xe4\x93\x02#\x12!/vc/api/v1/camera_collection/list0\x01\x12\xa7\x01\n\x18GetCameraCollectionCount\x12..keyapis.vc.v1.GetCameraCollectionCountRequest\x1a/.keyapis.vc.v1.GetCameraCollectionCountResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/vc/api/v1/camera_collection/count\x12\x98\x01\n\x14SaveCameraCollection\x12*.keyapis.vc.v1.SaveCameraCollectionRequest\x1a+.keyapis.vc.v1.SaveCameraCollectionResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1c/vc/api/v1/camera_collection:\x01*\x12\xa0\x01\n\x16\x44\x65leteCameraCollection\x12,.keyapis.vc.v1.DeleteCameraCollectionRequest\x1a-.keyapis.vc.v1.DeleteCameraCollectionResponse\")\x82\xd3\xe4\x93\x02#*!/vc/api/v1/camera_collection/{id}\x12\xb7\x01\n\x1bPostCameraCollectionRestore\x12\x31.keyapis.vc.v1.PostCameraCollectionRestoreRequest\x1a\x32.keyapis.vc.v1.PostCameraCollectionRestoreResponse\"1\x82\xd3\xe4\x93\x02+\")/vc/api/v1/camera_collection/restore/{id}B~\n\x10ru.keyapis.vc.v1B\x10KeyapisVcV1ProtoH\x03P\x00Z\x0e/keyapis_vc_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x0bKEYAPISVCV1\xaa\x02\rKeyapis.Vc.V1\xca\x02\rKeyapis\\Vc\\V1\xea\x02\x0fKeyapis::Vc::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 = [
    ["keyapis.vc.v1.ValidationError", "keyapis/vc/v1/keyapis_vc_camera_v1.proto"],
    ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.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 Vc
    module V1
      GetCameraCollectionCountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionCountRequest").msgclass
      GetCameraCollectionCountResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionCountResponse").msgclass
      GetCameraCollectionCountResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionCountResponse.Error").msgclass
      GetCameraCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionRequest").msgclass
      GetCameraCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionResponse").msgclass
      GetCameraCollectionResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionResponse.Error").msgclass
      GetCameraCollectionListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionListRequest").msgclass
      CameraCollectionFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollectionFilter").msgclass
      CameraCollectionPaging = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollectionPaging").msgclass
      CameraCollectionPaging::OrderByType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollectionPaging.OrderByType").enummodule
      CameraCollectionPaging::DirectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollectionPaging.DirectionType").enummodule
      GetCameraCollectionListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionListResponse").msgclass
      GetCameraCollectionListResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetCameraCollectionListResponse.Error").msgclass
      SaveCameraCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.SaveCameraCollectionRequest").msgclass
      SaveCameraCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.SaveCameraCollectionResponse").msgclass
      SaveCameraCollectionResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.SaveCameraCollectionResponse.Error").msgclass
      CameraCollection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollection").msgclass
      CameraCollection::SavingError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollection.SavingError").msgclass
      CameraCollection::SavingError::Conflict = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollection.SavingError.Conflict").msgclass
      CameraCollection::SavingError::WrongCompanyId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.CameraCollection.SavingError.WrongCompanyId").msgclass
      DeleteCameraCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.DeleteCameraCollectionRequest").msgclass
      PostCameraCollectionRestoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.PostCameraCollectionRestoreRequest").msgclass
      DeleteCameraCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.DeleteCameraCollectionResponse").msgclass
      DeleteCameraCollectionResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.DeleteCameraCollectionResponse.Error").msgclass
      PostCameraCollectionRestoreResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.PostCameraCollectionRestoreResponse").msgclass
      PostCameraCollectionRestoreResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.PostCameraCollectionRestoreResponse.Error").msgclass
    end
  end
end
