# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/subscription/v1/keyapis_subscription_plan_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from keyapis.subscription.v1 import keyapis_subscription_privilege_v1_pb2 as keyapis_dot_subscription_dot_v1_dot_keyapis__subscription__privilege__v1__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:keyapis/subscription/v1/keyapis_subscription_plan_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\x1a\x1fgoogle/protobuf/timestamp.proto\x1a?keyapis/subscription/v1/keyapis_subscription_privilege_v1.proto\"\xbf\x05\n\x04Plan\x12\x0f\n\x02id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nchanged_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x12\n\nparent_ids\x18\x06 \x03(\x05\x12\x0e\n\x06rf_ids\x18\x07 \x03(\x05\x12-\n\x07summary\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\ticon_type\x18\t \x01(\x0e\x32&.keyapis.subscription.v1.Plan.IconType\x12L\n\x13option_descriptions\x18\n \x03(\x0b\x32/.keyapis.subscription.v1.Plan.OptionDescription\x12@\n\x0fprivilege_types\x18\x0b \x03(\x0e\x32\'.keyapis.subscription.v1.Privilege.Type\x1a\x91\x01\n\x11OptionDescription\x12\x39\n\ticon_type\x18\x01 \x01(\x0e\x32&.keyapis.subscription.v1.Plan.IconType\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12-\n\x07summary\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"C\n\x08IconType\x12\x15\n\x11ICON_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x46\x41ST\x10\x01\x12\x0c\n\x08\x46\x41\x43\x45_REC\x10\x02\x12\x08\n\x04SAFE\x10\x03\"\xc5\x01\n\nPlanFilter\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x0e\n\x06rf_ids\x18\x02 \x03(\x05\x1a{\n\x0fValidationError\x12O\n\x04text\x18\x01 \x01(\x0b\x32?.keyapis.subscription.v1.PlanFilter.ValidationError.TextInvalidH\x00\x1a\r\n\x0bTextInvalidB\x08\n\x06reason\"\x97\x04\n\nPlanPaging\x12\x46\n\rorder_by_type\x18\x01 \x01(\x0e\x32/.keyapis.subscription.v1.PlanPaging.OrderByType\x12I\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32\x31.keyapis.subscription.v1.PlanPaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\x1a\xe4\x01\n\x0fValidationError\x12Q\n\x05limit\x18\x01 \x01(\x0b\x32@.keyapis.subscription.v1.PlanPaging.ValidationError.LimitInvalidH\x00\x12S\n\x06offset\x18\x02 \x01(\x0b\x32\x41.keyapis.subscription.v1.PlanPaging.ValidationError.OffsetInvalidH\x00\x1a\x0e\n\x0cLimitInvalid\x1a\x0f\n\rOffsetInvalidB\x08\n\x06reason\"0\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x06\n\x02ID\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\"!\n\x0eGetPlanRequest\x12\x0f\n\x02id\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"H\n\x0fGetPlanResponse\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.keyapis.subscription.v1.PlanH\x00\x42\x06\n\x04type\"\x93\x01\n\x12GetPlanListRequest\x12\x38\n\x06\x66ilter\x18\x01 \x01(\x0b\x32#.keyapis.subscription.v1.PlanFilterB\x03\xe0\x41\x02\x12\x35\n\x06paging\x18\x02 \x01(\x0b\x32#.keyapis.subscription.v1.PlanPagingH\x00\x42\x0c\n\npagination\"\xd3\x02\n\x13GetPlanListResponse\x12-\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1d.keyapis.subscription.v1.PlanH\x00\x12\x43\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x32.keyapis.subscription.v1.GetPlanListResponse.ErrorH\x00\x1a\xbf\x01\n\x05\x45rror\x12U\n\x16plan_filter_validation\x18\x01 \x01(\x0b\x32\x33.keyapis.subscription.v1.PlanFilter.ValidationErrorH\x00\x12U\n\x16plan_paging_validation\x18\x02 \x01(\x0b\x32\x33.keyapis.subscription.v1.PlanPaging.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"J\n\x13GetPlanCountRequest\x12\x33\n\x06\x66ilter\x18\x01 \x01(\x0b\x32#.keyapis.subscription.v1.PlanFilter\"\xde\x01\n\x14GetPlanCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12\x44\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x33.keyapis.subscription.v1.GetPlanCountResponse.ErrorH\x00\x1ah\n\x05\x45rror\x12U\n\x16plan_filter_validation\x18\x01 \x01(\x0b\x32\x33.keyapis.subscription.v1.PlanFilter.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\xc0\x03\n\x0bPlanService\x12\x84\x01\n\x07GetPlan\x12\'.keyapis.subscription.v1.GetPlanRequest\x1a(.keyapis.subscription.v1.GetPlanResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/subscription/api/v1/plan/{id}\x12\x92\x01\n\x0bGetPlanList\x12+.keyapis.subscription.v1.GetPlanListRequest\x1a,.keyapis.subscription.v1.GetPlanListResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/subscription/api/v1/plan/list0\x01\x12\x94\x01\n\x0cGetPlanCount\x12,.keyapis.subscription.v1.GetPlanCountRequest\x1a-.keyapis.subscription.v1.GetPlanCountResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/subscription/api/v1/plan/countB\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')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'keyapis.subscription.v1.keyapis_subscription_plan_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\032ru.keyapis.subscription.v1B\032KeyapisSubscriptionV1ProtoH\003P\000Z\030/keyapis_subscription_v1\330\001\001\370\001\001\242\002\025KEYAPISSUBSCRIPTIONV1\252\002\027Keyapis.Subscription.V1\312\002\027Keyapis\\Subscription\\V1\352\002\031Keyapis::Subscription::V1'
  _PLAN_OPTIONDESCRIPTION.fields_by_name['title']._options = None
  _PLAN_OPTIONDESCRIPTION.fields_by_name['title']._serialized_options = b'\340A\002'
  _PLAN.fields_by_name['id']._options = None
  _PLAN.fields_by_name['id']._serialized_options = b'\340A\003'
  _PLAN.fields_by_name['title']._options = None
  _PLAN.fields_by_name['title']._serialized_options = b'\340A\002'
  _PLAN.fields_by_name['created_at']._options = None
  _PLAN.fields_by_name['created_at']._serialized_options = b'\340A\003'
  _PLAN.fields_by_name['changed_at']._options = None
  _PLAN.fields_by_name['changed_at']._serialized_options = b'\340A\003'
  _GETPLANREQUEST.fields_by_name['id']._options = None
  _GETPLANREQUEST.fields_by_name['id']._serialized_options = b'\340A\002'
  _GETPLANLISTREQUEST.fields_by_name['filter']._options = None
  _GETPLANLISTREQUEST.fields_by_name['filter']._serialized_options = b'\340A\002'
  _PLANSERVICE.methods_by_name['GetPlan']._options = None
  _PLANSERVICE.methods_by_name['GetPlan']._serialized_options = b'\202\323\344\223\002 \022\036/subscription/api/v1/plan/{id}'
  _PLANSERVICE.methods_by_name['GetPlanList']._options = None
  _PLANSERVICE.methods_by_name['GetPlanList']._serialized_options = b'\202\323\344\223\002 \022\036/subscription/api/v1/plan/list'
  _PLANSERVICE.methods_by_name['GetPlanCount']._options = None
  _PLANSERVICE.methods_by_name['GetPlanCount']._serialized_options = b'\202\323\344\223\002!\022\037/subscription/api/v1/plan/count'
  _globals['_PLAN']._serialized_start=315
  _globals['_PLAN']._serialized_end=1018
  _globals['_PLAN_OPTIONDESCRIPTION']._serialized_start=804
  _globals['_PLAN_OPTIONDESCRIPTION']._serialized_end=949
  _globals['_PLAN_ICONTYPE']._serialized_start=951
  _globals['_PLAN_ICONTYPE']._serialized_end=1018
  _globals['_PLANFILTER']._serialized_start=1021
  _globals['_PLANFILTER']._serialized_end=1218
  _globals['_PLANFILTER_VALIDATIONERROR']._serialized_start=1095
  _globals['_PLANFILTER_VALIDATIONERROR']._serialized_end=1218
  _globals['_PLANFILTER_VALIDATIONERROR_TEXTINVALID']._serialized_start=1195
  _globals['_PLANFILTER_VALIDATIONERROR_TEXTINVALID']._serialized_end=1208
  _globals['_PLANPAGING']._serialized_start=1221
  _globals['_PLANPAGING']._serialized_end=1756
  _globals['_PLANPAGING_VALIDATIONERROR']._serialized_start=1414
  _globals['_PLANPAGING_VALIDATIONERROR']._serialized_end=1642
  _globals['_PLANPAGING_VALIDATIONERROR_LIMITINVALID']._serialized_start=1601
  _globals['_PLANPAGING_VALIDATIONERROR_LIMITINVALID']._serialized_end=1615
  _globals['_PLANPAGING_VALIDATIONERROR_OFFSETINVALID']._serialized_start=1617
  _globals['_PLANPAGING_VALIDATIONERROR_OFFSETINVALID']._serialized_end=1632
  _globals['_PLANPAGING_ORDERBYTYPE']._serialized_start=1644
  _globals['_PLANPAGING_ORDERBYTYPE']._serialized_end=1692
  _globals['_PLANPAGING_DIRECTIONTYPE']._serialized_start=1694
  _globals['_PLANPAGING_DIRECTIONTYPE']._serialized_end=1756
  _globals['_GETPLANREQUEST']._serialized_start=1758
  _globals['_GETPLANREQUEST']._serialized_end=1791
  _globals['_GETPLANRESPONSE']._serialized_start=1793
  _globals['_GETPLANRESPONSE']._serialized_end=1865
  _globals['_GETPLANLISTREQUEST']._serialized_start=1868
  _globals['_GETPLANLISTREQUEST']._serialized_end=2015
  _globals['_GETPLANLISTRESPONSE']._serialized_start=2018
  _globals['_GETPLANLISTRESPONSE']._serialized_end=2357
  _globals['_GETPLANLISTRESPONSE_ERROR']._serialized_start=2158
  _globals['_GETPLANLISTRESPONSE_ERROR']._serialized_end=2349
  _globals['_GETPLANCOUNTREQUEST']._serialized_start=2359
  _globals['_GETPLANCOUNTREQUEST']._serialized_end=2433
  _globals['_GETPLANCOUNTRESPONSE']._serialized_start=2436
  _globals['_GETPLANCOUNTRESPONSE']._serialized_end=2658
  _globals['_GETPLANCOUNTRESPONSE_ERROR']._serialized_start=2546
  _globals['_GETPLANCOUNTRESPONSE_ERROR']._serialized_end=2650
  _globals['_PLANSERVICE']._serialized_start=2661
  _globals['_PLANSERVICE']._serialized_end=3109
# @@protoc_insertion_point(module_scope)
