# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: protos/rome/services/portfolio_manager.proto
# Protobuf Python Version: 5.26.1
"""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,protos/rome/services/portfolio_manager.proto\x12\x1frome.services.portfolio_manager\"\x88\x01\n\tStateInfo\x12:\n\x05state\x18\x01 \x01(\x0e\x32+.rome.services.portfolio_manager.AssetState\x12?\n\x06\x61ssets\x18\x02 \x03(\x0b\x32/.rome.services.portfolio_manager.PortfolioAsset\"i\n\tPortfolio\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12:\n\x06states\x18\n \x03(\x0b\x32*.rome.services.portfolio_manager.StateInfo\"\x14\n\x12HealthCheckRequest\"!\n\x13HealthCheckResponse\x12\n\n\x02ok\x18\x01 \x01(\x08\".\n\x0ePortfolioAsset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x01\"\x8d\x01\n\x0fGetAssetRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12\x12\n\nasset_name\x18\x03 \x01(\t\x12:\n\x05state\x18\x04 \x01(\x0e\x32+.rome.services.portfolio_manager.AssetState\"\x95\x01\n\x10GetAssetResponse\x12>\n\x05\x61sset\x18\x01 \x01(\x0b\x32/.rome.services.portfolio_manager.PortfolioAsset\x12\x41\n\x07request\x18\x32 \x01(\x0b\x32\x30.rome.services.portfolio_manager.GetAssetRequest\":\n\x16\x43reatePortfolioRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xa2\x01\n\x17\x43reatePortfolioResponse\x12=\n\tportfolio\x18\x01 \x01(\x0b\x32*.rome.services.portfolio_manager.Portfolio\x12H\n\x07request\x18\x32 \x01(\x0b\x32\x37.rome.services.portfolio_manager.CreatePortfolioRequest\"\xe3\x02\n\x0fTransactRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12R\n\x08\x62uy_side\x18\n \x01(\x0b\x32@.rome.services.portfolio_manager.TransactRequest.TransactionSide\x12S\n\tsell_side\x18\x0b \x01(\x0b\x32@.rome.services.portfolio_manager.TransactRequest.TransactionSide\x12\x44\n\x0fsell_from_state\x18\x14 \x01(\x0e\x32+.rome.services.portfolio_manager.AssetState\x1a\x35\n\x0fTransactionSide\x12\x12\n\nasset_name\x18\n \x01(\t\x12\x0e\n\x06\x61mount\x18\x0b \x01(\x01\"\xd3\x01\n\x10TransactResponse\x12>\n\nfrom_state\x18\x01 \x01(\x0b\x32*.rome.services.portfolio_manager.StateInfo\x12<\n\x08to_state\x18\x02 \x01(\x0b\x32*.rome.services.portfolio_manager.StateInfo\x12\x41\n\x07request\x18\x32 \x01(\x0b\x32\x30.rome.services.portfolio_manager.TransactRequest\"b\n\x10PlaceHoldRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12\x12\n\nasset_name\x18\n \x01(\t\x12\x0e\n\x06\x61mount\x18\x0b \x01(\x01\"\xd5\x01\n\x11PlaceHoldResponse\x12>\n\nfrom_state\x18\x01 \x01(\x0b\x32*.rome.services.portfolio_manager.StateInfo\x12<\n\x08to_state\x18\x02 \x01(\x0b\x32*.rome.services.portfolio_manager.StateInfo\x12\x42\n\x07request\x18\x32 \x01(\x0b\x32\x31.rome.services.portfolio_manager.PlaceHoldRequest\"d\n\x12ReleaseHoldRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12\x12\n\nasset_name\x18\n \x01(\t\x12\x0e\n\x06\x61mount\x18\x0b \x01(\x01\"\xd9\x01\n\x13ReleaseHoldResponse\x12>\n\nfrom_state\x18\x01 \x01(\x0b\x32*.rome.services.portfolio_manager.StateInfo\x12<\n\x08to_state\x18\x02 \x01(\x0b\x32*.rome.services.portfolio_manager.StateInfo\x12\x44\n\x07request\x18\x32 \x01(\x0b\x32\x33.rome.services.portfolio_manager.ReleaseHoldRequest\"\xb2\x01\n\x13GetPortfolioRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12I\n\x05\x64\x65\x62ug\x18\x64 \x01(\x0b\x32:.rome.services.portfolio_manager.GetPortfolioRequest.Debug\x1a$\n\x05\x44\x65\x62ug\x12\x1b\n\x13include_req_in_resp\x18\x01 \x01(\x08\"\x9c\x01\n\x14GetPortfolioResponse\x12=\n\tportfolio\x18\x01 \x01(\x0b\x32*.rome.services.portfolio_manager.Portfolio\x12\x45\n\x07request\x18\x32 \x01(\x0b\x32\x34.rome.services.portfolio_manager.GetPortfolioRequest\"e\n\x13\x44\x65positAssetRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12\x12\n\nasset_name\x18\n \x01(\t\x12\x0e\n\x06\x61mount\x18\x0b \x01(\x01\"g\n\x14\x44\x65positAssetResponse\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12\x12\n\nasset_name\x18\n \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x0b \x01(\x01\"f\n\x14WithdrawAssetRequest\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12\x12\n\nasset_name\x18\n \x01(\t\x12\x0e\n\x06\x61mount\x18\x0b \x01(\x01\"h\n\x15WithdrawAssetResponse\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x16\n\x0eportfolio_name\x18\x02 \x01(\t\x12\x12\n\nasset_name\x18\n \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x0b \x01(\x01*%\n\nAssetState\x12\r\n\tAVAILABLE\x10\x00\x12\x08\n\x04HOLD\x10\x01\x32\xf6\x08\n\x16PortfolioMangerService\x12z\n\x0bHealthCheck\x12\x33.rome.services.portfolio_manager.HealthCheckRequest\x1a\x34.rome.services.portfolio_manager.HealthCheckResponse\"\x00\x12\x86\x01\n\x0f\x43reatePortfolio\x12\x37.rome.services.portfolio_manager.CreatePortfolioRequest\x1a\x38.rome.services.portfolio_manager.CreatePortfolioResponse\"\x00\x12}\n\x0c\x44\x65positAsset\x12\x34.rome.services.portfolio_manager.DepositAssetRequest\x1a\x35.rome.services.portfolio_manager.DepositAssetResponse\"\x00\x12\x80\x01\n\rWithdrawAsset\x12\x35.rome.services.portfolio_manager.WithdrawAssetRequest\x1a\x36.rome.services.portfolio_manager.WithdrawAssetResponse\"\x00\x12q\n\x08Transact\x12\x30.rome.services.portfolio_manager.TransactRequest\x1a\x31.rome.services.portfolio_manager.TransactResponse\"\x00\x12t\n\tPlaceHold\x12\x31.rome.services.portfolio_manager.PlaceHoldRequest\x1a\x32.rome.services.portfolio_manager.PlaceHoldResponse\"\x00\x12z\n\x0bReleaseHold\x12\x33.rome.services.portfolio_manager.ReleaseHoldRequest\x1a\x34.rome.services.portfolio_manager.ReleaseHoldResponse\"\x00\x12}\n\x0cGetPortfolio\x12\x34.rome.services.portfolio_manager.GetPortfolioRequest\x1a\x35.rome.services.portfolio_manager.GetPortfolioResponse\"\x00\x12q\n\x08GetAsset\x12\x30.rome.services.portfolio_manager.GetAssetRequest\x1a\x31.rome.services.portfolio_manager.GetAssetResponse\"\x00\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protos.rome.services.portfolio_manager_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_ASSETSTATE']._serialized_start=2921
  _globals['_ASSETSTATE']._serialized_end=2958
  _globals['_STATEINFO']._serialized_start=82
  _globals['_STATEINFO']._serialized_end=218
  _globals['_PORTFOLIO']._serialized_start=220
  _globals['_PORTFOLIO']._serialized_end=325
  _globals['_HEALTHCHECKREQUEST']._serialized_start=327
  _globals['_HEALTHCHECKREQUEST']._serialized_end=347
  _globals['_HEALTHCHECKRESPONSE']._serialized_start=349
  _globals['_HEALTHCHECKRESPONSE']._serialized_end=382
  _globals['_PORTFOLIOASSET']._serialized_start=384
  _globals['_PORTFOLIOASSET']._serialized_end=430
  _globals['_GETASSETREQUEST']._serialized_start=433
  _globals['_GETASSETREQUEST']._serialized_end=574
  _globals['_GETASSETRESPONSE']._serialized_start=577
  _globals['_GETASSETRESPONSE']._serialized_end=726
  _globals['_CREATEPORTFOLIOREQUEST']._serialized_start=728
  _globals['_CREATEPORTFOLIOREQUEST']._serialized_end=786
  _globals['_CREATEPORTFOLIORESPONSE']._serialized_start=789
  _globals['_CREATEPORTFOLIORESPONSE']._serialized_end=951
  _globals['_TRANSACTREQUEST']._serialized_start=954
  _globals['_TRANSACTREQUEST']._serialized_end=1309
  _globals['_TRANSACTREQUEST_TRANSACTIONSIDE']._serialized_start=1256
  _globals['_TRANSACTREQUEST_TRANSACTIONSIDE']._serialized_end=1309
  _globals['_TRANSACTRESPONSE']._serialized_start=1312
  _globals['_TRANSACTRESPONSE']._serialized_end=1523
  _globals['_PLACEHOLDREQUEST']._serialized_start=1525
  _globals['_PLACEHOLDREQUEST']._serialized_end=1623
  _globals['_PLACEHOLDRESPONSE']._serialized_start=1626
  _globals['_PLACEHOLDRESPONSE']._serialized_end=1839
  _globals['_RELEASEHOLDREQUEST']._serialized_start=1841
  _globals['_RELEASEHOLDREQUEST']._serialized_end=1941
  _globals['_RELEASEHOLDRESPONSE']._serialized_start=1944
  _globals['_RELEASEHOLDRESPONSE']._serialized_end=2161
  _globals['_GETPORTFOLIOREQUEST']._serialized_start=2164
  _globals['_GETPORTFOLIOREQUEST']._serialized_end=2342
  _globals['_GETPORTFOLIOREQUEST_DEBUG']._serialized_start=2306
  _globals['_GETPORTFOLIOREQUEST_DEBUG']._serialized_end=2342
  _globals['_GETPORTFOLIORESPONSE']._serialized_start=2345
  _globals['_GETPORTFOLIORESPONSE']._serialized_end=2501
  _globals['_DEPOSITASSETREQUEST']._serialized_start=2503
  _globals['_DEPOSITASSETREQUEST']._serialized_end=2604
  _globals['_DEPOSITASSETRESPONSE']._serialized_start=2606
  _globals['_DEPOSITASSETRESPONSE']._serialized_end=2709
  _globals['_WITHDRAWASSETREQUEST']._serialized_start=2711
  _globals['_WITHDRAWASSETREQUEST']._serialized_end=2813
  _globals['_WITHDRAWASSETRESPONSE']._serialized_start=2815
  _globals['_WITHDRAWASSETRESPONSE']._serialized_end=2919
  _globals['_PORTFOLIOMANGERSERVICE']._serialized_start=2961
  _globals['_PORTFOLIOMANGERSERVICE']._serialized_end=4103
# @@protoc_insertion_point(module_scope)
