-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchannels.pb.go
762 lines (678 loc) · 26.7 KB
/
channels.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: channels.proto
package thingfulx
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
// Visibility defines an access level for a resource using definitions provided
// by the ODI. Open means accessible without authentication, Shared is publicly
// accessible provided some registration and authentication process is followed,
// and Closed means the resource is private, only accessible with explicit
// permission.
type Visibility int32
const (
Visibility_OPEN Visibility = 0
Visibility_SHARED Visibility = 1
Visibility_CLOSED Visibility = 3
)
var Visibility_name = map[int32]string{
0: "OPEN",
1: "SHARED",
3: "CLOSED",
}
var Visibility_value = map[string]int32{
"OPEN": 0,
"SHARED": 1,
"CLOSED": 3,
}
func (x Visibility) String() string {
return proto.EnumName(Visibility_name, int32(x))
}
func (Visibility) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{0}
}
// The DataType enum is used to encode information about the data type of the
// values returned in the repeated Observations list.
type DataType int32
const (
DataType_NUMBER DataType = 0
DataType_INTEGER DataType = 1
DataType_STRING DataType = 2
DataType_DATE_TIME DataType = 3
DataType_TIME DataType = 4
DataType_BOOLEAN DataType = 5
DataType_BYTES DataType = 6
DataType_UNKNOWN DataType = 7
)
var DataType_name = map[int32]string{
0: "NUMBER",
1: "INTEGER",
2: "STRING",
3: "DATE_TIME",
4: "TIME",
5: "BOOLEAN",
6: "BYTES",
7: "UNKNOWN",
}
var DataType_value = map[string]int32{
"NUMBER": 0,
"INTEGER": 1,
"STRING": 2,
"DATE_TIME": 3,
"TIME": 4,
"BOOLEAN": 5,
"BYTES": 6,
"UNKNOWN": 7,
}
func (x DataType) String() string {
return proto.EnumName(DataType_name, int32(x))
}
func (DataType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{1}
}
// Channel represents a single data channel being provided by an IoT device
// somewhere in the world.
type Channel struct {
// URL contains a unique URL for the Channel that must be the URL at which the
// Channel's data is available
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Title contains a unique (if possible) title for the Channel
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// Description contains a human centered description of the Channel if
// available.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Webpage contains a human centered web resource where information about the
// specific device providing the Channel may be found
Webpage string `protobuf:"bytes,4,opt,name=webpage,proto3" json:"webpage,omitempty"`
// IndexedAt contains an RFC3339 timestamp showing when the Channel was
// indexed
IndexedAt string `protobuf:"bytes,5,opt,name=indexed_at,json=indexedAt,proto3" json:"indexed_at,omitempty"`
// Location contains the geographical location of the Channel
Location *Location `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
// Provider contains information about the data provider
Provider *Provider `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`
// Metadata contains an optional list of metadata about the Channel
Metadata []*Metadata `protobuf:"bytes,8,rep,name=metadata,proto3" json:"metadata,omitempty"`
// Visibility returns the visibility status of the Channel. Can be one of OPEN
// - open API freely accessible with no authentication, SHARED - available via
// a public API provided suitable authentication is supplied, or CLOSED - only
// available via a private API. This is a required field.
Visibility Visibility `protobuf:"varint,9,opt,name=visibility,proto3,enum=thingfulx.protobuf.Visibility" json:"visibility,omitempty"`
// DataLicense returns the unique identifying URL of a specific data license
// that the data provider has chosen to apply to their data. This is an
// optional field.
DataLicense *DataLicense `protobuf:"bytes,10,opt,name=data_license,json=dataLicense,proto3" json:"data_license,omitempty"`
// Attributions contains a list of attributions we require to add to a
// channel. Typically there will only be one, but some providers may require
// multiple attributions.
Attributions []*Attribution `protobuf:"bytes,11,rep,name=attributions,proto3" json:"attributions,omitempty"`
// UpdateInterval returns the update frequency of the data resource expressed
// as an integer number of seconds.
UpdateInterval int32 `protobuf:"varint,12,opt,name=update_interval,json=updateInterval,proto3" json:"update_interval,omitempty"`
// QuantityKind is used to describe the specific physical quantity kind this
// channel measures. This will be expressed as a namespaced string, i.e.
// m3-lite:AirTemperature where this compressed string can be expanded to URL
// that uniquely identifies the quantity kind.
QuantityKind string `protobuf:"bytes,13,opt,name=quantity_kind,json=quantityKind,proto3" json:"quantity_kind,omitempty"`
// Unit is used to describe the unit in which the Channel publishes its data.
// This will be expressed as a namespaced string, i.e. m3-lite:DegreeCelsius
// which can be expanded to a URL that uniqely identifies the unit, and can be
// used to obtain the symbol or to do conversions.
Unit string `protobuf:"bytes,14,opt,name=unit,proto3" json:"unit,omitempty"`
// DomainOfInterest is used to describe the broad category of the channel, and
// as above will be expressed as a namespaced string, i.e.
// m3-lite:Environment, which as above can be expanded.
DomainOfInterest []string `protobuf:"bytes,15,rep,name=domain_of_interest,json=domainOfInterest,proto3" json:"domain_of_interest,omitempty"`
// MeasuredBy is used to describe the type of sensor that was used to obtain
// the channel's data. Expressed as a namespaced string, i.e.
// m3-lite:Seismometer.
MeasuredBy string `protobuf:"bytes,16,opt,name=measured_by,json=measuredBy,proto3" json:"measured_by,omitempty"`
// DataType is used to encode the type of the value contained in each
// observation.
DataType DataType `protobuf:"varint,17,opt,name=data_type,json=dataType,proto3,enum=thingfulx.protobuf.DataType" json:"data_type,omitempty"`
// Observations returns a list of data observation values that represent
// concrete data recordings for the Channel.
Observations []*Observation `protobuf:"bytes,18,rep,name=observations,proto3" json:"observations,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Channel) Reset() { *m = Channel{} }
func (m *Channel) String() string { return proto.CompactTextString(m) }
func (*Channel) ProtoMessage() {}
func (*Channel) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{0}
}
func (m *Channel) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Channel.Unmarshal(m, b)
}
func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Channel.Marshal(b, m, deterministic)
}
func (m *Channel) XXX_Merge(src proto.Message) {
xxx_messageInfo_Channel.Merge(m, src)
}
func (m *Channel) XXX_Size() int {
return xxx_messageInfo_Channel.Size(m)
}
func (m *Channel) XXX_DiscardUnknown() {
xxx_messageInfo_Channel.DiscardUnknown(m)
}
var xxx_messageInfo_Channel proto.InternalMessageInfo
func (m *Channel) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *Channel) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func (m *Channel) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Channel) GetWebpage() string {
if m != nil {
return m.Webpage
}
return ""
}
func (m *Channel) GetIndexedAt() string {
if m != nil {
return m.IndexedAt
}
return ""
}
func (m *Channel) GetLocation() *Location {
if m != nil {
return m.Location
}
return nil
}
func (m *Channel) GetProvider() *Provider {
if m != nil {
return m.Provider
}
return nil
}
func (m *Channel) GetMetadata() []*Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *Channel) GetVisibility() Visibility {
if m != nil {
return m.Visibility
}
return Visibility_OPEN
}
func (m *Channel) GetDataLicense() *DataLicense {
if m != nil {
return m.DataLicense
}
return nil
}
func (m *Channel) GetAttributions() []*Attribution {
if m != nil {
return m.Attributions
}
return nil
}
func (m *Channel) GetUpdateInterval() int32 {
if m != nil {
return m.UpdateInterval
}
return 0
}
func (m *Channel) GetQuantityKind() string {
if m != nil {
return m.QuantityKind
}
return ""
}
func (m *Channel) GetUnit() string {
if m != nil {
return m.Unit
}
return ""
}
func (m *Channel) GetDomainOfInterest() []string {
if m != nil {
return m.DomainOfInterest
}
return nil
}
func (m *Channel) GetMeasuredBy() string {
if m != nil {
return m.MeasuredBy
}
return ""
}
func (m *Channel) GetDataType() DataType {
if m != nil {
return m.DataType
}
return DataType_NUMBER
}
func (m *Channel) GetObservations() []*Observation {
if m != nil {
return m.Observations
}
return nil
}
// Attribution is a message type used to add attributions to a Channel.
type Attribution struct {
// Name is the name of at attribution
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
// URL is the URL of the attribution
URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Attribution) Reset() { *m = Attribution{} }
func (m *Attribution) String() string { return proto.CompactTextString(m) }
func (*Attribution) ProtoMessage() {}
func (*Attribution) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{1}
}
func (m *Attribution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Attribution.Unmarshal(m, b)
}
func (m *Attribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Attribution.Marshal(b, m, deterministic)
}
func (m *Attribution) XXX_Merge(src proto.Message) {
xxx_messageInfo_Attribution.Merge(m, src)
}
func (m *Attribution) XXX_Size() int {
return xxx_messageInfo_Attribution.Size(m)
}
func (m *Attribution) XXX_DiscardUnknown() {
xxx_messageInfo_Attribution.DiscardUnknown(m)
}
var xxx_messageInfo_Attribution proto.InternalMessageInfo
func (m *Attribution) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Attribution) GetURL() string {
if m != nil {
return m.URL
}
return ""
}
// Location is a message type used to describe a physical location
type Location struct {
// Longitude contains the decimal longitude of a geographical location
Longitude float32 `protobuf:"fixed32,1,opt,name=longitude,proto3" json:"longitude,omitempty"`
// Latitude contains the decimal latitude of a geographical location
Latitude float32 `protobuf:"fixed32,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Location) Reset() { *m = Location{} }
func (m *Location) String() string { return proto.CompactTextString(m) }
func (*Location) ProtoMessage() {}
func (*Location) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{2}
}
func (m *Location) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Location.Unmarshal(m, b)
}
func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Location.Marshal(b, m, deterministic)
}
func (m *Location) XXX_Merge(src proto.Message) {
xxx_messageInfo_Location.Merge(m, src)
}
func (m *Location) XXX_Size() int {
return xxx_messageInfo_Location.Size(m)
}
func (m *Location) XXX_DiscardUnknown() {
xxx_messageInfo_Location.DiscardUnknown(m)
}
var xxx_messageInfo_Location proto.InternalMessageInfo
func (m *Location) GetLongitude() float32 {
if m != nil {
return m.Longitude
}
return 0
}
func (m *Location) GetLatitude() float32 {
if m != nil {
return m.Latitude
}
return 0
}
// Metadata is a message type used to describe arbitrary metadata properties for
// a Channel
type Metadata struct {
// Property contains a namespaced property of a channel that we wish to
// describe.
Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
// Value contains the value we wish to assign to that property in order to
// correctly describe some aspect of the Channel
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Metadata) Reset() { *m = Metadata{} }
func (m *Metadata) String() string { return proto.CompactTextString(m) }
func (*Metadata) ProtoMessage() {}
func (*Metadata) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{3}
}
func (m *Metadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Metadata.Unmarshal(m, b)
}
func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Metadata.Marshal(b, m, deterministic)
}
func (m *Metadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_Metadata.Merge(m, src)
}
func (m *Metadata) XXX_Size() int {
return xxx_messageInfo_Metadata.Size(m)
}
func (m *Metadata) XXX_DiscardUnknown() {
xxx_messageInfo_Metadata.DiscardUnknown(m)
}
var xxx_messageInfo_Metadata proto.InternalMessageInfo
func (m *Metadata) GetProperty() string {
if m != nil {
return m.Property
}
return ""
}
func (m *Metadata) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
// Observation is a messages used to record a single data value at a point in
// time for a channel
type Observation struct {
// RecordedAt records the timestamp at which the observation was recorded in
// UTC and expressed as an RFC3339 string.
RecordedAt string `protobuf:"bytes,1,opt,name=recorded_at,json=recordedAt,proto3" json:"recorded_at,omitempty"`
// Each Observation must include its own location as this allows us to place
// an observation in a particular place at a particular time which may be
// different from the current location of the Channel.
Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
// Value includes the actual value of the Observation at the instant of time
// encoded as a string.
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Observation) Reset() { *m = Observation{} }
func (m *Observation) String() string { return proto.CompactTextString(m) }
func (*Observation) ProtoMessage() {}
func (*Observation) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{4}
}
func (m *Observation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Observation.Unmarshal(m, b)
}
func (m *Observation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Observation.Marshal(b, m, deterministic)
}
func (m *Observation) XXX_Merge(src proto.Message) {
xxx_messageInfo_Observation.Merge(m, src)
}
func (m *Observation) XXX_Size() int {
return xxx_messageInfo_Observation.Size(m)
}
func (m *Observation) XXX_DiscardUnknown() {
xxx_messageInfo_Observation.DiscardUnknown(m)
}
var xxx_messageInfo_Observation proto.InternalMessageInfo
func (m *Observation) GetRecordedAt() string {
if m != nil {
return m.RecordedAt
}
return ""
}
func (m *Observation) GetLocation() *Location {
if m != nil {
return m.Location
}
return nil
}
func (m *Observation) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
// DataLicense is a message used to describe the properties of a data license
type DataLicense struct {
// Name is a human friendly label or name for the data license.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Url is a unique identifier for the license that should also be the URL
// where the text of the license is available.
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// LegalCodeUrl is a link to a long or legal version of the license. This may
// be the same as the above URL if no more detailed version is available.
LegalCodeUrl string `protobuf:"bytes,3,opt,name=legal_code_url,json=legalCodeUrl,proto3" json:"legal_code_url,omitempty"`
// Permits is a list of properties which define what usage the license
// permits.
Permits []string `protobuf:"bytes,4,rep,name=permits,proto3" json:"permits,omitempty"`
// Requires is a list of properties which define what requirements the license
// has.
Requires []string `protobuf:"bytes,5,rep,name=requires,proto3" json:"requires,omitempty"`
// Permits is a list of properties which define what the license prohibits
Prohibits []string `protobuf:"bytes,6,rep,name=prohibits,proto3" json:"prohibits,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DataLicense) Reset() { *m = DataLicense{} }
func (m *DataLicense) String() string { return proto.CompactTextString(m) }
func (*DataLicense) ProtoMessage() {}
func (*DataLicense) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{5}
}
func (m *DataLicense) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DataLicense.Unmarshal(m, b)
}
func (m *DataLicense) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DataLicense.Marshal(b, m, deterministic)
}
func (m *DataLicense) XXX_Merge(src proto.Message) {
xxx_messageInfo_DataLicense.Merge(m, src)
}
func (m *DataLicense) XXX_Size() int {
return xxx_messageInfo_DataLicense.Size(m)
}
func (m *DataLicense) XXX_DiscardUnknown() {
xxx_messageInfo_DataLicense.DiscardUnknown(m)
}
var xxx_messageInfo_DataLicense proto.InternalMessageInfo
func (m *DataLicense) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *DataLicense) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *DataLicense) GetLegalCodeUrl() string {
if m != nil {
return m.LegalCodeUrl
}
return ""
}
func (m *DataLicense) GetPermits() []string {
if m != nil {
return m.Permits
}
return nil
}
func (m *DataLicense) GetRequires() []string {
if m != nil {
return m.Requires
}
return nil
}
func (m *DataLicense) GetProhibits() []string {
if m != nil {
return m.Prohibits
}
return nil
}
// Provider is a type used to describe the provider of a dataset
type Provider struct {
// Uid is a unique identifier for the data provider
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
// Name is a human friendly label for the data provider
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Description is a longer form description of the data provider
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Webpage should contain a link to a public webpage describing the provider
Webpage string `protobuf:"bytes,4,opt,name=webpage,proto3" json:"webpage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Provider) Reset() { *m = Provider{} }
func (m *Provider) String() string { return proto.CompactTextString(m) }
func (*Provider) ProtoMessage() {}
func (*Provider) Descriptor() ([]byte, []int) {
return fileDescriptor_6eb5b11d5b15e5ec, []int{6}
}
func (m *Provider) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Provider.Unmarshal(m, b)
}
func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Provider.Marshal(b, m, deterministic)
}
func (m *Provider) XXX_Merge(src proto.Message) {
xxx_messageInfo_Provider.Merge(m, src)
}
func (m *Provider) XXX_Size() int {
return xxx_messageInfo_Provider.Size(m)
}
func (m *Provider) XXX_DiscardUnknown() {
xxx_messageInfo_Provider.DiscardUnknown(m)
}
var xxx_messageInfo_Provider proto.InternalMessageInfo
func (m *Provider) GetUid() string {
if m != nil {
return m.Uid
}
return ""
}
func (m *Provider) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Provider) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Provider) GetWebpage() string {
if m != nil {
return m.Webpage
}
return ""
}
func init() {
proto.RegisterEnum("thingfulx.protobuf.Visibility", Visibility_name, Visibility_value)
proto.RegisterEnum("thingfulx.protobuf.DataType", DataType_name, DataType_value)
proto.RegisterType((*Channel)(nil), "thingfulx.protobuf.Channel")
proto.RegisterType((*Attribution)(nil), "thingfulx.protobuf.Attribution")
proto.RegisterType((*Location)(nil), "thingfulx.protobuf.Location")
proto.RegisterType((*Metadata)(nil), "thingfulx.protobuf.Metadata")
proto.RegisterType((*Observation)(nil), "thingfulx.protobuf.Observation")
proto.RegisterType((*DataLicense)(nil), "thingfulx.protobuf.DataLicense")
proto.RegisterType((*Provider)(nil), "thingfulx.protobuf.Provider")
}
func init() { proto.RegisterFile("channels.proto", fileDescriptor_6eb5b11d5b15e5ec) }
var fileDescriptor_6eb5b11d5b15e5ec = []byte{
// 803 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x4d, 0x8f, 0xe3, 0x44,
0x10, 0xdd, 0x7c, 0xdb, 0xe5, 0x4c, 0xd6, 0xb4, 0x38, 0xb4, 0xd0, 0x2c, 0x13, 0x05, 0x24, 0xa2,
0x15, 0x0a, 0xd2, 0xee, 0x05, 0x24, 0x84, 0x94, 0xcc, 0x58, 0x4b, 0x76, 0x33, 0xce, 0xaa, 0x27,
0x03, 0x82, 0x8b, 0xd5, 0x4e, 0xf7, 0x64, 0x5a, 0x38, 0xb6, 0xb7, 0xdd, 0x1e, 0x26, 0x17, 0xfe,
0x11, 0x37, 0x7e, 0x20, 0xea, 0xf6, 0x47, 0xbc, 0x30, 0x39, 0x20, 0x6e, 0x55, 0xaf, 0xea, 0x95,
0xab, 0x9f, 0xab, 0x0a, 0x46, 0xdb, 0x7b, 0x1a, 0xc7, 0x3c, 0xca, 0x66, 0xa9, 0x4c, 0x54, 0x82,
0x90, 0xba, 0x17, 0xf1, 0xee, 0x2e, 0x8f, 0x1e, 0x0b, 0x20, 0xcc, 0xef, 0x26, 0x7f, 0xf5, 0x61,
0x70, 0x59, 0xa4, 0x21, 0x17, 0x3a, 0xb9, 0x8c, 0x70, 0x6b, 0xdc, 0x9a, 0xda, 0x44, 0x9b, 0xe8,
0x53, 0xe8, 0x29, 0xa1, 0x22, 0x8e, 0xdb, 0x06, 0x2b, 0x1c, 0x34, 0x06, 0x87, 0xf1, 0x6c, 0x2b,
0x45, 0xaa, 0x44, 0x12, 0xe3, 0x8e, 0x89, 0x35, 0x21, 0x84, 0x61, 0xf0, 0x3b, 0x0f, 0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