forked from confluentinc/demo-scene
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSensorReading.pb.go
147 lines (127 loc) · 5.43 KB
/
SensorReading.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: SensorReading.proto
package main
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 SensorReading struct {
Device *SensorReading_Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
DateTime int64 `protobuf:"varint,2,opt,name=dateTime,proto3" json:"dateTime,omitempty"`
Reading float64 `protobuf:"fixed64,3,opt,name=reading,proto3" json:"reading,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SensorReading) Reset() { *m = SensorReading{} }
func (m *SensorReading) String() string { return proto.CompactTextString(m) }
func (*SensorReading) ProtoMessage() {}
func (*SensorReading) Descriptor() ([]byte, []int) {
return fileDescriptor_43041f5353350540, []int{0}
}
func (m *SensorReading) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SensorReading.Unmarshal(m, b)
}
func (m *SensorReading) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SensorReading.Marshal(b, m, deterministic)
}
func (m *SensorReading) XXX_Merge(src proto.Message) {
xxx_messageInfo_SensorReading.Merge(m, src)
}
func (m *SensorReading) XXX_Size() int {
return xxx_messageInfo_SensorReading.Size(m)
}
func (m *SensorReading) XXX_DiscardUnknown() {
xxx_messageInfo_SensorReading.DiscardUnknown(m)
}
var xxx_messageInfo_SensorReading proto.InternalMessageInfo
func (m *SensorReading) GetDevice() *SensorReading_Device {
if m != nil {
return m.Device
}
return nil
}
func (m *SensorReading) GetDateTime() int64 {
if m != nil {
return m.DateTime
}
return 0
}
func (m *SensorReading) GetReading() float64 {
if m != nil {
return m.Reading
}
return 0
}
type SensorReading_Device struct {
DeviceID string `protobuf:"bytes,1,opt,name=deviceID,proto3" json:"deviceID,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SensorReading_Device) Reset() { *m = SensorReading_Device{} }
func (m *SensorReading_Device) String() string { return proto.CompactTextString(m) }
func (*SensorReading_Device) ProtoMessage() {}
func (*SensorReading_Device) Descriptor() ([]byte, []int) {
return fileDescriptor_43041f5353350540, []int{0, 0}
}
func (m *SensorReading_Device) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SensorReading_Device.Unmarshal(m, b)
}
func (m *SensorReading_Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SensorReading_Device.Marshal(b, m, deterministic)
}
func (m *SensorReading_Device) XXX_Merge(src proto.Message) {
xxx_messageInfo_SensorReading_Device.Merge(m, src)
}
func (m *SensorReading_Device) XXX_Size() int {
return xxx_messageInfo_SensorReading_Device.Size(m)
}
func (m *SensorReading_Device) XXX_DiscardUnknown() {
xxx_messageInfo_SensorReading_Device.DiscardUnknown(m)
}
var xxx_messageInfo_SensorReading_Device proto.InternalMessageInfo
func (m *SensorReading_Device) GetDeviceID() string {
if m != nil {
return m.DeviceID
}
return ""
}
func (m *SensorReading_Device) GetEnabled() bool {
if m != nil {
return m.Enabled
}
return false
}
func init() {
proto.RegisterType((*SensorReading)(nil), "io.confluent.cloud.demo.domain.SensorReading")
proto.RegisterType((*SensorReading_Device)(nil), "io.confluent.cloud.demo.domain.SensorReading.Device")
}
func init() { proto.RegisterFile("SensorReading.proto", fileDescriptor_43041f5353350540) }
var fileDescriptor_43041f5353350540 = []byte{
// 194 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x31, 0x0f, 0x82, 0x30,
0x10, 0x46, 0x53, 0x31, 0x15, 0x6b, 0x5c, 0xea, 0xd2, 0x30, 0x18, 0xe2, 0xc4, 0xd4, 0x41, 0x9d,
0x1d, 0x0c, 0x8b, 0x89, 0x53, 0x75, 0x72, 0x2b, 0xf4, 0x34, 0x4d, 0xa0, 0x67, 0x10, 0xfc, 0xa3,
0xfe, 0x21, 0x43, 0x15, 0x0c, 0x8b, 0x5b, 0xdf, 0xf0, 0x5e, 0xbf, 0x1c, 0x5b, 0x9c, 0xc0, 0x3d,
0xb0, 0x52, 0xa0, 0x8d, 0x75, 0x37, 0x79, 0xaf, 0xb0, 0x46, 0xbe, 0xb4, 0x28, 0x73, 0x74, 0xd7,
0xa2, 0x01, 0x57, 0xcb, 0xbc, 0xc0, 0xc6, 0x48, 0x03, 0x25, 0x4a, 0x83, 0xa5, 0xb6, 0x6e, 0xf5,
0x22, 0x6c, 0x3e, 0xf0, 0xf8, 0x91, 0x51, 0x03, 0x4f, 0x9b, 0x83, 0x20, 0x31, 0x49, 0x66, 0xeb,
0xad, 0xfc, 0x9f, 0x90, 0xc3, 0x6f, 0x53, 0xef, 0xaa, 0x6f, 0x83, 0x47, 0x2c, 0x34, 0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