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

require 'google/protobuf'

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


descriptor_data = "\n@keyapis/notification/v1/keyapis_notification_push_token_v1.proto\x12\x17keyapis.notification.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/api/visibility.proto\"\xc0\x06\n\tPushToken\x12\n\n\x02id\x18\x01 \x01(\x05\x12:\n\x04type\x18\x02 \x01(\x0e\x32\'.keyapis.notification.v1.PushToken.TypeB\x03\xe0\x41\x02\x12\x12\n\x05token\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0buser_app_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x31\n\x07user_id\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12\x33\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nchanged_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x61pp_version\x18\x08 \x01(\tB\x03\xe0\x41\x02\x1a\x8b\x01\n\x0fValidationError\x12Z\n\x0buser_app_id\x18\x01 \x01(\x0b\x32\x43.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalidH\x00\x1a\x12\n\x10UserAppIdInvalidB\x08\n\x06reason\x1a\xe1\x01\n\x0bSavingError\x12\\\n\x12user_app_id_exists\x18\x01 \x01(\x0b\x32>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExistsH\x00\x12K\n\x08\x63onflict\x18\x02 \x01(\x0b\x32\x37.keyapis.notification.v1.PushToken.SavingError.ConflictH\x00\x1a\x11\n\x0fUserAppIdExists\x1a\n\n\x08\x43onflictB\x08\n\x06reason\"\x93\x01\n\x04Type\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x0e\n\nMOBILE_FCM\x10\x01\x12\x0e\n\nMOBILE_HMS\x10\x02\x12\x14\n\x10MOBILE_APNS_TEXT\x10\x03\x12\x14\n\x10MOBILE_APNS_CALL\x10\x04\x12\x0b\n\x07PWA_FCM\x10\x05\x12\x0c\n\x08PWA_APNS\x10\x06\x12\x12\n\x0eMOBILE_RUSTORE\x10\x07\"\xdc\x03\n\x0fPushTokenFilter\x12\x36\n\x05types\x18\x01 \x03(\x0e\x32\'.keyapis.notification.v1.PushToken.Type\x12\x14\n\x0cuser_app_ids\x18\x02 \x03(\t\x12\x10\n\x08user_ids\x18\x03 \x03(\x05\x12\x34\n\x10\x62\x65gin_created_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0e\x65nd_created_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10\x62\x65gin_changed_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0e\x65nd_changed_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x94\x01\n\x0fValidationError\x12\x62\n\x0cuser_app_ids\x18\x01 \x01(\x0b\x32J.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalidH\x00\x1a\x13\n\x11UserAppIdsInvalidB\x08\n\x06reason\"\xd0\x04\n\x0fPushTokenPaging\x12K\n\rorder_by_type\x18\x01 \x01(\x0e\x32\x34.keyapis.notification.v1.PushTokenPaging.OrderByType\x12N\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32\x36.keyapis.notification.v1.PushTokenPaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\x1a\xee\x01\n\x0fValidationError\x12V\n\x05limit\x18\x01 \x01(\x0b\x32\x45.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalidH\x00\x12X\n\x06offset\x18\x02 \x01(\x0b\x32\x46.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalidH\x00\x1a\x0e\n\x0cLimitInvalid\x1a\x0f\n\rOffsetInvalidB\x08\n\x06reason\"P\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x06\n\x02ID\x10\x01\x12\x0e\n\nCREATED_AT\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\"M\n\x14PostPushTokenRequest\x12\x35\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".keyapis.notification.v1.PushTokenB\x03\xe0\x41\x02\"\xa6\x03\n\x15PostPushTokenResponse\x12\x32\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".keyapis.notification.v1.PushTokenH\x00\x12\x45\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x34.keyapis.notification.v1.PostPushTokenResponse.ErrorH\x00\x1a\x89\x02\n\x05\x45rror\x12i\n\x15push_token_validation\x18\x01 \x01(\x0b\x32\x32.keyapis.notification.v1.PushToken.ValidationErrorB\x14\x18\x01\xfa\xd2\xe4\x93\x02\x0c\x12\nDEPRECATEDH\x00\x12K\n\x11push_token_saving\x18\x02 \x01(\x0b\x32..keyapis.notification.v1.PushToken.SavingErrorH\x00\x12>\n\nvalidation\x18\x03 \x01(\x0b\x32(.keyapis.notification.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x9d\x01\n\x17GetPushTokenListRequest\x12\x38\n\x06\x66ilter\x18\x01 \x01(\x0b\x32(.keyapis.notification.v1.PushTokenFilter\x12:\n\x06paging\x18\x02 \x01(\x0b\x32(.keyapis.notification.v1.PushTokenPagingH\x00\x42\x0c\n\npagination\"T\n\x18GetPushTokenCountRequest\x12\x38\n\x06\x66ilter\x18\x01 \x01(\x0b\x32(.keyapis.notification.v1.PushTokenFilter\"\xca\x02\n\x19GetPushTokenCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12I\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x38.keyapis.notification.v1.GetPushTokenCountResponse.ErrorH\x00\x1a\xc9\x01\n\x05\x45rror\x12v\n\x1cpush_token_filter_validation\x18\x01 \x01(\x0b\x32\x38.keyapis.notification.v1.PushTokenFilter.ValidationErrorB\x14\x18\x01\xfa\xd2\xe4\x93\x02\x0c\x12\nDEPRECATEDH\x00\x12>\n\nvalidation\x18\x02 \x01(\x0b\x32(.keyapis.notification.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\xe4\x03\n\x18GetPushTokenListResponse\x12\x32\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".keyapis.notification.v1.PushTokenH\x00\x12H\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x37.keyapis.notification.v1.GetPushTokenListResponse.ErrorH\x00\x1a\xc1\x02\n\x05\x45rror\x12v\n\x1cpush_token_filter_validation\x18\x01 \x01(\x0b\x32\x38.keyapis.notification.v1.PushTokenFilter.ValidationErrorB\x14\x18\x01\xfa\xd2\xe4\x93\x02\x0c\x12\nDEPRECATEDH\x00\x12v\n\x1cpush_token_paging_validation\x18\x02 \x01(\x0b\x32\x38.keyapis.notification.v1.PushTokenPaging.ValidationErrorB\x14\x18\x01\xfa\xd2\xe4\x93\x02\x0c\x12\nDEPRECATEDH\x00\x12>\n\nvalidation\x18\x03 \x01(\x0b\x32(.keyapis.notification.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\")\n\x16\x44\x65letePushTokenRequest\x12\x0f\n\x02id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"\xbd\x01\n\x17\x44\x65letePushTokenResponse\x12G\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x36.keyapis.notification.v1.DeletePushTokenResponse.ErrorH\x00\x1aQ\n\x05\x45rror\x12>\n\nvalidation\x18\x01 \x01(\x0b\x32(.keyapis.notification.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"4\n\x1c\x44\x65letePushTokenUserIdRequest\x12\x14\n\x07user_id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"\xc9\x01\n\x1d\x44\x65letePushTokenUserIdResponse\x12M\n\x05\x65rror\x18\x01 \x01(\x0b\x32<.keyapis.notification.v1.DeletePushTokenUserIdResponse.ErrorH\x00\x1aQ\n\x05\x45rror\x12>\n\nvalidation\x18\x01 \x01(\x0b\x32(.keyapis.notification.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\";\n\x1f\x44\x65letePushTokenUserAppIdRequest\x12\x18\n\x0buser_app_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xcf\x01\n DeletePushTokenUserAppIdResponse\x12P\n\x05\x65rror\x18\x01 \x01(\x0b\x32?.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.ErrorH\x00\x1aQ\n\x05\x45rror\x12>\n\nvalidation\x18\x01 \x01(\x0b\x32(.keyapis.notification.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\":\n\x0fValidationError\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x02\x32\xc3\x08\n\x10PushTokenService\x12\x9a\x01\n\rPostPushToken\x12-.keyapis.notification.v1.PostPushTokenRequest\x1a..keyapis.notification.v1.PostPushTokenResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/notification/api/v1/push_token:\x01*\x12\xa7\x01\n\x10GetPushTokenList\x12\x30.keyapis.notification.v1.GetPushTokenListRequest\x1a\x31.keyapis.notification.v1.GetPushTokenListResponse\",\x82\xd3\xe4\x93\x02&\x12$/notification/api/v1/push_token/list0\x01\x12\xa9\x01\n\x11GetPushTokenCount\x12\x31.keyapis.notification.v1.GetPushTokenCountRequest\x1a\x32.keyapis.notification.v1.GetPushTokenCountResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/notification/api/v1/push_token/count\x12\xa2\x01\n\x0f\x44\x65letePushToken\x12/.keyapis.notification.v1.DeletePushTokenRequest\x1a\x30.keyapis.notification.v1.DeletePushTokenResponse\",\x82\xd3\xe4\x93\x02&*$/notification/api/v1/push_token/{id}\x12\xd2\x01\n\x18\x44\x65letePushTokenUserAppId\x12\x38.keyapis.notification.v1.DeletePushTokenUserAppIdRequest\x1a\x39.keyapis.notification.v1.DeletePushTokenUserAppIdResponse\"A\x82\xd3\xe4\x93\x02;*9/notification/api/v1/push_token/user_app_id/{user_app_id}\x12\xc1\x01\n\x15\x44\x65letePushTokenUserId\x12\x35.keyapis.notification.v1.DeletePushTokenUserIdRequest\x1a\x36.keyapis.notification.v1.DeletePushTokenUserIdResponse\"9\x82\xd3\xe4\x93\x02\x33*1/notification/api/v1/push_token/user_id/{user_id}B\xc4\x01\n\x1aru.keyapis.notification.v1B\x1aKeyapisNotificationV1ProtoH\x03P\x00Z\x18/keyapis_notification_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x15KEYAPISNOTIFICATIONV1\xaa\x02\x17Keyapis.Notification.V1\xca\x02\x17Keyapis\\Notification\\V1\xea\x02\x19Keyapis::Notification::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.Int32Value", "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 Notification
    module V1
      PushToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushToken").msgclass
      PushToken::ValidationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushToken.ValidationError").msgclass
      PushToken::ValidationError::UserAppIdInvalid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid").msgclass
      PushToken::SavingError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushToken.SavingError").msgclass
      PushToken::SavingError::UserAppIdExists = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushToken.SavingError.UserAppIdExists").msgclass
      PushToken::SavingError::Conflict = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushToken.SavingError.Conflict").msgclass
      PushToken::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushToken.Type").enummodule
      PushTokenFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenFilter").msgclass
      PushTokenFilter::ValidationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenFilter.ValidationError").msgclass
      PushTokenFilter::ValidationError::UserAppIdsInvalid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid").msgclass
      PushTokenPaging = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenPaging").msgclass
      PushTokenPaging::ValidationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenPaging.ValidationError").msgclass
      PushTokenPaging::ValidationError::LimitInvalid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid").msgclass
      PushTokenPaging::ValidationError::OffsetInvalid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid").msgclass
      PushTokenPaging::OrderByType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenPaging.OrderByType").enummodule
      PushTokenPaging::DirectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PushTokenPaging.DirectionType").enummodule
      PostPushTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PostPushTokenRequest").msgclass
      PostPushTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PostPushTokenResponse").msgclass
      PostPushTokenResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.PostPushTokenResponse.Error").msgclass
      GetPushTokenListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.GetPushTokenListRequest").msgclass
      GetPushTokenCountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.GetPushTokenCountRequest").msgclass
      GetPushTokenCountResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.GetPushTokenCountResponse").msgclass
      GetPushTokenCountResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.GetPushTokenCountResponse.Error").msgclass
      GetPushTokenListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.GetPushTokenListResponse").msgclass
      GetPushTokenListResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.GetPushTokenListResponse.Error").msgclass
      DeletePushTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenRequest").msgclass
      DeletePushTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenResponse").msgclass
      DeletePushTokenResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenResponse.Error").msgclass
      DeletePushTokenUserIdRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenUserIdRequest").msgclass
      DeletePushTokenUserIdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenUserIdResponse").msgclass
      DeletePushTokenUserIdResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenUserIdResponse.Error").msgclass
      DeletePushTokenUserAppIdRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenUserAppIdRequest").msgclass
      DeletePushTokenUserAppIdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenUserAppIdResponse").msgclass
      DeletePushTokenUserAppIdResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error").msgclass
      ValidationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.notification.v1.ValidationError").msgclass
    end
  end
end
