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

require 'google/protobuf'

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


descriptor_data = "\n3keyapis/vc/v1/keyapis_vc_camera_dictionary_v1.proto\x12\rkeyapis.vc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"3\n\x08\x43\x61tegory\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04kind\x18\x03 \x01(\t\"\x9e\x01\n\x06Tariff\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0c\n\x04slug\x18\x03 \x01(\t\x12\x13\n\x0bstatus_kind\x18\x04 \x01(\t\x12+\n\x07\x66rom_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x05to_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"I\n\x04Role\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0bpermissions\x18\x03 \x03(\t\x12\x11\n\tis_global\x18\x04 \x01(\x08\" \n\x1eGetDictionaryCategoriesRequest\"\xd4\x02\n\x1fGetDictionaryCategoriesResponse\x12O\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32?.keyapis.vc.v1.GetDictionaryCategoriesResponse.CameraCategoriesH\x00\x12\x45\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x34.keyapis.vc.v1.GetDictionaryCategoriesResponse.ErrorH\x00\x1a=\n\x10\x43\x61meraCategories\x12)\n\x08\x63\x61tegory\x18\x01 \x03(\x0b\x32\x17.keyapis.vc.v1.Category\x1aR\n\x05\x45rror\x12?\n\x13vc_dictionary_error\x18\x01 \x01(\x0b\x32 .keyapis.vc.v1.VcDictionaryErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x1d\n\x1bGetDictionaryTariffsRequest\"\xc1\x02\n\x1cGetDictionaryTariffsResponse\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.keyapis.vc.v1.GetDictionaryTariffsResponse.CameraTariffsH\x00\x12\x42\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x31.keyapis.vc.v1.GetDictionaryTariffsResponse.ErrorH\x00\x1a\x36\n\rCameraTariffs\x12%\n\x06tariff\x18\x01 \x03(\x0b\x32\x15.keyapis.vc.v1.Tariff\x1aR\n\x05\x45rror\x12?\n\x13vc_dictionary_error\x18\x01 \x01(\x0b\x32 .keyapis.vc.v1.VcDictionaryErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x1b\n\x19GetDictionaryRolesRequest\"\xa8\x02\n\x1aGetDictionaryRolesResponse\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.keyapis.vc.v1.GetDictionaryRolesResponse.RolesH\x00\x12@\n\x05\x65rror\x18\x02 \x01(\x0b\x32/.keyapis.vc.v1.GetDictionaryRolesResponse.ErrorH\x00\x1a+\n\x05Roles\x12\"\n\x05roles\x18\x01 \x03(\x0b\x32\x13.keyapis.vc.v1.Role\x1aR\n\x05\x45rror\x12?\n\x13vc_dictionary_error\x18\x01 \x01(\x0b\x32 .keyapis.vc.v1.VcDictionaryErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x9b\x01\n\x11VcDictionaryError\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0f\n\x07product\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x38\n\x07reasons\x18\x04 \x03(\x0b\x32\'.keyapis.vc.v1.VcDictionaryError.Reason\x1a\x19\n\x06Reason\x12\x0f\n\x07message\x18\x01 \x01(\t2\xe2\x03\n\x11\x44ictionaryService\x12\xa2\x01\n\x17GetDictionaryCategories\x12-.keyapis.vc.v1.GetDictionaryCategoriesRequest\x1a..keyapis.vc.v1.GetDictionaryCategoriesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /vc/api/v1/dictionary/categories\x12\x96\x01\n\x14GetDictionaryTariffs\x12*.keyapis.vc.v1.GetDictionaryTariffsRequest\x1a+.keyapis.vc.v1.GetDictionaryTariffsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/vc/api/v1/dictionary/tariffs\x12\x8e\x01\n\x12GetDictionaryRoles\x12(.keyapis.vc.v1.GetDictionaryRolesRequest\x1a).keyapis.vc.v1.GetDictionaryRolesResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/vc/api/v1/dictionary/rolesB~\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 = [
    ["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
      Category = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.Category").msgclass
      Tariff = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.Tariff").msgclass
      Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.Role").msgclass
      GetDictionaryCategoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryCategoriesRequest").msgclass
      GetDictionaryCategoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryCategoriesResponse").msgclass
      GetDictionaryCategoriesResponse::CameraCategories = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryCategoriesResponse.CameraCategories").msgclass
      GetDictionaryCategoriesResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryCategoriesResponse.Error").msgclass
      GetDictionaryTariffsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryTariffsRequest").msgclass
      GetDictionaryTariffsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryTariffsResponse").msgclass
      GetDictionaryTariffsResponse::CameraTariffs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryTariffsResponse.CameraTariffs").msgclass
      GetDictionaryTariffsResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryTariffsResponse.Error").msgclass
      GetDictionaryRolesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryRolesRequest").msgclass
      GetDictionaryRolesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryRolesResponse").msgclass
      GetDictionaryRolesResponse::Roles = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryRolesResponse.Roles").msgclass
      GetDictionaryRolesResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.GetDictionaryRolesResponse.Error").msgclass
      VcDictionaryError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.VcDictionaryError").msgclass
      VcDictionaryError::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.vc.v1.VcDictionaryError.Reason").msgclass
    end
  end
end
