Loading proto/forecaster.proto +9 −5 Original line number Diff line number Diff line Loading @@ -18,18 +18,22 @@ package forecaster; import "context.proto"; service ForecasterService { rpc GetForecastOfLink(context.LinkId) returns (context.Empty) {} rpc GetForecastOfTopology (context.TopologyId) returns (Forecast) {} rpc GetForecastOfLink(context.LinkId) returns (Forecast) {} rpc CheckService (context.ServiceId) returns (ForecastPrediction) {} } Forecast { message SingleForecast { context.Timestamp = 1; double value = 2; } message LinkForecast { LinkId link_id = 1; repeated Forecast forecast = 2; message Forecast { oneof uuid { context.TopologyId = 1; context.LinkId = 2; } repeated SingleForecast forecast = 3; } enum AvailabilityPredictionEnum { Loading Loading
proto/forecaster.proto +9 −5 Original line number Diff line number Diff line Loading @@ -18,18 +18,22 @@ package forecaster; import "context.proto"; service ForecasterService { rpc GetForecastOfLink(context.LinkId) returns (context.Empty) {} rpc GetForecastOfTopology (context.TopologyId) returns (Forecast) {} rpc GetForecastOfLink(context.LinkId) returns (Forecast) {} rpc CheckService (context.ServiceId) returns (ForecastPrediction) {} } Forecast { message SingleForecast { context.Timestamp = 1; double value = 2; } message LinkForecast { LinkId link_id = 1; repeated Forecast forecast = 2; message Forecast { oneof uuid { context.TopologyId = 1; context.LinkId = 2; } repeated SingleForecast forecast = 3; } enum AvailabilityPredictionEnum { Loading