# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: commands.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 primitive_pb2 as primitive__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x63ommands.proto\x12\x0eiroha.protocol\x1a\x0fprimitive.proto\"^\n\x10\x41\x64\x64\x41ssetQuantity\x12\x10\n\x08\x61sset_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"-\n\x07\x41\x64\x64Peer\x12\"\n\x04peer\x18\x01 \x01(\x0b\x32\x14.iroha.protocol.Peer\" \n\nRemovePeer\x12\x12\n\npublic_key\x18\x01 \x01(\t\"6\n\x0c\x41\x64\x64Signatory\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x12\n\npublic_key\x18\x02 \x01(\t\"G\n\x0b\x43reateAsset\x12\x12\n\nasset_name\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\x12\x11\n\tprecision\x18\x03 \x01(\r\"L\n\rCreateAccount\x12\x14\n\x0c\x61\x63\x63ount_name\x18\x01 \x01(\t\x12\x11\n\tdomain_id\x18\x02 \x01(\t\x12\x12\n\npublic_key\x18\x03 \x01(\t\"B\n\x10SetAccountDetail\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\"7\n\x0c\x43reateDomain\x12\x11\n\tdomain_id\x18\x01 \x01(\t\x12\x14\n\x0c\x64\x65\x66\x61ult_role\x18\x02 \x01(\t\"9\n\x0fRemoveSignatory\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x12\n\npublic_key\x18\x02 \x01(\t\"6\n\x10SetAccountQuorum\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x0e\n\x06quorum\x18\x02 \x01(\r\"w\n\rTransferAsset\x12\x16\n\x0esrc_account_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65st_account_id\x18\x02 \x01(\t\x12\x10\n\x08\x61sset_id\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x0e\n\x06\x61mount\x18\x05 \x01(\t\"3\n\nAppendRole\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x11\n\trole_name\x18\x02 \x01(\t\"3\n\nDetachRole\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x11\n\trole_name\x18\x02 \x01(\t\"T\n\nCreateRole\x12\x11\n\trole_name\x18\x01 \x01(\t\x12\x33\n\x0bpermissions\x18\x02 \x03(\x0e\x32\x1e.iroha.protocol.RolePermission\"^\n\x0fGrantPermission\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x37\n\npermission\x18\x02 \x01(\x0e\x32#.iroha.protocol.GrantablePermission\"_\n\x10RevokePermission\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x37\n\npermission\x18\x02 \x01(\x0e\x32#.iroha.protocol.GrantablePermission\"c\n\x15SubtractAssetQuantity\x12\x10\n\x08\x61sset_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\x87\x01\n\x1a\x43ompareAndSetAccountDetail\x12\x12\n\naccount_id\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x13\n\told_value\x18\x04 \x01(\tH\x00\x12\x13\n\x0b\x63heck_empty\x18\x05 \x01(\x08\x42\x0f\n\ropt_old_value\"-\n\x0fSetSettingValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x9d\x01\n\nCallEngine\x12\x33\n\x04type\x18\x01 \x01(\x0e\x32%.iroha.protocol.CallEngine.EngineType\x12\x0e\n\x06\x63\x61ller\x18\x02 \x01(\t\x12\x10\n\x06\x63\x61llee\x18\x03 \x01(\tH\x00\x12\r\n\x05input\x18\x04 \x01(\t\"\x1b\n\nEngineType\x12\r\n\tkSolidity\x10\x00\x42\x0c\n\nopt_callee\"\xac\t\n\x07\x43ommand\x12>\n\x12\x61\x64\x64_asset_quantity\x18\x01 \x01(\x0b\x32 .iroha.protocol.AddAssetQuantityH\x00\x12+\n\x08\x61\x64\x64_peer\x18\x02 \x01(\x0b\x32\x17.iroha.protocol.AddPeerH\x00\x12\x35\n\radd_signatory\x18\x03 \x01(\x0b\x32\x1c.iroha.protocol.AddSignatoryH\x00\x12\x31\n\x0b\x61ppend_role\x18\x04 \x01(\x0b\x32\x1a.iroha.protocol.AppendRoleH\x00\x12\x37\n\x0e\x63reate_account\x18\x05 \x01(\x0b\x32\x1d.iroha.protocol.CreateAccountH\x00\x12\x33\n\x0c\x63reate_asset\x18\x06 \x01(\x0b\x32\x1b.iroha.protocol.CreateAssetH\x00\x12\x35\n\rcreate_domain\x18\x07 \x01(\x0b\x32\x1c.iroha.protocol.CreateDomainH\x00\x12\x31\n\x0b\x63reate_role\x18\x08 \x01(\x0b\x32\x1a.iroha.protocol.CreateRoleH\x00\x12\x31\n\x0b\x64\x65tach_role\x18\t \x01(\x0b\x32\x1a.iroha.protocol.DetachRoleH\x00\x12;\n\x10grant_permission\x18\n \x01(\x0b\x32\x1f.iroha.protocol.GrantPermissionH\x00\x12;\n\x10remove_signatory\x18\x0b \x01(\x0b\x32\x1f.iroha.protocol.RemoveSignatoryH\x00\x12=\n\x11revoke_permission\x18\x0c \x01(\x0b\x32 .iroha.protocol.RevokePermissionH\x00\x12>\n\x12set_account_detail\x18\r \x01(\x0b\x32 .iroha.protocol.SetAccountDetailH\x00\x12>\n\x12set_account_quorum\x18\x0e \x01(\x0b\x32 .iroha.protocol.SetAccountQuorumH\x00\x12H\n\x17subtract_asset_quantity\x18\x0f \x01(\x0b\x32%.iroha.protocol.SubtractAssetQuantityH\x00\x12\x37\n\x0etransfer_asset\x18\x10 \x01(\x0b\x32\x1d.iroha.protocol.TransferAssetH\x00\x12\x31\n\x0bremove_peer\x18\x11 \x01(\x0b\x32\x1a.iroha.protocol.RemovePeerH\x00\x12T\n\x1e\x63ompare_and_set_account_detail\x18\x12 \x01(\x0b\x32*.iroha.protocol.CompareAndSetAccountDetailH\x00\x12<\n\x11set_setting_value\x18\x13 \x01(\x0b\x32\x1f.iroha.protocol.SetSettingValueH\x00\x12\x31\n\x0b\x63\x61ll_engine\x18\x14 \x01(\x0b\x32\x1a.iroha.protocol.CallEngineH\x00\x42\t\n\x07\x63ommandB\x1aZ\x18iroha.generated/protocolb\x06proto3')

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

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'Z\030iroha.generated/protocol'
  _globals['_ADDASSETQUANTITY']._serialized_start=51
  _globals['_ADDASSETQUANTITY']._serialized_end=145
  _globals['_ADDPEER']._serialized_start=147
  _globals['_ADDPEER']._serialized_end=192
  _globals['_REMOVEPEER']._serialized_start=194
  _globals['_REMOVEPEER']._serialized_end=226
  _globals['_ADDSIGNATORY']._serialized_start=228
  _globals['_ADDSIGNATORY']._serialized_end=282
  _globals['_CREATEASSET']._serialized_start=284
  _globals['_CREATEASSET']._serialized_end=355
  _globals['_CREATEACCOUNT']._serialized_start=357
  _globals['_CREATEACCOUNT']._serialized_end=433
  _globals['_SETACCOUNTDETAIL']._serialized_start=435
  _globals['_SETACCOUNTDETAIL']._serialized_end=501
  _globals['_CREATEDOMAIN']._serialized_start=503
  _globals['_CREATEDOMAIN']._serialized_end=558
  _globals['_REMOVESIGNATORY']._serialized_start=560
  _globals['_REMOVESIGNATORY']._serialized_end=617
  _globals['_SETACCOUNTQUORUM']._serialized_start=619
  _globals['_SETACCOUNTQUORUM']._serialized_end=673
  _globals['_TRANSFERASSET']._serialized_start=675
  _globals['_TRANSFERASSET']._serialized_end=794
  _globals['_APPENDROLE']._serialized_start=796
  _globals['_APPENDROLE']._serialized_end=847
  _globals['_DETACHROLE']._serialized_start=849
  _globals['_DETACHROLE']._serialized_end=900
  _globals['_CREATEROLE']._serialized_start=902
  _globals['_CREATEROLE']._serialized_end=986
  _globals['_GRANTPERMISSION']._serialized_start=988
  _globals['_GRANTPERMISSION']._serialized_end=1082
  _globals['_REVOKEPERMISSION']._serialized_start=1084
  _globals['_REVOKEPERMISSION']._serialized_end=1179
  _globals['_SUBTRACTASSETQUANTITY']._serialized_start=1181
  _globals['_SUBTRACTASSETQUANTITY']._serialized_end=1280
  _globals['_COMPAREANDSETACCOUNTDETAIL']._serialized_start=1283
  _globals['_COMPAREANDSETACCOUNTDETAIL']._serialized_end=1418
  _globals['_SETSETTINGVALUE']._serialized_start=1420
  _globals['_SETSETTINGVALUE']._serialized_end=1465
  _globals['_CALLENGINE']._serialized_start=1468
  _globals['_CALLENGINE']._serialized_end=1625
  _globals['_CALLENGINE_ENGINETYPE']._serialized_start=1584
  _globals['_CALLENGINE_ENGINETYPE']._serialized_end=1611
  _globals['_COMMAND']._serialized_start=1628
  _globals['_COMMAND']._serialized_end=2824
# @@protoc_insertion_point(module_scope)
