# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_encryption_profile_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 = "\nBdeviceapis/device/v1/deviceapis_device_encryption_profile_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\"$\n\"DeleteEncryptionProfileListRequest\"\xab\x02\n#DeleteEncryptionProfileListResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12P\n\x05\x65rror\x18\x02 \x01(\x0b\x32?.deviceapis.device.v1.DeleteEncryptionProfileListResponse.ErrorH\x00\x1a\x99\x01\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12I\n\x08\x64\x65leting\x18\x02 \x01(\x0b\x32\x35.deviceapis.device.v1.EncryptionProfile.DeletingErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"1\n\x1e\x44\x65leteEncryptionProfileRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xa3\x02\n\x1f\x44\x65leteEncryptionProfileResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12L\n\x05\x65rror\x18\x02 \x01(\x0b\x32;.deviceapis.device.v1.DeleteEncryptionProfileResponse.ErrorH\x00\x1a\x99\x01\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12I\n\x08\x64\x65leting\x18\x02 \x01(\x0b\x32\x35.deviceapis.device.v1.EncryptionProfile.DeletingErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\xf6\x05\n\x11\x45ncryptionProfile\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x04type\x18\x03 \x01(\x0e\x32,.deviceapis.device.v1.EncryptionProfile.TypeB\x03\xe0\x41\x02\x12\x1a\n\rsector_number\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x19\n\x0c\x62lock_number\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x18\n\x0bstart_index\x18\x06 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\tend_index\x18\x07 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\x08password\x18\x08 \x01(\tB\x03\xe0\x41\x04\x1a\xb7\x01\n\rDeletingError\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12q\n\x19\x65ncryption_profile_in_use\x18\x02 \x01(\x0b\x32L.deviceapis.device.v1.EncryptionProfile.DeletingError.EncryptionProfileInUseH\x00\x1a\x18\n\x16\x45ncryptionProfileInUseB\x08\n\x06reason\x1a\x99\x02\n\x0bSavingError\x12[\n\x0e\x64uplicate_name\x18\x01 \x01(\x0b\x32\x41.deviceapis.device.v1.EncryptionProfile.SavingError.DuplicateNameH\x00\x12u\n\x1ctoo_much_encryption_profiles\x18\x02 \x01(\x0b\x32M.deviceapis.device.v1.EncryptionProfile.SavingError.TooMuchEncryptionProfilesH\x00\x1a\x0f\n\rDuplicateName\x1a\x1b\n\x19TooMuchEncryptionProfilesB\x08\n\x06reason\"*\n\x04Type\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x07\n\x03SL3\x10\x01\x12\x07\n\x03SL1\x10\x02\"E\n\x17\x45ncryptionProfileFilter\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"`\n\x1fGetEncryptionProfileListRequest\x12=\n\x06\x66ilter\x18\x01 \x01(\x0b\x32-.deviceapis.device.v1.EncryptionProfileFilter\"Y\n GetEncryptionProfileListResponse\x12\x35\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\'.deviceapis.device.v1.EncryptionProfile\".\n\x1bGetEncryptionProfileRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"_\n\x1cGetEncryptionProfileResponse\x12\x37\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\'.deviceapis.device.v1.EncryptionProfileH\x00\x42\x06\n\x04type\"Z\n\x1cSaveEncryptionProfileRequest\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\'.deviceapis.device.v1.EncryptionProfileB\x03\xe0\x41\x02\"\xc4\x02\n\x1dSaveEncryptionProfileResponse\x12\x37\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\'.deviceapis.device.v1.EncryptionProfileH\x00\x12J\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x39.deviceapis.device.v1.SaveEncryptionProfileResponse.ErrorH\x00\x1a\x95\x01\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12\x45\n\x06saving\x18\x02 \x01(\x0b\x32\x33.deviceapis.device.v1.EncryptionProfile.SavingErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\xb5\x07\n\x18\x45ncryptionProfileService\x12\xb6\x01\n\x17\x44\x65leteEncryptionProfile\x12\x34.deviceapis.device.v1.DeleteEncryptionProfileRequest\x1a\x35.deviceapis.device.v1.DeleteEncryptionProfileResponse\".\x82\xd3\xe4\x93\x02(*&/device/api/v1/encryption_profile/{id}\x12\xc2\x01\n\x1b\x44\x65leteEncryptionProfileList\x12\x38.deviceapis.device.v1.DeleteEncryptionProfileListRequest\x1a\x39.deviceapis.device.v1.DeleteEncryptionProfileListResponse\".\x82\xd3\xe4\x93\x02(*&/device/api/v1/encryption_profile/list\x12\xad\x01\n\x14GetEncryptionProfile\x12\x31.deviceapis.device.v1.GetEncryptionProfileRequest\x1a\x32.deviceapis.device.v1.GetEncryptionProfileResponse\".\x82\xd3\xe4\x93\x02(\x12&/device/api/v1/encryption_profile/{id}\x12\xb9\x01\n\x18GetEncryptionProfileList\x12\x35.deviceapis.device.v1.GetEncryptionProfileListRequest\x1a\x36.deviceapis.device.v1.GetEncryptionProfileListResponse\".\x82\xd3\xe4\x93\x02(\x12&/device/api/v1/encryption_profile/list\x12\xae\x01\n\x15SaveEncryptionProfile\x12\x32.deviceapis.device.v1.SaveEncryptionProfileRequest\x1a\x33.deviceapis.device.v1.SaveEncryptionProfileResponse\",\x82\xd3\xe4\x93\x02&\"!/device/api/v1/encryption_profile:\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
      DeleteEncryptionProfileListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteEncryptionProfileListRequest").msgclass
      DeleteEncryptionProfileListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteEncryptionProfileListResponse").msgclass
      DeleteEncryptionProfileListResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteEncryptionProfileListResponse.Error").msgclass
      DeleteEncryptionProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteEncryptionProfileRequest").msgclass
      DeleteEncryptionProfileResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteEncryptionProfileResponse").msgclass
      DeleteEncryptionProfileResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteEncryptionProfileResponse.Error").msgclass
      EncryptionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfile").msgclass
      EncryptionProfile::DeletingError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfile.DeletingError").msgclass
      EncryptionProfile::DeletingError::EncryptionProfileInUse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfile.DeletingError.EncryptionProfileInUse").msgclass
      EncryptionProfile::SavingError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfile.SavingError").msgclass
      EncryptionProfile::SavingError::DuplicateName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfile.SavingError.DuplicateName").msgclass
      EncryptionProfile::SavingError::TooMuchEncryptionProfiles = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfile.SavingError.TooMuchEncryptionProfiles").msgclass
      EncryptionProfile::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfile.Type").enummodule
      EncryptionProfileFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.EncryptionProfileFilter").msgclass
      GetEncryptionProfileListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetEncryptionProfileListRequest").msgclass
      GetEncryptionProfileListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetEncryptionProfileListResponse").msgclass
      GetEncryptionProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetEncryptionProfileRequest").msgclass
      GetEncryptionProfileResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetEncryptionProfileResponse").msgclass
      SaveEncryptionProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveEncryptionProfileRequest").msgclass
      SaveEncryptionProfileResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveEncryptionProfileResponse").msgclass
      SaveEncryptionProfileResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveEncryptionProfileResponse.Error").msgclass
    end
  end
end
