-
Notifications
You must be signed in to change notification settings - Fork 0
/
flow-messages-enriched.pb.h
1941 lines (1668 loc) · 72.2 KB
/
flow-messages-enriched.pb.h
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
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: flow-messages-enriched.proto
#ifndef PROTOBUF_INCLUDED_flow_2dmessages_2denriched_2eproto
#define PROTOBUF_INCLUDED_flow_2dmessages_2denriched_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3007000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_flow_2dmessages_2denriched_2eproto
// Internal implementation detail -- do not use these members.
struct TableStruct_flow_2dmessages_2denriched_2eproto {
static const ::google::protobuf::internal::ParseTableField entries[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::google::protobuf::internal::ParseTable schema[1]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
static const ::google::protobuf::internal::SerializationTable serialization_table[];
static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors_flow_2dmessages_2denriched_2eproto();
namespace flowmessageenriched {
class FlowMessage;
class FlowMessageDefaultTypeInternal;
extern FlowMessageDefaultTypeInternal _FlowMessage_default_instance_;
} // namespace flowmessageenriched
namespace google {
namespace protobuf {
template<> ::flowmessageenriched::FlowMessage* Arena::CreateMaybeMessage<::flowmessageenriched::FlowMessage>(Arena*);
} // namespace protobuf
} // namespace google
namespace flowmessageenriched {
enum FlowMessage_FlowType {
FlowMessage_FlowType_FLOWUNKNOWN = 0,
FlowMessage_FlowType_SFLOW_5 = 1,
FlowMessage_FlowType_NETFLOW_V5 = 2,
FlowMessage_FlowType_NETFLOW_V9 = 3,
FlowMessage_FlowType_IPFIX = 4,
FlowMessage_FlowType_FlowMessage_FlowType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
FlowMessage_FlowType_FlowMessage_FlowType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
};
bool FlowMessage_FlowType_IsValid(int value);
const FlowMessage_FlowType FlowMessage_FlowType_FlowType_MIN = FlowMessage_FlowType_FLOWUNKNOWN;
const FlowMessage_FlowType FlowMessage_FlowType_FlowType_MAX = FlowMessage_FlowType_IPFIX;
const int FlowMessage_FlowType_FlowType_ARRAYSIZE = FlowMessage_FlowType_FlowType_MAX + 1;
const ::google::protobuf::EnumDescriptor* FlowMessage_FlowType_descriptor();
inline const ::std::string& FlowMessage_FlowType_Name(FlowMessage_FlowType value) {
return ::google::protobuf::internal::NameOfEnum(
FlowMessage_FlowType_descriptor(), value);
}
inline bool FlowMessage_FlowType_Parse(
const ::std::string& name, FlowMessage_FlowType* value) {
return ::google::protobuf::internal::ParseNamedEnum<FlowMessage_FlowType>(
FlowMessage_FlowType_descriptor(), name, value);
}
enum FlowMessage_NormalizedType {
FlowMessage_NormalizedType_No = 0,
FlowMessage_NormalizedType_Yes = 1,
FlowMessage_NormalizedType_FlowMessage_NormalizedType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
FlowMessage_NormalizedType_FlowMessage_NormalizedType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
};
bool FlowMessage_NormalizedType_IsValid(int value);
const FlowMessage_NormalizedType FlowMessage_NormalizedType_NormalizedType_MIN = FlowMessage_NormalizedType_No;
const FlowMessage_NormalizedType FlowMessage_NormalizedType_NormalizedType_MAX = FlowMessage_NormalizedType_Yes;
const int FlowMessage_NormalizedType_NormalizedType_ARRAYSIZE = FlowMessage_NormalizedType_NormalizedType_MAX + 1;
const ::google::protobuf::EnumDescriptor* FlowMessage_NormalizedType_descriptor();
inline const ::std::string& FlowMessage_NormalizedType_Name(FlowMessage_NormalizedType value) {
return ::google::protobuf::internal::NameOfEnum(
FlowMessage_NormalizedType_descriptor(), value);
}
inline bool FlowMessage_NormalizedType_Parse(
const ::std::string& name, FlowMessage_NormalizedType* value) {
return ::google::protobuf::internal::ParseNamedEnum<FlowMessage_NormalizedType>(
FlowMessage_NormalizedType_descriptor(), name, value);
}
// ===================================================================
class FlowMessage final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flowmessageenriched.FlowMessage) */ {
public:
FlowMessage();
virtual ~FlowMessage();
FlowMessage(const FlowMessage& from);
inline FlowMessage& operator=(const FlowMessage& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
FlowMessage(FlowMessage&& from) noexcept
: FlowMessage() {
*this = ::std::move(from);
}
inline FlowMessage& operator=(FlowMessage&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor() {
return default_instance().GetDescriptor();
}
static const FlowMessage& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const FlowMessage* internal_default_instance() {
return reinterpret_cast<const FlowMessage*>(
&_FlowMessage_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
void Swap(FlowMessage* other);
friend void swap(FlowMessage& a, FlowMessage& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline FlowMessage* New() const final {
return CreateMaybeMessage<FlowMessage>(nullptr);
}
FlowMessage* New(::google::protobuf::Arena* arena) const final {
return CreateMaybeMessage<FlowMessage>(arena);
}
void CopyFrom(const ::google::protobuf::Message& from) final;
void MergeFrom(const ::google::protobuf::Message& from) final;
void CopyFrom(const FlowMessage& from);
void MergeFrom(const FlowMessage& from);
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
#else
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) final;
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const final;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
::google::protobuf::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(FlowMessage* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return nullptr;
}
inline void* MaybeArenaPtr() const {
return nullptr;
}
public:
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
typedef FlowMessage_FlowType FlowType;
static const FlowType FLOWUNKNOWN =
FlowMessage_FlowType_FLOWUNKNOWN;
static const FlowType SFLOW_5 =
FlowMessage_FlowType_SFLOW_5;
static const FlowType NETFLOW_V5 =
FlowMessage_FlowType_NETFLOW_V5;
static const FlowType NETFLOW_V9 =
FlowMessage_FlowType_NETFLOW_V9;
static const FlowType IPFIX =
FlowMessage_FlowType_IPFIX;
static inline bool FlowType_IsValid(int value) {
return FlowMessage_FlowType_IsValid(value);
}
static const FlowType FlowType_MIN =
FlowMessage_FlowType_FlowType_MIN;
static const FlowType FlowType_MAX =
FlowMessage_FlowType_FlowType_MAX;
static const int FlowType_ARRAYSIZE =
FlowMessage_FlowType_FlowType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
FlowType_descriptor() {
return FlowMessage_FlowType_descriptor();
}
static inline const ::std::string& FlowType_Name(FlowType value) {
return FlowMessage_FlowType_Name(value);
}
static inline bool FlowType_Parse(const ::std::string& name,
FlowType* value) {
return FlowMessage_FlowType_Parse(name, value);
}
typedef FlowMessage_NormalizedType NormalizedType;
static const NormalizedType No =
FlowMessage_NormalizedType_No;
static const NormalizedType Yes =
FlowMessage_NormalizedType_Yes;
static inline bool NormalizedType_IsValid(int value) {
return FlowMessage_NormalizedType_IsValid(value);
}
static const NormalizedType NormalizedType_MIN =
FlowMessage_NormalizedType_NormalizedType_MIN;
static const NormalizedType NormalizedType_MAX =
FlowMessage_NormalizedType_NormalizedType_MAX;
static const int NormalizedType_ARRAYSIZE =
FlowMessage_NormalizedType_NormalizedType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor*
NormalizedType_descriptor() {
return FlowMessage_NormalizedType_descriptor();
}
static inline const ::std::string& NormalizedType_Name(NormalizedType value) {
return FlowMessage_NormalizedType_Name(value);
}
static inline bool NormalizedType_Parse(const ::std::string& name,
NormalizedType* value) {
return FlowMessage_NormalizedType_Parse(name, value);
}
// accessors -------------------------------------------------------
// bytes SrcAddr = 6;
void clear_srcaddr();
static const int kSrcAddrFieldNumber = 6;
const ::std::string& srcaddr() const;
void set_srcaddr(const ::std::string& value);
#if LANG_CXX11
void set_srcaddr(::std::string&& value);
#endif
void set_srcaddr(const char* value);
void set_srcaddr(const void* value, size_t size);
::std::string* mutable_srcaddr();
::std::string* release_srcaddr();
void set_allocated_srcaddr(::std::string* srcaddr);
// bytes DstAddr = 7;
void clear_dstaddr();
static const int kDstAddrFieldNumber = 7;
const ::std::string& dstaddr() const;
void set_dstaddr(const ::std::string& value);
#if LANG_CXX11
void set_dstaddr(::std::string&& value);
#endif
void set_dstaddr(const char* value);
void set_dstaddr(const void* value, size_t size);
::std::string* mutable_dstaddr();
::std::string* release_dstaddr();
void set_allocated_dstaddr(::std::string* dstaddr);
// bytes SamplerAddress = 11;
void clear_sampleraddress();
static const int kSamplerAddressFieldNumber = 11;
const ::std::string& sampleraddress() const;
void set_sampleraddress(const ::std::string& value);
#if LANG_CXX11
void set_sampleraddress(::std::string&& value);
#endif
void set_sampleraddress(const char* value);
void set_sampleraddress(const void* value, size_t size);
::std::string* mutable_sampleraddress();
::std::string* release_sampleraddress();
void set_allocated_sampleraddress(::std::string* sampleraddress);
// bytes NextHop = 12;
void clear_nexthop();
static const int kNextHopFieldNumber = 12;
const ::std::string& nexthop() const;
void set_nexthop(const ::std::string& value);
#if LANG_CXX11
void set_nexthop(::std::string&& value);
#endif
void set_nexthop(const char* value);
void set_nexthop(const void* value, size_t size);
::std::string* mutable_nexthop();
::std::string* release_nexthop();
void set_allocated_nexthop(::std::string* nexthop);
// string CidString = 1001;
void clear_cidstring();
static const int kCidStringFieldNumber = 1001;
const ::std::string& cidstring() const;
void set_cidstring(const ::std::string& value);
#if LANG_CXX11
void set_cidstring(::std::string&& value);
#endif
void set_cidstring(const char* value);
void set_cidstring(const char* value, size_t size);
::std::string* mutable_cidstring();
::std::string* release_cidstring();
void set_allocated_cidstring(::std::string* cidstring);
// string SrcIfName = 1003;
void clear_srcifname();
static const int kSrcIfNameFieldNumber = 1003;
const ::std::string& srcifname() const;
void set_srcifname(const ::std::string& value);
#if LANG_CXX11
void set_srcifname(::std::string&& value);
#endif
void set_srcifname(const char* value);
void set_srcifname(const char* value, size_t size);
::std::string* mutable_srcifname();
::std::string* release_srcifname();
void set_allocated_srcifname(::std::string* srcifname);
// string SrcIfDesc = 1004;
void clear_srcifdesc();
static const int kSrcIfDescFieldNumber = 1004;
const ::std::string& srcifdesc() const;
void set_srcifdesc(const ::std::string& value);
#if LANG_CXX11
void set_srcifdesc(::std::string&& value);
#endif
void set_srcifdesc(const char* value);
void set_srcifdesc(const char* value, size_t size);
::std::string* mutable_srcifdesc();
::std::string* release_srcifdesc();
void set_allocated_srcifdesc(::std::string* srcifdesc);
// string DstIfName = 1006;
void clear_dstifname();
static const int kDstIfNameFieldNumber = 1006;
const ::std::string& dstifname() const;
void set_dstifname(const ::std::string& value);
#if LANG_CXX11
void set_dstifname(::std::string&& value);
#endif
void set_dstifname(const char* value);
void set_dstifname(const char* value, size_t size);
::std::string* mutable_dstifname();
::std::string* release_dstifname();
void set_allocated_dstifname(::std::string* dstifname);
// string DstIfDesc = 1007;
void clear_dstifdesc();
static const int kDstIfDescFieldNumber = 1007;
const ::std::string& dstifdesc() const;
void set_dstifdesc(const ::std::string& value);
#if LANG_CXX11
void set_dstifdesc(::std::string&& value);
#endif
void set_dstifdesc(const char* value);
void set_dstifdesc(const char* value, size_t size);
::std::string* mutable_dstifdesc();
::std::string* release_dstifdesc();
void set_allocated_dstifdesc(::std::string* dstifdesc);
// string ProtoName = 1009;
void clear_protoname();
static const int kProtoNameFieldNumber = 1009;
const ::std::string& protoname() const;
void set_protoname(const ::std::string& value);
#if LANG_CXX11
void set_protoname(::std::string&& value);
#endif
void set_protoname(const char* value);
void set_protoname(const char* value, size_t size);
::std::string* mutable_protoname();
::std::string* release_protoname();
void set_allocated_protoname(::std::string* protoname);
// string RemoteCountry = 1010;
void clear_remotecountry();
static const int kRemoteCountryFieldNumber = 1010;
const ::std::string& remotecountry() const;
void set_remotecountry(const ::std::string& value);
#if LANG_CXX11
void set_remotecountry(::std::string&& value);
#endif
void set_remotecountry(const char* value);
void set_remotecountry(const char* value, size_t size);
::std::string* mutable_remotecountry();
::std::string* release_remotecountry();
void set_allocated_remotecountry(::std::string* remotecountry);
// uint64 TimeReceived = 2;
void clear_timereceived();
static const int kTimeReceivedFieldNumber = 2;
::google::protobuf::uint64 timereceived() const;
void set_timereceived(::google::protobuf::uint64 value);
// .flowmessageenriched.FlowMessage.FlowType Type = 1;
void clear_type();
static const int kTypeFieldNumber = 1;
::flowmessageenriched::FlowMessage_FlowType type() const;
void set_type(::flowmessageenriched::FlowMessage_FlowType value);
// uint32 SequenceNum = 4;
void clear_sequencenum();
static const int kSequenceNumFieldNumber = 4;
::google::protobuf::uint32 sequencenum() const;
void set_sequencenum(::google::protobuf::uint32 value);
// uint64 SamplingRate = 3;
void clear_samplingrate();
static const int kSamplingRateFieldNumber = 3;
::google::protobuf::uint64 samplingrate() const;
void set_samplingrate(::google::protobuf::uint64 value);
// uint64 TimeFlowEnd = 5;
void clear_timeflowend();
static const int kTimeFlowEndFieldNumber = 5;
::google::protobuf::uint64 timeflowend() const;
void set_timeflowend(::google::protobuf::uint64 value);
// uint64 Bytes = 9;
void clear_bytes();
static const int kBytesFieldNumber = 9;
::google::protobuf::uint64 bytes() const;
void set_bytes(::google::protobuf::uint64 value);
// uint64 Packets = 10;
void clear_packets();
static const int kPacketsFieldNumber = 10;
::google::protobuf::uint64 packets() const;
void set_packets(::google::protobuf::uint64 value);
// uint32 NextHopAS = 13;
void clear_nexthopas();
static const int kNextHopASFieldNumber = 13;
::google::protobuf::uint32 nexthopas() const;
void set_nexthopas(::google::protobuf::uint32 value);
// uint32 SrcAS = 14;
void clear_srcas();
static const int kSrcASFieldNumber = 14;
::google::protobuf::uint32 srcas() const;
void set_srcas(::google::protobuf::uint32 value);
// uint32 DstAS = 15;
void clear_dstas();
static const int kDstASFieldNumber = 15;
::google::protobuf::uint32 dstas() const;
void set_dstas(::google::protobuf::uint32 value);
// uint32 SrcNet = 16;
void clear_srcnet();
static const int kSrcNetFieldNumber = 16;
::google::protobuf::uint32 srcnet() const;
void set_srcnet(::google::protobuf::uint32 value);
// uint32 DstNet = 17;
void clear_dstnet();
static const int kDstNetFieldNumber = 17;
::google::protobuf::uint32 dstnet() const;
void set_dstnet(::google::protobuf::uint32 value);
// uint32 SrcIf = 18;
void clear_srcif();
static const int kSrcIfFieldNumber = 18;
::google::protobuf::uint32 srcif() const;
void set_srcif(::google::protobuf::uint32 value);
// uint32 DstIf = 19;
void clear_dstif();
static const int kDstIfFieldNumber = 19;
::google::protobuf::uint32 dstif() const;
void set_dstif(::google::protobuf::uint32 value);
// uint32 Proto = 20;
void clear_proto();
static const int kProtoFieldNumber = 20;
::google::protobuf::uint32 proto() const;
void set_proto(::google::protobuf::uint32 value);
// uint32 SrcPort = 21;
void clear_srcport();
static const int kSrcPortFieldNumber = 21;
::google::protobuf::uint32 srcport() const;
void set_srcport(::google::protobuf::uint32 value);
// uint32 DstPort = 22;
void clear_dstport();
static const int kDstPortFieldNumber = 22;
::google::protobuf::uint32 dstport() const;
void set_dstport(::google::protobuf::uint32 value);
// uint32 IPTos = 23;
void clear_iptos();
static const int kIPTosFieldNumber = 23;
::google::protobuf::uint32 iptos() const;
void set_iptos(::google::protobuf::uint32 value);
// uint32 ForwardingStatus = 24;
void clear_forwardingstatus();
static const int kForwardingStatusFieldNumber = 24;
::google::protobuf::uint32 forwardingstatus() const;
void set_forwardingstatus(::google::protobuf::uint32 value);
// uint32 IPTTL = 25;
void clear_ipttl();
static const int kIPTTLFieldNumber = 25;
::google::protobuf::uint32 ipttl() const;
void set_ipttl(::google::protobuf::uint32 value);
// uint32 TCPFlags = 26;
void clear_tcpflags();
static const int kTCPFlagsFieldNumber = 26;
::google::protobuf::uint32 tcpflags() const;
void set_tcpflags(::google::protobuf::uint32 value);
// uint64 SrcMac = 27;
void clear_srcmac();
static const int kSrcMacFieldNumber = 27;
::google::protobuf::uint64 srcmac() const;
void set_srcmac(::google::protobuf::uint64 value);
// uint64 DstMac = 28;
void clear_dstmac();
static const int kDstMacFieldNumber = 28;
::google::protobuf::uint64 dstmac() const;
void set_dstmac(::google::protobuf::uint64 value);
// uint32 VlanId = 29;
void clear_vlanid();
static const int kVlanIdFieldNumber = 29;
::google::protobuf::uint32 vlanid() const;
void set_vlanid(::google::protobuf::uint32 value);
// uint32 Etype = 30;
void clear_etype();
static const int kEtypeFieldNumber = 30;
::google::protobuf::uint32 etype() const;
void set_etype(::google::protobuf::uint32 value);
// uint32 IcmpType = 31;
void clear_icmptype();
static const int kIcmpTypeFieldNumber = 31;
::google::protobuf::uint32 icmptype() const;
void set_icmptype(::google::protobuf::uint32 value);
// uint32 IcmpCode = 32;
void clear_icmpcode();
static const int kIcmpCodeFieldNumber = 32;
::google::protobuf::uint32 icmpcode() const;
void set_icmpcode(::google::protobuf::uint32 value);
// uint32 SrcVlan = 33;
void clear_srcvlan();
static const int kSrcVlanFieldNumber = 33;
::google::protobuf::uint32 srcvlan() const;
void set_srcvlan(::google::protobuf::uint32 value);
// uint32 DstVlan = 34;
void clear_dstvlan();
static const int kDstVlanFieldNumber = 34;
::google::protobuf::uint32 dstvlan() const;
void set_dstvlan(::google::protobuf::uint32 value);
// uint32 FragmentId = 35;
void clear_fragmentid();
static const int kFragmentIdFieldNumber = 35;
::google::protobuf::uint32 fragmentid() const;
void set_fragmentid(::google::protobuf::uint32 value);
// uint32 FragmentOffset = 36;
void clear_fragmentoffset();
static const int kFragmentOffsetFieldNumber = 36;
::google::protobuf::uint32 fragmentoffset() const;
void set_fragmentoffset(::google::protobuf::uint32 value);
// uint64 TimeFlowStart = 38;
void clear_timeflowstart();
static const int kTimeFlowStartFieldNumber = 38;
::google::protobuf::uint64 timeflowstart() const;
void set_timeflowstart(::google::protobuf::uint64 value);
// uint32 IPv6FlowLabel = 37;
void clear_ipv6flowlabel();
static const int kIPv6FlowLabelFieldNumber = 37;
::google::protobuf::uint32 ipv6flowlabel() const;
void set_ipv6flowlabel(::google::protobuf::uint32 value);
// uint32 IngressVrfID = 39;
void clear_ingressvrfid();
static const int kIngressVrfIDFieldNumber = 39;
::google::protobuf::uint32 ingressvrfid() const;
void set_ingressvrfid(::google::protobuf::uint32 value);
// uint32 EgressVrfID = 40;
void clear_egressvrfid();
static const int kEgressVrfIDFieldNumber = 40;
::google::protobuf::uint32 egressvrfid() const;
void set_egressvrfid(::google::protobuf::uint32 value);
// uint32 BiFlowDirection = 41;
void clear_biflowdirection();
static const int kBiFlowDirectionFieldNumber = 41;
::google::protobuf::uint32 biflowdirection() const;
void set_biflowdirection(::google::protobuf::uint32 value);
// uint32 FlowDirection = 42;
void clear_flowdirection();
static const int kFlowDirectionFieldNumber = 42;
::google::protobuf::uint32 flowdirection() const;
void set_flowdirection(::google::protobuf::uint32 value);
// uint32 IPv6ExtensionHeaders = 43;
void clear_ipv6extensionheaders();
static const int kIPv6ExtensionHeadersFieldNumber = 43;
::google::protobuf::uint32 ipv6extensionheaders() const;
void set_ipv6extensionheaders(::google::protobuf::uint32 value);
// uint32 Cid = 1000;
void clear_cid();
static const int kCidFieldNumber = 1000;
::google::protobuf::uint32 cid() const;
void set_cid(::google::protobuf::uint32 value);
// .flowmessageenriched.FlowMessage.NormalizedType Normalized = 1002;
void clear_normalized();
static const int kNormalizedFieldNumber = 1002;
::flowmessageenriched::FlowMessage_NormalizedType normalized() const;
void set_normalized(::flowmessageenriched::FlowMessage_NormalizedType value);
// uint32 SrcIfSpeed = 1005;
void clear_srcifspeed();
static const int kSrcIfSpeedFieldNumber = 1005;
::google::protobuf::uint32 srcifspeed() const;
void set_srcifspeed(::google::protobuf::uint32 value);
// uint32 DstIfSpeed = 1008;
void clear_dstifspeed();
static const int kDstIfSpeedFieldNumber = 1008;
::google::protobuf::uint32 dstifspeed() const;
void set_dstifspeed(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:flowmessageenriched.FlowMessage)
private:
class HasBitSetters;
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::ArenaStringPtr srcaddr_;
::google::protobuf::internal::ArenaStringPtr dstaddr_;
::google::protobuf::internal::ArenaStringPtr sampleraddress_;
::google::protobuf::internal::ArenaStringPtr nexthop_;
::google::protobuf::internal::ArenaStringPtr cidstring_;
::google::protobuf::internal::ArenaStringPtr srcifname_;
::google::protobuf::internal::ArenaStringPtr srcifdesc_;
::google::protobuf::internal::ArenaStringPtr dstifname_;
::google::protobuf::internal::ArenaStringPtr dstifdesc_;
::google::protobuf::internal::ArenaStringPtr protoname_;
::google::protobuf::internal::ArenaStringPtr remotecountry_;
::google::protobuf::uint64 timereceived_;
int type_;
::google::protobuf::uint32 sequencenum_;
::google::protobuf::uint64 samplingrate_;
::google::protobuf::uint64 timeflowend_;
::google::protobuf::uint64 bytes_;
::google::protobuf::uint64 packets_;
::google::protobuf::uint32 nexthopas_;
::google::protobuf::uint32 srcas_;
::google::protobuf::uint32 dstas_;
::google::protobuf::uint32 srcnet_;
::google::protobuf::uint32 dstnet_;
::google::protobuf::uint32 srcif_;
::google::protobuf::uint32 dstif_;
::google::protobuf::uint32 proto_;
::google::protobuf::uint32 srcport_;
::google::protobuf::uint32 dstport_;
::google::protobuf::uint32 iptos_;
::google::protobuf::uint32 forwardingstatus_;
::google::protobuf::uint32 ipttl_;
::google::protobuf::uint32 tcpflags_;
::google::protobuf::uint64 srcmac_;
::google::protobuf::uint64 dstmac_;
::google::protobuf::uint32 vlanid_;
::google::protobuf::uint32 etype_;
::google::protobuf::uint32 icmptype_;
::google::protobuf::uint32 icmpcode_;
::google::protobuf::uint32 srcvlan_;
::google::protobuf::uint32 dstvlan_;
::google::protobuf::uint32 fragmentid_;
::google::protobuf::uint32 fragmentoffset_;
::google::protobuf::uint64 timeflowstart_;
::google::protobuf::uint32 ipv6flowlabel_;
::google::protobuf::uint32 ingressvrfid_;
::google::protobuf::uint32 egressvrfid_;
::google::protobuf::uint32 biflowdirection_;
::google::protobuf::uint32 flowdirection_;
::google::protobuf::uint32 ipv6extensionheaders_;
::google::protobuf::uint32 cid_;
int normalized_;
::google::protobuf::uint32 srcifspeed_;
::google::protobuf::uint32 dstifspeed_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
friend struct ::TableStruct_flow_2dmessages_2denriched_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// FlowMessage
// .flowmessageenriched.FlowMessage.FlowType Type = 1;
inline void FlowMessage::clear_type() {
type_ = 0;
}
inline ::flowmessageenriched::FlowMessage_FlowType FlowMessage::type() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.Type)
return static_cast< ::flowmessageenriched::FlowMessage_FlowType >(type_);
}
inline void FlowMessage::set_type(::flowmessageenriched::FlowMessage_FlowType value) {
type_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.Type)
}
// uint64 TimeReceived = 2;
inline void FlowMessage::clear_timereceived() {
timereceived_ = PROTOBUF_ULONGLONG(0);
}
inline ::google::protobuf::uint64 FlowMessage::timereceived() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.TimeReceived)
return timereceived_;
}
inline void FlowMessage::set_timereceived(::google::protobuf::uint64 value) {
timereceived_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.TimeReceived)
}
// uint32 SequenceNum = 4;
inline void FlowMessage::clear_sequencenum() {
sequencenum_ = 0u;
}
inline ::google::protobuf::uint32 FlowMessage::sequencenum() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.SequenceNum)
return sequencenum_;
}
inline void FlowMessage::set_sequencenum(::google::protobuf::uint32 value) {
sequencenum_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.SequenceNum)
}
// uint64 SamplingRate = 3;
inline void FlowMessage::clear_samplingrate() {
samplingrate_ = PROTOBUF_ULONGLONG(0);
}
inline ::google::protobuf::uint64 FlowMessage::samplingrate() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.SamplingRate)
return samplingrate_;
}
inline void FlowMessage::set_samplingrate(::google::protobuf::uint64 value) {
samplingrate_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.SamplingRate)
}
// uint32 FlowDirection = 42;
inline void FlowMessage::clear_flowdirection() {
flowdirection_ = 0u;
}
inline ::google::protobuf::uint32 FlowMessage::flowdirection() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.FlowDirection)
return flowdirection_;
}
inline void FlowMessage::set_flowdirection(::google::protobuf::uint32 value) {
flowdirection_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.FlowDirection)
}
// bytes SamplerAddress = 11;
inline void FlowMessage::clear_sampleraddress() {
sampleraddress_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& FlowMessage::sampleraddress() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.SamplerAddress)
return sampleraddress_.GetNoArena();
}
inline void FlowMessage::set_sampleraddress(const ::std::string& value) {
sampleraddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.SamplerAddress)
}
#if LANG_CXX11
inline void FlowMessage::set_sampleraddress(::std::string&& value) {
sampleraddress_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:flowmessageenriched.FlowMessage.SamplerAddress)
}
#endif
inline void FlowMessage::set_sampleraddress(const char* value) {
GOOGLE_DCHECK(value != nullptr);
sampleraddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:flowmessageenriched.FlowMessage.SamplerAddress)
}
inline void FlowMessage::set_sampleraddress(const void* value, size_t size) {
sampleraddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:flowmessageenriched.FlowMessage.SamplerAddress)
}
inline ::std::string* FlowMessage::mutable_sampleraddress() {
// @@protoc_insertion_point(field_mutable:flowmessageenriched.FlowMessage.SamplerAddress)
return sampleraddress_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* FlowMessage::release_sampleraddress() {
// @@protoc_insertion_point(field_release:flowmessageenriched.FlowMessage.SamplerAddress)
return sampleraddress_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void FlowMessage::set_allocated_sampleraddress(::std::string* sampleraddress) {
if (sampleraddress != nullptr) {
} else {
}
sampleraddress_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sampleraddress);
// @@protoc_insertion_point(field_set_allocated:flowmessageenriched.FlowMessage.SamplerAddress)
}
// uint64 TimeFlowStart = 38;
inline void FlowMessage::clear_timeflowstart() {
timeflowstart_ = PROTOBUF_ULONGLONG(0);
}
inline ::google::protobuf::uint64 FlowMessage::timeflowstart() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.TimeFlowStart)
return timeflowstart_;
}
inline void FlowMessage::set_timeflowstart(::google::protobuf::uint64 value) {
timeflowstart_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.TimeFlowStart)
}
// uint64 TimeFlowEnd = 5;
inline void FlowMessage::clear_timeflowend() {
timeflowend_ = PROTOBUF_ULONGLONG(0);
}
inline ::google::protobuf::uint64 FlowMessage::timeflowend() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.TimeFlowEnd)
return timeflowend_;
}
inline void FlowMessage::set_timeflowend(::google::protobuf::uint64 value) {
timeflowend_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.TimeFlowEnd)
}
// uint64 Bytes = 9;
inline void FlowMessage::clear_bytes() {
bytes_ = PROTOBUF_ULONGLONG(0);
}
inline ::google::protobuf::uint64 FlowMessage::bytes() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.Bytes)
return bytes_;
}
inline void FlowMessage::set_bytes(::google::protobuf::uint64 value) {
bytes_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.Bytes)
}
// uint64 Packets = 10;
inline void FlowMessage::clear_packets() {
packets_ = PROTOBUF_ULONGLONG(0);
}
inline ::google::protobuf::uint64 FlowMessage::packets() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.Packets)
return packets_;
}
inline void FlowMessage::set_packets(::google::protobuf::uint64 value) {
packets_ = value;
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.Packets)
}
// bytes SrcAddr = 6;
inline void FlowMessage::clear_srcaddr() {
srcaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& FlowMessage::srcaddr() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.SrcAddr)
return srcaddr_.GetNoArena();
}
inline void FlowMessage::set_srcaddr(const ::std::string& value) {
srcaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.SrcAddr)
}
#if LANG_CXX11
inline void FlowMessage::set_srcaddr(::std::string&& value) {
srcaddr_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:flowmessageenriched.FlowMessage.SrcAddr)
}
#endif
inline void FlowMessage::set_srcaddr(const char* value) {
GOOGLE_DCHECK(value != nullptr);
srcaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:flowmessageenriched.FlowMessage.SrcAddr)
}
inline void FlowMessage::set_srcaddr(const void* value, size_t size) {
srcaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:flowmessageenriched.FlowMessage.SrcAddr)
}
inline ::std::string* FlowMessage::mutable_srcaddr() {
// @@protoc_insertion_point(field_mutable:flowmessageenriched.FlowMessage.SrcAddr)
return srcaddr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* FlowMessage::release_srcaddr() {
// @@protoc_insertion_point(field_release:flowmessageenriched.FlowMessage.SrcAddr)
return srcaddr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void FlowMessage::set_allocated_srcaddr(::std::string* srcaddr) {
if (srcaddr != nullptr) {
} else {
}
srcaddr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), srcaddr);
// @@protoc_insertion_point(field_set_allocated:flowmessageenriched.FlowMessage.SrcAddr)
}
// bytes DstAddr = 7;
inline void FlowMessage::clear_dstaddr() {
dstaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& FlowMessage::dstaddr() const {
// @@protoc_insertion_point(field_get:flowmessageenriched.FlowMessage.DstAddr)
return dstaddr_.GetNoArena();
}
inline void FlowMessage::set_dstaddr(const ::std::string& value) {
dstaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:flowmessageenriched.FlowMessage.DstAddr)
}
#if LANG_CXX11
inline void FlowMessage::set_dstaddr(::std::string&& value) {
dstaddr_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:flowmessageenriched.FlowMessage.DstAddr)
}
#endif
inline void FlowMessage::set_dstaddr(const char* value) {
GOOGLE_DCHECK(value != nullptr);
dstaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:flowmessageenriched.FlowMessage.DstAddr)
}