-
Notifications
You must be signed in to change notification settings - Fork 302
/
packetbrokeragent.pb.go
3600 lines (3355 loc) · 138 KB
/
packetbrokeragent.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
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: lorawan-stack/api/packetbrokeragent.proto
package ttnpb
import (
context "context"
fmt "fmt"
_ "github.com/envoyproxy/protoc-gen-validate/validate"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
golang_proto "github.com/golang/protobuf/proto"
go_thethings_network_lorawan_stack_v3_pkg_types "go.thethings.network/lorawan-stack/v3/pkg/types"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
reflect "reflect"
strings "strings"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = golang_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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// Gateway respresentation for Packet Broker.
// This is a subset and superset of the Gateway message using the same data types and field tags to achieve initial wire compatibility.
// There is no (longer) wire compatibility needed; new fields may use any tag.
type PacketBrokerGateway struct {
Ids *PacketBrokerGateway_GatewayIdentifiers `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"`
ContactInfo []*ContactInfo `protobuf:"bytes,7,rep,name=contact_info,json=contactInfo,proto3" json:"contact_info,omitempty"`
Antennas []*GatewayAntenna `protobuf:"bytes,13,rep,name=antennas,proto3" json:"antennas,omitempty"`
StatusPublic bool `protobuf:"varint,14,opt,name=status_public,json=statusPublic,proto3" json:"status_public,omitempty"`
LocationPublic bool `protobuf:"varint,15,opt,name=location_public,json=locationPublic,proto3" json:"location_public,omitempty"`
FrequencyPlanIds []string `protobuf:"bytes,20,rep,name=frequency_plan_ids,json=frequencyPlanIds,proto3" json:"frequency_plan_ids,omitempty"`
UpdateLocationFromStatus bool `protobuf:"varint,21,opt,name=update_location_from_status,json=updateLocationFromStatus,proto3" json:"update_location_from_status,omitempty"`
Online bool `protobuf:"varint,28,opt,name=online,proto3" json:"online,omitempty"`
// Received packets rate (number of packets per hour).
// This field gets updated when a value is set.
RxRate *types.FloatValue `protobuf:"bytes,29,opt,name=rx_rate,json=rxRate,proto3" json:"rx_rate,omitempty"`
// Transmitted packets rate (number of packets per hour).
// This field gets updated when a value is set.
TxRate *types.FloatValue `protobuf:"bytes,30,opt,name=tx_rate,json=txRate,proto3" json:"tx_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerGateway) Reset() { *m = PacketBrokerGateway{} }
func (*PacketBrokerGateway) ProtoMessage() {}
func (*PacketBrokerGateway) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{0}
}
func (m *PacketBrokerGateway) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerGateway.Unmarshal(m, b)
}
func (m *PacketBrokerGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerGateway.Marshal(b, m, deterministic)
}
func (m *PacketBrokerGateway) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerGateway.Merge(m, src)
}
func (m *PacketBrokerGateway) XXX_Size() int {
return xxx_messageInfo_PacketBrokerGateway.Size(m)
}
func (m *PacketBrokerGateway) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerGateway.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerGateway proto.InternalMessageInfo
func (m *PacketBrokerGateway) GetIds() *PacketBrokerGateway_GatewayIdentifiers {
if m != nil {
return m.Ids
}
return nil
}
func (m *PacketBrokerGateway) GetContactInfo() []*ContactInfo {
if m != nil {
return m.ContactInfo
}
return nil
}
func (m *PacketBrokerGateway) GetAntennas() []*GatewayAntenna {
if m != nil {
return m.Antennas
}
return nil
}
func (m *PacketBrokerGateway) GetStatusPublic() bool {
if m != nil {
return m.StatusPublic
}
return false
}
func (m *PacketBrokerGateway) GetLocationPublic() bool {
if m != nil {
return m.LocationPublic
}
return false
}
func (m *PacketBrokerGateway) GetFrequencyPlanIds() []string {
if m != nil {
return m.FrequencyPlanIds
}
return nil
}
func (m *PacketBrokerGateway) GetUpdateLocationFromStatus() bool {
if m != nil {
return m.UpdateLocationFromStatus
}
return false
}
func (m *PacketBrokerGateway) GetOnline() bool {
if m != nil {
return m.Online
}
return false
}
func (m *PacketBrokerGateway) GetRxRate() *types.FloatValue {
if m != nil {
return m.RxRate
}
return nil
}
func (m *PacketBrokerGateway) GetTxRate() *types.FloatValue {
if m != nil {
return m.TxRate
}
return nil
}
type PacketBrokerGateway_GatewayIdentifiers struct {
GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
Eui *go_thethings_network_lorawan_stack_v3_pkg_types.EUI64 `protobuf:"bytes,2,opt,name=eui,proto3,customtype=go.thethings.network/lorawan-stack/v3/pkg/types.EUI64" json:"eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerGateway_GatewayIdentifiers) Reset() {
*m = PacketBrokerGateway_GatewayIdentifiers{}
}
func (*PacketBrokerGateway_GatewayIdentifiers) ProtoMessage() {}
func (*PacketBrokerGateway_GatewayIdentifiers) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{0, 0}
}
func (m *PacketBrokerGateway_GatewayIdentifiers) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerGateway_GatewayIdentifiers.Unmarshal(m, b)
}
func (m *PacketBrokerGateway_GatewayIdentifiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerGateway_GatewayIdentifiers.Marshal(b, m, deterministic)
}
func (m *PacketBrokerGateway_GatewayIdentifiers) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerGateway_GatewayIdentifiers.Merge(m, src)
}
func (m *PacketBrokerGateway_GatewayIdentifiers) XXX_Size() int {
return xxx_messageInfo_PacketBrokerGateway_GatewayIdentifiers.Size(m)
}
func (m *PacketBrokerGateway_GatewayIdentifiers) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerGateway_GatewayIdentifiers.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerGateway_GatewayIdentifiers proto.InternalMessageInfo
func (m *PacketBrokerGateway_GatewayIdentifiers) GetGatewayId() string {
if m != nil {
return m.GatewayId
}
return ""
}
type UpdatePacketBrokerGatewayRequest struct {
Gateway *PacketBrokerGateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
// The names of the gateway fields that are considered for update.
//
// Online status is only updated if status_public is set. If status_public is set and false, the status will be reset.
// If status_public is set and true, the online status is taken from the online field. The return message contains
// the duration online_ttl for how long the gateway is considered online.
//
// Location is only updated if location_public is set. If location_public is set and false, the location will be reset.
// If location_public is set and true, the first antenna location will be used as gateway location.
FieldMask *types.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdatePacketBrokerGatewayRequest) Reset() { *m = UpdatePacketBrokerGatewayRequest{} }
func (*UpdatePacketBrokerGatewayRequest) ProtoMessage() {}
func (*UpdatePacketBrokerGatewayRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{1}
}
func (m *UpdatePacketBrokerGatewayRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdatePacketBrokerGatewayRequest.Unmarshal(m, b)
}
func (m *UpdatePacketBrokerGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdatePacketBrokerGatewayRequest.Marshal(b, m, deterministic)
}
func (m *UpdatePacketBrokerGatewayRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdatePacketBrokerGatewayRequest.Merge(m, src)
}
func (m *UpdatePacketBrokerGatewayRequest) XXX_Size() int {
return xxx_messageInfo_UpdatePacketBrokerGatewayRequest.Size(m)
}
func (m *UpdatePacketBrokerGatewayRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdatePacketBrokerGatewayRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdatePacketBrokerGatewayRequest proto.InternalMessageInfo
func (m *UpdatePacketBrokerGatewayRequest) GetGateway() *PacketBrokerGateway {
if m != nil {
return m.Gateway
}
return nil
}
func (m *UpdatePacketBrokerGatewayRequest) GetFieldMask() *types.FieldMask {
if m != nil {
return m.FieldMask
}
return nil
}
type UpdatePacketBrokerGatewayResponse struct {
// Time to live of the online status.
OnlineTtl *types.Duration `protobuf:"bytes,1,opt,name=online_ttl,json=onlineTtl,proto3" json:"online_ttl,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdatePacketBrokerGatewayResponse) Reset() { *m = UpdatePacketBrokerGatewayResponse{} }
func (*UpdatePacketBrokerGatewayResponse) ProtoMessage() {}
func (*UpdatePacketBrokerGatewayResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{2}
}
func (m *UpdatePacketBrokerGatewayResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdatePacketBrokerGatewayResponse.Unmarshal(m, b)
}
func (m *UpdatePacketBrokerGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdatePacketBrokerGatewayResponse.Marshal(b, m, deterministic)
}
func (m *UpdatePacketBrokerGatewayResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdatePacketBrokerGatewayResponse.Merge(m, src)
}
func (m *UpdatePacketBrokerGatewayResponse) XXX_Size() int {
return xxx_messageInfo_UpdatePacketBrokerGatewayResponse.Size(m)
}
func (m *UpdatePacketBrokerGatewayResponse) XXX_DiscardUnknown() {
xxx_messageInfo_UpdatePacketBrokerGatewayResponse.DiscardUnknown(m)
}
var xxx_messageInfo_UpdatePacketBrokerGatewayResponse proto.InternalMessageInfo
func (m *UpdatePacketBrokerGatewayResponse) GetOnlineTtl() *types.Duration {
if m != nil {
return m.OnlineTtl
}
return nil
}
type PacketBrokerNetworkIdentifier struct {
// LoRa Alliance NetID.
NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"`
// Tenant identifier if the registration leases DevAddr blocks from a NetID.
TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerNetworkIdentifier) Reset() { *m = PacketBrokerNetworkIdentifier{} }
func (*PacketBrokerNetworkIdentifier) ProtoMessage() {}
func (*PacketBrokerNetworkIdentifier) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{3}
}
func (m *PacketBrokerNetworkIdentifier) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerNetworkIdentifier.Unmarshal(m, b)
}
func (m *PacketBrokerNetworkIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerNetworkIdentifier.Marshal(b, m, deterministic)
}
func (m *PacketBrokerNetworkIdentifier) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerNetworkIdentifier.Merge(m, src)
}
func (m *PacketBrokerNetworkIdentifier) XXX_Size() int {
return xxx_messageInfo_PacketBrokerNetworkIdentifier.Size(m)
}
func (m *PacketBrokerNetworkIdentifier) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerNetworkIdentifier.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerNetworkIdentifier proto.InternalMessageInfo
func (m *PacketBrokerNetworkIdentifier) GetNetId() uint32 {
if m != nil {
return m.NetId
}
return 0
}
func (m *PacketBrokerNetworkIdentifier) GetTenantId() string {
if m != nil {
return m.TenantId
}
return ""
}
type PacketBrokerDevAddrBlock struct {
DevAddrPrefix *DevAddrPrefix `protobuf:"bytes,1,opt,name=dev_addr_prefix,json=devAddrPrefix,proto3" json:"dev_addr_prefix,omitempty"`
HomeNetworkClusterId string `protobuf:"bytes,2,opt,name=home_network_cluster_id,json=homeNetworkClusterId,proto3" json:"home_network_cluster_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerDevAddrBlock) Reset() { *m = PacketBrokerDevAddrBlock{} }
func (*PacketBrokerDevAddrBlock) ProtoMessage() {}
func (*PacketBrokerDevAddrBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{4}
}
func (m *PacketBrokerDevAddrBlock) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerDevAddrBlock.Unmarshal(m, b)
}
func (m *PacketBrokerDevAddrBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerDevAddrBlock.Marshal(b, m, deterministic)
}
func (m *PacketBrokerDevAddrBlock) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerDevAddrBlock.Merge(m, src)
}
func (m *PacketBrokerDevAddrBlock) XXX_Size() int {
return xxx_messageInfo_PacketBrokerDevAddrBlock.Size(m)
}
func (m *PacketBrokerDevAddrBlock) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerDevAddrBlock.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerDevAddrBlock proto.InternalMessageInfo
func (m *PacketBrokerDevAddrBlock) GetDevAddrPrefix() *DevAddrPrefix {
if m != nil {
return m.DevAddrPrefix
}
return nil
}
func (m *PacketBrokerDevAddrBlock) GetHomeNetworkClusterId() string {
if m != nil {
return m.HomeNetworkClusterId
}
return ""
}
type PacketBrokerNetwork struct {
// Packet Broker network identifier.
Id *PacketBrokerNetworkIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Name of the network.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// DevAddr blocks that are assigned to this registration.
DevAddrBlocks []*PacketBrokerDevAddrBlock `protobuf:"bytes,3,rep,name=dev_addr_blocks,json=devAddrBlocks,proto3" json:"dev_addr_blocks,omitempty"`
// Contact information.
ContactInfo []*ContactInfo `protobuf:"bytes,4,rep,name=contact_info,json=contactInfo,proto3" json:"contact_info,omitempty"`
// Whether the network is listed so it can be viewed by other networks.
Listed bool `protobuf:"varint,5,opt,name=listed,proto3" json:"listed,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerNetwork) Reset() { *m = PacketBrokerNetwork{} }
func (*PacketBrokerNetwork) ProtoMessage() {}
func (*PacketBrokerNetwork) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{5}
}
func (m *PacketBrokerNetwork) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerNetwork.Unmarshal(m, b)
}
func (m *PacketBrokerNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerNetwork.Marshal(b, m, deterministic)
}
func (m *PacketBrokerNetwork) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerNetwork.Merge(m, src)
}
func (m *PacketBrokerNetwork) XXX_Size() int {
return xxx_messageInfo_PacketBrokerNetwork.Size(m)
}
func (m *PacketBrokerNetwork) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerNetwork.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerNetwork proto.InternalMessageInfo
func (m *PacketBrokerNetwork) GetId() *PacketBrokerNetworkIdentifier {
if m != nil {
return m.Id
}
return nil
}
func (m *PacketBrokerNetwork) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *PacketBrokerNetwork) GetDevAddrBlocks() []*PacketBrokerDevAddrBlock {
if m != nil {
return m.DevAddrBlocks
}
return nil
}
func (m *PacketBrokerNetwork) GetContactInfo() []*ContactInfo {
if m != nil {
return m.ContactInfo
}
return nil
}
func (m *PacketBrokerNetwork) GetListed() bool {
if m != nil {
return m.Listed
}
return false
}
type PacketBrokerNetworks struct {
Networks []*PacketBrokerNetwork `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerNetworks) Reset() { *m = PacketBrokerNetworks{} }
func (*PacketBrokerNetworks) ProtoMessage() {}
func (*PacketBrokerNetworks) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{6}
}
func (m *PacketBrokerNetworks) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerNetworks.Unmarshal(m, b)
}
func (m *PacketBrokerNetworks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerNetworks.Marshal(b, m, deterministic)
}
func (m *PacketBrokerNetworks) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerNetworks.Merge(m, src)
}
func (m *PacketBrokerNetworks) XXX_Size() int {
return xxx_messageInfo_PacketBrokerNetworks.Size(m)
}
func (m *PacketBrokerNetworks) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerNetworks.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerNetworks proto.InternalMessageInfo
func (m *PacketBrokerNetworks) GetNetworks() []*PacketBrokerNetwork {
if m != nil {
return m.Networks
}
return nil
}
type PacketBrokerInfo struct {
// The current registration, unset if there isn't a registration.
Registration *PacketBrokerNetwork `protobuf:"bytes,1,opt,name=registration,proto3" json:"registration,omitempty"`
// Whether the server is configured as Forwarder (with gateways).
ForwarderEnabled bool `protobuf:"varint,2,opt,name=forwarder_enabled,json=forwarderEnabled,proto3" json:"forwarder_enabled,omitempty"`
// Whether the server is configured as Home Network (with end devices).
HomeNetworkEnabled bool `protobuf:"varint,3,opt,name=home_network_enabled,json=homeNetworkEnabled,proto3" json:"home_network_enabled,omitempty"`
// Whether the registration can be changed.
RegisterEnabled bool `protobuf:"varint,4,opt,name=register_enabled,json=registerEnabled,proto3" json:"register_enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerInfo) Reset() { *m = PacketBrokerInfo{} }
func (*PacketBrokerInfo) ProtoMessage() {}
func (*PacketBrokerInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{7}
}
func (m *PacketBrokerInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerInfo.Unmarshal(m, b)
}
func (m *PacketBrokerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerInfo.Marshal(b, m, deterministic)
}
func (m *PacketBrokerInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerInfo.Merge(m, src)
}
func (m *PacketBrokerInfo) XXX_Size() int {
return xxx_messageInfo_PacketBrokerInfo.Size(m)
}
func (m *PacketBrokerInfo) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerInfo.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerInfo proto.InternalMessageInfo
func (m *PacketBrokerInfo) GetRegistration() *PacketBrokerNetwork {
if m != nil {
return m.Registration
}
return nil
}
func (m *PacketBrokerInfo) GetForwarderEnabled() bool {
if m != nil {
return m.ForwarderEnabled
}
return false
}
func (m *PacketBrokerInfo) GetHomeNetworkEnabled() bool {
if m != nil {
return m.HomeNetworkEnabled
}
return false
}
func (m *PacketBrokerInfo) GetRegisterEnabled() bool {
if m != nil {
return m.RegisterEnabled
}
return false
}
type PacketBrokerRegisterRequest struct {
// Whether the network should be listed in Packet Broker.
// If unset, the value is taken from the registration settings.
Listed *types.BoolValue `protobuf:"bytes,1,opt,name=listed,proto3" json:"listed,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerRegisterRequest) Reset() { *m = PacketBrokerRegisterRequest{} }
func (*PacketBrokerRegisterRequest) ProtoMessage() {}
func (*PacketBrokerRegisterRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{8}
}
func (m *PacketBrokerRegisterRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerRegisterRequest.Unmarshal(m, b)
}
func (m *PacketBrokerRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerRegisterRequest.Marshal(b, m, deterministic)
}
func (m *PacketBrokerRegisterRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerRegisterRequest.Merge(m, src)
}
func (m *PacketBrokerRegisterRequest) XXX_Size() int {
return xxx_messageInfo_PacketBrokerRegisterRequest.Size(m)
}
func (m *PacketBrokerRegisterRequest) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerRegisterRequest.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerRegisterRequest proto.InternalMessageInfo
func (m *PacketBrokerRegisterRequest) GetListed() *types.BoolValue {
if m != nil {
return m.Listed
}
return nil
}
type PacketBrokerRoutingPolicyUplink struct {
// Forward join-request messages.
JoinRequest bool `protobuf:"varint,1,opt,name=join_request,json=joinRequest,proto3" json:"join_request,omitempty"`
// Forward uplink messages with FPort of 0.
MacData bool `protobuf:"varint,2,opt,name=mac_data,json=macData,proto3" json:"mac_data,omitempty"`
// Forward uplink messages with FPort between 1 and 255.
ApplicationData bool `protobuf:"varint,3,opt,name=application_data,json=applicationData,proto3" json:"application_data,omitempty"`
// Forward RSSI and SNR.
SignalQuality bool `protobuf:"varint,4,opt,name=signal_quality,json=signalQuality,proto3" json:"signal_quality,omitempty"`
// Forward gateway location, RSSI, SNR and fine timestamp.
Localization bool `protobuf:"varint,5,opt,name=localization,proto3" json:"localization,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerRoutingPolicyUplink) Reset() { *m = PacketBrokerRoutingPolicyUplink{} }
func (*PacketBrokerRoutingPolicyUplink) ProtoMessage() {}
func (*PacketBrokerRoutingPolicyUplink) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{9}
}
func (m *PacketBrokerRoutingPolicyUplink) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerRoutingPolicyUplink.Unmarshal(m, b)
}
func (m *PacketBrokerRoutingPolicyUplink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerRoutingPolicyUplink.Marshal(b, m, deterministic)
}
func (m *PacketBrokerRoutingPolicyUplink) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerRoutingPolicyUplink.Merge(m, src)
}
func (m *PacketBrokerRoutingPolicyUplink) XXX_Size() int {
return xxx_messageInfo_PacketBrokerRoutingPolicyUplink.Size(m)
}
func (m *PacketBrokerRoutingPolicyUplink) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerRoutingPolicyUplink.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerRoutingPolicyUplink proto.InternalMessageInfo
func (m *PacketBrokerRoutingPolicyUplink) GetJoinRequest() bool {
if m != nil {
return m.JoinRequest
}
return false
}
func (m *PacketBrokerRoutingPolicyUplink) GetMacData() bool {
if m != nil {
return m.MacData
}
return false
}
func (m *PacketBrokerRoutingPolicyUplink) GetApplicationData() bool {
if m != nil {
return m.ApplicationData
}
return false
}
func (m *PacketBrokerRoutingPolicyUplink) GetSignalQuality() bool {
if m != nil {
return m.SignalQuality
}
return false
}
func (m *PacketBrokerRoutingPolicyUplink) GetLocalization() bool {
if m != nil {
return m.Localization
}
return false
}
type PacketBrokerRoutingPolicyDownlink struct {
// Allow join-accept messages.
JoinAccept bool `protobuf:"varint,1,opt,name=join_accept,json=joinAccept,proto3" json:"join_accept,omitempty"`
// Allow downlink messages with FPort of 0.
MacData bool `protobuf:"varint,2,opt,name=mac_data,json=macData,proto3" json:"mac_data,omitempty"`
// Allow downlink messages with FPort between 1 and 255.
ApplicationData bool `protobuf:"varint,3,opt,name=application_data,json=applicationData,proto3" json:"application_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerRoutingPolicyDownlink) Reset() { *m = PacketBrokerRoutingPolicyDownlink{} }
func (*PacketBrokerRoutingPolicyDownlink) ProtoMessage() {}
func (*PacketBrokerRoutingPolicyDownlink) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{10}
}
func (m *PacketBrokerRoutingPolicyDownlink) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerRoutingPolicyDownlink.Unmarshal(m, b)
}
func (m *PacketBrokerRoutingPolicyDownlink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerRoutingPolicyDownlink.Marshal(b, m, deterministic)
}
func (m *PacketBrokerRoutingPolicyDownlink) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerRoutingPolicyDownlink.Merge(m, src)
}
func (m *PacketBrokerRoutingPolicyDownlink) XXX_Size() int {
return xxx_messageInfo_PacketBrokerRoutingPolicyDownlink.Size(m)
}
func (m *PacketBrokerRoutingPolicyDownlink) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerRoutingPolicyDownlink.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerRoutingPolicyDownlink proto.InternalMessageInfo
func (m *PacketBrokerRoutingPolicyDownlink) GetJoinAccept() bool {
if m != nil {
return m.JoinAccept
}
return false
}
func (m *PacketBrokerRoutingPolicyDownlink) GetMacData() bool {
if m != nil {
return m.MacData
}
return false
}
func (m *PacketBrokerRoutingPolicyDownlink) GetApplicationData() bool {
if m != nil {
return m.ApplicationData
}
return false
}
type PacketBrokerDefaultRoutingPolicy struct {
// Timestamp when the policy got last updated.
UpdatedAt *types.Timestamp `protobuf:"bytes,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// Uplink policy.
Uplink *PacketBrokerRoutingPolicyUplink `protobuf:"bytes,2,opt,name=uplink,proto3" json:"uplink,omitempty"`
// Downlink policy.
Downlink *PacketBrokerRoutingPolicyDownlink `protobuf:"bytes,3,opt,name=downlink,proto3" json:"downlink,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerDefaultRoutingPolicy) Reset() { *m = PacketBrokerDefaultRoutingPolicy{} }
func (*PacketBrokerDefaultRoutingPolicy) ProtoMessage() {}
func (*PacketBrokerDefaultRoutingPolicy) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{11}
}
func (m *PacketBrokerDefaultRoutingPolicy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerDefaultRoutingPolicy.Unmarshal(m, b)
}
func (m *PacketBrokerDefaultRoutingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerDefaultRoutingPolicy.Marshal(b, m, deterministic)
}
func (m *PacketBrokerDefaultRoutingPolicy) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerDefaultRoutingPolicy.Merge(m, src)
}
func (m *PacketBrokerDefaultRoutingPolicy) XXX_Size() int {
return xxx_messageInfo_PacketBrokerDefaultRoutingPolicy.Size(m)
}
func (m *PacketBrokerDefaultRoutingPolicy) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerDefaultRoutingPolicy.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerDefaultRoutingPolicy proto.InternalMessageInfo
func (m *PacketBrokerDefaultRoutingPolicy) GetUpdatedAt() *types.Timestamp {
if m != nil {
return m.UpdatedAt
}
return nil
}
func (m *PacketBrokerDefaultRoutingPolicy) GetUplink() *PacketBrokerRoutingPolicyUplink {
if m != nil {
return m.Uplink
}
return nil
}
func (m *PacketBrokerDefaultRoutingPolicy) GetDownlink() *PacketBrokerRoutingPolicyDownlink {
if m != nil {
return m.Downlink
}
return nil
}
type PacketBrokerRoutingPolicy struct {
// Packet Broker identifier of the Forwarder.
ForwarderId *PacketBrokerNetworkIdentifier `protobuf:"bytes,1,opt,name=forwarder_id,json=forwarderId,proto3" json:"forwarder_id,omitempty"`
// Packet Broker identifier of the Home Network.
HomeNetworkId *PacketBrokerNetworkIdentifier `protobuf:"bytes,2,opt,name=home_network_id,json=homeNetworkId,proto3" json:"home_network_id,omitempty"`
// Timestamp when the policy got last updated.
UpdatedAt *types.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// Uplink policy.
Uplink *PacketBrokerRoutingPolicyUplink `protobuf:"bytes,4,opt,name=uplink,proto3" json:"uplink,omitempty"`
// Downlink policy.
Downlink *PacketBrokerRoutingPolicyDownlink `protobuf:"bytes,5,opt,name=downlink,proto3" json:"downlink,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerRoutingPolicy) Reset() { *m = PacketBrokerRoutingPolicy{} }
func (*PacketBrokerRoutingPolicy) ProtoMessage() {}
func (*PacketBrokerRoutingPolicy) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{12}
}
func (m *PacketBrokerRoutingPolicy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerRoutingPolicy.Unmarshal(m, b)
}
func (m *PacketBrokerRoutingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerRoutingPolicy.Marshal(b, m, deterministic)
}
func (m *PacketBrokerRoutingPolicy) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerRoutingPolicy.Merge(m, src)
}
func (m *PacketBrokerRoutingPolicy) XXX_Size() int {
return xxx_messageInfo_PacketBrokerRoutingPolicy.Size(m)
}
func (m *PacketBrokerRoutingPolicy) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerRoutingPolicy.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerRoutingPolicy proto.InternalMessageInfo
func (m *PacketBrokerRoutingPolicy) GetForwarderId() *PacketBrokerNetworkIdentifier {
if m != nil {
return m.ForwarderId
}
return nil
}
func (m *PacketBrokerRoutingPolicy) GetHomeNetworkId() *PacketBrokerNetworkIdentifier {
if m != nil {
return m.HomeNetworkId
}
return nil
}
func (m *PacketBrokerRoutingPolicy) GetUpdatedAt() *types.Timestamp {
if m != nil {
return m.UpdatedAt
}
return nil
}
func (m *PacketBrokerRoutingPolicy) GetUplink() *PacketBrokerRoutingPolicyUplink {
if m != nil {
return m.Uplink
}
return nil
}
func (m *PacketBrokerRoutingPolicy) GetDownlink() *PacketBrokerRoutingPolicyDownlink {
if m != nil {
return m.Downlink
}
return nil
}
type SetPacketBrokerDefaultRoutingPolicyRequest struct {
// Uplink policy.
Uplink *PacketBrokerRoutingPolicyUplink `protobuf:"bytes,1,opt,name=uplink,proto3" json:"uplink,omitempty"`
// Downlink policy.
Downlink *PacketBrokerRoutingPolicyDownlink `protobuf:"bytes,2,opt,name=downlink,proto3" json:"downlink,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) Reset() {
*m = SetPacketBrokerDefaultRoutingPolicyRequest{}
}
func (*SetPacketBrokerDefaultRoutingPolicyRequest) ProtoMessage() {}
func (*SetPacketBrokerDefaultRoutingPolicyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{13}
}
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetPacketBrokerDefaultRoutingPolicyRequest.Unmarshal(m, b)
}
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetPacketBrokerDefaultRoutingPolicyRequest.Marshal(b, m, deterministic)
}
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetPacketBrokerDefaultRoutingPolicyRequest.Merge(m, src)
}
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) XXX_Size() int {
return xxx_messageInfo_SetPacketBrokerDefaultRoutingPolicyRequest.Size(m)
}
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SetPacketBrokerDefaultRoutingPolicyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SetPacketBrokerDefaultRoutingPolicyRequest proto.InternalMessageInfo
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) GetUplink() *PacketBrokerRoutingPolicyUplink {
if m != nil {
return m.Uplink
}
return nil
}
func (m *SetPacketBrokerDefaultRoutingPolicyRequest) GetDownlink() *PacketBrokerRoutingPolicyDownlink {
if m != nil {
return m.Downlink
}
return nil
}
type ListHomeNetworkRoutingPoliciesRequest struct {
// Limit the number of results per page.
Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
// Page number for pagination. 0 is interpreted as 1.
Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListHomeNetworkRoutingPoliciesRequest) Reset() { *m = ListHomeNetworkRoutingPoliciesRequest{} }
func (*ListHomeNetworkRoutingPoliciesRequest) ProtoMessage() {}
func (*ListHomeNetworkRoutingPoliciesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{14}
}
func (m *ListHomeNetworkRoutingPoliciesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListHomeNetworkRoutingPoliciesRequest.Unmarshal(m, b)
}
func (m *ListHomeNetworkRoutingPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListHomeNetworkRoutingPoliciesRequest.Marshal(b, m, deterministic)
}
func (m *ListHomeNetworkRoutingPoliciesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListHomeNetworkRoutingPoliciesRequest.Merge(m, src)
}
func (m *ListHomeNetworkRoutingPoliciesRequest) XXX_Size() int {
return xxx_messageInfo_ListHomeNetworkRoutingPoliciesRequest.Size(m)
}
func (m *ListHomeNetworkRoutingPoliciesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListHomeNetworkRoutingPoliciesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListHomeNetworkRoutingPoliciesRequest proto.InternalMessageInfo
func (m *ListHomeNetworkRoutingPoliciesRequest) GetLimit() uint32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListHomeNetworkRoutingPoliciesRequest) GetPage() uint32 {
if m != nil {
return m.Page
}
return 0
}
type PacketBrokerRoutingPolicies struct {
Policies []*PacketBrokerRoutingPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PacketBrokerRoutingPolicies) Reset() { *m = PacketBrokerRoutingPolicies{} }
func (*PacketBrokerRoutingPolicies) ProtoMessage() {}
func (*PacketBrokerRoutingPolicies) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{15}
}
func (m *PacketBrokerRoutingPolicies) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PacketBrokerRoutingPolicies.Unmarshal(m, b)
}
func (m *PacketBrokerRoutingPolicies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PacketBrokerRoutingPolicies.Marshal(b, m, deterministic)
}
func (m *PacketBrokerRoutingPolicies) XXX_Merge(src proto.Message) {
xxx_messageInfo_PacketBrokerRoutingPolicies.Merge(m, src)
}
func (m *PacketBrokerRoutingPolicies) XXX_Size() int {
return xxx_messageInfo_PacketBrokerRoutingPolicies.Size(m)
}
func (m *PacketBrokerRoutingPolicies) XXX_DiscardUnknown() {
xxx_messageInfo_PacketBrokerRoutingPolicies.DiscardUnknown(m)
}
var xxx_messageInfo_PacketBrokerRoutingPolicies proto.InternalMessageInfo
func (m *PacketBrokerRoutingPolicies) GetPolicies() []*PacketBrokerRoutingPolicy {
if m != nil {
return m.Policies
}
return nil
}
type SetPacketBrokerRoutingPolicyRequest struct {
// Packet Broker identifier of the Home Network.
HomeNetworkId *PacketBrokerNetworkIdentifier `protobuf:"bytes,1,opt,name=home_network_id,json=homeNetworkId,proto3" json:"home_network_id,omitempty"`
// Uplink policy.
Uplink *PacketBrokerRoutingPolicyUplink `protobuf:"bytes,2,opt,name=uplink,proto3" json:"uplink,omitempty"`
// Downlink policy.
Downlink *PacketBrokerRoutingPolicyDownlink `protobuf:"bytes,3,opt,name=downlink,proto3" json:"downlink,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetPacketBrokerRoutingPolicyRequest) Reset() { *m = SetPacketBrokerRoutingPolicyRequest{} }
func (*SetPacketBrokerRoutingPolicyRequest) ProtoMessage() {}
func (*SetPacketBrokerRoutingPolicyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1a44242dc5cd678e, []int{16}
}
func (m *SetPacketBrokerRoutingPolicyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SetPacketBrokerRoutingPolicyRequest.Unmarshal(m, b)
}
func (m *SetPacketBrokerRoutingPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SetPacketBrokerRoutingPolicyRequest.Marshal(b, m, deterministic)
}
func (m *SetPacketBrokerRoutingPolicyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetPacketBrokerRoutingPolicyRequest.Merge(m, src)
}
func (m *SetPacketBrokerRoutingPolicyRequest) XXX_Size() int {
return xxx_messageInfo_SetPacketBrokerRoutingPolicyRequest.Size(m)
}
func (m *SetPacketBrokerRoutingPolicyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SetPacketBrokerRoutingPolicyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SetPacketBrokerRoutingPolicyRequest proto.InternalMessageInfo
func (m *SetPacketBrokerRoutingPolicyRequest) GetHomeNetworkId() *PacketBrokerNetworkIdentifier {