# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/bell/v1/keyapis_bell_notification_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'
require 'keyapis/bell/v1/keyapis_bell_common_v1_pb'


descriptor_data = "\n2keyapis/bell/v1/keyapis_bell_notification_v1.proto\x12\x0fkeyapis.bell.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\x1a,keyapis/bell/v1/keyapis_bell_common_v1.proto\"\x93\x04\n\x0cNotification\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05orpon\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12/\n\tapp_title\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x18\n\x0broom_number\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06header\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04text\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x0bstatus_type\x18\x07 \x01(\x0e\x32(.keyapis.bell.v1.Notification.StatusTypeB\x03\xe0\x41\x03\x12\x33\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11status_changed_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x07payload\x18\n \x03(\x0b\x32*.keyapis.bell.v1.Notification.PayloadEntry\x1a.\n\x0cPayloadEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\nStatusType\x12\x17\n\x13STATUS_TYPE_UNKNOWN\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\r\n\tDELIVERED\x10\x02\x12\n\n\x06VIEWED\x10\x03\"K\n\x17PostNotificationRequest\x12\x30\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.keyapis.bell.v1.NotificationB\x03\xe0\x41\x02\"\xde\x01\n\x18PostNotificationResponse\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.keyapis.bell.v1.NotificationH\x00\x12@\n\x05\x65rror\x18\x02 \x01(\x0b\x32/.keyapis.bell.v1.PostNotificationResponse.ErrorH\x00\x1aI\n\x05\x45rror\x12\x36\n\nvalidation\x18\x01 \x01(\x0b\x32 .keyapis.bell.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\")\n\x16GetNotificationRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xdc\x01\n\x17GetNotificationResponse\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.keyapis.bell.v1.NotificationH\x00\x12?\n\x05\x65rror\x18\x02 \x01(\x0b\x32..keyapis.bell.v1.GetNotificationResponse.ErrorH\x00\x1aI\n\x05\x45rror\x12\x36\n\nvalidation\x18\x01 \x01(\x0b\x32 .keyapis.bell.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x96\x01\n\x1aGetNotificationListRequest\x12\x33\n\x06\x66ilter\x18\x01 \x01(\x0b\x32#.keyapis.bell.v1.NotificationFilter\x12\x35\n\x06paging\x18\x02 \x01(\x0b\x32#.keyapis.bell.v1.NotificationPagingH\x00\x42\x0c\n\npagination\"\xe4\x01\n\x1bGetNotificationListResponse\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.keyapis.bell.v1.NotificationH\x00\x12\x43\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x32.keyapis.bell.v1.GetNotificationListResponse.ErrorH\x00\x1aI\n\x05\x45rror\x12\x36\n\nvalidation\x18\x01 \x01(\x0b\x32 .keyapis.bell.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"R\n\x1bGetNotificationCountRequest\x12\x33\n\x06\x66ilter\x18\x01 \x01(\x0b\x32#.keyapis.bell.v1.NotificationFilter\"\xc7\x01\n\x1cGetNotificationCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12\x44\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x33.keyapis.bell.v1.GetNotificationCountResponse.ErrorH\x00\x1aI\n\x05\x45rror\x12\x36\n\nvalidation\x18\x01 \x01(\x0b\x32 .keyapis.bell.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\".\n\x1bPostNotificationViewRequest\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xb7\x01\n\x1cPostNotificationViewResponse\x12\x44\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x33.keyapis.bell.v1.PostNotificationViewResponse.ErrorH\x00\x1aI\n\x05\x45rror\x12\x36\n\nvalidation\x18\x01 \x01(\x0b\x32 .keyapis.bell.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"z\n\x12NotificationFilter\x12\x0e\n\x06orpons\x18\x01 \x03(\x03\x12\x14\n\x0croom_numbers\x18\x02 \x03(\t\x12>\n\x0cstatus_types\x18\x03 \x03(\x0e\x32(.keyapis.bell.v1.Notification.StatusType\"\xd7\x02\n\x12NotificationPaging\x12\x46\n\rorder_by_type\x18\x01 \x01(\x0e\x32/.keyapis.bell.v1.NotificationPaging.OrderByType\x12I\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32\x31.keyapis.bell.v1.NotificationPaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"O\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x0e\n\nCREATED_AT\x10\x01\x12\x15\n\x11STATUS_CHANGED_AT\x10\x02\">\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\"Z\n*PostNotificationViewOrponRoomNumberRequest\x12\x12\n\x05orpon\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x18\n\x0broom_number\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xe5\x01\n+PostNotificationViewOrponRoomNumberResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12S\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x42.keyapis.bell.v1.PostNotificationViewOrponRoomNumberResponse.ErrorH\x00\x1aI\n\x05\x45rror\x12\x36\n\nvalidation\x18\x01 \x01(\x0b\x32 .keyapis.bell.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\x86\x08\n\x13NotificationService\x12\x8d\x01\n\x10PostNotification\x12(.keyapis.bell.v1.PostNotificationRequest\x1a).keyapis.bell.v1.PostNotificationResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/bell/api/v1/notification:\x01*\x12\x8c\x01\n\x0fGetNotification\x12\'.keyapis.bell.v1.GetNotificationRequest\x1a(.keyapis.bell.v1.GetNotificationResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/bell/api/v1/notification/{id}\x12\x9a\x01\n\x13GetNotificationList\x12+.keyapis.bell.v1.GetNotificationListRequest\x1a,.keyapis.bell.v1.GetNotificationListResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/bell/api/v1/notification/list0\x01\x12\x9c\x01\n\x14GetNotificationCount\x12,.keyapis.bell.v1.GetNotificationCountRequest\x1a-.keyapis.bell.v1.GetNotificationCountResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/bell/api/v1/notification/count\x12\xa0\x01\n\x14PostNotificationView\x12,.keyapis.bell.v1.PostNotificationViewRequest\x1a-.keyapis.bell.v1.PostNotificationViewResponse\"+\x82\xd3\xe4\x93\x02%\"#/bell/api/v1/notification/{id}/view\x12\xf0\x01\n#PostNotificationViewOrponRoomNumber\x12;.keyapis.bell.v1.PostNotificationViewOrponRoomNumberRequest\x1a<.keyapis.bell.v1.PostNotificationViewOrponRoomNumberResponse\"N\x82\xd3\xe4\x93\x02H\"F/bell/api/v1/notification/view/orpon/{orpon}/room_number/{room_number}B\x8c\x01\n\x12ru.keyapis.bell.v1B\x12KeyapisBellV1ProtoH\x03P\x00Z\x10/keyapis_bell_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\rKEYAPISBELLV1\xaa\x02\x0fKeyapis.Bell.V1\xca\x02\x0fKeyapis\\Bell\\V1\xea\x02\x11Keyapis::Bell::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.StringValue", "google/protobuf/wrappers.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["keyapis.bell.v1.ValidationError", "keyapis/bell/v1/keyapis_bell_common_v1.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 Bell
    module V1
      Notification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.Notification").msgclass
      Notification::StatusType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.Notification.StatusType").enummodule
      PostNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationRequest").msgclass
      PostNotificationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationResponse").msgclass
      PostNotificationResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationResponse.Error").msgclass
      GetNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationRequest").msgclass
      GetNotificationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationResponse").msgclass
      GetNotificationResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationResponse.Error").msgclass
      GetNotificationListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationListRequest").msgclass
      GetNotificationListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationListResponse").msgclass
      GetNotificationListResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationListResponse.Error").msgclass
      GetNotificationCountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationCountRequest").msgclass
      GetNotificationCountResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationCountResponse").msgclass
      GetNotificationCountResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.GetNotificationCountResponse.Error").msgclass
      PostNotificationViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationViewRequest").msgclass
      PostNotificationViewResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationViewResponse").msgclass
      PostNotificationViewResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationViewResponse.Error").msgclass
      NotificationFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.NotificationFilter").msgclass
      NotificationPaging = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.NotificationPaging").msgclass
      NotificationPaging::OrderByType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.NotificationPaging.OrderByType").enummodule
      NotificationPaging::DirectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.NotificationPaging.DirectionType").enummodule
      PostNotificationViewOrponRoomNumberRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationViewOrponRoomNumberRequest").msgclass
      PostNotificationViewOrponRoomNumberResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationViewOrponRoomNumberResponse").msgclass
      PostNotificationViewOrponRoomNumberResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.bell.v1.PostNotificationViewOrponRoomNumberResponse.Error").msgclass
    end
  end
end
