# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: components/commerce/core/proto/discounts.proto
# Protobuf Python Version: 7.35.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    7,
    35,
    1,
    '',
    'components/commerce/core/proto/discounts.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.components/commerce/core/proto/discounts.proto\x12\x08\x63ommerce\"E\n\rDiscountsData\x12\x34\n\x11\x64iscount_clusters\x18\x01 \x03(\x0b\x32\x19.commerce.DiscountCluster\"\xbb\x01\n\x0f\x44iscountCluster\x12;\n\x0c\x63luster_type\x18\x01 \x01(\x0e\x32%.commerce.DiscountCluster.ClusterType\x12%\n\tdiscounts\x18\x02 \x03(\x0b\x32\x12.commerce.Discount\"D\n\x0b\x43lusterType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bOFFER_LEVEL\x10\x01\x12\x0e\n\nPAGE_LEVEL\x10\x02\"\x87\x03\n\x08\x44iscount\x12\n\n\x02id\x18\x01 \x01(\x04\x12%\n\x04type\x18\x02 \x01(\x0e\x32\x17.commerce.Discount.Type\x12\x33\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1e.commerce.Discount.Description\x12\x17\n\x0f\x65xpiry_time_sec\x18\x04 \x01(\x01\x12\x18\n\x10is_merchant_wide\x18\x05 \x01(\x08\x12\x15\n\rdiscount_code\x18\x06 \x01(\t\x12\x10\n\x08offer_id\x18\x07 \x01(\x06\x1a\x66\n\x0b\x44\x65scription\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\x12\x1c\n\x14terms_and_conditions\x18\x03 \x01(\t\x12\x12\n\nvalue_text\x18\x04 \x01(\t\"O\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x46REE_LISTING_WITH_CODE\x10\x01\x12\x15\n\x11\x43RAWLED_PROMOTION\x10\x02\x42$\n org.chromium.components.commerceH\x03')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'components.commerce.core.proto.discounts_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n org.chromium.components.commerceH\003'
  _globals['_DISCOUNTSDATA']._serialized_start=60
  _globals['_DISCOUNTSDATA']._serialized_end=129
  _globals['_DISCOUNTCLUSTER']._serialized_start=132
  _globals['_DISCOUNTCLUSTER']._serialized_end=319
  _globals['_DISCOUNTCLUSTER_CLUSTERTYPE']._serialized_start=251
  _globals['_DISCOUNTCLUSTER_CLUSTERTYPE']._serialized_end=319
  _globals['_DISCOUNT']._serialized_start=322
  _globals['_DISCOUNT']._serialized_end=713
  _globals['_DISCOUNT_DESCRIPTION']._serialized_start=530
  _globals['_DISCOUNT_DESCRIPTION']._serialized_end=632
  _globals['_DISCOUNT_TYPE']._serialized_start=634
  _globals['_DISCOUNT_TYPE']._serialized_end=713
# @@protoc_insertion_point(module_scope)
