-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarket_pb2.py
62 lines (56 loc) · 5.98 KB
/
market_pb2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: market.proto
# Protobuf Python Version: 4.25.0
"""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()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cmarket.proto\"4\n\x13RegistrationRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"\'\n\x14RegistrationResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"\xb1\x01\n\x0bItemDetails\x12\x0f\n\x07item_id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x03 \x01(\t\x12\x10\n\x08quantity\x18\x04 \x01(\x05\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\x0eseller_address\x18\x06 \x01(\t\x12\r\n\x05price\x18\x07 \x01(\x01\x12\x13\n\x0bseller_uuid\x18\x08 \x01(\t\x12\x0e\n\x06rating\x18\t \x01(\x01\"z\n\x11UpdateItemRequest\x12\x0f\n\x07item_id\x18\x01 \x01(\x05\x12\x11\n\tnew_price\x18\x02 \x01(\x01\x12\x14\n\x0cnew_quantity\x18\x03 \x01(\x05\x12\x16\n\x0eseller_address\x18\x04 \x01(\t\x12\x13\n\x0bseller_uuid\x18\x05 \x01(\t\"%\n\x12UpdateItemResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"B\n\x13\x44isplayItemsRequest\x12\x16\n\x0eseller_address\x18\x01 \x01(\t\x12\x13\n\x0bseller_uuid\x18\x02 \x01(\t\"Q\n\x11\x44\x65leteItemRequest\x12\x0f\n\x07item_id\x18\x01 \x01(\x05\x12\x16\n\x0eseller_address\x18\x02 \x01(\t\x12\x13\n\x0bseller_uuid\x18\x03 \x01(\t\"%\n\x12\x44\x65leteItemResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x94\x01\n\x0fSellItemRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\x12\x10\n\x08quantity\x18\x03 \x01(\x05\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x16\n\x0eseller_address\x18\x05 \x01(\t\x12\r\n\x05price\x18\x06 \x01(\x01\x12\x13\n\x0bseller_uuid\x18\x07 \x01(\t\"4\n\x10SellItemResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0f\n\x07item_id\x18\x02 \x01(\x05\"8\n\x11SearchItemRequest\x12\x11\n\titem_name\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\"1\n\x12SearchItemResponse\x12\x1b\n\x05items\x18\x01 \x03(\x0b\x32\x0c.ItemDetails\"J\n\x0e\x42uyItemRequest\x12\x0f\n\x07item_id\x18\x01 \x01(\x05\x12\x10\n\x08quantity\x18\x02 \x01(\x05\x12\x15\n\rbuyer_address\x18\x03 \x01(\t\"3\n\x0f\x42uyItemResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0f\n\x07item_id\x18\x02 \x01(\x05\">\n\x14\x41\x64\x64ToWishListRequest\x12\x0f\n\x07item_id\x18\x01 \x01(\x05\x12\x15\n\rbuyer_address\x18\x02 \x01(\t\"(\n\x15\x41\x64\x64ToWishListResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"I\n\x0fRateItemRequest\x12\x0f\n\x07item_id\x18\x01 \x01(\x05\x12\x0e\n\x06rating\x18\x02 \x01(\x05\x12\x15\n\rbuyer_address\x18\x03 \x01(\t\"#\n\x10RateItemResponse\x12\x0f\n\x07message\x18\x01 \x01(\t2\xff\x03\n\x06Market\x12?\n\x0eRegisterSeller\x12\x14.RegistrationRequest\x1a\x15.RegistrationResponse\"\x00\x12\x31\n\x08SellItem\x12\x10.SellItemRequest\x1a\x11.SellItemResponse\"\x00\x12\x37\n\nUpdateItem\x12\x12.UpdateItemRequest\x1a\x13.UpdateItemResponse\"\x00\x12\x36\n\x0c\x44isplayItems\x12\x14.DisplayItemsRequest\x1a\x0c.ItemDetails\"\x00\x30\x01\x12\x37\n\nDeleteItem\x12\x12.DeleteItemRequest\x1a\x13.DeleteItemResponse\"\x00\x12\x32\n\nSearchItem\x12\x12.SearchItemRequest\x1a\x0c.ItemDetails\"\x00\x30\x01\x12.\n\x07\x42uyItem\x12\x0f.BuyItemRequest\x1a\x10.BuyItemResponse\"\x00\x12@\n\rAddToWishList\x12\x15.AddToWishListRequest\x1a\x16.AddToWishListResponse\"\x00\x12\x31\n\x08RateItem\x12\x10.RateItemRequest\x1a\x11.RateItemResponse\"\x00\x62\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'market_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_REGISTRATIONREQUEST']._serialized_start=16
_globals['_REGISTRATIONREQUEST']._serialized_end=68
_globals['_REGISTRATIONRESPONSE']._serialized_start=70
_globals['_REGISTRATIONRESPONSE']._serialized_end=109
_globals['_ITEMDETAILS']._serialized_start=112
_globals['_ITEMDETAILS']._serialized_end=289
_globals['_UPDATEITEMREQUEST']._serialized_start=291
_globals['_UPDATEITEMREQUEST']._serialized_end=413
_globals['_UPDATEITEMRESPONSE']._serialized_start=415
_globals['_UPDATEITEMRESPONSE']._serialized_end=452
_globals['_DISPLAYITEMSREQUEST']._serialized_start=454
_globals['_DISPLAYITEMSREQUEST']._serialized_end=520
_globals['_DELETEITEMREQUEST']._serialized_start=522
_globals['_DELETEITEMREQUEST']._serialized_end=603
_globals['_DELETEITEMRESPONSE']._serialized_start=605
_globals['_DELETEITEMRESPONSE']._serialized_end=642
_globals['_SELLITEMREQUEST']._serialized_start=645
_globals['_SELLITEMREQUEST']._serialized_end=793
_globals['_SELLITEMRESPONSE']._serialized_start=795
_globals['_SELLITEMRESPONSE']._serialized_end=847
_globals['_SEARCHITEMREQUEST']._serialized_start=849
_globals['_SEARCHITEMREQUEST']._serialized_end=905
_globals['_SEARCHITEMRESPONSE']._serialized_start=907
_globals['_SEARCHITEMRESPONSE']._serialized_end=956
_globals['_BUYITEMREQUEST']._serialized_start=958
_globals['_BUYITEMREQUEST']._serialized_end=1032
_globals['_BUYITEMRESPONSE']._serialized_start=1034
_globals['_BUYITEMRESPONSE']._serialized_end=1085
_globals['_ADDTOWISHLISTREQUEST']._serialized_start=1087
_globals['_ADDTOWISHLISTREQUEST']._serialized_end=1149
_globals['_ADDTOWISHLISTRESPONSE']._serialized_start=1151
_globals['_ADDTOWISHLISTRESPONSE']._serialized_end=1191
_globals['_RATEITEMREQUEST']._serialized_start=1193
_globals['_RATEITEMREQUEST']._serialized_end=1266
_globals['_RATEITEMRESPONSE']._serialized_start=1268
_globals['_RATEITEMRESPONSE']._serialized_end=1303
_globals['_MARKET']._serialized_start=1306
_globals['_MARKET']._serialized_end=1817
# @@protoc_insertion_point(module_scope)