// protocol buffers documentation: https://developers.google.com/protocol-buffers/docs/proto3 syntax = "proto3"; package centralized_attack_detector; import "context.proto"; import "monitoring.proto"; service CentralizedAttackDetectorService { rpc NotifyServiceUpdate (context.Service ) returns (context.Empty) {} // rpc that triggers the attack detection loop rpc DetectAttack (context.Empty ) returns (context.Empty) {} // rpc called by the distributed component to report KPIs rpc ReportSummarizedKpi (monitoring.KpiList) returns (context.Empty) {} rpc ReportKpi (monitoring.KpiList) returns (context.Empty) {} }