# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: primitive.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()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fprimitive.proto\x12\x0eiroha.protocol\"2\n\tSignature\x12\x12\n\npublic_key\x18\x01 \x01(\t\x12\x11\n\tsignature\x18\x02 \x01(\t\"i\n\x04Peer\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x10\n\x08peer_key\x18\x02 \x01(\t\x12\x19\n\x0ftls_certificate\x18\x03 \x01(\tH\x00\x12\x14\n\x0csyncing_peer\x18\x04 \x01(\x08\x42\r\n\x0b\x63\x65rtificate\"4\n\x15\x41\x63\x63ountDetailRecordId\x12\x0e\n\x06writer\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\":\n\tEngineLog\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x0e\n\x06topics\x18\x03 \x03(\t\"1\n\nCallResult\x12\x0e\n\x06\x63\x61llee\x18\x01 \x01(\t\x12\x13\n\x0bresult_data\x18\x02 \x01(\t\"\xcc\x01\n\rEngineReceipt\x12\x15\n\rcommand_index\x18\x01 \x01(\x05\x12\x0e\n\x06\x63\x61ller\x18\x02 \x01(\t\x12\x31\n\x0b\x63\x61ll_result\x18\x03 \x01(\x0b\x32\x1a.iroha.protocol.CallResultH\x00\x12\x1a\n\x10\x63ontract_address\x18\x04 \x01(\tH\x00\x12\'\n\x04logs\x18\x05 \x03(\x0b\x32\x19.iroha.protocol.EngineLogB\x1c\n\x1aresult_or_contract_address*\xff\n\n\x0eRolePermission\x12\x13\n\x0f\x63\x61n_append_role\x10\x00\x12\x13\n\x0f\x63\x61n_create_role\x10\x01\x12\x13\n\x0f\x63\x61n_detach_role\x10\x02\x12\x15\n\x11\x63\x61n_add_asset_qty\x10\x03\x12\x1a\n\x16\x63\x61n_subtract_asset_qty\x10\x04\x12\x10\n\x0c\x63\x61n_add_peer\x10\x05\x12\x13\n\x0f\x63\x61n_remove_peer\x10.\x12\x15\n\x11\x63\x61n_add_signatory\x10\x06\x12\x18\n\x14\x63\x61n_remove_signatory\x10\x07\x12\x12\n\x0e\x63\x61n_set_quorum\x10\x08\x12\x16\n\x12\x63\x61n_create_account\x10\t\x12\x12\n\x0e\x63\x61n_set_detail\x10\n\x12\x14\n\x10\x63\x61n_create_asset\x10\x0b\x12\x10\n\x0c\x63\x61n_transfer\x10\x0c\x12\x0f\n\x0b\x63\x61n_receive\x10\r\x12\x15\n\x11\x63\x61n_create_domain\x10\x0e\x12\x1c\n\x18\x63\x61n_add_domain_asset_qty\x10+\x12!\n\x1d\x63\x61n_subtract_domain_asset_qty\x10,\x12\x13\n\x0f\x63\x61n_call_engine\x10\x30\x12\x13\n\x0f\x63\x61n_read_assets\x10\x0f\x12\x11\n\rcan_get_roles\x10\x10\x12\x16\n\x12\x63\x61n_get_my_account\x10\x11\x12\x18\n\x14\x63\x61n_get_all_accounts\x10\x12\x12\x1b\n\x17\x63\x61n_get_domain_accounts\x10\x13\x12\x1a\n\x16\x63\x61n_get_my_signatories\x10\x14\x12\x1b\n\x17\x63\x61n_get_all_signatories\x10\x15\x12\x1e\n\x1a\x63\x61n_get_domain_signatories\x10\x16\x12\x16\n\x12\x63\x61n_get_my_acc_ast\x10\x17\x12\x17\n\x13\x63\x61n_get_all_acc_ast\x10\x18\x12\x1a\n\x16\x63\x61n_get_domain_acc_ast\x10\x19\x12\x19\n\x15\x63\x61n_get_my_acc_detail\x10\x1a\x12\x1a\n\x16\x63\x61n_get_all_acc_detail\x10\x1b\x12\x1d\n\x19\x63\x61n_get_domain_acc_detail\x10\x1c\x12\x16\n\x12\x63\x61n_get_my_acc_txs\x10\x1d\x12\x17\n\x13\x63\x61n_get_all_acc_txs\x10\x1e\x12\x1a\n\x16\x63\x61n_get_domain_acc_txs\x10\x1f\x12\x1a\n\x16\x63\x61n_get_my_acc_ast_txs\x10 \x12\x1b\n\x17\x63\x61n_get_all_acc_ast_txs\x10!\x12\x1e\n\x1a\x63\x61n_get_domain_acc_ast_txs\x10\"\x12\x12\n\x0e\x63\x61n_get_my_txs\x10#\x12\x13\n\x0f\x63\x61n_get_all_txs\x10$\x12\x12\n\x0e\x63\x61n_get_blocks\x10*\x12\x11\n\rcan_get_peers\x10-\x12\x1e\n\x1a\x63\x61n_get_my_engine_receipts\x10\x32\x12\"\n\x1e\x63\x61n_get_domain_engine_receipts\x10\x33\x12\x1f\n\x1b\x63\x61n_get_all_engine_receipts\x10\x34\x12\x1f\n\x1b\x63\x61n_grant_can_set_my_quorum\x10%\x12\"\n\x1e\x63\x61n_grant_can_add_my_signatory\x10&\x12%\n!can_grant_can_remove_my_signatory\x10\'\x12$\n can_grant_can_transfer_my_assets\x10(\x12\'\n#can_grant_can_set_my_account_detail\x10)\x12*\n&can_grant_can_call_engine_on_my_behalf\x10\x31\x12\x08\n\x04root\x10/*\xc0\x01\n\x13GrantablePermission\x12\x18\n\x14\x63\x61n_add_my_signatory\x10\x00\x12\x1b\n\x17\x63\x61n_remove_my_signatory\x10\x01\x12\x15\n\x11\x63\x61n_set_my_quorum\x10\x02\x12\x1d\n\x19\x63\x61n_set_my_account_detail\x10\x03\x12\x1a\n\x16\x63\x61n_transfer_my_assets\x10\x04\x12 \n\x1c\x63\x61n_call_engine_on_my_behalf\x10\x05\x42\x1aZ\x18iroha.generated/protocolb\x06proto3')

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

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z\030iroha.generated/protocol'
  _globals['_ROLEPERMISSION']._serialized_start=567
  _globals['_ROLEPERMISSION']._serialized_end=1974
  _globals['_GRANTABLEPERMISSION']._serialized_start=1977
  _globals['_GRANTABLEPERMISSION']._serialized_end=2169
  _globals['_SIGNATURE']._serialized_start=35
  _globals['_SIGNATURE']._serialized_end=85
  _globals['_PEER']._serialized_start=87
  _globals['_PEER']._serialized_end=192
  _globals['_ACCOUNTDETAILRECORDID']._serialized_start=194
  _globals['_ACCOUNTDETAILRECORDID']._serialized_end=246
  _globals['_ENGINELOG']._serialized_start=248
  _globals['_ENGINELOG']._serialized_end=306
  _globals['_CALLRESULT']._serialized_start=308
  _globals['_CALLRESULT']._serialized_end=357
  _globals['_ENGINERECEIPT']._serialized_start=360
  _globals['_ENGINERECEIPT']._serialized_end=564
# @@protoc_insertion_point(module_scope)
