M10QueryServiceBase constructor
M10QueryServiceBase()
Implementation
M10QueryServiceBase() {
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $1.FinalizedTransfer>(
'GetTransfer',
getTransfer_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($1.FinalizedTransfer value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $1.FinalizedTransfers>(
'ListTransfers',
listTransfers_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($1.FinalizedTransfers value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.FinalizedTransactions>(
'ObserveTransfers',
observeTransfers_Pre,
false,
true,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.FinalizedTransactions value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $1.IndexedAccount>(
'GetIndexedAccount',
getIndexedAccount_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($1.IndexedAccount value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $2.AccountMetadata>(
'GetAccountMetadata',
getAccountMetadata_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($2.AccountMetadata value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $2.AccountInfo>(
'GetAccountInfo',
getAccountInfo_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($2.AccountInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.ListAccountMetadataResponse>(
'ListAccountMetadata',
listAccountMetadata_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.ListAccountMetadataResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.FinalizedTransactions>(
'ObserveAccounts',
observeAccounts_Pre,
false,
true,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.FinalizedTransactions value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $1.Action>(
'GetAction',
getAction_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($1.Action value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $1.Actions>(
'ListActions',
listActions_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($1.Actions value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.FinalizedTransactions>(
'ObserveActions',
observeActions_Pre,
false,
true,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.FinalizedTransactions value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.Empty, $0.ChainInfo>(
'GetChainInfo',
getChainInfo_Pre,
false,
false,
($core.List<$core.int> value) => $3.Empty.fromBuffer(value),
($0.ChainInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.FinalizedTransaction>(
'GetTransaction',
getTransaction_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.FinalizedTransaction value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.FinalizedTransactions>(
'ListTransactions',
listTransactions_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.FinalizedTransactions value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.GroupedFinalizedTransactions>(
'GroupTransactions',
groupTransactions_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.GroupedFinalizedTransactions value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $2.AccountSet>(
'GetAccountSet',
getAccountSet_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($2.AccountSet value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.ListAccountSetsResponse>(
'ListAccountSets',
listAccountSets_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.ListAccountSetsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $4.RoleBinding>(
'GetRoleBinding',
getRoleBinding_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($4.RoleBinding value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.ListRoleBindingsResponse>(
'ListRoleBindings',
listRoleBindings_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.ListRoleBindingsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $4.Role>(
'GetRole',
getRole_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($4.Role value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.ListRolesResponse>(
'ListRoles',
listRoles_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.ListRolesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.FinalizedTransactions>(
'ObserveResources',
observeResources_Pre,
false,
true,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.FinalizedTransactions value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.TransactionMetrics>(
'ObserveMetrics',
observeMetrics_Pre,
false,
true,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.TransactionMetrics value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $0.ListBanksResponse>(
'ListBanks',
listBanks_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($0.ListBanksResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RequestEnvelope, $2.Bank>(
'GetBank',
getBank_Pre,
false,
false,
($core.List<$core.int> value) => $0.RequestEnvelope.fromBuffer(value),
($2.Bank value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.Empty, $0.OfflineKey>(
'GetOfflineKey',
getOfflineKey_Pre,
false,
false,
($core.List<$core.int> value) => $3.Empty.fromBuffer(value),
($0.OfflineKey value) => value.writeToBuffer()));
}