# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: qry_responses.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 symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import block_pb2 as block__pb2
from . import transaction_pb2 as transaction__pb2
from . import primitive_pb2 as primitive__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13qry_responses.proto\x12\x0eiroha.protocol\x1a\x0b\x62lock.proto\x1a\x11transaction.proto\x1a\x0fprimitive.proto\"?\n\x05\x41sset\x12\x10\n\x08\x61sset_id\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\x12\x11\n\tprecision\x18\x03 \x01(\r\"1\n\x06\x44omain\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64\x65\x66\x61ult_role\x18\x02 \x01(\t\"S\n\x07\x41\x63\x63ount\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\x12\x0e\n\x06quorum\x18\x03 \x01(\r\x12\x11\n\tjson_data\x18\x04 \x01(\t\"E\n\x0c\x41\x63\x63ountAsset\x12\x10\n\x08\x61sset_id\x18\x01 \x01(\t\x12\x12\n\naccount_id\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\t\"\x90\x01\n\x14\x41\x63\x63ountAssetResponse\x12\x34\n\x0e\x61\x63\x63ount_assets\x18\x01 \x03(\x0b\x32\x1c.iroha.protocol.AccountAsset\x12\x14\n\x0ctotal_number\x18\x02 \x01(\r\x12\x17\n\rnext_asset_id\x18\x03 \x01(\tH\x00\x42\x13\n\x11opt_next_asset_id\"|\n\x15\x41\x63\x63ountDetailResponse\x12\x0e\n\x06\x64\x65tail\x18\x01 \x01(\t\x12\x14\n\x0ctotal_number\x18\x02 \x01(\x04\x12=\n\x0enext_record_id\x18\x03 \x01(\x0b\x32%.iroha.protocol.AccountDetailRecordId\"R\n\x0f\x41\x63\x63ountResponse\x12(\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x17.iroha.protocol.Account\x12\x15\n\raccount_roles\x18\x02 \x03(\t\"5\n\rAssetResponse\x12$\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x15.iroha.protocol.Asset\"\x1e\n\rRolesResponse\x12\r\n\x05roles\x18\x01 \x03(\t\"N\n\x17RolePermissionsResponse\x12\x33\n\x0bpermissions\x18\x01 \x03(\x0e\x32\x1e.iroha.protocol.RolePermission\"\xa3\x02\n\rErrorResponse\x12\x34\n\x06reason\x18\x01 \x01(\x0e\x32$.iroha.protocol.ErrorResponse.Reason\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x12\n\nerror_code\x18\x03 \x01(\r\"\xb6\x01\n\x06Reason\x12\x15\n\x11STATELESS_INVALID\x10\x00\x12\x14\n\x10STATEFUL_INVALID\x10\x01\x12\x0e\n\nNO_ACCOUNT\x10\x02\x12\x15\n\x11NO_ACCOUNT_ASSETS\x10\x03\x12\x15\n\x11NO_ACCOUNT_DETAIL\x10\x04\x12\x12\n\x0eNO_SIGNATORIES\x10\x05\x12\x11\n\rNOT_SUPPORTED\x10\x06\x12\x0c\n\x08NO_ASSET\x10\x07\x12\x0c\n\x08NO_ROLES\x10\x08\"#\n\x13SignatoriesResponse\x12\x0c\n\x04keys\x18\x01 \x03(\t\"I\n\x14TransactionsResponse\x12\x31\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x1b.iroha.protocol.Transaction\"\x95\x01\n\x18TransactionsPageResponse\x12\x31\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x1b.iroha.protocol.Transaction\x12\x1d\n\x15\x61ll_transactions_size\x18\x02 \x01(\r\x12\x16\n\x0cnext_tx_hash\x18\x03 \x01(\tH\x00\x42\x0f\n\rnext_page_tag\"\xff\x01\n\x1fPendingTransactionsPageResponse\x12\x31\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x1b.iroha.protocol.Transaction\x12\x1d\n\x15\x61ll_transactions_size\x18\x02 \x01(\r\x12R\n\x0fnext_batch_info\x18\x03 \x01(\x0b\x32\x39.iroha.protocol.PendingTransactionsPageResponse.BatchInfo\x1a\x36\n\tBatchInfo\x12\x15\n\rfirst_tx_hash\x18\x01 \x01(\t\x12\x12\n\nbatch_size\x18\x02 \x01(\r\"4\n\rPeersResponse\x12#\n\x05peers\x18\x01 \x03(\x0b\x32\x14.iroha.protocol.Peer\"P\n\x16\x45ngineReceiptsResponse\x12\x36\n\x0f\x65ngine_receipts\x18\x01 \x03(\x0b\x32\x1d.iroha.protocol.EngineReceipt\"\xf1\x07\n\rQueryResponse\x12G\n\x17\x61\x63\x63ount_assets_response\x18\x01 \x01(\x0b\x32$.iroha.protocol.AccountAssetResponseH\x00\x12H\n\x17\x61\x63\x63ount_detail_response\x18\x02 \x01(\x0b\x32%.iroha.protocol.AccountDetailResponseH\x00\x12;\n\x10\x61\x63\x63ount_response\x18\x03 \x01(\x0b\x32\x1f.iroha.protocol.AccountResponseH\x00\x12\x37\n\x0e\x65rror_response\x18\x04 \x01(\x0b\x32\x1d.iroha.protocol.ErrorResponseH\x00\x12\x43\n\x14signatories_response\x18\x05 \x01(\x0b\x32#.iroha.protocol.SignatoriesResponseH\x00\x12\x45\n\x15transactions_response\x18\x06 \x01(\x0b\x32$.iroha.protocol.TransactionsResponseH\x00\x12\x37\n\x0e\x61sset_response\x18\x07 \x01(\x0b\x32\x1d.iroha.protocol.AssetResponseH\x00\x12\x37\n\x0eroles_response\x18\x08 \x01(\x0b\x32\x1d.iroha.protocol.RolesResponseH\x00\x12L\n\x19role_permissions_response\x18\t \x01(\x0b\x32\'.iroha.protocol.RolePermissionsResponseH\x00\x12N\n\x1atransactions_page_response\x18\x0b \x01(\x0b\x32(.iroha.protocol.TransactionsPageResponseH\x00\x12]\n\"pending_transactions_page_response\x18\r \x01(\x0b\x32/.iroha.protocol.PendingTransactionsPageResponseH\x00\x12\x37\n\x0e\x62lock_response\x18\x0c \x01(\x0b\x32\x1d.iroha.protocol.BlockResponseH\x00\x12\x37\n\x0epeers_response\x18\x0e \x01(\x0b\x32\x1d.iroha.protocol.PeersResponseH\x00\x12J\n\x18\x65ngine_receipts_response\x18\x0f \x01(\x0b\x32&.iroha.protocol.EngineReceiptsResponseH\x00\x12\x12\n\nquery_hash\x18\n \x01(\tB\n\n\x08response\"5\n\rBlockResponse\x12$\n\x05\x62lock\x18\x01 \x01(\x0b\x32\x15.iroha.protocol.Block\"%\n\x12\x42lockErrorResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\"\x9d\x01\n\x12\x42lockQueryResponse\x12\x37\n\x0e\x62lock_response\x18\x01 \x01(\x0b\x32\x1d.iroha.protocol.BlockResponseH\x00\x12\x42\n\x14\x62lock_error_response\x18\x02 \x01(\x0b\x32\".iroha.protocol.BlockErrorResponseH\x00\x42\n\n\x08response\"\x85\x02\n\x0fHealthcheckData\x12\x1c\n\x12memory_consumption\x18\x01 \x01(\x04H\x00\x12\x14\n\nis_healthy\x18\x02 \x01(\x08H\x01\x12\x14\n\nis_syncing\x18\x03 \x01(\x08H\x02\x12\x1b\n\x11last_block_height\x18\x04 \x01(\x04H\x03\x12\x1b\n\x11last_block_reject\x18\x05 \x01(\x04H\x04\x42\x18\n\x16opt_memory_consumptionB\x10\n\x0eopt_is_healthyB\x10\n\x0eopt_is_syncingB\x17\n\x15opt_last_block_heightB\x17\n\x15opt_last_block_rejectB\x1aZ\x18iroha.generated/protocolb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qry_responses_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z\030iroha.generated/protocol'
  _globals['_ASSET']._serialized_start=88
  _globals['_ASSET']._serialized_end=151
  _globals['_DOMAIN']._serialized_start=153
  _globals['_DOMAIN']._serialized_end=202
  _globals['_ACCOUNT']._serialized_start=204
  _globals['_ACCOUNT']._serialized_end=287
  _globals['_ACCOUNTASSET']._serialized_start=289
  _globals['_ACCOUNTASSET']._serialized_end=358
  _globals['_ACCOUNTASSETRESPONSE']._serialized_start=361
  _globals['_ACCOUNTASSETRESPONSE']._serialized_end=505
  _globals['_ACCOUNTDETAILRESPONSE']._serialized_start=507
  _globals['_ACCOUNTDETAILRESPONSE']._serialized_end=631
  _globals['_ACCOUNTRESPONSE']._serialized_start=633
  _globals['_ACCOUNTRESPONSE']._serialized_end=715
  _globals['_ASSETRESPONSE']._serialized_start=717
  _globals['_ASSETRESPONSE']._serialized_end=770
  _globals['_ROLESRESPONSE']._serialized_start=772
  _globals['_ROLESRESPONSE']._serialized_end=802
  _globals['_ROLEPERMISSIONSRESPONSE']._serialized_start=804
  _globals['_ROLEPERMISSIONSRESPONSE']._serialized_end=882
  _globals['_ERRORRESPONSE']._serialized_start=885
  _globals['_ERRORRESPONSE']._serialized_end=1176
  _globals['_ERRORRESPONSE_REASON']._serialized_start=994
  _globals['_ERRORRESPONSE_REASON']._serialized_end=1176
  _globals['_SIGNATORIESRESPONSE']._serialized_start=1178
  _globals['_SIGNATORIESRESPONSE']._serialized_end=1213
  _globals['_TRANSACTIONSRESPONSE']._serialized_start=1215
  _globals['_TRANSACTIONSRESPONSE']._serialized_end=1288
  _globals['_TRANSACTIONSPAGERESPONSE']._serialized_start=1291
  _globals['_TRANSACTIONSPAGERESPONSE']._serialized_end=1440
  _globals['_PENDINGTRANSACTIONSPAGERESPONSE']._serialized_start=1443
  _globals['_PENDINGTRANSACTIONSPAGERESPONSE']._serialized_end=1698
  _globals['_PENDINGTRANSACTIONSPAGERESPONSE_BATCHINFO']._serialized_start=1644
  _globals['_PENDINGTRANSACTIONSPAGERESPONSE_BATCHINFO']._serialized_end=1698
  _globals['_PEERSRESPONSE']._serialized_start=1700
  _globals['_PEERSRESPONSE']._serialized_end=1752
  _globals['_ENGINERECEIPTSRESPONSE']._serialized_start=1754
  _globals['_ENGINERECEIPTSRESPONSE']._serialized_end=1834
  _globals['_QUERYRESPONSE']._serialized_start=1837
  _globals['_QUERYRESPONSE']._serialized_end=2846
  _globals['_BLOCKRESPONSE']._serialized_start=2848
  _globals['_BLOCKRESPONSE']._serialized_end=2901
  _globals['_BLOCKERRORRESPONSE']._serialized_start=2903
  _globals['_BLOCKERRORRESPONSE']._serialized_end=2940
  _globals['_BLOCKQUERYRESPONSE']._serialized_start=2943
  _globals['_BLOCKQUERYRESPONSE']._serialized_end=3100
  _globals['_HEALTHCHECKDATA']._serialized_start=3103
  _globals['_HEALTHCHECKDATA']._serialized_end=3364
# @@protoc_insertion_point(module_scope)
