// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v5.29.3 // source: weather/weather.proto package weather import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type CountWeatherUpdatesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Opts *GetWeatherOpts `protobuf:"bytes,1,opt,name=opts,proto3" json:"opts,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CountWeatherUpdatesRequest) Reset() { *x = CountWeatherUpdatesRequest{} mi := &file_weather_weather_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CountWeatherUpdatesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CountWeatherUpdatesRequest) ProtoMessage() {} func (x *CountWeatherUpdatesRequest) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CountWeatherUpdatesRequest.ProtoReflect.Descriptor instead. func (*CountWeatherUpdatesRequest) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{0} } func (x *CountWeatherUpdatesRequest) GetOpts() *GetWeatherOpts { if x != nil { return x.Opts } return nil } type CountWeatherUpdatesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CountWeatherUpdatesResponse) Reset() { *x = CountWeatherUpdatesResponse{} mi := &file_weather_weather_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CountWeatherUpdatesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CountWeatherUpdatesResponse) ProtoMessage() {} func (x *CountWeatherUpdatesResponse) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CountWeatherUpdatesResponse.ProtoReflect.Descriptor instead. func (*CountWeatherUpdatesResponse) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{1} } func (x *CountWeatherUpdatesResponse) GetCount() int32 { if x != nil { return x.Count } return 0 } type GetWeatherRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Opts *GetWeatherOpts `protobuf:"bytes,1,opt,name=opts,proto3" json:"opts,omitempty"` Limit *int32 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetWeatherRequest) Reset() { *x = GetWeatherRequest{} mi := &file_weather_weather_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetWeatherRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetWeatherRequest) ProtoMessage() {} func (x *GetWeatherRequest) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetWeatherRequest.ProtoReflect.Descriptor instead. func (*GetWeatherRequest) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{2} } func (x *GetWeatherRequest) GetOpts() *GetWeatherOpts { if x != nil { return x.Opts } return nil } func (x *GetWeatherRequest) GetLimit() int32 { if x != nil && x.Limit != nil { return *x.Limit } return 0 } type GetWeatherResponse struct { state protoimpl.MessageState `protogen:"open.v1"` LastUpdated *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` WeatherUpdates []*WeatherUpdate `protobuf:"bytes,2,rep,name=weather_updates,json=weatherUpdates,proto3" json:"weather_updates,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetWeatherResponse) Reset() { *x = GetWeatherResponse{} mi := &file_weather_weather_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetWeatherResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetWeatherResponse) ProtoMessage() {} func (x *GetWeatherResponse) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetWeatherResponse.ProtoReflect.Descriptor instead. func (*GetWeatherResponse) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{3} } func (x *GetWeatherResponse) GetLastUpdated() *timestamppb.Timestamp { if x != nil { return x.LastUpdated } return nil } func (x *GetWeatherResponse) GetWeatherUpdates() []*WeatherUpdate { if x != nil { return x.WeatherUpdates } return nil } type GetWeatherOpts struct { state protoimpl.MessageState `protogen:"open.v1"` StationName *string `protobuf:"bytes,1,opt,name=station_name,json=stationName,proto3,oneof" json:"station_name,omitempty"` StationType *string `protobuf:"bytes,2,opt,name=station_type,json=stationType,proto3,oneof" json:"station_type,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetWeatherOpts) Reset() { *x = GetWeatherOpts{} mi := &file_weather_weather_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetWeatherOpts) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetWeatherOpts) ProtoMessage() {} func (x *GetWeatherOpts) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetWeatherOpts.ProtoReflect.Descriptor instead. func (*GetWeatherOpts) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{4} } func (x *GetWeatherOpts) GetStationName() string { if x != nil && x.StationName != nil { return *x.StationName } return "" } func (x *GetWeatherOpts) GetStationType() string { if x != nil && x.StationType != nil { return *x.StationType } return "" } type WeatherUpdate struct { state protoimpl.MessageState `protogen:"open.v1"` StationName string `protobuf:"bytes,1,opt,name=station_name,json=stationName,proto3" json:"station_name,omitempty"` StationType string `protobuf:"bytes,2,opt,name=station_type,json=stationType,proto3" json:"station_type,omitempty"` StationId string `protobuf:"bytes,3,opt,name=station_id,json=stationId,proto3" json:"station_id,omitempty"` TempOutdoorF *float64 `protobuf:"fixed64,4,opt,name=temp_outdoor_f,json=tempOutdoorF,proto3,oneof" json:"temp_outdoor_f,omitempty"` TempIndoorF *float64 `protobuf:"fixed64,5,opt,name=temp_indoor_f,json=tempIndoorF,proto3,oneof" json:"temp_indoor_f,omitempty"` HumidityOutdoor *int32 `protobuf:"varint,6,opt,name=humidity_outdoor,json=humidityOutdoor,proto3,oneof" json:"humidity_outdoor,omitempty"` HumidityIndoor *int32 `protobuf:"varint,7,opt,name=humidity_indoor,json=humidityIndoor,proto3,oneof" json:"humidity_indoor,omitempty"` WindSpeedMph *float64 `protobuf:"fixed64,8,opt,name=wind_speed_mph,json=windSpeedMph,proto3,oneof" json:"wind_speed_mph,omitempty"` WindGustMph *float64 `protobuf:"fixed64,9,opt,name=wind_gust_mph,json=windGustMph,proto3,oneof" json:"wind_gust_mph,omitempty"` MaxDailyGust *float64 `protobuf:"fixed64,10,opt,name=max_daily_gust,json=maxDailyGust,proto3,oneof" json:"max_daily_gust,omitempty"` WindDir *int32 `protobuf:"varint,11,opt,name=wind_dir,json=windDir,proto3,oneof" json:"wind_dir,omitempty"` WindDirAvg_10M *int32 `protobuf:"varint,12,opt,name=wind_dir_avg_10m,json=windDirAvg10m,proto3,oneof" json:"wind_dir_avg_10m,omitempty"` Uv *int32 `protobuf:"varint,13,opt,name=uv,proto3,oneof" json:"uv,omitempty"` SolarRadiation *float64 `protobuf:"fixed64,14,opt,name=solar_radiation,json=solarRadiation,proto3,oneof" json:"solar_radiation,omitempty"` HourlyRainIn *float64 `protobuf:"fixed64,15,opt,name=hourly_rain_in,json=hourlyRainIn,proto3,oneof" json:"hourly_rain_in,omitempty"` EventRainIn *float64 `protobuf:"fixed64,16,opt,name=event_rain_in,json=eventRainIn,proto3,oneof" json:"event_rain_in,omitempty"` DailyRainIn *float64 `protobuf:"fixed64,17,opt,name=daily_rain_in,json=dailyRainIn,proto3,oneof" json:"daily_rain_in,omitempty"` WeeklyRainIn *float64 `protobuf:"fixed64,18,opt,name=weekly_rain_in,json=weeklyRainIn,proto3,oneof" json:"weekly_rain_in,omitempty"` MonthlyRainIn *float64 `protobuf:"fixed64,19,opt,name=monthly_rain_in,json=monthlyRainIn,proto3,oneof" json:"monthly_rain_in,omitempty"` YearlyRainIn *float64 `protobuf:"fixed64,20,opt,name=yearly_rain_in,json=yearlyRainIn,proto3,oneof" json:"yearly_rain_in,omitempty"` TotalRainIn *float64 `protobuf:"fixed64,21,opt,name=total_rain_in,json=totalRainIn,proto3,oneof" json:"total_rain_in,omitempty"` Batteries []*BatteryStatus `protobuf:"bytes,22,rep,name=batteries,proto3" json:"batteries,omitempty"` BaromRelativeIn *float64 `protobuf:"fixed64,23,opt,name=barom_relative_in,json=baromRelativeIn,proto3,oneof" json:"barom_relative_in,omitempty"` BaromAbsoluteIn *float64 `protobuf:"fixed64,24,opt,name=barom_absolute_in,json=baromAbsoluteIn,proto3,oneof" json:"barom_absolute_in,omitempty"` DewPointF *float64 `protobuf:"fixed64,25,opt,name=dew_point_f,json=dewPointF,proto3,oneof" json:"dew_point_f,omitempty"` WindChillF *float64 `protobuf:"fixed64,26,opt,name=wind_chill_f,json=windChillF,proto3,oneof" json:"wind_chill_f,omitempty"` TempHumiditySensors []*TempHumiditySensor `protobuf:"bytes,27,rep,name=temp_humidity_sensors,json=tempHumiditySensors,proto3" json:"temp_humidity_sensors,omitempty"` UpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,28,opt,name=update_timestamp,json=updateTimestamp,proto3" json:"update_timestamp,omitempty"` LightningDay *int32 `protobuf:"varint,29,opt,name=lightning_day,json=lightningDay,proto3,oneof" json:"lightning_day,omitempty"` LightningDistance *int32 `protobuf:"varint,30,opt,name=lightning_distance,json=lightningDistance,proto3,oneof" json:"lightning_distance,omitempty"` LightningLastTime *timestamppb.Timestamp `protobuf:"bytes,31,opt,name=lightning_last_time,json=lightningLastTime,proto3,oneof" json:"lightning_last_time,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *WeatherUpdate) Reset() { *x = WeatherUpdate{} mi := &file_weather_weather_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *WeatherUpdate) String() string { return protoimpl.X.MessageStringOf(x) } func (*WeatherUpdate) ProtoMessage() {} func (x *WeatherUpdate) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use WeatherUpdate.ProtoReflect.Descriptor instead. func (*WeatherUpdate) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{5} } func (x *WeatherUpdate) GetStationName() string { if x != nil { return x.StationName } return "" } func (x *WeatherUpdate) GetStationType() string { if x != nil { return x.StationType } return "" } func (x *WeatherUpdate) GetStationId() string { if x != nil { return x.StationId } return "" } func (x *WeatherUpdate) GetTempOutdoorF() float64 { if x != nil && x.TempOutdoorF != nil { return *x.TempOutdoorF } return 0 } func (x *WeatherUpdate) GetTempIndoorF() float64 { if x != nil && x.TempIndoorF != nil { return *x.TempIndoorF } return 0 } func (x *WeatherUpdate) GetHumidityOutdoor() int32 { if x != nil && x.HumidityOutdoor != nil { return *x.HumidityOutdoor } return 0 } func (x *WeatherUpdate) GetHumidityIndoor() int32 { if x != nil && x.HumidityIndoor != nil { return *x.HumidityIndoor } return 0 } func (x *WeatherUpdate) GetWindSpeedMph() float64 { if x != nil && x.WindSpeedMph != nil { return *x.WindSpeedMph } return 0 } func (x *WeatherUpdate) GetWindGustMph() float64 { if x != nil && x.WindGustMph != nil { return *x.WindGustMph } return 0 } func (x *WeatherUpdate) GetMaxDailyGust() float64 { if x != nil && x.MaxDailyGust != nil { return *x.MaxDailyGust } return 0 } func (x *WeatherUpdate) GetWindDir() int32 { if x != nil && x.WindDir != nil { return *x.WindDir } return 0 } func (x *WeatherUpdate) GetWindDirAvg_10M() int32 { if x != nil && x.WindDirAvg_10M != nil { return *x.WindDirAvg_10M } return 0 } func (x *WeatherUpdate) GetUv() int32 { if x != nil && x.Uv != nil { return *x.Uv } return 0 } func (x *WeatherUpdate) GetSolarRadiation() float64 { if x != nil && x.SolarRadiation != nil { return *x.SolarRadiation } return 0 } func (x *WeatherUpdate) GetHourlyRainIn() float64 { if x != nil && x.HourlyRainIn != nil { return *x.HourlyRainIn } return 0 } func (x *WeatherUpdate) GetEventRainIn() float64 { if x != nil && x.EventRainIn != nil { return *x.EventRainIn } return 0 } func (x *WeatherUpdate) GetDailyRainIn() float64 { if x != nil && x.DailyRainIn != nil { return *x.DailyRainIn } return 0 } func (x *WeatherUpdate) GetWeeklyRainIn() float64 { if x != nil && x.WeeklyRainIn != nil { return *x.WeeklyRainIn } return 0 } func (x *WeatherUpdate) GetMonthlyRainIn() float64 { if x != nil && x.MonthlyRainIn != nil { return *x.MonthlyRainIn } return 0 } func (x *WeatherUpdate) GetYearlyRainIn() float64 { if x != nil && x.YearlyRainIn != nil { return *x.YearlyRainIn } return 0 } func (x *WeatherUpdate) GetTotalRainIn() float64 { if x != nil && x.TotalRainIn != nil { return *x.TotalRainIn } return 0 } func (x *WeatherUpdate) GetBatteries() []*BatteryStatus { if x != nil { return x.Batteries } return nil } func (x *WeatherUpdate) GetBaromRelativeIn() float64 { if x != nil && x.BaromRelativeIn != nil { return *x.BaromRelativeIn } return 0 } func (x *WeatherUpdate) GetBaromAbsoluteIn() float64 { if x != nil && x.BaromAbsoluteIn != nil { return *x.BaromAbsoluteIn } return 0 } func (x *WeatherUpdate) GetDewPointF() float64 { if x != nil && x.DewPointF != nil { return *x.DewPointF } return 0 } func (x *WeatherUpdate) GetWindChillF() float64 { if x != nil && x.WindChillF != nil { return *x.WindChillF } return 0 } func (x *WeatherUpdate) GetTempHumiditySensors() []*TempHumiditySensor { if x != nil { return x.TempHumiditySensors } return nil } func (x *WeatherUpdate) GetUpdateTimestamp() *timestamppb.Timestamp { if x != nil { return x.UpdateTimestamp } return nil } func (x *WeatherUpdate) GetLightningDay() int32 { if x != nil && x.LightningDay != nil { return *x.LightningDay } return 0 } func (x *WeatherUpdate) GetLightningDistance() int32 { if x != nil && x.LightningDistance != nil { return *x.LightningDistance } return 0 } func (x *WeatherUpdate) GetLightningLastTime() *timestamppb.Timestamp { if x != nil { return x.LightningLastTime } return nil } // Represents a temperature and humidity sensor type TempHumiditySensor struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TempF *float64 `protobuf:"fixed64,2,opt,name=temp_f,json=tempF,proto3,oneof" json:"temp_f,omitempty"` Humidity *int32 `protobuf:"varint,3,opt,name=humidity,proto3,oneof" json:"humidity,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TempHumiditySensor) Reset() { *x = TempHumiditySensor{} mi := &file_weather_weather_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TempHumiditySensor) String() string { return protoimpl.X.MessageStringOf(x) } func (*TempHumiditySensor) ProtoMessage() {} func (x *TempHumiditySensor) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use TempHumiditySensor.ProtoReflect.Descriptor instead. func (*TempHumiditySensor) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{6} } func (x *TempHumiditySensor) GetName() string { if x != nil { return x.Name } return "" } func (x *TempHumiditySensor) GetTempF() float64 { if x != nil && x.TempF != nil { return *x.TempF } return 0 } func (x *TempHumiditySensor) GetHumidity() int32 { if x != nil && x.Humidity != nil { return *x.Humidity } return 0 } // Represents battery status for different components type BatteryStatus struct { state protoimpl.MessageState `protogen:"open.v1"` Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` Status *int32 `protobuf:"varint,2,opt,name=status,proto3,oneof" json:"status,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BatteryStatus) Reset() { *x = BatteryStatus{} mi := &file_weather_weather_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatteryStatus) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatteryStatus) ProtoMessage() {} func (x *BatteryStatus) ProtoReflect() protoreflect.Message { mi := &file_weather_weather_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BatteryStatus.ProtoReflect.Descriptor instead. func (*BatteryStatus) Descriptor() ([]byte, []int) { return file_weather_weather_proto_rawDescGZIP(), []int{7} } func (x *BatteryStatus) GetComponent() string { if x != nil { return x.Component } return "" } func (x *BatteryStatus) GetStatus() int32 { if x != nil && x.Status != nil { return *x.Status } return 0 } var File_weather_weather_proto protoreflect.FileDescriptor const file_weather_weather_proto_rawDesc = "" + "\n" + "\x15weather/weather.proto\x12\x0fambient.weather\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n" + "\x1aCountWeatherUpdatesRequest\x123\n" + "\x04opts\x18\x01 \x01(\v2\x1f.ambient.weather.GetWeatherOptsR\x04opts\"3\n" + "\x1bCountWeatherUpdatesResponse\x12\x14\n" + "\x05count\x18\x01 \x01(\x05R\x05count\"m\n" + "\x11GetWeatherRequest\x123\n" + "\x04opts\x18\x01 \x01(\v2\x1f.ambient.weather.GetWeatherOptsR\x04opts\x12\x19\n" + "\x05limit\x18\x02 \x01(\x05H\x00R\x05limit\x88\x01\x01B\b\n" + "\x06_limit\"\x9c\x01\n" + "\x12GetWeatherResponse\x12=\n" + "\flast_updated\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\vlastUpdated\x12G\n" + "\x0fweather_updates\x18\x02 \x03(\v2\x1e.ambient.weather.WeatherUpdateR\x0eweatherUpdates\"\x82\x01\n" + "\x0eGetWeatherOpts\x12&\n" + "\fstation_name\x18\x01 \x01(\tH\x00R\vstationName\x88\x01\x01\x12&\n" + "\fstation_type\x18\x02 \x01(\tH\x01R\vstationType\x88\x01\x01B\x0f\n" + "\r_station_nameB\x0f\n" + "\r_station_type\"\xee\x0e\n" + "\rWeatherUpdate\x12!\n" + "\fstation_name\x18\x01 \x01(\tR\vstationName\x12!\n" + "\fstation_type\x18\x02 \x01(\tR\vstationType\x12\x1d\n" + "\n" + "station_id\x18\x03 \x01(\tR\tstationId\x12)\n" + "\x0etemp_outdoor_f\x18\x04 \x01(\x01H\x00R\ftempOutdoorF\x88\x01\x01\x12'\n" + "\rtemp_indoor_f\x18\x05 \x01(\x01H\x01R\vtempIndoorF\x88\x01\x01\x12.\n" + "\x10humidity_outdoor\x18\x06 \x01(\x05H\x02R\x0fhumidityOutdoor\x88\x01\x01\x12,\n" + "\x0fhumidity_indoor\x18\a \x01(\x05H\x03R\x0ehumidityIndoor\x88\x01\x01\x12)\n" + "\x0ewind_speed_mph\x18\b \x01(\x01H\x04R\fwindSpeedMph\x88\x01\x01\x12'\n" + "\rwind_gust_mph\x18\t \x01(\x01H\x05R\vwindGustMph\x88\x01\x01\x12)\n" + "\x0emax_daily_gust\x18\n" + " \x01(\x01H\x06R\fmaxDailyGust\x88\x01\x01\x12\x1e\n" + "\bwind_dir\x18\v \x01(\x05H\aR\awindDir\x88\x01\x01\x12,\n" + "\x10wind_dir_avg_10m\x18\f \x01(\x05H\bR\rwindDirAvg10m\x88\x01\x01\x12\x13\n" + "\x02uv\x18\r \x01(\x05H\tR\x02uv\x88\x01\x01\x12,\n" + "\x0fsolar_radiation\x18\x0e \x01(\x01H\n" + "R\x0esolarRadiation\x88\x01\x01\x12)\n" + "\x0ehourly_rain_in\x18\x0f \x01(\x01H\vR\fhourlyRainIn\x88\x01\x01\x12'\n" + "\revent_rain_in\x18\x10 \x01(\x01H\fR\veventRainIn\x88\x01\x01\x12'\n" + "\rdaily_rain_in\x18\x11 \x01(\x01H\rR\vdailyRainIn\x88\x01\x01\x12)\n" + "\x0eweekly_rain_in\x18\x12 \x01(\x01H\x0eR\fweeklyRainIn\x88\x01\x01\x12+\n" + "\x0fmonthly_rain_in\x18\x13 \x01(\x01H\x0fR\rmonthlyRainIn\x88\x01\x01\x12)\n" + "\x0eyearly_rain_in\x18\x14 \x01(\x01H\x10R\fyearlyRainIn\x88\x01\x01\x12'\n" + "\rtotal_rain_in\x18\x15 \x01(\x01H\x11R\vtotalRainIn\x88\x01\x01\x12<\n" + "\tbatteries\x18\x16 \x03(\v2\x1e.ambient.weather.BatteryStatusR\tbatteries\x12/\n" + "\x11barom_relative_in\x18\x17 \x01(\x01H\x12R\x0fbaromRelativeIn\x88\x01\x01\x12/\n" + "\x11barom_absolute_in\x18\x18 \x01(\x01H\x13R\x0fbaromAbsoluteIn\x88\x01\x01\x12#\n" + "\vdew_point_f\x18\x19 \x01(\x01H\x14R\tdewPointF\x88\x01\x01\x12%\n" + "\fwind_chill_f\x18\x1a \x01(\x01H\x15R\n" + "windChillF\x88\x01\x01\x12W\n" + "\x15temp_humidity_sensors\x18\x1b \x03(\v2#.ambient.weather.TempHumiditySensorR\x13tempHumiditySensors\x12E\n" + "\x10update_timestamp\x18\x1c \x01(\v2\x1a.google.protobuf.TimestampR\x0fupdateTimestamp\x12(\n" + "\rlightning_day\x18\x1d \x01(\x05H\x16R\flightningDay\x88\x01\x01\x122\n" + "\x12lightning_distance\x18\x1e \x01(\x05H\x17R\x11lightningDistance\x88\x01\x01\x12O\n" + "\x13lightning_last_time\x18\x1f \x01(\v2\x1a.google.protobuf.TimestampH\x18R\x11lightningLastTime\x88\x01\x01B\x11\n" + "\x0f_temp_outdoor_fB\x10\n" + "\x0e_temp_indoor_fB\x13\n" + "\x11_humidity_outdoorB\x12\n" + "\x10_humidity_indoorB\x11\n" + "\x0f_wind_speed_mphB\x10\n" + "\x0e_wind_gust_mphB\x11\n" + "\x0f_max_daily_gustB\v\n" + "\t_wind_dirB\x13\n" + "\x11_wind_dir_avg_10mB\x05\n" + "\x03_uvB\x12\n" + "\x10_solar_radiationB\x11\n" + "\x0f_hourly_rain_inB\x10\n" + "\x0e_event_rain_inB\x10\n" + "\x0e_daily_rain_inB\x11\n" + "\x0f_weekly_rain_inB\x12\n" + "\x10_monthly_rain_inB\x11\n" + "\x0f_yearly_rain_inB\x10\n" + "\x0e_total_rain_inB\x14\n" + "\x12_barom_relative_inB\x14\n" + "\x12_barom_absolute_inB\x0e\n" + "\f_dew_point_fB\x0f\n" + "\r_wind_chill_fB\x10\n" + "\x0e_lightning_dayB\x15\n" + "\x13_lightning_distanceB\x16\n" + "\x14_lightning_last_time\"}\n" + "\x12TempHumiditySensor\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" + "\x06temp_f\x18\x02 \x01(\x01H\x00R\x05tempF\x88\x01\x01\x12\x1f\n" + "\bhumidity\x18\x03 \x01(\x05H\x01R\bhumidity\x88\x01\x01B\t\n" + "\a_temp_fB\v\n" + "\t_humidity\"U\n" + "\rBatteryStatus\x12\x1c\n" + "\tcomponent\x18\x01 \x01(\tR\tcomponent\x12\x1b\n" + "\x06status\x18\x02 \x01(\x05H\x00R\x06status\x88\x01\x01B\t\n" + "\a_statusBTZRgitea.libretechconsulting.com/rmcguire/ambient-local-exporter/api/v1alpha1/weatherb\x06proto3" var ( file_weather_weather_proto_rawDescOnce sync.Once file_weather_weather_proto_rawDescData []byte ) func file_weather_weather_proto_rawDescGZIP() []byte { file_weather_weather_proto_rawDescOnce.Do(func() { file_weather_weather_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_weather_weather_proto_rawDesc), len(file_weather_weather_proto_rawDesc))) }) return file_weather_weather_proto_rawDescData } var file_weather_weather_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_weather_weather_proto_goTypes = []any{ (*CountWeatherUpdatesRequest)(nil), // 0: ambient.weather.CountWeatherUpdatesRequest (*CountWeatherUpdatesResponse)(nil), // 1: ambient.weather.CountWeatherUpdatesResponse (*GetWeatherRequest)(nil), // 2: ambient.weather.GetWeatherRequest (*GetWeatherResponse)(nil), // 3: ambient.weather.GetWeatherResponse (*GetWeatherOpts)(nil), // 4: ambient.weather.GetWeatherOpts (*WeatherUpdate)(nil), // 5: ambient.weather.WeatherUpdate (*TempHumiditySensor)(nil), // 6: ambient.weather.TempHumiditySensor (*BatteryStatus)(nil), // 7: ambient.weather.BatteryStatus (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp } var file_weather_weather_proto_depIdxs = []int32{ 4, // 0: ambient.weather.CountWeatherUpdatesRequest.opts:type_name -> ambient.weather.GetWeatherOpts 4, // 1: ambient.weather.GetWeatherRequest.opts:type_name -> ambient.weather.GetWeatherOpts 8, // 2: ambient.weather.GetWeatherResponse.last_updated:type_name -> google.protobuf.Timestamp 5, // 3: ambient.weather.GetWeatherResponse.weather_updates:type_name -> ambient.weather.WeatherUpdate 7, // 4: ambient.weather.WeatherUpdate.batteries:type_name -> ambient.weather.BatteryStatus 6, // 5: ambient.weather.WeatherUpdate.temp_humidity_sensors:type_name -> ambient.weather.TempHumiditySensor 8, // 6: ambient.weather.WeatherUpdate.update_timestamp:type_name -> google.protobuf.Timestamp 8, // 7: ambient.weather.WeatherUpdate.lightning_last_time:type_name -> google.protobuf.Timestamp 8, // [8:8] is the sub-list for method output_type 8, // [8:8] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name 8, // [8:8] is the sub-list for extension extendee 0, // [0:8] is the sub-list for field type_name } func init() { file_weather_weather_proto_init() } func file_weather_weather_proto_init() { if File_weather_weather_proto != nil { return } file_weather_weather_proto_msgTypes[2].OneofWrappers = []any{} file_weather_weather_proto_msgTypes[4].OneofWrappers = []any{} file_weather_weather_proto_msgTypes[5].OneofWrappers = []any{} file_weather_weather_proto_msgTypes[6].OneofWrappers = []any{} file_weather_weather_proto_msgTypes[7].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_weather_weather_proto_rawDesc), len(file_weather_weather_proto_rawDesc)), NumEnums: 0, NumMessages: 8, NumExtensions: 0, NumServices: 0, }, GoTypes: file_weather_weather_proto_goTypes, DependencyIndexes: file_weather_weather_proto_depIdxs, MessageInfos: file_weather_weather_proto_msgTypes, }.Build() File_weather_weather_proto = out.File file_weather_weather_proto_goTypes = nil file_weather_weather_proto_depIdxs = nil }