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