OpenWeather-gRPC-API/proto/extended.proto

23 lines
584 B
Protocol Buffer
Raw Normal View History

2022-07-25 16:16:27 -04:00
syntax = "proto3";
package weather;
option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto";
2022-07-26 03:52:18 -04:00
//import "location_types.proto";
//import "units.proto"
2022-07-26 01:06:17 -04:00
2022-07-25 16:16:27 -04:00
message RequestExtended {
2022-07-26 03:52:18 -04:00
//LocationType location_type = 1; NOT IMPLEMENTED YET
//Units units = 2; NOT IMPLEMENTED YET
string city = 1;
// optional string zip_code = 2; NOT IMPLEMENTED YET
// optional string state = 2; // US Only / NOT IMPLEMENTED YET
// optional string country = 3; // Must be ISO 3166 code / NOT IMPLEMENTED YET
uint32 days = 2;
2022-07-25 16:16:27 -04:00
}
message SendExtended {
string payload = 1;
}