# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: exchange/injective_portfolio_rpc.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='exchange/injective_portfolio_rpc.proto',
  package='injective_portfolio_rpc',
  syntax='proto3',
  serialized_options=b'Z\032/injective_portfolio_rpcpb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n&exchange/injective_portfolio_rpc.proto\x12\x17injective_portfolio_rpc\"2\n\x17\x41\x63\x63ountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\"Q\n\x18\x41\x63\x63ountPortfolioResponse\x12\x35\n\tportfolio\x18\x01 \x01(\x0b\x32\".injective_portfolio_rpc.Portfolio\"\xe6\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x34\n\rbank_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x41\n\x0bsubaccounts\x18\x03 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\x12G\n\x13positions_with_upnl\x18\x04 \x03(\x0b\x32*.injective_portfolio_rpc.PositionsWithUPNL\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"x\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12;\n\x07\x64\x65posit\x18\x03 \x01(\x0b\x32*.injective_portfolio_rpc.SubaccountDeposit\"E\n\x11SubaccountDeposit\x12\x15\n\rtotal_balance\x18\x01 \x01(\t\x12\x19\n\x11\x61vailable_balance\x18\x02 \x01(\t\"j\n\x11PositionsWithUPNL\x12=\n\x08position\x18\x01 \x01(\x0b\x32+.injective_portfolio_rpc.DerivativePosition\x12\x16\n\x0eunrealized_pnl\x18\x02 \x01(\t\"\x97\x02\n\x12\x44\x65rivativePosition\x12\x0e\n\x06ticker\x18\x01 \x01(\t\x12\x11\n\tmarket_id\x18\x02 \x01(\t\x12\x15\n\rsubaccount_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x04 \x01(\t\x12\x10\n\x08quantity\x18\x05 \x01(\t\x12\x13\n\x0b\x65ntry_price\x18\x06 \x01(\t\x12\x0e\n\x06margin\x18\x07 \x01(\t\x12\x19\n\x11liquidation_price\x18\x08 \x01(\t\x12\x12\n\nmark_price\x18\t \x01(\t\x12&\n\x1e\x61ggregate_reduce_only_quantity\x18\x0b \x01(\t\x12\x12\n\nupdated_at\x18\x0c \x01(\x12\x12\x12\n\ncreated_at\x18\r \x01(\x12\"]\n\x1dStreamAccountPortfolioRequest\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\x15\n\rsubaccount_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"w\n\x1eStreamAccountPortfolioResponse\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x15\n\rsubaccount_id\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x12\x32\x9e\x02\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponse\x12\x8b\x01\n\x16StreamAccountPortfolio\x12\x36.injective_portfolio_rpc.StreamAccountPortfolioRequest\x1a\x37.injective_portfolio_rpc.StreamAccountPortfolioResponse0\x01\x42\x1cZ\x1a/injective_portfolio_rpcpbb\x06proto3'
)




_ACCOUNTPORTFOLIOREQUEST = _descriptor.Descriptor(
  name='AccountPortfolioRequest',
  full_name='injective_portfolio_rpc.AccountPortfolioRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='account_address', full_name='injective_portfolio_rpc.AccountPortfolioRequest.account_address', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=67,
  serialized_end=117,
)


_ACCOUNTPORTFOLIORESPONSE = _descriptor.Descriptor(
  name='AccountPortfolioResponse',
  full_name='injective_portfolio_rpc.AccountPortfolioResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='portfolio', full_name='injective_portfolio_rpc.AccountPortfolioResponse.portfolio', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=119,
  serialized_end=200,
)


_PORTFOLIO = _descriptor.Descriptor(
  name='Portfolio',
  full_name='injective_portfolio_rpc.Portfolio',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='account_address', full_name='injective_portfolio_rpc.Portfolio.account_address', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='bank_balances', full_name='injective_portfolio_rpc.Portfolio.bank_balances', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='subaccounts', full_name='injective_portfolio_rpc.Portfolio.subaccounts', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='positions_with_upnl', full_name='injective_portfolio_rpc.Portfolio.positions_with_upnl', index=3,
      number=4, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=203,
  serialized_end=433,
)


_COIN = _descriptor.Descriptor(
  name='Coin',
  full_name='injective_portfolio_rpc.Coin',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='denom', full_name='injective_portfolio_rpc.Coin.denom', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='amount', full_name='injective_portfolio_rpc.Coin.amount', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=435,
  serialized_end=472,
)


_SUBACCOUNTBALANCEV2 = _descriptor.Descriptor(
  name='SubaccountBalanceV2',
  full_name='injective_portfolio_rpc.SubaccountBalanceV2',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='subaccount_id', full_name='injective_portfolio_rpc.SubaccountBalanceV2.subaccount_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='denom', full_name='injective_portfolio_rpc.SubaccountBalanceV2.denom', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='deposit', full_name='injective_portfolio_rpc.SubaccountBalanceV2.deposit', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=474,
  serialized_end=594,
)


_SUBACCOUNTDEPOSIT = _descriptor.Descriptor(
  name='SubaccountDeposit',
  full_name='injective_portfolio_rpc.SubaccountDeposit',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='total_balance', full_name='injective_portfolio_rpc.SubaccountDeposit.total_balance', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='available_balance', full_name='injective_portfolio_rpc.SubaccountDeposit.available_balance', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=596,
  serialized_end=665,
)


_POSITIONSWITHUPNL = _descriptor.Descriptor(
  name='PositionsWithUPNL',
  full_name='injective_portfolio_rpc.PositionsWithUPNL',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='position', full_name='injective_portfolio_rpc.PositionsWithUPNL.position', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='unrealized_pnl', full_name='injective_portfolio_rpc.PositionsWithUPNL.unrealized_pnl', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=667,
  serialized_end=773,
)


_DERIVATIVEPOSITION = _descriptor.Descriptor(
  name='DerivativePosition',
  full_name='injective_portfolio_rpc.DerivativePosition',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='ticker', full_name='injective_portfolio_rpc.DerivativePosition.ticker', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='market_id', full_name='injective_portfolio_rpc.DerivativePosition.market_id', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='subaccount_id', full_name='injective_portfolio_rpc.DerivativePosition.subaccount_id', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='direction', full_name='injective_portfolio_rpc.DerivativePosition.direction', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='quantity', full_name='injective_portfolio_rpc.DerivativePosition.quantity', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='entry_price', full_name='injective_portfolio_rpc.DerivativePosition.entry_price', index=5,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='margin', full_name='injective_portfolio_rpc.DerivativePosition.margin', index=6,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='liquidation_price', full_name='injective_portfolio_rpc.DerivativePosition.liquidation_price', index=7,
      number=8, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='mark_price', full_name='injective_portfolio_rpc.DerivativePosition.mark_price', index=8,
      number=9, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='aggregate_reduce_only_quantity', full_name='injective_portfolio_rpc.DerivativePosition.aggregate_reduce_only_quantity', index=9,
      number=11, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='updated_at', full_name='injective_portfolio_rpc.DerivativePosition.updated_at', index=10,
      number=12, type=18, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='created_at', full_name='injective_portfolio_rpc.DerivativePosition.created_at', index=11,
      number=13, type=18, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=776,
  serialized_end=1055,
)


_STREAMACCOUNTPORTFOLIOREQUEST = _descriptor.Descriptor(
  name='StreamAccountPortfolioRequest',
  full_name='injective_portfolio_rpc.StreamAccountPortfolioRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='account_address', full_name='injective_portfolio_rpc.StreamAccountPortfolioRequest.account_address', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='subaccount_id', full_name='injective_portfolio_rpc.StreamAccountPortfolioRequest.subaccount_id', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='type', full_name='injective_portfolio_rpc.StreamAccountPortfolioRequest.type', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1057,
  serialized_end=1150,
)


_STREAMACCOUNTPORTFOLIORESPONSE = _descriptor.Descriptor(
  name='StreamAccountPortfolioResponse',
  full_name='injective_portfolio_rpc.StreamAccountPortfolioResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='injective_portfolio_rpc.StreamAccountPortfolioResponse.type', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='denom', full_name='injective_portfolio_rpc.StreamAccountPortfolioResponse.denom', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='amount', full_name='injective_portfolio_rpc.StreamAccountPortfolioResponse.amount', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='subaccount_id', full_name='injective_portfolio_rpc.StreamAccountPortfolioResponse.subaccount_id', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='timestamp', full_name='injective_portfolio_rpc.StreamAccountPortfolioResponse.timestamp', index=4,
      number=5, type=18, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1152,
  serialized_end=1271,
)

_ACCOUNTPORTFOLIORESPONSE.fields_by_name['portfolio'].message_type = _PORTFOLIO
_PORTFOLIO.fields_by_name['bank_balances'].message_type = _COIN
_PORTFOLIO.fields_by_name['subaccounts'].message_type = _SUBACCOUNTBALANCEV2
_PORTFOLIO.fields_by_name['positions_with_upnl'].message_type = _POSITIONSWITHUPNL
_SUBACCOUNTBALANCEV2.fields_by_name['deposit'].message_type = _SUBACCOUNTDEPOSIT
_POSITIONSWITHUPNL.fields_by_name['position'].message_type = _DERIVATIVEPOSITION
DESCRIPTOR.message_types_by_name['AccountPortfolioRequest'] = _ACCOUNTPORTFOLIOREQUEST
DESCRIPTOR.message_types_by_name['AccountPortfolioResponse'] = _ACCOUNTPORTFOLIORESPONSE
DESCRIPTOR.message_types_by_name['Portfolio'] = _PORTFOLIO
DESCRIPTOR.message_types_by_name['Coin'] = _COIN
DESCRIPTOR.message_types_by_name['SubaccountBalanceV2'] = _SUBACCOUNTBALANCEV2
DESCRIPTOR.message_types_by_name['SubaccountDeposit'] = _SUBACCOUNTDEPOSIT
DESCRIPTOR.message_types_by_name['PositionsWithUPNL'] = _POSITIONSWITHUPNL
DESCRIPTOR.message_types_by_name['DerivativePosition'] = _DERIVATIVEPOSITION
DESCRIPTOR.message_types_by_name['StreamAccountPortfolioRequest'] = _STREAMACCOUNTPORTFOLIOREQUEST
DESCRIPTOR.message_types_by_name['StreamAccountPortfolioResponse'] = _STREAMACCOUNTPORTFOLIORESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AccountPortfolioRequest = _reflection.GeneratedProtocolMessageType('AccountPortfolioRequest', (_message.Message,), {
  'DESCRIPTOR' : _ACCOUNTPORTFOLIOREQUEST,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.AccountPortfolioRequest)
  })
_sym_db.RegisterMessage(AccountPortfolioRequest)

AccountPortfolioResponse = _reflection.GeneratedProtocolMessageType('AccountPortfolioResponse', (_message.Message,), {
  'DESCRIPTOR' : _ACCOUNTPORTFOLIORESPONSE,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.AccountPortfolioResponse)
  })
_sym_db.RegisterMessage(AccountPortfolioResponse)

Portfolio = _reflection.GeneratedProtocolMessageType('Portfolio', (_message.Message,), {
  'DESCRIPTOR' : _PORTFOLIO,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.Portfolio)
  })
_sym_db.RegisterMessage(Portfolio)

Coin = _reflection.GeneratedProtocolMessageType('Coin', (_message.Message,), {
  'DESCRIPTOR' : _COIN,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.Coin)
  })
_sym_db.RegisterMessage(Coin)

SubaccountBalanceV2 = _reflection.GeneratedProtocolMessageType('SubaccountBalanceV2', (_message.Message,), {
  'DESCRIPTOR' : _SUBACCOUNTBALANCEV2,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.SubaccountBalanceV2)
  })
_sym_db.RegisterMessage(SubaccountBalanceV2)

SubaccountDeposit = _reflection.GeneratedProtocolMessageType('SubaccountDeposit', (_message.Message,), {
  'DESCRIPTOR' : _SUBACCOUNTDEPOSIT,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.SubaccountDeposit)
  })
_sym_db.RegisterMessage(SubaccountDeposit)

PositionsWithUPNL = _reflection.GeneratedProtocolMessageType('PositionsWithUPNL', (_message.Message,), {
  'DESCRIPTOR' : _POSITIONSWITHUPNL,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.PositionsWithUPNL)
  })
_sym_db.RegisterMessage(PositionsWithUPNL)

DerivativePosition = _reflection.GeneratedProtocolMessageType('DerivativePosition', (_message.Message,), {
  'DESCRIPTOR' : _DERIVATIVEPOSITION,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.DerivativePosition)
  })
_sym_db.RegisterMessage(DerivativePosition)

StreamAccountPortfolioRequest = _reflection.GeneratedProtocolMessageType('StreamAccountPortfolioRequest', (_message.Message,), {
  'DESCRIPTOR' : _STREAMACCOUNTPORTFOLIOREQUEST,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.StreamAccountPortfolioRequest)
  })
_sym_db.RegisterMessage(StreamAccountPortfolioRequest)

StreamAccountPortfolioResponse = _reflection.GeneratedProtocolMessageType('StreamAccountPortfolioResponse', (_message.Message,), {
  'DESCRIPTOR' : _STREAMACCOUNTPORTFOLIORESPONSE,
  '__module__' : 'exchange.injective_portfolio_rpc_pb2'
  # @@protoc_insertion_point(class_scope:injective_portfolio_rpc.StreamAccountPortfolioResponse)
  })
_sym_db.RegisterMessage(StreamAccountPortfolioResponse)


DESCRIPTOR._options = None

_INJECTIVEPORTFOLIORPC = _descriptor.ServiceDescriptor(
  name='InjectivePortfolioRPC',
  full_name='injective_portfolio_rpc.InjectivePortfolioRPC',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=1274,
  serialized_end=1560,
  methods=[
  _descriptor.MethodDescriptor(
    name='AccountPortfolio',
    full_name='injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolio',
    index=0,
    containing_service=None,
    input_type=_ACCOUNTPORTFOLIOREQUEST,
    output_type=_ACCOUNTPORTFOLIORESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='StreamAccountPortfolio',
    full_name='injective_portfolio_rpc.InjectivePortfolioRPC.StreamAccountPortfolio',
    index=1,
    containing_service=None,
    input_type=_STREAMACCOUNTPORTFOLIOREQUEST,
    output_type=_STREAMACCOUNTPORTFOLIORESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_INJECTIVEPORTFOLIORPC)

DESCRIPTOR.services_by_name['InjectivePortfolioRPC'] = _INJECTIVEPORTFOLIORPC

# @@protoc_insertion_point(module_scope)
