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