mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
32 lines
1.9 KiB
Python
32 lines
1.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: oneof_transaction.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf.internal import builder as _builder
|
|
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
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17oneof_transaction.proto\"\x8d\x03\n\x0bTransaction\x12\x0c\n\x04\x64\x61te\x18\x01 \x01(\t\x12&\n\x03\x62uy\x18\x02 \x01(\x0b\x32\x17.Transaction.BuyDetailsH\x00\x12(\n\x04sell\x18\x03 \x01(\x0b\x32\x18.Transaction.SellDetailsH\x00\x1a\x42\n\x0bPaymentInfo\x12\x14\n\ncash_value\x18\x01 \x01(\x01H\x00\x12\x14\n\ncard_value\x18\x02 \x01(\x01H\x00\x42\x07\n\x05value\x1a\x62\n\nBuyDetails\x12)\n\x07payment\x18\x01 \x01(\x0b\x32\x18.Transaction.PaymentInfo\x12\x13\n\x0bvendor_name\x18\x02 \x01(\t\x12\x14\n\x0citems_bought\x18\x03 \x01(\x05\x1a\x63\n\x0bSellDetails\x12)\n\x07payment\x18\x01 \x01(\x0b\x32\x18.Transaction.PaymentInfo\x12\x15\n\rcustomer_name\x18\x02 \x01(\t\x12\x12\n\nitems_sold\x18\x03 \x01(\x05\x42\x11\n\x0fpayment_detailsb\x06proto3')
|
|
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'oneof_transaction_pb2', globals())
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
_TRANSACTION._serialized_start=28
|
|
_TRANSACTION._serialized_end=425
|
|
_TRANSACTION_PAYMENTINFO._serialized_start=139
|
|
_TRANSACTION_PAYMENTINFO._serialized_end=205
|
|
_TRANSACTION_BUYDETAILS._serialized_start=207
|
|
_TRANSACTION_BUYDETAILS._serialized_end=305
|
|
_TRANSACTION_SELLDETAILS._serialized_start=307
|
|
_TRANSACTION_SELLDETAILS._serialized_end=406
|
|
# @@protoc_insertion_point(module_scope)
|