protobay demo demo.protobay.dev

acme/weather

public

Generated from commit 39a693d35e8d.

package acme.weather.v1

Files: acme/weather/v1/weather.proto

Services

service WeatherService

WeatherService provides current weather, forecasts, and live alert streams.
MethodRequestResponseDescription
GetCurrentWeather acme.weather.v1.GetCurrentWeatherRequest acme.weather.v1.GetCurrentWeatherResponse
GetCurrentWeather returns the latest observation near the given coordinates.
GetForecast acme.weather.v1.GetForecastRequest acme.weather.v1.GetForecastResponse
GetForecast returns a multi-day forecast for the given coordinates.
WatchAlerts acme.weather.v1.WatchAlertsRequest stream acme.weather.v1.WatchAlertsResponse
WatchAlerts streams active weather alerts intersecting the given bounding box.

Messages

message WeatherAlert

WeatherAlert represents an active severe-weather notice.
#FieldTypeDescription
1 id string
2 severity acme.weather.v1.Severity
3 headline string
4 description string
5 affected_area acme.geo.v1.BoundingBox
6 expires_at google.protobuf.Timestamp

message GetCurrentWeatherResponse

GetCurrentWeatherResponse returns the latest observed weather.
#FieldTypeDescription
1 current acme.weather.v1.CurrentWeather

message WatchAlertsRequest

WatchAlertsRequest subscribes to weather alerts within a bounding box.
#FieldTypeDescription
1 area acme.geo.v1.BoundingBox

message WatchAlertsResponse

WatchAlertsResponse delivers one severe-weather alert event.
#FieldTypeDescription
1 alert acme.weather.v1.WeatherAlert

Enums

enum Condition

Condition summarizes the prevailing sky and precipitation state.
ValueNumberDescription
CONDITION_UNSPECIFIED0
CONDITION_CLEAR1
CONDITION_PARTLY_CLOUDY2
CONDITION_OVERCAST3
CONDITION_RAIN4
CONDITION_SNOW5
CONDITION_THUNDERSTORM6

enum Severity

Severity classifies the urgency of a weather alert.
ValueNumberDescription
SEVERITY_UNSPECIFIED0
SEVERITY_ADVISORY1
SEVERITY_WATCH2
SEVERITY_WARNING3