123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: dust.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type DustData struct {
- Pm10Avg float64 `protobuf:"fixed64,1,opt,name=pm10_avg,json=pm10Avg,proto3" json:"pm10_avg"`
- Pm25Avg float64 `protobuf:"fixed64,2,opt,name=pm25_avg,json=pm25Avg,proto3" json:"pm25_avg"`
- St string `protobuf:"bytes,3,opt,name=st,proto3" json:"st"`
- Cn string `protobuf:"bytes,4,opt,name=cn,proto3" json:"cn"`
- Mn string `protobuf:"bytes,5,opt,name=mn,proto3" json:"mn"`
- DateTime string `protobuf:"bytes,6,opt,name=date_time,json=dateTime,proto3" json:"date_time"`
- TspAvg float64 `protobuf:"fixed64,7,opt,name=tsp_avg,json=tspAvg,proto3" json:"tsp_avg"`
- T01Avg float64 `protobuf:"fixed64,8,opt,name=t01_avg,json=t01Avg,proto3" json:"t01_avg"`
- H01Avg float64 `protobuf:"fixed64,9,opt,name=h01_avg,json=h01Avg,proto3" json:"h01_avg"`
- W01Avg float64 `protobuf:"fixed64,10,opt,name=w01_avg,json=w01Avg,proto3" json:"w01_avg"`
- W02Avg float64 `protobuf:"fixed64,11,opt,name=w02_avg,json=w02Avg,proto3" json:"w02_avg"`
- R01Avg float64 `protobuf:"fixed64,12,opt,name=r01_avg,json=r01Avg,proto3" json:"r01_avg"`
- P01Avg float64 `protobuf:"fixed64,13,opt,name=p01_avg,json=p01Avg,proto3" json:"p01_avg"`
- B03Avg float64 `protobuf:"fixed64,14,opt,name=b03_avg,json=b03Avg,proto3" json:"b03_avg"`
- Lng float64 `protobuf:"fixed64,15,opt,name=lng,proto3" json:"lng"`
- Lat float64 `protobuf:"fixed64,16,opt,name=lat,proto3" json:"lat"`
- Pm10Flag string `protobuf:"bytes,17,opt,name=pm10_flag,json=pm10Flag,proto3" json:"pm10_flag"`
- Pm25Flag string `protobuf:"bytes,18,opt,name=pm25_flag,json=pm25Flag,proto3" json:"pm25_flag"`
- TspFlag string `protobuf:"bytes,19,opt,name=tsp_flag,json=tspFlag,proto3" json:"tsp_flag"`
- T01Flag string `protobuf:"bytes,20,opt,name=t01_flag,json=t01Flag,proto3" json:"t01_flag"`
- H01Flag string `protobuf:"bytes,21,opt,name=h01_flag,json=h01Flag,proto3" json:"h01_flag"`
- W01Flag string `protobuf:"bytes,22,opt,name=w01_flag,json=w01Flag,proto3" json:"w01_flag"`
- W02Flag string `protobuf:"bytes,23,opt,name=w02_flag,json=w02Flag,proto3" json:"w02_flag"`
- R01Flag string `protobuf:"bytes,24,opt,name=r01_flag,json=r01Flag,proto3" json:"r01_flag"`
- P01Flag string `protobuf:"bytes,25,opt,name=p01_flag,json=p01Flag,proto3" json:"p01_flag"`
- B03Flag string `protobuf:"bytes,26,opt,name=b03_flag,json=b03Flag,proto3" json:"b03_flag"`
- W03Avg float64 `protobuf:"fixed64,27,opt,name=w03_avg,json=w03Avg,proto3" json:"w03_avg"`
- W03Flag string `protobuf:"bytes,28,opt,name=w03_flag,json=w03Flag,proto3" json:"w03_flag"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DustData) Reset() { *m = DustData{} }
- func (m *DustData) String() string { return proto.CompactTextString(m) }
- func (*DustData) ProtoMessage() {}
- func (*DustData) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1229a132507a4a7, []int{0}
- }
- func (m *DustData) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DustData.Unmarshal(m, b)
- }
- func (m *DustData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DustData.Marshal(b, m, deterministic)
- }
- func (m *DustData) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DustData.Merge(m, src)
- }
- func (m *DustData) XXX_Size() int {
- return xxx_messageInfo_DustData.Size(m)
- }
- func (m *DustData) XXX_DiscardUnknown() {
- xxx_messageInfo_DustData.DiscardUnknown(m)
- }
- var xxx_messageInfo_DustData proto.InternalMessageInfo
- func (m *DustData) GetPm10Avg() float64 {
- if m != nil {
- return m.Pm10Avg
- }
- return 0
- }
- func (m *DustData) GetPm25Avg() float64 {
- if m != nil {
- return m.Pm25Avg
- }
- return 0
- }
- func (m *DustData) GetSt() string {
- if m != nil {
- return m.St
- }
- return ""
- }
- func (m *DustData) GetCn() string {
- if m != nil {
- return m.Cn
- }
- return ""
- }
- func (m *DustData) GetMn() string {
- if m != nil {
- return m.Mn
- }
- return ""
- }
- func (m *DustData) GetDateTime() string {
- if m != nil {
- return m.DateTime
- }
- return ""
- }
- func (m *DustData) GetTspAvg() float64 {
- if m != nil {
- return m.TspAvg
- }
- return 0
- }
- func (m *DustData) GetT01Avg() float64 {
- if m != nil {
- return m.T01Avg
- }
- return 0
- }
- func (m *DustData) GetH01Avg() float64 {
- if m != nil {
- return m.H01Avg
- }
- return 0
- }
- func (m *DustData) GetW01Avg() float64 {
- if m != nil {
- return m.W01Avg
- }
- return 0
- }
- func (m *DustData) GetW02Avg() float64 {
- if m != nil {
- return m.W02Avg
- }
- return 0
- }
- func (m *DustData) GetR01Avg() float64 {
- if m != nil {
- return m.R01Avg
- }
- return 0
- }
- func (m *DustData) GetP01Avg() float64 {
- if m != nil {
- return m.P01Avg
- }
- return 0
- }
- func (m *DustData) GetB03Avg() float64 {
- if m != nil {
- return m.B03Avg
- }
- return 0
- }
- func (m *DustData) GetLng() float64 {
- if m != nil {
- return m.Lng
- }
- return 0
- }
- func (m *DustData) GetLat() float64 {
- if m != nil {
- return m.Lat
- }
- return 0
- }
- func (m *DustData) GetPm10Flag() string {
- if m != nil {
- return m.Pm10Flag
- }
- return ""
- }
- func (m *DustData) GetPm25Flag() string {
- if m != nil {
- return m.Pm25Flag
- }
- return ""
- }
- func (m *DustData) GetTspFlag() string {
- if m != nil {
- return m.TspFlag
- }
- return ""
- }
- func (m *DustData) GetT01Flag() string {
- if m != nil {
- return m.T01Flag
- }
- return ""
- }
- func (m *DustData) GetH01Flag() string {
- if m != nil {
- return m.H01Flag
- }
- return ""
- }
- func (m *DustData) GetW01Flag() string {
- if m != nil {
- return m.W01Flag
- }
- return ""
- }
- func (m *DustData) GetW02Flag() string {
- if m != nil {
- return m.W02Flag
- }
- return ""
- }
- func (m *DustData) GetR01Flag() string {
- if m != nil {
- return m.R01Flag
- }
- return ""
- }
- func (m *DustData) GetP01Flag() string {
- if m != nil {
- return m.P01Flag
- }
- return ""
- }
- func (m *DustData) GetB03Flag() string {
- if m != nil {
- return m.B03Flag
- }
- return ""
- }
- func (m *DustData) GetW03Avg() float64 {
- if m != nil {
- return m.W03Avg
- }
- return 0
- }
- func (m *DustData) GetW03Flag() string {
- if m != nil {
- return m.W03Flag
- }
- return ""
- }
- func init() {
- proto.RegisterType((*DustData)(nil), "v1.DustData")
- }
- func init() {
- proto.RegisterFile("dust.proto", fileDescriptor_c1229a132507a4a7)
- }
- var fileDescriptor_c1229a132507a4a7 = []byte{
- // 367 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08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