syntax = "proto3"; option go_package = "git.mokkon.com/sainw/fho_forward_proto"; option java_multiple_files = true; package fho; import "google/protobuf/timestamp.proto"; service DataService { rpc GetData(DataRequest) returns (DataReply) {} rpc StreamData(DataRequest) returns (stream DataReply) {} } message DataRequest { string object =1; google.protobuf.Timestamp updated_after = 2; } message DataReply { enum ReplyStatus { SCHEDULE_TYPE_UNSPECIFIED = 0; OK = 1; ERROR = 2; } string data = 1; ReplyStatus reply_status = 2; string error_msg = 3; google.protobuf.Timestamp latest_updated_time = 4; }