From 014484f546fc48660931aa1ba5a748360400ce80 Mon Sep 17 00:00:00 2001 From: mskKandula Date: Thu, 11 Jan 2024 14:40:04 +0530 Subject: [PATCH] protofile --- GrpcPython/OutlierDetection/outliers.proto | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 GrpcPython/OutlierDetection/outliers.proto diff --git a/GrpcPython/OutlierDetection/outliers.proto b/GrpcPython/OutlierDetection/outliers.proto new file mode 100644 index 0000000..3f9bf57 --- /dev/null +++ b/GrpcPython/OutlierDetection/outliers.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + import "google/protobuf/timestamp.proto"; + package pb; + + option go_package = "github.com/mskKandula/python-go/grpc/pb"; + + message Metric { + google.protobuf.Timestamp time = 1; + string name = 2; + double value = 3; + } + + message OutliersRequest { + repeated Metric metrics = 1; + } + + message OutliersResponse { + repeated int32 indices = 1; + } + + service Outliers { + rpc Detect(OutliersRequest) returns (OutliersResponse) {} + } \ No newline at end of file