AgentsServiceBase constructor
AgentsServiceBase()
Implementation
AgentsServiceBase() {
$addMethod($grpc.ServiceMethod<$3.GetAgentRequest, $3.Agent>(
'GetAgent',
getAgent_Pre,
false,
false,
($core.List<$core.int> value) => $3.GetAgentRequest.fromBuffer(value),
($3.Agent value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.SetAgentRequest, $3.Agent>(
'SetAgent',
setAgent_Pre,
false,
false,
($core.List<$core.int> value) => $3.SetAgentRequest.fromBuffer(value),
($3.Agent value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.DeleteAgentRequest, $2.Empty>(
'DeleteAgent',
deleteAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$3.DeleteAgentRequest.fromBuffer(value),
($2.Empty value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$3.SearchAgentsRequest, $3.SearchAgentsResponse>(
'SearchAgents',
searchAgents_Pre,
false,
false,
($core.List<$core.int> value) =>
$3.SearchAgentsRequest.fromBuffer(value),
($3.SearchAgentsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.TrainAgentRequest, $1.Operation>(
'TrainAgent',
trainAgent_Pre,
false,
false,
($core.List<$core.int> value) => $3.TrainAgentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.ExportAgentRequest, $1.Operation>(
'ExportAgent',
exportAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$3.ExportAgentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.ImportAgentRequest, $1.Operation>(
'ImportAgent',
importAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$3.ImportAgentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.RestoreAgentRequest, $1.Operation>(
'RestoreAgent',
restoreAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$3.RestoreAgentRequest.fromBuffer(value),
($1.Operation value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$3.GetValidationResultRequest, $4.ValidationResult>(
'GetValidationResult',
getValidationResult_Pre,
false,
false,
($core.List<$core.int> value) =>
$3.GetValidationResultRequest.fromBuffer(value),
($4.ValidationResult value) => value.writeToBuffer()));
}