# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: common/v3/model.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from validate import validate_pb2 as validate_dot_validate__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='common/v3/model.proto',
  package='kin.agora.common.v3',
  syntax='proto3',
  serialized_options=b'\n\033org.kin.agora.gen.common.v3ZDgithub.com/kinecosystem/agora-api-internal/genproto/common/v3;common\242\002\013APBCommonV3',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x15\x63ommon/v3/model.proto\x12\x13kin.agora.common.v3\x1a\x17validate/validate.proto\"=\n\x10StellarAccountId\x12)\n\x05value\x18\x01 \x01(\tB\x1a\xfa\x42\x17r\x15 8(82\x0f^G[a-zA-Z0-9]*$\"+\n\x0fTransactionHash\x12\x18\n\x05value\x18\x01 \x01(\x0c\x42\t\xfa\x42\x06z\x04\x10 \x18 \"\'\n\x0bInvoiceHash\x12\x18\n\x05value\x18\x01 \x01(\x0c\x42\t\xfa\x42\x06z\x04\x10\x1c\x18\x1c\"\xbb\x01\n\x07Invoice\x12\x41\n\x05items\x18\x01 \x03(\x0b\x32%.kin.agora.common.v3.Invoice.LineItemB\x0b\xfa\x42\x08\x92\x01\x05\x08\x01\x10\x80\x08\x1am\n\x08LineItem\x12\x19\n\x05title\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\x80\x01\x12\x1f\n\x0b\x64\x65scription\x18\x02 \x01(\tB\n\xfa\x42\x07r\x05\x10\x00\x18\x80\x02\x12\x0e\n\x06\x61mount\x18\x03 \x01(\x03\x12\x15\n\x03sku\x18\x04 \x01(\x0c\x42\x08\xfa\x42\x05z\x03\x18\x80\x01\"I\n\x0bInvoiceList\x12:\n\x08invoices\x18\x01 \x03(\x0b\x32\x1c.kin.agora.common.v3.InvoiceB\n\xfa\x42\x07\x92\x01\x04\x08\x01\x10\x64\x42q\n\x1borg.kin.agora.gen.common.v3ZDgithub.com/kinecosystem/agora-api-internal/genproto/common/v3;common\xa2\x02\x0b\x41PBCommonV3b\x06proto3'
  ,
  dependencies=[validate_dot_validate__pb2.DESCRIPTOR,])




_STELLARACCOUNTID = _descriptor.Descriptor(
  name='StellarAccountId',
  full_name='kin.agora.common.v3.StellarAccountId',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='value', full_name='kin.agora.common.v3.StellarAccountId.value', index=0,
      number=1, 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,
      serialized_options=b'\372B\027r\025 8(82\017^G[a-zA-Z0-9]*$', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=71,
  serialized_end=132,
)


_TRANSACTIONHASH = _descriptor.Descriptor(
  name='TransactionHash',
  full_name='kin.agora.common.v3.TransactionHash',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='value', full_name='kin.agora.common.v3.TransactionHash.value', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\372B\006z\004\020 \030 ', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=134,
  serialized_end=177,
)


_INVOICEHASH = _descriptor.Descriptor(
  name='InvoiceHash',
  full_name='kin.agora.common.v3.InvoiceHash',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='value', full_name='kin.agora.common.v3.InvoiceHash.value', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\372B\006z\004\020\034\030\034', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=179,
  serialized_end=218,
)


_INVOICE_LINEITEM = _descriptor.Descriptor(
  name='LineItem',
  full_name='kin.agora.common.v3.Invoice.LineItem',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='title', full_name='kin.agora.common.v3.Invoice.LineItem.title', index=0,
      number=1, 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,
      serialized_options=b'\372B\007r\005\020\001\030\200\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='description', full_name='kin.agora.common.v3.Invoice.LineItem.description', index=1,
      number=2, 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,
      serialized_options=b'\372B\007r\005\020\000\030\200\002', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='amount', full_name='kin.agora.common.v3.Invoice.LineItem.amount', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='sku', full_name='kin.agora.common.v3.Invoice.LineItem.sku', index=3,
      number=4, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\372B\005z\003\030\200\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=299,
  serialized_end=408,
)

_INVOICE = _descriptor.Descriptor(
  name='Invoice',
  full_name='kin.agora.common.v3.Invoice',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='items', full_name='kin.agora.common.v3.Invoice.items', 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,
      serialized_options=b'\372B\010\222\001\005\010\001\020\200\010', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_INVOICE_LINEITEM, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=221,
  serialized_end=408,
)


_INVOICELIST = _descriptor.Descriptor(
  name='InvoiceList',
  full_name='kin.agora.common.v3.InvoiceList',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='invoices', full_name='kin.agora.common.v3.InvoiceList.invoices', 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,
      serialized_options=b'\372B\007\222\001\004\010\001\020d', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=410,
  serialized_end=483,
)

_INVOICE_LINEITEM.containing_type = _INVOICE
_INVOICE.fields_by_name['items'].message_type = _INVOICE_LINEITEM
_INVOICELIST.fields_by_name['invoices'].message_type = _INVOICE
DESCRIPTOR.message_types_by_name['StellarAccountId'] = _STELLARACCOUNTID
DESCRIPTOR.message_types_by_name['TransactionHash'] = _TRANSACTIONHASH
DESCRIPTOR.message_types_by_name['InvoiceHash'] = _INVOICEHASH
DESCRIPTOR.message_types_by_name['Invoice'] = _INVOICE
DESCRIPTOR.message_types_by_name['InvoiceList'] = _INVOICELIST
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

StellarAccountId = _reflection.GeneratedProtocolMessageType('StellarAccountId', (_message.Message,), {
  'DESCRIPTOR' : _STELLARACCOUNTID,
  '__module__' : 'common.v3.model_pb2'
  # @@protoc_insertion_point(class_scope:kin.agora.common.v3.StellarAccountId)
  })
_sym_db.RegisterMessage(StellarAccountId)

TransactionHash = _reflection.GeneratedProtocolMessageType('TransactionHash', (_message.Message,), {
  'DESCRIPTOR' : _TRANSACTIONHASH,
  '__module__' : 'common.v3.model_pb2'
  # @@protoc_insertion_point(class_scope:kin.agora.common.v3.TransactionHash)
  })
_sym_db.RegisterMessage(TransactionHash)

InvoiceHash = _reflection.GeneratedProtocolMessageType('InvoiceHash', (_message.Message,), {
  'DESCRIPTOR' : _INVOICEHASH,
  '__module__' : 'common.v3.model_pb2'
  # @@protoc_insertion_point(class_scope:kin.agora.common.v3.InvoiceHash)
  })
_sym_db.RegisterMessage(InvoiceHash)

Invoice = _reflection.GeneratedProtocolMessageType('Invoice', (_message.Message,), {

  'LineItem' : _reflection.GeneratedProtocolMessageType('LineItem', (_message.Message,), {
    'DESCRIPTOR' : _INVOICE_LINEITEM,
    '__module__' : 'common.v3.model_pb2'
    # @@protoc_insertion_point(class_scope:kin.agora.common.v3.Invoice.LineItem)
    })
  ,
  'DESCRIPTOR' : _INVOICE,
  '__module__' : 'common.v3.model_pb2'
  # @@protoc_insertion_point(class_scope:kin.agora.common.v3.Invoice)
  })
_sym_db.RegisterMessage(Invoice)
_sym_db.RegisterMessage(Invoice.LineItem)

InvoiceList = _reflection.GeneratedProtocolMessageType('InvoiceList', (_message.Message,), {
  'DESCRIPTOR' : _INVOICELIST,
  '__module__' : 'common.v3.model_pb2'
  # @@protoc_insertion_point(class_scope:kin.agora.common.v3.InvoiceList)
  })
_sym_db.RegisterMessage(InvoiceList)


DESCRIPTOR._options = None
_STELLARACCOUNTID.fields_by_name['value']._options = None
_TRANSACTIONHASH.fields_by_name['value']._options = None
_INVOICEHASH.fields_by_name['value']._options = None
_INVOICE_LINEITEM.fields_by_name['title']._options = None
_INVOICE_LINEITEM.fields_by_name['description']._options = None
_INVOICE_LINEITEM.fields_by_name['sku']._options = None
_INVOICE.fields_by_name['items']._options = None
_INVOICELIST.fields_by_name['invoices']._options = None
# @@protoc_insertion_point(module_scope)
