# -*- 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\"\xb4\x01\n\tPortfolio\x12\x17\n\x0f\x61\x63\x63ount_address\x18\x01 \x01(\t\x12\r\n\x05\x64\x65nom\x18\x02 \x01(\t\x12\x34\n\rbank_balances\x18\x03 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12I\n\x13subaccount_balances\x18\x04 \x03(\x0b\x32,.injective_portfolio_rpc.SubaccountBalanceV2\"%\n\x04\x43oin\x12\r\n\x05\x64\x65nom\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\"\xd2\x01\n\x13SubaccountBalanceV2\x12\x15\n\rsubaccount_id\x18\x01 \x01(\t\x12\x39\n\x12\x61vailable_balances\x18\x02 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x32\n\x0bmargin_hold\x18\x03 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin\x12\x35\n\x0eunrealized_pnl\x18\x04 \x03(\x0b\x32\x1d.injective_portfolio_rpc.Coin2\x90\x01\n\x15InjectivePortfolioRPC\x12w\n\x10\x41\x63\x63ountPortfolio\x12\x30.injective_portfolio_rpc.AccountPortfolioRequest\x1a\x31.injective_portfolio_rpc.AccountPortfolioResponseB\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='denom', full_name='injective_portfolio_rpc.Portfolio.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='bank_balances', full_name='injective_portfolio_rpc.Portfolio.bank_balances', 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='subaccount_balances', full_name='injective_portfolio_rpc.Portfolio.subaccount_balances', 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=383,
)


_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=385,
  serialized_end=422,
)


_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='available_balances', full_name='injective_portfolio_rpc.SubaccountBalanceV2.available_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='margin_hold', full_name='injective_portfolio_rpc.SubaccountBalanceV2.margin_hold', 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='unrealized_pnl', full_name='injective_portfolio_rpc.SubaccountBalanceV2.unrealized_pnl', 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=425,
  serialized_end=635,
)

_ACCOUNTPORTFOLIORESPONSE.fields_by_name['portfolio'].message_type = _PORTFOLIO
_PORTFOLIO.fields_by_name['bank_balances'].message_type = _COIN
_PORTFOLIO.fields_by_name['subaccount_balances'].message_type = _SUBACCOUNTBALANCEV2
_SUBACCOUNTBALANCEV2.fields_by_name['available_balances'].message_type = _COIN
_SUBACCOUNTBALANCEV2.fields_by_name['margin_hold'].message_type = _COIN
_SUBACCOUNTBALANCEV2.fields_by_name['unrealized_pnl'].message_type = _COIN
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
_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)


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=638,
  serialized_end=782,
  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,
  ),
])
_sym_db.RegisterServiceDescriptor(_INJECTIVEPORTFOLIORPC)

DESCRIPTOR.services_by_name['InjectivePortfolioRPC'] = _INJECTIVEPORTFOLIORPC

# @@protoc_insertion_point(module_scope)
