github.com/simpleiot/simpleiot@v0.18.3/internal/pb/point.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.26.0 4 // protoc v3.21.12 5 // source: point.proto 6 7 package pb 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type Point struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 30 Value float64 `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"` 31 Time *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"` 32 Text string `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"` 33 Key string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` 34 Tombstone int32 `protobuf:"varint,12,opt,name=tombstone,proto3" json:"tombstone,omitempty"` 35 Data []byte `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"` 36 Origin string `protobuf:"bytes,15,opt,name=origin,proto3" json:"origin,omitempty"` 37 } 38 39 func (x *Point) Reset() { 40 *x = Point{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_point_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *Point) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*Point) ProtoMessage() {} 53 54 func (x *Point) ProtoReflect() protoreflect.Message { 55 mi := &file_point_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use Point.ProtoReflect.Descriptor instead. 67 func (*Point) Descriptor() ([]byte, []int) { 68 return file_point_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *Point) GetType() string { 72 if x != nil { 73 return x.Type 74 } 75 return "" 76 } 77 78 func (x *Point) GetValue() float64 { 79 if x != nil { 80 return x.Value 81 } 82 return 0 83 } 84 85 func (x *Point) GetTime() *timestamppb.Timestamp { 86 if x != nil { 87 return x.Time 88 } 89 return nil 90 } 91 92 func (x *Point) GetText() string { 93 if x != nil { 94 return x.Text 95 } 96 return "" 97 } 98 99 func (x *Point) GetKey() string { 100 if x != nil { 101 return x.Key 102 } 103 return "" 104 } 105 106 func (x *Point) GetTombstone() int32 { 107 if x != nil { 108 return x.Tombstone 109 } 110 return 0 111 } 112 113 func (x *Point) GetData() []byte { 114 if x != nil { 115 return x.Data 116 } 117 return nil 118 } 119 120 func (x *Point) GetOrigin() string { 121 if x != nil { 122 return x.Origin 123 } 124 return "" 125 } 126 127 type Points struct { 128 state protoimpl.MessageState 129 sizeCache protoimpl.SizeCache 130 unknownFields protoimpl.UnknownFields 131 132 Points []*Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` 133 } 134 135 func (x *Points) Reset() { 136 *x = Points{} 137 if protoimpl.UnsafeEnabled { 138 mi := &file_point_proto_msgTypes[1] 139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 140 ms.StoreMessageInfo(mi) 141 } 142 } 143 144 func (x *Points) String() string { 145 return protoimpl.X.MessageStringOf(x) 146 } 147 148 func (*Points) ProtoMessage() {} 149 150 func (x *Points) ProtoReflect() protoreflect.Message { 151 mi := &file_point_proto_msgTypes[1] 152 if protoimpl.UnsafeEnabled && x != nil { 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 if ms.LoadMessageInfo() == nil { 155 ms.StoreMessageInfo(mi) 156 } 157 return ms 158 } 159 return mi.MessageOf(x) 160 } 161 162 // Deprecated: Use Points.ProtoReflect.Descriptor instead. 163 func (*Points) Descriptor() ([]byte, []int) { 164 return file_point_proto_rawDescGZIP(), []int{1} 165 } 166 167 func (x *Points) GetPoints() []*Point { 168 if x != nil { 169 return x.Points 170 } 171 return nil 172 } 173 174 type SerialPoint struct { 175 state protoimpl.MessageState 176 sizeCache protoimpl.SizeCache 177 unknownFields protoimpl.UnknownFields 178 179 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 180 Value float32 `protobuf:"fixed32,4,opt,name=value,proto3" json:"value,omitempty"` 181 Time int64 `protobuf:"varint,16,opt,name=time,proto3" json:"time,omitempty"` 182 Text string `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"` 183 Key string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"` 184 Tombstone int32 `protobuf:"varint,12,opt,name=tombstone,proto3" json:"tombstone,omitempty"` 185 Data []byte `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"` 186 Origin string `protobuf:"bytes,15,opt,name=origin,proto3" json:"origin,omitempty"` 187 } 188 189 func (x *SerialPoint) Reset() { 190 *x = SerialPoint{} 191 if protoimpl.UnsafeEnabled { 192 mi := &file_point_proto_msgTypes[2] 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 ms.StoreMessageInfo(mi) 195 } 196 } 197 198 func (x *SerialPoint) String() string { 199 return protoimpl.X.MessageStringOf(x) 200 } 201 202 func (*SerialPoint) ProtoMessage() {} 203 204 func (x *SerialPoint) ProtoReflect() protoreflect.Message { 205 mi := &file_point_proto_msgTypes[2] 206 if protoimpl.UnsafeEnabled && x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214 } 215 216 // Deprecated: Use SerialPoint.ProtoReflect.Descriptor instead. 217 func (*SerialPoint) Descriptor() ([]byte, []int) { 218 return file_point_proto_rawDescGZIP(), []int{2} 219 } 220 221 func (x *SerialPoint) GetType() string { 222 if x != nil { 223 return x.Type 224 } 225 return "" 226 } 227 228 func (x *SerialPoint) GetValue() float32 { 229 if x != nil { 230 return x.Value 231 } 232 return 0 233 } 234 235 func (x *SerialPoint) GetTime() int64 { 236 if x != nil { 237 return x.Time 238 } 239 return 0 240 } 241 242 func (x *SerialPoint) GetText() string { 243 if x != nil { 244 return x.Text 245 } 246 return "" 247 } 248 249 func (x *SerialPoint) GetKey() string { 250 if x != nil { 251 return x.Key 252 } 253 return "" 254 } 255 256 func (x *SerialPoint) GetTombstone() int32 { 257 if x != nil { 258 return x.Tombstone 259 } 260 return 0 261 } 262 263 func (x *SerialPoint) GetData() []byte { 264 if x != nil { 265 return x.Data 266 } 267 return nil 268 } 269 270 func (x *SerialPoint) GetOrigin() string { 271 if x != nil { 272 return x.Origin 273 } 274 return "" 275 } 276 277 type SerialPoints struct { 278 state protoimpl.MessageState 279 sizeCache protoimpl.SizeCache 280 unknownFields protoimpl.UnknownFields 281 282 Points []*SerialPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` 283 } 284 285 func (x *SerialPoints) Reset() { 286 *x = SerialPoints{} 287 if protoimpl.UnsafeEnabled { 288 mi := &file_point_proto_msgTypes[3] 289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 290 ms.StoreMessageInfo(mi) 291 } 292 } 293 294 func (x *SerialPoints) String() string { 295 return protoimpl.X.MessageStringOf(x) 296 } 297 298 func (*SerialPoints) ProtoMessage() {} 299 300 func (x *SerialPoints) ProtoReflect() protoreflect.Message { 301 mi := &file_point_proto_msgTypes[3] 302 if protoimpl.UnsafeEnabled && x != nil { 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 if ms.LoadMessageInfo() == nil { 305 ms.StoreMessageInfo(mi) 306 } 307 return ms 308 } 309 return mi.MessageOf(x) 310 } 311 312 // Deprecated: Use SerialPoints.ProtoReflect.Descriptor instead. 313 func (*SerialPoints) Descriptor() ([]byte, []int) { 314 return file_point_proto_rawDescGZIP(), []int{3} 315 } 316 317 func (x *SerialPoints) GetPoints() []*SerialPoint { 318 if x != nil { 319 return x.Points 320 } 321 return nil 322 } 323 324 type PointArray struct { 325 state protoimpl.MessageState 326 sizeCache protoimpl.SizeCache 327 unknownFields protoimpl.UnknownFields 328 329 Starttime uint64 `protobuf:"varint,1,opt,name=starttime,proto3" json:"starttime,omitempty"` 330 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 331 Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` 332 Samplerate float32 `protobuf:"fixed32,4,opt,name=samplerate,proto3" json:"samplerate,omitempty"` 333 Values []float32 `protobuf:"fixed32,5,rep,packed,name=values,proto3" json:"values,omitempty"` 334 } 335 336 func (x *PointArray) Reset() { 337 *x = PointArray{} 338 if protoimpl.UnsafeEnabled { 339 mi := &file_point_proto_msgTypes[4] 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 ms.StoreMessageInfo(mi) 342 } 343 } 344 345 func (x *PointArray) String() string { 346 return protoimpl.X.MessageStringOf(x) 347 } 348 349 func (*PointArray) ProtoMessage() {} 350 351 func (x *PointArray) ProtoReflect() protoreflect.Message { 352 mi := &file_point_proto_msgTypes[4] 353 if protoimpl.UnsafeEnabled && x != nil { 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 if ms.LoadMessageInfo() == nil { 356 ms.StoreMessageInfo(mi) 357 } 358 return ms 359 } 360 return mi.MessageOf(x) 361 } 362 363 // Deprecated: Use PointArray.ProtoReflect.Descriptor instead. 364 func (*PointArray) Descriptor() ([]byte, []int) { 365 return file_point_proto_rawDescGZIP(), []int{4} 366 } 367 368 func (x *PointArray) GetStarttime() uint64 { 369 if x != nil { 370 return x.Starttime 371 } 372 return 0 373 } 374 375 func (x *PointArray) GetType() string { 376 if x != nil { 377 return x.Type 378 } 379 return "" 380 } 381 382 func (x *PointArray) GetKey() string { 383 if x != nil { 384 return x.Key 385 } 386 return "" 387 } 388 389 func (x *PointArray) GetSamplerate() float32 { 390 if x != nil { 391 return x.Samplerate 392 } 393 return 0 394 } 395 396 func (x *PointArray) GetValues() []float32 { 397 if x != nil { 398 return x.Values 399 } 400 return nil 401 } 402 403 var File_point_proto protoreflect.FileDescriptor 404 405 var file_point_proto_rawDesc = []byte{ 406 0x0a, 0x0b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 407 0x62, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 408 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 409 0x74, 0x6f, 0x22, 0xd1, 0x01, 0x0a, 0x05, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 410 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 411 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 412 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 413 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 414 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 415 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x08, 416 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 417 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 418 0x74, 0x6f, 0x6d, 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 419 0x09, 0x74, 0x6f, 0x6d, 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 420 0x74, 0x61, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 421 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 422 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x2b, 0x0a, 0x06, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 423 0x12, 0x21, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 424 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x6f, 0x69, 425 0x6e, 0x74, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x50, 0x6f, 426 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 427 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 428 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 429 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 430 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 431 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 432 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x6d, 0x62, 0x73, 433 0x74, 0x6f, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x6d, 0x62, 434 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0e, 0x20, 435 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x69, 436 0x67, 0x69, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 437 0x6e, 0x22, 0x37, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 438 0x73, 0x12, 0x27, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 439 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x50, 0x6f, 0x69, 440 0x6e, 0x74, 0x52, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x88, 0x01, 0x0a, 0x0a, 0x50, 441 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x72, 0x72, 0x61, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 442 0x72, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 443 0x61, 0x72, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 444 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 445 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 446 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 447 0x02, 0x52, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 448 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x02, 0x52, 0x06, 0x76, 449 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x0d, 0x5a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 450 0x6c, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 451 } 452 453 var ( 454 file_point_proto_rawDescOnce sync.Once 455 file_point_proto_rawDescData = file_point_proto_rawDesc 456 ) 457 458 func file_point_proto_rawDescGZIP() []byte { 459 file_point_proto_rawDescOnce.Do(func() { 460 file_point_proto_rawDescData = protoimpl.X.CompressGZIP(file_point_proto_rawDescData) 461 }) 462 return file_point_proto_rawDescData 463 } 464 465 var file_point_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 466 var file_point_proto_goTypes = []interface{}{ 467 (*Point)(nil), // 0: pb.Point 468 (*Points)(nil), // 1: pb.Points 469 (*SerialPoint)(nil), // 2: pb.SerialPoint 470 (*SerialPoints)(nil), // 3: pb.SerialPoints 471 (*PointArray)(nil), // 4: pb.PointArray 472 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp 473 } 474 var file_point_proto_depIdxs = []int32{ 475 5, // 0: pb.Point.time:type_name -> google.protobuf.Timestamp 476 0, // 1: pb.Points.points:type_name -> pb.Point 477 2, // 2: pb.SerialPoints.points:type_name -> pb.SerialPoint 478 3, // [3:3] is the sub-list for method output_type 479 3, // [3:3] is the sub-list for method input_type 480 3, // [3:3] is the sub-list for extension type_name 481 3, // [3:3] is the sub-list for extension extendee 482 0, // [0:3] is the sub-list for field type_name 483 } 484 485 func init() { file_point_proto_init() } 486 func file_point_proto_init() { 487 if File_point_proto != nil { 488 return 489 } 490 if !protoimpl.UnsafeEnabled { 491 file_point_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 492 switch v := v.(*Point); i { 493 case 0: 494 return &v.state 495 case 1: 496 return &v.sizeCache 497 case 2: 498 return &v.unknownFields 499 default: 500 return nil 501 } 502 } 503 file_point_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 504 switch v := v.(*Points); i { 505 case 0: 506 return &v.state 507 case 1: 508 return &v.sizeCache 509 case 2: 510 return &v.unknownFields 511 default: 512 return nil 513 } 514 } 515 file_point_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 516 switch v := v.(*SerialPoint); i { 517 case 0: 518 return &v.state 519 case 1: 520 return &v.sizeCache 521 case 2: 522 return &v.unknownFields 523 default: 524 return nil 525 } 526 } 527 file_point_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 528 switch v := v.(*SerialPoints); i { 529 case 0: 530 return &v.state 531 case 1: 532 return &v.sizeCache 533 case 2: 534 return &v.unknownFields 535 default: 536 return nil 537 } 538 } 539 file_point_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 540 switch v := v.(*PointArray); i { 541 case 0: 542 return &v.state 543 case 1: 544 return &v.sizeCache 545 case 2: 546 return &v.unknownFields 547 default: 548 return nil 549 } 550 } 551 } 552 type x struct{} 553 out := protoimpl.TypeBuilder{ 554 File: protoimpl.DescBuilder{ 555 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 556 RawDescriptor: file_point_proto_rawDesc, 557 NumEnums: 0, 558 NumMessages: 5, 559 NumExtensions: 0, 560 NumServices: 0, 561 }, 562 GoTypes: file_point_proto_goTypes, 563 DependencyIndexes: file_point_proto_depIdxs, 564 MessageInfos: file_point_proto_msgTypes, 565 }.Build() 566 File_point_proto = out.File 567 file_point_proto_rawDesc = nil 568 file_point_proto_goTypes = nil 569 file_point_proto_depIdxs = nil 570 }