python-grpc/strafesnet/transactions_pb2.py

51 lines
4.2 KiB
Python
Raw Normal View History

2022-07-17 08:24:59 +00:00
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: transactions.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
2022-07-17 08:24:59 +00:00
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()
from . import users_pb2 as users__pb2
2022-07-17 08:24:59 +00:00
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12transactions.proto\x12\x0ctransactions\x1a\x0busers.proto\x1a\x1cgoogle/protobuf/struct.proto\"v\n\x11TransactionCreate\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x0e\n\x06UserID\x18\x02 \x01(\x03\x12\r\n\x05Value\x18\x03 \x01(\x03\x12\x0f\n\x07StateID\x18\x04 \x01(\x05\x12%\n\x04\x44\x61ta\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x94\x01\n\x11TransactionUpdate\x12\n\n\x02ID\x18\x01 \x01(\t\x12\x12\n\x05Value\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x14\n\x07StateID\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12*\n\x04\x44\x61ta\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x02\x88\x01\x01\x42\x08\n\x06_ValueB\n\n\x08_StateIDB\x07\n\x05_Data\"\xa9\x01\n\x0fTransactionItem\x12\n\n\x02ID\x18\x01 \x01(\t\x12!\n\x04User\x18\x02 \x01(\x0b\x32\x13.users.UserResponse\x12\r\n\x05Value\x18\x03 \x01(\x03\x12\x0f\n\x07StateID\x18\x04 \x01(\x05\x12\x0f\n\x07\x43reated\x18\x05 \x01(\x03\x12\x0f\n\x07Updated\x18\x06 \x01(\x03\x12%\n\x04\x44\x61ta\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"U\n\x11TransactionFilter\x12\x13\n\x06UserID\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x14\n\x07StateID\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\t\n\x07_UserIDB\n\n\x08_StateID\"f\n\x0bListRequest\x12/\n\x06\x46ilter\x18\x01 \x01(\x0b\x32\x1f.transactions.TransactionFilter\x12&\n\x04Page\x18\x02 \x01(\x0b\x32\x18.transactions.Pagination\"*\n\nPagination\x12\x0c\n\x04Size\x18\x01 \x01(\x05\x12\x0e\n\x06Number\x18\x02 \x01(\x05\"F\n\x0fTransactionList\x12\x33\n\x0cTransactions\x18\x01 \x03(\x0b\x32\x1d.transactions.TransactionItem\"\"\n\x0f\x42\x61lanceResponse\x12\x0f\n\x07\x42\x61lance\x18\x01 \x01(\x03\"\x17\n\tIdMessage\x12\n\n\x02ID\x18\x01 \x01(\t\"\x1f\n\rUserIdMessage\x12\x0e\n\x06UserID\x18\x01 \x01(\x03\"\x0e\n\x0cNullResponse2\xa7\x03\n\x13TransactionsService\x12\x42\n\x06\x43reate\x12\x1f.transactions.TransactionCreate\x1a\x17.transactions.IdMessage\x12\x45\n\x06Update\x12\x1f.transactions.TransactionUpdate\x1a\x1a.transactions.NullResponse\x12=\n\x06\x44\x65lete\x12\x17.transactions.IdMessage\x1a\x1a.transactions.NullResponse\x12\x45\n\x07\x42\x61lance\x12\x1b.transactions.UserIdMessage\x1a\x1d.transactions.BalanceResponse\x12=\n\x03Get\x12\x17.transactions.IdMessage\x1a\x1d.transactions.TransactionItem\x12@\n\x04List\x12\x19.transactions.ListRequest\x1a\x1d.transactions.TransactionListB/Z-git.itzana.me/strafesnet/go-grpc/transactionsb\x06proto3')
2022-07-17 08:24:59 +00:00
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transactions_pb2', globals())
2022-07-17 08:24:59 +00:00
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'Z-git.itzana.me/strafesnet/go-grpc/transactions'
2022-07-17 08:24:59 +00:00
_TRANSACTIONCREATE._serialized_start=79
_TRANSACTIONCREATE._serialized_end=197
_TRANSACTIONUPDATE._serialized_start=200
_TRANSACTIONUPDATE._serialized_end=348
_TRANSACTIONITEM._serialized_start=351
_TRANSACTIONITEM._serialized_end=520
_TRANSACTIONFILTER._serialized_start=522
_TRANSACTIONFILTER._serialized_end=607
_LISTREQUEST._serialized_start=609
_LISTREQUEST._serialized_end=711
_PAGINATION._serialized_start=713
_PAGINATION._serialized_end=755
_TRANSACTIONLIST._serialized_start=757
_TRANSACTIONLIST._serialized_end=827
_BALANCERESPONSE._serialized_start=829
_BALANCERESPONSE._serialized_end=863
_IDMESSAGE._serialized_start=865
_IDMESSAGE._serialized_end=888
_USERIDMESSAGE._serialized_start=890
_USERIDMESSAGE._serialized_end=921
_NULLRESPONSE._serialized_start=923
_NULLRESPONSE._serialized_end=937
_TRANSACTIONSSERVICE._serialized_start=940
_TRANSACTIONSSERVICE._serialized_end=1363
2022-07-17 08:24:59 +00:00
# @@protoc_insertion_point(module_scope)