AgentsServiceBase constructor
AgentsServiceBase()
Implementation
AgentsServiceBase() {
$addMethod($grpc.ServiceMethod<$5.ListAgentsRequest, $5.ListAgentsResponse>(
'ListAgents',
listAgents_Pre,
false,
false,
($core.List<$core.int> value) => $5.ListAgentsRequest.fromBuffer(value),
($5.ListAgentsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GetAgentRequest, $5.Agent>(
'GetAgent',
getAgent_Pre,
false,
false,
($core.List<$core.int> value) => $5.GetAgentRequest.fromBuffer(value),
($5.Agent value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.CreateAgentRequest, $5.Agent>(
'CreateAgent',
createAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.CreateAgentRequest.fromBuffer(value),
($5.Agent value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.UpdateAgentRequest, $5.Agent>(
'UpdateAgent',
updateAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.UpdateAgentRequest.fromBuffer(value),
($5.Agent value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.DeleteAgentRequest, $1.Empty>(
'DeleteAgent',
deleteAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.DeleteAgentRequest.fromBuffer(value),
($1.Empty value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.ExportAgentRequest, $2.Operation>(
'ExportAgent',
exportAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.ExportAgentRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.RestoreAgentRequest, $2.Operation>(
'RestoreAgent',
restoreAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.RestoreAgentRequest.fromBuffer(value),
($2.Operation value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$5.ValidateAgentRequest, $5.AgentValidationResult>(
'ValidateAgent',
validateAgent_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.ValidateAgentRequest.fromBuffer(value),
($5.AgentValidationResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GetAgentValidationResultRequest,
$5.AgentValidationResult>(
'GetAgentValidationResult',
getAgentValidationResult_Pre,
false,
false,
($core.List<$core.int> value) =>
$5.GetAgentValidationResultRequest.fromBuffer(value),
($5.AgentValidationResult value) => value.writeToBuffer()));
}