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


descriptor_data = "\n=keyapis/subscription/v1/keyapis_subscription_service_v1.proto\x12\x17keyapis.subscription.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/wrappers.proto\")\n\x06Sevice\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tis_active\x18\x02 \x01(\x08\"\x89\x01\n\x07Service\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tis_active\x18\x02 \x01(\x08\x12*\n\x05orpon\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0b\x66lat_number\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xab\x01\n\x0bServiceKind\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12\x31\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\tparent_id\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"E\n\x15GetServiceListRequest\x12\x12\n\x05orpon\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x66lat_number\x18\x02 \x01(\tB\x03\xe0\x41\x02\"Q\n\x16GetServiceListResponse\x12/\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1f.keyapis.subscription.v1.SeviceH\x00\x42\x06\n\x04type\"\xb2\x01\n\x1eGetServicePrivilegeListRequest\x12?\n\x06\x66ilter\x18\x01 \x01(\x0b\x32/.keyapis.subscription.v1.ServicePrivilegeFilter\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32/.keyapis.subscription.v1.ServicePrivilegePagingH\x00\x42\x0c\n\npagination\"[\n\x1fGetServicePrivilegeListResponse\x12\x30\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32 .keyapis.subscription.v1.ServiceH\x00\x42\x06\n\x04type\"\xb3\x01\n\x1fGetServicePrivilegeCountRequest\x12?\n\x06\x66ilter\x18\x01 \x01(\x0b\x32/.keyapis.subscription.v1.ServicePrivilegeFilter\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32/.keyapis.subscription.v1.ServicePrivilegePagingH\x00\x42\x0c\n\npagination\":\n GetServicePrivilegeCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x42\x06\n\x04type\">\n\x16ServicePrivilegeFilter\x12\x0e\n\x06orpons\x18\x01 \x03(\x03\x12\x14\n\x0c\x66lat_numbers\x18\x02 \x03(\t\"\xe8\x02\n\x16ServicePrivilegePaging\x12R\n\rorder_by_type\x18\x01 \x01(\x0e\x32;.keyapis.subscription.v1.ServicePrivilegePaging.OrderByType\x12U\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32=.keyapis.subscription.v1.ServicePrivilegePaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"D\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x1a\n\x16ORPON_THEN_FLAT_NUMBER\x10\x01\">\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\"\x1b\n\x19GetServiceKindListRequest\"Z\n\x1aGetServiceKindListResponse\x12\x34\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32$.keyapis.subscription.v1.ServiceKindH\x00\x42\x06\n\x04type2\x87\x06\n\x0eServiceService\x12\xb4\x01\n\x0eGetServiceList\x12..keyapis.subscription.v1.GetServiceListRequest\x1a/.keyapis.subscription.v1.GetServiceListResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/subscription/api/v1/service/{orpon}/{flat_number}/list0\x01\x12\xc3\x01\n\x17GetServicePrivilegeList\x12\x37.keyapis.subscription.v1.GetServicePrivilegeListRequest\x1a\x38.keyapis.subscription.v1.GetServicePrivilegeListResponse\"3\x82\xd3\xe4\x93\x02-\x12+/subscription/api/v1/service/privilege/list0\x01\x12\xc5\x01\n\x18GetServicePrivilegeCount\x12\x38.keyapis.subscription.v1.GetServicePrivilegeCountRequest\x1a\x39.keyapis.subscription.v1.GetServicePrivilegeCountResponse\"4\x82\xd3\xe4\x93\x02.\x12,/subscription/api/v1/service/privilege/count\x12\xaf\x01\n\x12GetServiceKindList\x12\x32.keyapis.subscription.v1.GetServiceKindListRequest\x1a\x33.keyapis.subscription.v1.GetServiceKindListResponse\".\x82\xd3\xe4\x93\x02(\x12&/subscription/api/v1/service/kind/list0\x01\x42\xc4\x01\n\x1aru.keyapis.subscription.v1B\x1aKeyapisSubscriptionV1ProtoH\x03P\x00Z\x18/keyapis_subscription_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x15KEYAPISSUBSCRIPTIONV1\xaa\x02\x17Keyapis.Subscription.V1\xca\x02\x17Keyapis\\Subscription\\V1\xea\x02\x19Keyapis::Subscription::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.Int64Value", "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 Keyapis
  module Subscription
    module V1
      Sevice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.Sevice").msgclass
      Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.Service").msgclass
      ServiceKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.ServiceKind").msgclass
      GetServiceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServiceListRequest").msgclass
      GetServiceListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServiceListResponse").msgclass
      GetServicePrivilegeListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServicePrivilegeListRequest").msgclass
      GetServicePrivilegeListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServicePrivilegeListResponse").msgclass
      GetServicePrivilegeCountRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServicePrivilegeCountRequest").msgclass
      GetServicePrivilegeCountResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServicePrivilegeCountResponse").msgclass
      ServicePrivilegeFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.ServicePrivilegeFilter").msgclass
      ServicePrivilegePaging = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.ServicePrivilegePaging").msgclass
      ServicePrivilegePaging::OrderByType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.ServicePrivilegePaging.OrderByType").enummodule
      ServicePrivilegePaging::DirectionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.ServicePrivilegePaging.DirectionType").enummodule
      GetServiceKindListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServiceKindListRequest").msgclass
      GetServiceKindListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("keyapis.subscription.v1.GetServiceKindListResponse").msgclass
    end
  end
end
