from google.protobuf import descriptor
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
import protocolbuffers.ResourceKey_pb2 as ResourceKey_pb2
DESCRIPTOR = descriptor.FileDescriptor(name='MTXCatalog.proto', package='EA.Sims4.Network', serialized_pb='\n\x10MTXCatalog.proto\x12\x10EA.Sims4.Network\x1a\x11ResourceKey.proto"ü\x06\n\x07Product\x12\n\n\x02id\x18\x01 \x02(\x04\x12\x0f\n\x07offerid\x18\x02 \x02(\t\x12\x14\n\x08children\x18\x03 \x03(\x04B\x02\x10\x01\x120\n\tinstances\x18\x04 \x03(\x0b2\x1d.EA.Sims4.Network.ResourceKey\x12\x0c\n\x04name\x18\x05 \x01(\t\x12,\n\tcountries\x18\x06 \x03(\x0b2\x19.EA.Sims4.Network.Country\x12\x10\n\x08isBundle\x18\x07 \x02(\x08\x12D\n\x0fcontainmentType\x18\x08 \x01(\x0e2+.EA.Sims4.Network.Product.BundleContainment\x12\x1b\n\x0fchildProductIds\x18\t \x03(\x04B\x02\x10\x01\x12\x16\n\x0ebundlePriority\x18\n \x01(\x05\x12\x13\n\x0bkeyNameHash\x18\x0b \x01(\r\x12\x1a\n\x12keyDescriptionHash\x18\x0c \x01(\r\x12 \n\x18keyUpsellDescriptionHash\x18\r \x01(\r\x12\'\n\x1fthumbnailResourceInstanceIdHash\x18\x0e \x01(\x04\x12\x17\n\x0fhiddenInCatalog\x18\x0f \x01(\x08\x12\x1b\n\risPurchasable\x18\x10 \x01(\x08:\x04true\x12 \n\x13celebrationPriority\x18\x11 \x01(\r:\x03400\x12\x1e\n\x0flocalizedImages\x18\x12 \x01(\x08:\x05false\x12\x1c\n\rshow_variants\x18\x13 \x01(\x08:\x05false\x12\x13\n\x08keyImage\x18\x14 \x01(\x04:\x010\x12:\n\x0bproductType\x18\x15 \x01(\x0e2%.EA.Sims4.Network.Product.ProductType\x12\x16\n\x0eproductInfoURL\x18\x16 \x01(\t\x12\x19\n\x0bisAvailable\x18\x17 \x01(\x08:\x04true\x12\x1e\n\x10showInPackDetail\x18\x18 \x01(\x08:\x04true\x12\x12\n\x06packId\x18\x19 \x01(\x05:\x02-1")\n\x11BundleContainment\x12\t\n\x05LOOSE\x10\x00\x12\t\n\x05TIGHT\x10\x01"N\n\x0bProductType\x12\x07\n\x03CAS\x10\x00\x12\x06\n\x02BB\x10\x01\x12\x0c\n\x08GAMEPLAY\x10\x02\x12\x0f\n\x0bGENERIC_MTX\x10\x03\x12\x0f\n\x0bINVALID_MTX\x10\x04"\x1d\n\tOfferList\x12\x10\n\x08offer_id\x18\x01 \x03(\t"I\n\x07Catalog\x12\x11\n\ttimestamp\x18\x01 \x02(\x04\x12+\n\x08products\x18\x02 \x03(\x0b2\x19.EA.Sims4.Network.Product"G\n\x07Country\x12\x13\n\x0bcountryCode\x18\x01 \x02(\t\x12\'\n\x06prices\x18\x02 \x03(\x0b2\x17.EA.Sims4.Network.Price"u\n\x05Price\x12\r\n\x05price\x18\x01 \x02(\x02\x12\x10\n\x08currency\x18\x02 \x02(\t\x12\x14\n\x0ccurrencyType\x18\x03 \x02(\t\x12\x11\n\tpriceType\x18\x04 \x02(\t\x12\x11\n\tstartDate\x18\x05 \x01(\x04\x12\x0f\n\x07endDate\x18\x06 \x01(\x04"\\\n\x12ViewedEntitlements\x12F\n\x13viewed_entitlements\x18\x01 \x03(\x0b2).EA.Sims4.Network.EntitlementNotification"æ\x03\n\x17EntitlementNotification\x12\x17\n\x0cviewed_state\x18\x02 \x01(\r:\x011\x12\x12\n\nproduct_id\x18\x03 \x01(\x04\x12\x1a\n\x12trial_viewed_state\x18\x04 \x01(\r\x128\n0entitlement_id_at_trial_expiration_or_conversion\x18\x05 \x01(\x04"j\n\x0bViewedState\x12\x12\n\x0eVIEWED_INVALID\x10\x00\x12\x0e\n\nVIEWED_NEW\x10\x01\x12\x15\n\x11VIEWED_CELEBRATED\x10\x02\x12\x0f\n\x0bVIEWED_USED\x10\x04\x12\x0f\n\nVIEWED_ALL\x10ÿ\x01"t\n\x14TrialViewedStateMask\x120\n,TRIAL_VIEWED_MASK_EXPIRED_TRIAL_OR_CONVERTED\x10\x01\x12*\n&TRIAL_VIEWED_MASK_TRIALS_NOT_SUPPORTED\x10\x02"f\n\x10TrialViewedState\x12+\n\'TRIAL_VIEWED_EXPIRED_TRIAL_OR_CONVERTED\x10\x01\x12%\n!TRIAL_VIEWED_TRIALS_NOT_SUPPORTED\x10\x02')
_PRODUCT_BUNDLECONTAINMENT = descriptor.EnumDescriptor(name='BundleContainment', full_name='EA.Sims4.Network.Product.BundleContainment', filename=None, file=DESCRIPTOR, values=[descriptor.EnumValueDescriptor(name='LOOSE', index=0, number=0, options=None, type=None), descriptor.EnumValueDescriptor(name='TIGHT', index=1, number=1, options=None, type=None)], containing_type=None, options=None, serialized_start=829, serialized_end=870)
_PRODUCT_PRODUCTTYPE = descriptor.EnumDescriptor(name='ProductType', full_name='EA.Sims4.Network.Product.ProductType', filename=None, file=DESCRIPTOR, values=[descriptor.EnumValueDescriptor(name='CAS', index=0, number=0, options=None, type=None), descriptor.EnumValueDescriptor(name='BB', index=1, number=1, options=None, type=None), descriptor.EnumValueDescriptor(name='GAMEPLAY', index=2, number=2, options=None, type=None), descriptor.EnumValueDescriptor(name='GENERIC_MTX', index=3, number=3, options=None, type=None), descriptor.EnumValueDescriptor(name='INVALID_MTX', index=4, number=4, options=None, type=None)], containing_type=None, options=None, serialized_start=872, serialized_end=950)
_ENTITLEMENTNOTIFICATION_VIEWEDSTATE = descriptor.EnumDescriptor(name='ViewedState', full_name='EA.Sims4.Network.EntitlementNotification.ViewedState', filename=None, file=DESCRIPTOR, values=[descriptor.EnumValueDescriptor(name='VIEWED_INVALID', index=0, number=0, options=None, type=None), descriptor.EnumValueDescriptor(name='VIEWED_NEW', index=1, number=1, options=None, type=None), descriptor.EnumValueDescriptor(name='VIEWED_CELEBRATED', index=2, number=2, options=None, type=None), descriptor.EnumValueDescriptor(name='VIEWED_USED', index=3, number=4, options=None, type=None), descriptor.EnumValueDescriptor(name='VIEWED_ALL', index=4, number=255, options=None, type=None)], containing_type=None, options=None, serialized_start=1503, serialized_end=1609)
_ENTITLEMENTNOTIFICATION_TRIALVIEWEDSTATEMASK = descriptor.EnumDescriptor(name='TrialViewedStateMask', full_name='EA.Sims4.Network.EntitlementNotification.TrialViewedStateMask', filename=None, file=DESCRIPTOR, values=[descriptor.EnumValueDescriptor(name='TRIAL_VIEWED_MASK_EXPIRED_TRIAL_OR_CONVERTED', index=0, number=1, options=None, type=None), descriptor.EnumValueDescriptor(name='TRIAL_VIEWED_MASK_TRIALS_NOT_SUPPORTED', index=1, number=2, options=None, type=None)], containing_type=None, options=None, serialized_start=1611, serialized_end=1727)
_ENTITLEMENTNOTIFICATION_TRIALVIEWEDSTATE = descriptor.EnumDescriptor(name='TrialViewedState', full_name='EA.Sims4.Network.EntitlementNotification.TrialViewedState', filename=None, file=DESCRIPTOR, values=[descriptor.EnumValueDescriptor(name='TRIAL_VIEWED_EXPIRED_TRIAL_OR_CONVERTED', index=0, number=1, options=None, type=None), descriptor.EnumValueDescriptor(name='TRIAL_VIEWED_TRIALS_NOT_SUPPORTED', index=1, number=2, options=None, type=None)], containing_type=None, options=None, serialized_start=1729, serialized_end=1831)
_PRODUCT = descriptor.Descriptor(name='Product', full_name='EA.Sims4.Network.Product', filename=None, file=DESCRIPTOR, containing_type=None, fields=[descriptor.FieldDescriptor(name='id', full_name='EA.Sims4.Network.Product.id', index=0, number=1, type=4, cpp_type=4, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='offerid', full_name='EA.Sims4.Network.Product.offerid', index=1, number=2, type=9, cpp_type=9, label=2, has_default_value=False, default_value=b''.decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='children', full_name='EA.Sims4.Network.Product.children', index=2, number=3, type=4, cpp_type=4, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\x10\x01')), descriptor.FieldDescriptor(name='instances', full_name='EA.Sims4.Network.Product.instances', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='name', full_name='EA.Sims4.Network.Product.name', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b''.decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='countries', full_name='EA.Sims4.Network.Product.countries', index=5, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='isBundle', full_name='EA.Sims4.Network.Product.isBundle', index=6, number=7, type=8, cpp_type=7, label=2, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='containmentType', full_name='EA.Sims4.Network.Product.containmentType', index=7, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='childProductIds', full_name='EA.Sims4.Network.Product.childProductIds', index=8, number=9, type=4, cpp_type=4, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\x10\x01')), descriptor.FieldDescriptor(name='bundlePriority', full_name='EA.Sims4.Network.Product.bundlePriority', index=9, number=10, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='keyNameHash', full_name='EA.Sims4.Network.Product.keyNameHash', index=10, number=11, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='keyDescriptionHash', full_name='EA.Sims4.Network.Product.keyDescriptionHash', index=11, number=12, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='keyUpsellDescriptionHash', full_name='EA.Sims4.Network.Product.keyUpsellDescriptionHash', index=12, number=13, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='thumbnailResourceInstanceIdHash', full_name='EA.Sims4.Network.Product.thumbnailResourceInstanceIdHash', index=13, number=14, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='hiddenInCatalog', full_name='EA.Sims4.Network.Product.hiddenInCatalog', index=14, number=15, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='isPurchasable', full_name='EA.Sims4.Network.Product.isPurchasable', index=15, number=16, type=8, cpp_type=7, label=1, has_default_value=True, default_value=True, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='celebrationPriority', full_name='EA.Sims4.Network.Product.celebrationPriority', index=16, number=17, type=13, cpp_type=3, label=1, has_default_value=True, default_value=400, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='localizedImages', full_name='EA.Sims4.Network.Product.localizedImages', index=17, number=18, type=8, cpp_type=7, label=1, has_default_value=True, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='show_variants', full_name='EA.Sims4.Network.Product.show_variants', index=18, number=19, type=8, cpp_type=7, label=1, has_default_value=True, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='keyImage', full_name='EA.Sims4.Network.Product.keyImage', index=19, number=20, type=4, cpp_type=4, label=1, has_default_value=True, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='productType', full_name='EA.Sims4.Network.Product.productType', index=20, number=21, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='productInfoURL', full_name='EA.Sims4.Network.Product.productInfoURL', index=21, number=22, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b''.decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='isAvailable', full_name='EA.Sims4.Network.Product.isAvailable', index=22, number=23, type=8, cpp_type=7, label=1, has_default_value=True, default_value=True, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='showInPackDetail', full_name='EA.Sims4.Network.Product.showInPackDetail', index=23, number=24, type=8, cpp_type=7, label=1, has_default_value=True, default_value=True, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='packId', full_name='EA.Sims4.Network.Product.packId', index=24, number=25, type=5, cpp_type=1, label=1, has_default_value=True, default_value=-1, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None)], extensions=[], nested_types=[], enum_types=[_PRODUCT_BUNDLECONTAINMENT, _PRODUCT_PRODUCTTYPE], options=None, is_extendable=False, extension_ranges=[], serialized_start=58, serialized_end=950)
_OFFERLIST = descriptor.Descriptor(name='OfferList', full_name='EA.Sims4.Network.OfferList', filename=None, file=DESCRIPTOR, containing_type=None, fields=[descriptor.FieldDescriptor(name='offer_id', full_name='EA.Sims4.Network.OfferList.offer_id', index=0, number=1, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None)], extensions=[], nested_types=[], enum_types=[], options=None, is_extendable=False, extension_ranges=[], serialized_start=952, serialized_end=981)
_CATALOG = descriptor.Descriptor(name='Catalog', full_name='EA.Sims4.Network.Catalog', filename=None, file=DESCRIPTOR, containing_type=None, fields=[descriptor.FieldDescriptor(name='timestamp', full_name='EA.Sims4.Network.Catalog.timestamp', index=0, number=1, type=4, cpp_type=4, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='products', full_name='EA.Sims4.Network.Catalog.products', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None)], extensions=[], nested_types=[], enum_types=[], options=None, is_extendable=False, extension_ranges=[], serialized_start=983, serialized_end=1056)
_COUNTRY = descriptor.Descriptor(name='Country', full_name='EA.Sims4.Network.Country', filename=None, file=DESCRIPTOR, containing_type=None, fields=[descriptor.FieldDescriptor(name='countryCode', full_name='EA.Sims4.Network.Country.countryCode', index=0, number=1, type=9, cpp_type=9, label=2, has_default_value=False, default_value=b''.decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='prices', full_name='EA.Sims4.Network.Country.prices', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None)], extensions=[], nested_types=[], enum_types=[], options=None, is_extendable=False, extension_ranges=[], serialized_start=1058, serialized_end=1129)
_PRICE = descriptor.Descriptor(name='Price', full_name='EA.Sims4.Network.Price', filename=None, file=DESCRIPTOR, containing_type=None, fields=[descriptor.FieldDescriptor(name='price', full_name='EA.Sims4.Network.Price.price', index=0, number=1, type=2, cpp_type=6, label=2, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='currency', full_name='EA.Sims4.Network.Price.currency', index=1, number=2, type=9, cpp_type=9, label=2, has_default_value=False, default_value=b''.decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='currencyType', full_name='EA.Sims4.Network.Price.currencyType', index=2, number=3, type=9, cpp_type=9, label=2, has_default_value=False, default_value=b''.decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='priceType', full_name='EA.Sims4.Network.Price.priceType', index=3, number=4, type=9, cpp_type=9, label=2, has_default_value=False, default_value=b''.decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='startDate', full_name='EA.Sims4.Network.Price.startDate', index=4, number=5, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='endDate', full_name='EA.Sims4.Network.Price.endDate', index=5, number=6, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None)], extensions=[], nested_types=[], enum_types=[], options=None, is_extendable=False, extension_ranges=[], serialized_start=1131, serialized_end=1248)
_VIEWEDENTITLEMENTS = descriptor.Descriptor(name='ViewedEntitlements', full_name='EA.Sims4.Network.ViewedEntitlements', filename=None, file=DESCRIPTOR, containing_type=None, fields=[descriptor.FieldDescriptor(name='viewed_entitlements', full_name='EA.Sims4.Network.ViewedEntitlements.viewed_entitlements', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None)], extensions=[], nested_types=[], enum_types=[], options=None, is_extendable=False, extension_ranges=[], serialized_start=1250, serialized_end=1342)
_ENTITLEMENTNOTIFICATION = descriptor.Descriptor(name='EntitlementNotification', full_name='EA.Sims4.Network.EntitlementNotification', filename=None, file=DESCRIPTOR, containing_type=None, fields=[descriptor.FieldDescriptor(name='viewed_state', full_name='EA.Sims4.Network.EntitlementNotification.viewed_state', index=0, number=2, type=13, cpp_type=3, label=1, has_default_value=True, default_value=1, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='product_id', full_name='EA.Sims4.Network.EntitlementNotification.product_id', index=1, number=3, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='trial_viewed_state', full_name='EA.Sims4.Network.EntitlementNotification.trial_viewed_state', index=2, number=4, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), descriptor.FieldDescriptor(name='entitlement_id_at_trial_expiration_or_conversion', full_name='EA.Sims4.Network.EntitlementNotification.entitlement_id_at_trial_expiration_or_conversion', index=3, number=5, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None)], extensions=[], nested_types=[], enum_types=[_ENTITLEMENTNOTIFICATION_VIEWEDSTATE, _ENTITLEMENTNOTIFICATION_TRIALVIEWEDSTATEMASK, _ENTITLEMENTNOTIFICATION_TRIALVIEWEDSTATE], options=None, is_extendable=False, extension_ranges=[], serialized_start=1345, serialized_end=1831)
_PRODUCT.fields_by_name['instances'].message_type = ResourceKey_pb2._RESOURCEKEY
_PRODUCT.fields_by_name['countries'].message_type = _COUNTRY
_PRODUCT.fields_by_name['containmentType'].enum_type = _PRODUCT_BUNDLECONTAINMENT
_PRODUCT.fields_by_name['productType'].enum_type = _PRODUCT_PRODUCTTYPE
_PRODUCT_BUNDLECONTAINMENT.containing_type = _PRODUCT
_PRODUCT_PRODUCTTYPE.containing_type = _PRODUCT
_CATALOG.fields_by_name['products'].message_type = _PRODUCT
_COUNTRY.fields_by_name['prices'].message_type = _PRICE
_VIEWEDENTITLEMENTS.fields_by_name['viewed_entitlements'].message_type = _ENTITLEMENTNOTIFICATION
_ENTITLEMENTNOTIFICATION_VIEWEDSTATE.containing_type = _ENTITLEMENTNOTIFICATION
_ENTITLEMENTNOTIFICATION_TRIALVIEWEDSTATEMASK.containing_type = _ENTITLEMENTNOTIFICATION
_ENTITLEMENTNOTIFICATION_TRIALVIEWEDSTATE.containing_type = _ENTITLEMENTNOTIFICATION
DESCRIPTOR.message_types_by_name['Product'] = _PRODUCT
DESCRIPTOR.message_types_by_name['OfferList'] = _OFFERLIST
DESCRIPTOR.message_types_by_name['Catalog'] = _CATALOG
DESCRIPTOR.message_types_by_name['Country'] = _COUNTRY
DESCRIPTOR.message_types_by_name['Price'] = _PRICE
DESCRIPTOR.message_types_by_name['ViewedEntitlements'] = _VIEWEDENTITLEMENTS
DESCRIPTOR.message_types_by_name['EntitlementNotification'] = _ENTITLEMENTNOTIFICATION

class Product(message.Message, metaclass=reflection.GeneratedProtocolMessageType):
    DESCRIPTOR = _PRODUCT


class OfferList(message.Message, metaclass=reflection.GeneratedProtocolMessageType):
    DESCRIPTOR = _OFFERLIST


class Catalog(message.Message, metaclass=reflection.GeneratedProtocolMessageType):
    DESCRIPTOR = _CATALOG


class Country(message.Message, metaclass=reflection.GeneratedProtocolMessageType):
    DESCRIPTOR = _COUNTRY


class Price(message.Message, metaclass=reflection.GeneratedProtocolMessageType):
    DESCRIPTOR = _PRICE


class ViewedEntitlements(message.Message, metaclass=reflection.GeneratedProtocolMessageType):
    DESCRIPTOR = _VIEWEDENTITLEMENTS


class EntitlementNotification(message.Message, metaclass=reflection.GeneratedProtocolMessageType):
    DESCRIPTOR = _ENTITLEMENTNOTIFICATION

