# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: transactions.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool 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() import users_pb2 as users__pb2 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\"j\n\x11TransactionCreate\x12\x0e\n\x06UserID\x18\x01 \x01(\x03\x12\r\n\x05Value\x18\x02 \x01(\x03\x12\x0f\n\x07StateID\x18\x03 \x01(\x05\x12%\n\x04\x44\x61ta\x18\x04 \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') _TRANSACTIONCREATE = DESCRIPTOR.message_types_by_name['TransactionCreate'] _TRANSACTIONUPDATE = DESCRIPTOR.message_types_by_name['TransactionUpdate'] _TRANSACTIONITEM = DESCRIPTOR.message_types_by_name['TransactionItem'] _TRANSACTIONFILTER = DESCRIPTOR.message_types_by_name['TransactionFilter'] _LISTREQUEST = DESCRIPTOR.message_types_by_name['ListRequest'] _PAGINATION = DESCRIPTOR.message_types_by_name['Pagination'] _TRANSACTIONLIST = DESCRIPTOR.message_types_by_name['TransactionList'] _BALANCERESPONSE = DESCRIPTOR.message_types_by_name['BalanceResponse'] _IDMESSAGE = DESCRIPTOR.message_types_by_name['IdMessage'] _USERIDMESSAGE = DESCRIPTOR.message_types_by_name['UserIdMessage'] _NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse'] TransactionCreate = _reflection.GeneratedProtocolMessageType('TransactionCreate', (_message.Message,), { 'DESCRIPTOR' : _TRANSACTIONCREATE, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.TransactionCreate) }) _sym_db.RegisterMessage(TransactionCreate) TransactionUpdate = _reflection.GeneratedProtocolMessageType('TransactionUpdate', (_message.Message,), { 'DESCRIPTOR' : _TRANSACTIONUPDATE, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.TransactionUpdate) }) _sym_db.RegisterMessage(TransactionUpdate) TransactionItem = _reflection.GeneratedProtocolMessageType('TransactionItem', (_message.Message,), { 'DESCRIPTOR' : _TRANSACTIONITEM, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.TransactionItem) }) _sym_db.RegisterMessage(TransactionItem) TransactionFilter = _reflection.GeneratedProtocolMessageType('TransactionFilter', (_message.Message,), { 'DESCRIPTOR' : _TRANSACTIONFILTER, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.TransactionFilter) }) _sym_db.RegisterMessage(TransactionFilter) ListRequest = _reflection.GeneratedProtocolMessageType('ListRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTREQUEST, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.ListRequest) }) _sym_db.RegisterMessage(ListRequest) Pagination = _reflection.GeneratedProtocolMessageType('Pagination', (_message.Message,), { 'DESCRIPTOR' : _PAGINATION, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.Pagination) }) _sym_db.RegisterMessage(Pagination) TransactionList = _reflection.GeneratedProtocolMessageType('TransactionList', (_message.Message,), { 'DESCRIPTOR' : _TRANSACTIONLIST, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.TransactionList) }) _sym_db.RegisterMessage(TransactionList) BalanceResponse = _reflection.GeneratedProtocolMessageType('BalanceResponse', (_message.Message,), { 'DESCRIPTOR' : _BALANCERESPONSE, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.BalanceResponse) }) _sym_db.RegisterMessage(BalanceResponse) IdMessage = _reflection.GeneratedProtocolMessageType('IdMessage', (_message.Message,), { 'DESCRIPTOR' : _IDMESSAGE, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.IdMessage) }) _sym_db.RegisterMessage(IdMessage) UserIdMessage = _reflection.GeneratedProtocolMessageType('UserIdMessage', (_message.Message,), { 'DESCRIPTOR' : _USERIDMESSAGE, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.UserIdMessage) }) _sym_db.RegisterMessage(UserIdMessage) NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), { 'DESCRIPTOR' : _NULLRESPONSE, '__module__' : 'transactions_pb2' # @@protoc_insertion_point(class_scope:transactions.NullResponse) }) _sym_db.RegisterMessage(NullResponse) _TRANSACTIONSSERVICE = DESCRIPTOR.services_by_name['TransactionsService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-git.itzana.me/strafesnet/go-grpc/transactions' _TRANSACTIONCREATE._serialized_start=79 _TRANSACTIONCREATE._serialized_end=185 _TRANSACTIONUPDATE._serialized_start=188 _TRANSACTIONUPDATE._serialized_end=336 _TRANSACTIONITEM._serialized_start=339 _TRANSACTIONITEM._serialized_end=508 _TRANSACTIONFILTER._serialized_start=510 _TRANSACTIONFILTER._serialized_end=595 _LISTREQUEST._serialized_start=597 _LISTREQUEST._serialized_end=699 _PAGINATION._serialized_start=701 _PAGINATION._serialized_end=743 _TRANSACTIONLIST._serialized_start=745 _TRANSACTIONLIST._serialized_end=815 _BALANCERESPONSE._serialized_start=817 _BALANCERESPONSE._serialized_end=851 _IDMESSAGE._serialized_start=853 _IDMESSAGE._serialized_end=876 _USERIDMESSAGE._serialized_start=878 _USERIDMESSAGE._serialized_end=909 _NULLRESPONSE._serialized_start=911 _NULLRESPONSE._serialized_end=925 _TRANSACTIONSSERVICE._serialized_start=928 _TRANSACTIONSSERVICE._serialized_end=1351 # @@protoc_insertion_point(module_scope)