File Coverage

blib/lib/Iodef/Pb.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Iodef::Pb;
2             ##
3             ## This file was generated by Google::ProtocolBuffers (0.09)
4             ## from file ./protocol/defs/iodef.proto
5             ##
6              
7 1     1   5 use strict;
  1         2  
  1         31  
8 1     1   5 use warnings;
  1         2  
  1         104  
9 1     1   1616 use Google::ProtocolBuffers;
  1         133473  
  1         5647  
10             {
11             unless (SeverityType->can('_pb_fields_list')) {
12             Google::ProtocolBuffers->create_enum(
13             'SeverityType',
14             [
15             ['severity_type_high', 1],
16             ['severity_type_low', 2],
17             ['severity_type_medium', 3],
18              
19             ]
20             );
21             }
22            
23             unless (ImpactType::ImpactType->can('_pb_fields_list')) {
24             Google::ProtocolBuffers->create_enum(
25             'ImpactType::ImpactType',
26             [
27             ['Impact_type_admin', 1],
28             ['Impact_type_dos', 2],
29             ['Impact_type_ext_value', 3],
30             ['Impact_type_extortion', 4],
31             ['Impact_type_file', 5],
32             ['Impact_type_info_leak', 6],
33             ['Impact_type_misconfiguration', 7],
34             ['Impact_type_policy', 8],
35             ['Impact_type_recon', 9],
36             ['Impact_type_social_engineering', 10],
37             ['Impact_type_unknown', 11],
38             ['Impact_type_user', 12],
39             ['Impact_type_other', 13],
40              
41             ]
42             );
43             }
44            
45             unless (NodeRoleType::NodeRoleCategory->can('_pb_fields_list')) {
46             Google::ProtocolBuffers->create_enum(
47             'NodeRoleType::NodeRoleCategory',
48             [
49             ['NodeRole_category_application', 1],
50             ['NodeRole_category_client', 2],
51             ['NodeRole_category_credential', 3],
52             ['NodeRole_category_database', 4],
53             ['NodeRole_category_directory', 5],
54             ['NodeRole_category_ext_value', 6],
55             ['NodeRole_category_file', 7],
56             ['NodeRole_category_ftp', 8],
57             ['NodeRole_category_infra', 9],
58             ['NodeRole_category_log', 10],
59             ['NodeRole_category_mail', 11],
60             ['NodeRole_category_messaging', 12],
61             ['NodeRole_category_name', 13],
62             ['NodeRole_category_p2p', 14],
63             ['NodeRole_category_print', 15],
64             ['NodeRole_category_server_internal', 16],
65             ['NodeRole_category_server_public', 17],
66             ['NodeRole_category_streaming', 18],
67             ['NodeRole_category_voice', 19],
68             ['NodeRole_category_www', 20],
69              
70             ]
71             );
72             }
73            
74             unless (IncidentType::IncidentPurpose->can('_pb_fields_list')) {
75             Google::ProtocolBuffers->create_enum(
76             'IncidentType::IncidentPurpose',
77             [
78             ['Incident_purpose_ext_value', 1],
79             ['Incident_purpose_mitigation', 2],
80             ['Incident_purpose_other', 3],
81             ['Incident_purpose_reporting', 4],
82             ['Incident_purpose_traceback', 5],
83              
84             ]
85             );
86             }
87            
88             unless (AddressType::AddressCategory->can('_pb_fields_list')) {
89             Google::ProtocolBuffers->create_enum(
90             'AddressType::AddressCategory',
91             [
92             ['Address_category_asn', 1],
93             ['Address_category_atm', 2],
94             ['Address_category_e_mail', 3],
95             ['Address_category_ext_value', 4],
96             ['Address_category_ipv4_addr', 5],
97             ['Address_category_ipv4_net', 6],
98             ['Address_category_ipv4_net_mask', 7],
99             ['Address_category_ipv6_addr', 8],
100             ['Address_category_ipv6_net', 9],
101             ['Address_category_ipv6_net_mask', 10],
102             ['Address_category_mac', 11],
103             ['Address_category_fqdn', 12],
104             ['Address_category_url', 13],
105              
106             ]
107             );
108             }
109            
110             unless (ExtensionType::DtypeType->can('_pb_fields_list')) {
111             Google::ProtocolBuffers->create_enum(
112             'ExtensionType::DtypeType',
113             [
114             ['dtype_type_boolean', 1],
115             ['dtype_type_byte', 2],
116             ['dtype_type_character', 3],
117             ['dtype_type_csv', 4],
118             ['dtype_type_date_time', 5],
119             ['dtype_type_ext_value', 6],
120             ['dtype_type_file', 7],
121             ['dtype_type_frame', 8],
122             ['dtype_type_integer', 9],
123             ['dtype_type_ipv4_packet', 10],
124             ['dtype_type_ipv6_packet', 11],
125             ['dtype_type_ntpstamp', 12],
126             ['dtype_type_packet', 13],
127             ['dtype_type_path', 14],
128             ['dtype_type_portlist', 15],
129             ['dtype_type_real', 16],
130             ['dtype_type_string', 17],
131             ['dtype_type_url', 18],
132             ['dtype_type_winreg', 19],
133             ['dtype_type_xml', 20],
134              
135             ]
136             );
137             }
138            
139             unless (DurationType->can('_pb_fields_list')) {
140             Google::ProtocolBuffers->create_enum(
141             'DurationType',
142             [
143             ['duration_type_day', 1],
144             ['duration_type_ext_value', 2],
145             ['duration_type_hour', 3],
146             ['duration_type_minute', 4],
147             ['duration_type_month', 5],
148             ['duration_type_quarter', 6],
149             ['duration_type_second', 7],
150             ['duration_type_year', 8],
151              
152             ]
153             );
154             }
155            
156             unless (SystemType::SystemSpoofed->can('_pb_fields_list')) {
157             Google::ProtocolBuffers->create_enum(
158             'SystemType::SystemSpoofed',
159             [
160             ['System_spoofed_no', 1],
161             ['System_spoofed_unknown', 2],
162             ['System_spoofed_yes', 3],
163              
164             ]
165             );
166             }
167            
168             unless (ContactType::ContactRole->can('_pb_fields_list')) {
169             Google::ProtocolBuffers->create_enum(
170             'ContactType::ContactRole',
171             [
172             ['Contact_role_admin', 1],
173             ['Contact_role_cc', 2],
174             ['Contact_role_creator', 3],
175             ['Contact_role_ext_value', 4],
176             ['Contact_role_irt', 5],
177             ['Contact_role_tech', 6],
178              
179             ]
180             );
181             }
182            
183             unless (ContactType::ContactType->can('_pb_fields_list')) {
184             Google::ProtocolBuffers->create_enum(
185             'ContactType::ContactType',
186             [
187             ['Contact_type_ext_value', 1],
188             ['Contact_type_organization', 2],
189             ['Contact_type_person', 3],
190              
191             ]
192             );
193             }
194            
195             unless (CounterType::CounterType->can('_pb_fields_list')) {
196             Google::ProtocolBuffers->create_enum(
197             'CounterType::CounterType',
198             [
199             ['Counter_type_alert', 1],
200             ['Counter_type_byte', 2],
201             ['Counter_type_event', 3],
202             ['Counter_type_ext_value', 4],
203             ['Counter_type_flow', 5],
204             ['Counter_type_host', 6],
205             ['Counter_type_message', 7],
206             ['Counter_type_organization', 8],
207             ['Counter_type_packet', 9],
208             ['Counter_type_session', 10],
209             ['Counter_type_site', 11],
210              
211             ]
212             );
213             }
214            
215             unless (AssessmentType::AssessmentOccurrence->can('_pb_fields_list')) {
216             Google::ProtocolBuffers->create_enum(
217             'AssessmentType::AssessmentOccurrence',
218             [
219             ['Assessment_occurrence_actual', 1],
220             ['Assessment_occurrence_potential', 2],
221              
222             ]
223             );
224             }
225            
226             unless (ActionType->can('_pb_fields_list')) {
227             Google::ProtocolBuffers->create_enum(
228             'ActionType',
229             [
230             ['action_type_block_host', 1],
231             ['action_type_block_network', 2],
232             ['action_type_block_port', 3],
233             ['action_type_contact_sender', 4],
234             ['action_type_contact_source_site', 5],
235             ['action_type_contact_target_site', 6],
236             ['action_type_ext_value', 7],
237             ['action_type_investigate', 8],
238             ['action_type_nothing', 9],
239             ['action_type_other', 10],
240             ['action_type_rate_limit_host', 11],
241             ['action_type_rate_limit_network', 12],
242             ['action_type_rate_limit_port', 13],
243             ['action_type_remediate_other', 14],
244             ['action_type_status_new_info', 15],
245             ['action_type_status_triage', 16],
246              
247             ]
248             );
249             }
250            
251             unless (RecordPatternType::RecordPatternOffsetunit->can('_pb_fields_list')) {
252             Google::ProtocolBuffers->create_enum(
253             'RecordPatternType::RecordPatternOffsetunit',
254             [
255             ['RecordPattern_offsetunit_byte', 1],
256             ['RecordPattern_offsetunit_ext_value', 2],
257             ['RecordPattern_offsetunit_line', 3],
258              
259             ]
260             );
261             }
262            
263             unless (TimeImpactType::TimeImpactMetric->can('_pb_fields_list')) {
264             Google::ProtocolBuffers->create_enum(
265             'TimeImpactType::TimeImpactMetric',
266             [
267             ['TimeImpact_metric_downtime', 1],
268             ['TimeImpact_metric_elapsed', 2],
269             ['TimeImpact_metric_ext_value', 3],
270             ['TimeImpact_metric_labor', 4],
271              
272             ]
273             );
274             }
275            
276             unless (ConfidenceType::ConfidenceRating->can('_pb_fields_list')) {
277             Google::ProtocolBuffers->create_enum(
278             'ConfidenceType::ConfidenceRating',
279             [
280             ['Confidence_rating_high', 1],
281             ['Confidence_rating_low', 2],
282             ['Confidence_rating_medium', 3],
283             ['Confidence_rating_numeric', 4],
284              
285             ]
286             );
287             }
288            
289             unless (RestrictionType->can('_pb_fields_list')) {
290             Google::ProtocolBuffers->create_enum(
291             'RestrictionType',
292             [
293             ['restriction_type_default', 1],
294             ['restriction_type_need_to_know', 2],
295             ['restriction_type_private', 3],
296             ['restriction_type_public', 4],
297              
298             ]
299             );
300             }
301            
302             unless (SystemType::SystemCategory->can('_pb_fields_list')) {
303             Google::ProtocolBuffers->create_enum(
304             'SystemType::SystemCategory',
305             [
306             ['System_category_ext_value', 1],
307             ['System_category_infrastructure', 2],
308             ['System_category_intermediate', 3],
309             ['System_category_sensor', 4],
310             ['System_category_source', 5],
311             ['System_category_target', 6],
312              
313             ]
314             );
315             }
316            
317             unless (RecordPatternType::RecordPatternType->can('_pb_fields_list')) {
318             Google::ProtocolBuffers->create_enum(
319             'RecordPatternType::RecordPatternType',
320             [
321             ['RecordPattern_type_binary', 1],
322             ['RecordPattern_type_ext_value', 2],
323             ['RecordPattern_type_regex', 3],
324             ['RecordPattern_type_xpath', 4],
325              
326             ]
327             );
328             }
329            
330             unless (ImpactType::ImpactCompletion->can('_pb_fields_list')) {
331             Google::ProtocolBuffers->create_enum(
332             'ImpactType::ImpactCompletion',
333             [
334             ['Impact_completion_failed', 1],
335             ['Impact_completion_succeeded', 2],
336              
337             ]
338             );
339             }
340            
341             unless (RegistryHandleType::RegistryHandleRegistry->can('_pb_fields_list')) {
342             Google::ProtocolBuffers->create_enum(
343             'RegistryHandleType::RegistryHandleRegistry',
344             [
345             ['RegistryHandle_registry_afrinic', 1],
346             ['RegistryHandle_registry_apnic', 2],
347             ['RegistryHandle_registry_arin', 3],
348             ['RegistryHandle_registry_ext_value', 4],
349             ['RegistryHandle_registry_internic', 5],
350             ['RegistryHandle_registry_lacnic', 6],
351             ['RegistryHandle_registry_local', 7],
352             ['RegistryHandle_registry_ripe', 8],
353              
354             ]
355             );
356             }
357            
358             unless (CounterType->can('_pb_fields_list')) {
359             Google::ProtocolBuffers->create_message(
360             'CounterType',
361             [
362             [
363             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
364             'CounterType::CounterType',
365             'type', 1, undef
366             ],
367             [
368             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
369             Google::ProtocolBuffers::Constants::TYPE_STRING(),
370             'ext_type', 2, undef
371             ],
372             [
373             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
374             Google::ProtocolBuffers::Constants::TYPE_STRING(),
375             'meaning', 3, undef
376             ],
377             [
378             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
379             'DurationType',
380             'duration', 4, undef
381             ],
382             [
383             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
384             Google::ProtocolBuffers::Constants::TYPE_STRING(),
385             'ext_duration', 5, undef
386             ],
387             [
388             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
389             Google::ProtocolBuffers::Constants::TYPE_FLOAT(),
390             'content', 6, undef
391             ],
392              
393             ],
394             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
395             );
396             }
397              
398             unless (TimeImpactType->can('_pb_fields_list')) {
399             Google::ProtocolBuffers->create_message(
400             'TimeImpactType',
401             [
402             [
403             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
404             'SeverityType',
405             'severity', 1, undef
406             ],
407             [
408             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
409             'TimeImpactType::TimeImpactMetric',
410             'metric', 2, undef
411             ],
412             [
413             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
414             Google::ProtocolBuffers::Constants::TYPE_STRING(),
415             'ext_metric', 3, undef
416             ],
417             [
418             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
419             'DurationType',
420             'duration', 4, undef
421             ],
422             [
423             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
424             Google::ProtocolBuffers::Constants::TYPE_STRING(),
425             'ext_duration', 5, undef
426             ],
427             [
428             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
429             Google::ProtocolBuffers::Constants::TYPE_FLOAT(),
430             'content', 6, undef
431             ],
432              
433             ],
434             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
435             );
436             }
437              
438             unless (PostalAddressType->can('_pb_fields_list')) {
439             Google::ProtocolBuffers->create_message(
440             'PostalAddressType',
441             [
442             [
443             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
444             Google::ProtocolBuffers::Constants::TYPE_STRING(),
445             'meaning', 1, undef
446             ],
447             [
448             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
449             Google::ProtocolBuffers::Constants::TYPE_STRING(),
450             'lang', 2, undef
451             ],
452             [
453             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
454             Google::ProtocolBuffers::Constants::TYPE_STRING(),
455             'content', 3, undef
456             ],
457              
458             ],
459             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
460             );
461             }
462              
463             unless (SystemType->can('_pb_fields_list')) {
464             Google::ProtocolBuffers->create_message(
465             'SystemType',
466             [
467             [
468             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
469             'NodeType',
470             'Node', 1, undef
471             ],
472             [
473             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
474             'ServiceType',
475             'Service', 2, undef
476             ],
477             [
478             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
479             'SoftwareType',
480             'OperatingSystem', 3, undef
481             ],
482             [
483             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
484             'CounterType',
485             'Counter', 4, undef
486             ],
487             [
488             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
489             'MLStringType',
490             'Description', 5, undef
491             ],
492             [
493             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
494             'ExtensionType',
495             'AdditionalData', 6, undef
496             ],
497             [
498             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
499             'SystemType::SystemSpoofed',
500             'spoofed', 7, undef
501             ],
502             [
503             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
504             Google::ProtocolBuffers::Constants::TYPE_STRING(),
505             'interface', 8, undef
506             ],
507             [
508             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
509             'RestrictionType',
510             'restriction', 9, undef
511             ],
512             [
513             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
514             Google::ProtocolBuffers::Constants::TYPE_STRING(),
515             'ext_category', 10, undef
516             ],
517             [
518             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
519             'SystemType::SystemCategory',
520             'category', 11, undef
521             ],
522              
523             ],
524             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
525             );
526             }
527              
528             unless (RecordPatternType->can('_pb_fields_list')) {
529             Google::ProtocolBuffers->create_message(
530             'RecordPatternType',
531             [
532             [
533             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
534             'RecordPatternType::RecordPatternType',
535             'type', 1, undef
536             ],
537             [
538             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
539             Google::ProtocolBuffers::Constants::TYPE_STRING(),
540             'ext_type', 2, undef
541             ],
542             [
543             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
544             Google::ProtocolBuffers::Constants::TYPE_INT32(),
545             'offset', 3, undef
546             ],
547             [
548             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
549             'RecordPatternType::RecordPatternOffsetunit',
550             'offsetunit', 4, undef
551             ],
552             [
553             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
554             Google::ProtocolBuffers::Constants::TYPE_STRING(),
555             'ext_offsetunit', 5, undef
556             ],
557             [
558             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
559             Google::ProtocolBuffers::Constants::TYPE_INT32(),
560             'instance', 6, undef
561             ],
562             [
563             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
564             Google::ProtocolBuffers::Constants::TYPE_STRING(),
565             'content', 7, undef
566             ],
567              
568             ],
569             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
570             );
571             }
572              
573             unless (HistoryType->can('_pb_fields_list')) {
574             Google::ProtocolBuffers->create_message(
575             'HistoryType',
576             [
577             [
578             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
579             'HistoryItemType',
580             'HistoryItem', 1, undef
581             ],
582             [
583             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
584             'RestrictionType',
585             'restriction', 2, undef
586             ],
587              
588             ],
589             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
590             );
591             }
592              
593             unless (ContactMeansType->can('_pb_fields_list')) {
594             Google::ProtocolBuffers->create_message(
595             'ContactMeansType',
596             [
597             [
598             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
599             Google::ProtocolBuffers::Constants::TYPE_STRING(),
600             'content', 1, undef
601             ],
602             [
603             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
604             Google::ProtocolBuffers::Constants::TYPE_STRING(),
605             'meaning', 2, undef
606             ],
607              
608             ],
609             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
610             );
611             }
612              
613             unless (RelatedActivityType->can('_pb_fields_list')) {
614             Google::ProtocolBuffers->create_message(
615             'RelatedActivityType',
616             [
617             [
618             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
619             'IncidentIDType',
620             'IncidentID', 1, undef
621             ],
622             [
623             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
624             'UrlType',
625             'URL', 2, undef
626             ],
627             [
628             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
629             'RestrictionType',
630             'restriction', 3, undef
631             ],
632              
633             ],
634             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
635             );
636             }
637              
638             unless (AddressType->can('_pb_fields_list')) {
639             Google::ProtocolBuffers->create_message(
640             'AddressType',
641             [
642             [
643             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
644             'AddressType::AddressCategory',
645             'category', 1, undef
646             ],
647             [
648             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
649             Google::ProtocolBuffers::Constants::TYPE_STRING(),
650             'ext_category', 2, undef
651             ],
652             [
653             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
654             Google::ProtocolBuffers::Constants::TYPE_STRING(),
655             'vlan_name', 3, undef
656             ],
657             [
658             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
659             Google::ProtocolBuffers::Constants::TYPE_INT32(),
660             'vlan_num', 4, undef
661             ],
662             [
663             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
664             Google::ProtocolBuffers::Constants::TYPE_STRING(),
665             'content', 5, undef
666             ],
667              
668             ],
669             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
670             );
671             }
672              
673             unless (HistoryItemType->can('_pb_fields_list')) {
674             Google::ProtocolBuffers->create_message(
675             'HistoryItemType',
676             [
677             [
678             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
679             Google::ProtocolBuffers::Constants::TYPE_STRING(),
680             'DateTime', 1, undef
681             ],
682             [
683             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
684             'IncidentIDType',
685             'IncidentID', 2, undef
686             ],
687             [
688             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
689             'ContactType',
690             'Contact', 3, undef
691             ],
692             [
693             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
694             'MLStringType',
695             'Description', 4, undef
696             ],
697             [
698             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
699             'ExtensionType',
700             'AdditionalData', 5, undef
701             ],
702             [
703             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
704             Google::ProtocolBuffers::Constants::TYPE_STRING(),
705             'ext_action', 6, undef
706             ],
707             [
708             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
709             'ActionType',
710             'action', 7, undef
711             ],
712             [
713             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
714             'RestrictionType',
715             'restriction', 8, undef
716             ],
717              
718             ],
719             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
720             );
721             }
722              
723             unless (NodeRoleType->can('_pb_fields_list')) {
724             Google::ProtocolBuffers->create_message(
725             'NodeRoleType',
726             [
727             [
728             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
729             Google::ProtocolBuffers::Constants::TYPE_STRING(),
730             'lang', 1, undef
731             ],
732             [
733             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
734             Google::ProtocolBuffers::Constants::TYPE_STRING(),
735             'ext_category', 2, undef
736             ],
737             [
738             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
739             'NodeRoleType::NodeRoleCategory',
740             'category', 3, undef
741             ],
742              
743             ],
744             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
745             );
746             }
747              
748             unless (NodeType->can('_pb_fields_list')) {
749             Google::ProtocolBuffers->create_message(
750             'NodeType',
751             [
752             [
753             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
754             'MLStringType',
755             'NodeName', 1, undef
756             ],
757             [
758             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
759             'AddressType',
760             'Address', 2, undef
761             ],
762             [
763             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
764             'MLStringType',
765             'Location', 3, undef
766             ],
767             [
768             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
769             Google::ProtocolBuffers::Constants::TYPE_STRING(),
770             'DateTime', 4, undef
771             ],
772             [
773             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
774             'NodeRoleType',
775             'NodeRole', 5, undef
776             ],
777             [
778             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
779             'CounterType',
780             'Counter', 6, undef
781             ],
782              
783             ],
784             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
785             );
786             }
787              
788             unless (EventDataType->can('_pb_fields_list')) {
789             Google::ProtocolBuffers->create_message(
790             'EventDataType',
791             [
792             [
793             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
794             'MLStringType',
795             'Description', 1, undef
796             ],
797             [
798             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
799             Google::ProtocolBuffers::Constants::TYPE_STRING(),
800             'DetectTime', 2, undef
801             ],
802             [
803             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
804             Google::ProtocolBuffers::Constants::TYPE_STRING(),
805             'StartTime', 3, undef
806             ],
807             [
808             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
809             Google::ProtocolBuffers::Constants::TYPE_STRING(),
810             'EndTime', 4, undef
811             ],
812             [
813             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
814             'ContactType',
815             'Contact', 5, undef
816             ],
817             [
818             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
819             'AssessmentType',
820             'Assessment', 6, undef
821             ],
822             [
823             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
824             'MethodType',
825             'Method', 7, undef
826             ],
827             [
828             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
829             'FlowType',
830             'Flow', 8, undef
831             ],
832             [
833             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
834             'ExpectationType',
835             'Expectation', 9, undef
836             ],
837             [
838             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
839             'RecordType',
840             'Record', 10, undef
841             ],
842             [
843             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
844             Google::ProtocolBuffers::Constants::TYPE_BYTES(),
845             'EventData', 11, undef
846             ],
847             [
848             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
849             'ExtensionType',
850             'AdditionalData', 12, undef
851             ],
852             [
853             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
854             'RestrictionType',
855             'restriction', 13, undef
856             ],
857              
858             ],
859             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
860             );
861             }
862              
863             unless (RecordDataType->can('_pb_fields_list')) {
864             Google::ProtocolBuffers->create_message(
865             'RecordDataType',
866             [
867             [
868             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
869             Google::ProtocolBuffers::Constants::TYPE_STRING(),
870             'DateTime', 1, undef
871             ],
872             [
873             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
874             'MLStringType',
875             'Description', 2, undef
876             ],
877             [
878             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
879             'SoftwareType',
880             'Application', 3, undef
881             ],
882             [
883             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
884             'RecordPatternType',
885             'RecordPattern', 4, undef
886             ],
887             [
888             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
889             'ExtensionType',
890             'RecordItem', 5, undef
891             ],
892             [
893             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
894             'ExtensionType',
895             'AdditionalData', 6, undef
896             ],
897             [
898             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
899             'RestrictionType',
900             'restriction', 7, undef
901             ],
902              
903             ],
904             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
905             );
906             }
907              
908             unless (ExtensionType->can('_pb_fields_list')) {
909             Google::ProtocolBuffers->create_message(
910             'ExtensionType',
911             [
912             [
913             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
914             Google::ProtocolBuffers::Constants::TYPE_STRING(),
915             'ext_dtype', 1, undef
916             ],
917             [
918             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
919             Google::ProtocolBuffers::Constants::TYPE_STRING(),
920             'formatid', 2, undef
921             ],
922             [
923             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
924             Google::ProtocolBuffers::Constants::TYPE_STRING(),
925             'meaning', 3, undef
926             ],
927             [
928             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
929             'ExtensionType::DtypeType',
930             'dtype', 4, undef
931             ],
932             [
933             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
934             'RestrictionType',
935             'restriction', 8, undef
936             ],
937             [
938             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
939             Google::ProtocolBuffers::Constants::TYPE_STRING(),
940             'content', 9, undef
941             ],
942              
943             ],
944             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
945             );
946             }
947              
948             unless (SoftwareType->can('_pb_fields_list')) {
949             Google::ProtocolBuffers->create_message(
950             'SoftwareType',
951             [
952             [
953             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
954             'UrlType',
955             'URL', 1, undef
956             ],
957             [
958             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
959             Google::ProtocolBuffers::Constants::TYPE_STRING(),
960             'vendor', 2, undef
961             ],
962             [
963             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
964             Google::ProtocolBuffers::Constants::TYPE_STRING(),
965             'version', 3, undef
966             ],
967             [
968             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
969             Google::ProtocolBuffers::Constants::TYPE_STRING(),
970             'configid', 4, undef
971             ],
972             [
973             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
974             Google::ProtocolBuffers::Constants::TYPE_STRING(),
975             'name', 5, undef
976             ],
977             [
978             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
979             Google::ProtocolBuffers::Constants::TYPE_STRING(),
980             'patch', 6, undef
981             ],
982             [
983             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
984             Google::ProtocolBuffers::Constants::TYPE_STRING(),
985             'family', 7, undef
986             ],
987             [
988             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
989             Google::ProtocolBuffers::Constants::TYPE_STRING(),
990             'swid', 8, undef
991             ],
992              
993             ],
994             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
995             );
996             }
997              
998             unless (ServiceType->can('_pb_fields_list')) {
999             Google::ProtocolBuffers->create_message(
1000             'ServiceType',
1001             [
1002             [
1003             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1004             Google::ProtocolBuffers::Constants::TYPE_INT32(),
1005             'Port', 1, undef
1006             ],
1007             [
1008             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1009             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1010             'Portlist', 2, undef
1011             ],
1012             [
1013             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1014             Google::ProtocolBuffers::Constants::TYPE_INT32(),
1015             'ProtoType', 3, undef
1016             ],
1017             [
1018             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1019             Google::ProtocolBuffers::Constants::TYPE_INT32(),
1020             'ProtoCode', 4, undef
1021             ],
1022             [
1023             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1024             Google::ProtocolBuffers::Constants::TYPE_INT32(),
1025             'ProtoField', 5, undef
1026             ],
1027             [
1028             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1029             'SoftwareType',
1030             'Application', 6, undef
1031             ],
1032             [
1033             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1034             Google::ProtocolBuffers::Constants::TYPE_INT32(),
1035             'ip_protocol', 7, undef
1036             ],
1037              
1038             ],
1039             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1040             );
1041             }
1042              
1043             unless (IODEFDocumentType->can('_pb_fields_list')) {
1044             Google::ProtocolBuffers->create_message(
1045             'IODEFDocumentType',
1046             [
1047             [
1048             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1049             Google::ProtocolBuffers::Constants::TYPE_FLOAT(),
1050             'version', 1, 1.0
1051             ],
1052             [
1053             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1054             'IncidentType',
1055             'Incident', 2, undef
1056             ],
1057             [
1058             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1059             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1060             'formatid', 3, undef
1061             ],
1062             [
1063             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1064             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1065             'lang', 4, undef
1066             ],
1067              
1068             ],
1069             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1070             );
1071             }
1072              
1073             unless (AlternativeIDType->can('_pb_fields_list')) {
1074             Google::ProtocolBuffers->create_message(
1075             'AlternativeIDType',
1076             [
1077             [
1078             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1079             'IncidentIDType',
1080             'IncidentID', 1, undef
1081             ],
1082             [
1083             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1084             'RestrictionType',
1085             'restriction', 2, undef
1086             ],
1087              
1088             ],
1089             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1090             );
1091             }
1092              
1093             unless (UrlType->can('_pb_fields_list')) {
1094             Google::ProtocolBuffers->create_message(
1095             'UrlType',
1096             [
1097             [
1098             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1099             Google::ProtocolBuffers::Constants::TYPE_BYTES(),
1100             'content', 1, undef
1101             ],
1102              
1103             ],
1104             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1105             );
1106             }
1107              
1108             unless (IncidentType->can('_pb_fields_list')) {
1109             Google::ProtocolBuffers->create_message(
1110             'IncidentType',
1111             [
1112             [
1113             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1114             'IncidentIDType',
1115             'IncidentID', 1, undef
1116             ],
1117             [
1118             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1119             'AlternativeIDType',
1120             'AlternativeID', 2, undef
1121             ],
1122             [
1123             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1124             'RelatedActivityType',
1125             'RelatedActivity', 3, undef
1126             ],
1127             [
1128             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1129             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1130             'DetectTime', 4, undef
1131             ],
1132             [
1133             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1134             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1135             'StartTime', 5, undef
1136             ],
1137             [
1138             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1139             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1140             'EndTime', 6, undef
1141             ],
1142             [
1143             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1144             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1145             'ReportTime', 7, undef
1146             ],
1147             [
1148             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1149             'MLStringType',
1150             'Description', 8, undef
1151             ],
1152             [
1153             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1154             'AssessmentType',
1155             'Assessment', 9, undef
1156             ],
1157             [
1158             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1159             'MethodType',
1160             'Method', 10, undef
1161             ],
1162             [
1163             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1164             'ContactType',
1165             'Contact', 11, undef
1166             ],
1167             [
1168             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1169             'EventDataType',
1170             'EventData', 12, undef
1171             ],
1172             [
1173             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1174             'HistoryType',
1175             'History', 13, undef
1176             ],
1177             [
1178             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1179             'ExtensionType',
1180             'AdditionalData', 14, undef
1181             ],
1182             [
1183             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1184             'IncidentType::IncidentPurpose',
1185             'purpose', 15, undef
1186             ],
1187             [
1188             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1189             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1190             'ext_purpose', 16, undef
1191             ],
1192             [
1193             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1194             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1195             'lang', 17, undef
1196             ],
1197             [
1198             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1199             'RestrictionType',
1200             'restriction', 18, 3
1201             ],
1202              
1203             ],
1204             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1205             );
1206             }
1207              
1208             unless (ConfidenceType->can('_pb_fields_list')) {
1209             Google::ProtocolBuffers->create_message(
1210             'ConfidenceType',
1211             [
1212             [
1213             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1214             'ConfidenceType::ConfidenceRating',
1215             'rating', 1, undef
1216             ],
1217             [
1218             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1219             Google::ProtocolBuffers::Constants::TYPE_FLOAT(),
1220             'content', 2, undef
1221             ],
1222              
1223             ],
1224             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1225             );
1226             }
1227              
1228             unless (RecordType->can('_pb_fields_list')) {
1229             Google::ProtocolBuffers->create_message(
1230             'RecordType',
1231             [
1232             [
1233             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1234             'RecordDataType',
1235             'RecordData', 1, undef
1236             ],
1237             [
1238             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1239             'RestrictionType',
1240             'restriction', 2, undef
1241             ],
1242              
1243             ],
1244             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1245             );
1246             }
1247              
1248             unless (ExpectationType->can('_pb_fields_list')) {
1249             Google::ProtocolBuffers->create_message(
1250             'ExpectationType',
1251             [
1252             [
1253             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1254             'MLStringType',
1255             'Description', 1, undef
1256             ],
1257             [
1258             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1259             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1260             'StartTime', 2, undef
1261             ],
1262             [
1263             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1264             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1265             'EndTime', 3, undef
1266             ],
1267             [
1268             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1269             'ContactType',
1270             'Contact', 4, undef
1271             ],
1272             [
1273             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1274             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1275             'ext_action', 5, undef
1276             ],
1277             [
1278             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1279             'ActionType',
1280             'action', 6, undef
1281             ],
1282             [
1283             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1284             'RestrictionType',
1285             'restriction', 7, undef
1286             ],
1287             [
1288             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1289             'SeverityType',
1290             'severity', 8, undef
1291             ],
1292              
1293             ],
1294             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1295             );
1296             }
1297              
1298             unless (MethodType->can('_pb_fields_list')) {
1299             Google::ProtocolBuffers->create_message(
1300             'MethodType',
1301             [
1302             [
1303             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1304             'ReferenceType',
1305             'Reference', 1, undef
1306             ],
1307             [
1308             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1309             'MLStringType',
1310             'Description', 2, undef
1311             ],
1312             [
1313             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1314             'ExtensionType',
1315             'AdditionalData', 3, undef
1316             ],
1317             [
1318             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1319             'RestrictionType',
1320             'restriction', 4, undef
1321             ],
1322              
1323             ],
1324             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1325             );
1326             }
1327              
1328             unless (RegistryHandleType->can('_pb_fields_list')) {
1329             Google::ProtocolBuffers->create_message(
1330             'RegistryHandleType',
1331             [
1332             [
1333             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1334             'RegistryHandleType::RegistryHandleRegistry',
1335             'registry', 1, undef
1336             ],
1337             [
1338             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1339             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1340             'ext_registry', 2, undef
1341             ],
1342             [
1343             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1344             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1345             'content', 3, undef
1346             ],
1347              
1348             ],
1349             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1350             );
1351             }
1352              
1353             unless (ImpactType->can('_pb_fields_list')) {
1354             Google::ProtocolBuffers->create_message(
1355             'ImpactType',
1356             [
1357             [
1358             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1359             'ImpactType::ImpactType',
1360             'type', 1, 13
1361             ],
1362             [
1363             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1364             'ImpactType::ImpactCompletion',
1365             'completion', 2, undef
1366             ],
1367             [
1368             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1369             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1370             'lang', 3, undef
1371             ],
1372             [
1373             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1374             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1375             'ext_type', 4, undef
1376             ],
1377             [
1378             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1379             'SeverityType',
1380             'severity', 5, undef
1381             ],
1382             [
1383             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1384             'MLStringType',
1385             'content', 6, undef
1386             ],
1387              
1388             ],
1389             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1390             );
1391             }
1392              
1393             unless (IncidentIDType->can('_pb_fields_list')) {
1394             Google::ProtocolBuffers->create_message(
1395             'IncidentIDType',
1396             [
1397             [
1398             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1399             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1400             'name', 1, undef
1401             ],
1402             [
1403             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1404             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1405             'instance', 2, undef
1406             ],
1407             [
1408             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1409             'RestrictionType',
1410             'restriction', 3, undef
1411             ],
1412             [
1413             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1414             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1415             'content', 4, undef
1416             ],
1417              
1418             ],
1419             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1420             );
1421             }
1422              
1423             unless (MLStringType->can('_pb_fields_list')) {
1424             Google::ProtocolBuffers->create_message(
1425             'MLStringType',
1426             [
1427             [
1428             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1429             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1430             'lang', 1, undef
1431             ],
1432             [
1433             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1434             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1435             'content', 2, undef
1436             ],
1437              
1438             ],
1439             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1440             );
1441             }
1442              
1443             unless (MonetaryImpactType->can('_pb_fields_list')) {
1444             Google::ProtocolBuffers->create_message(
1445             'MonetaryImpactType',
1446             [
1447             [
1448             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1449             'SeverityType',
1450             'severity', 1, undef
1451             ],
1452             [
1453             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1454             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1455             'currency', 2, undef
1456             ],
1457             [
1458             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1459             Google::ProtocolBuffers::Constants::TYPE_FLOAT(),
1460             'content', 3, undef
1461             ],
1462              
1463             ],
1464             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1465             );
1466             }
1467              
1468             unless (ContactType->can('_pb_fields_list')) {
1469             Google::ProtocolBuffers->create_message(
1470             'ContactType',
1471             [
1472             [
1473             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1474             'MLStringType',
1475             'ContactName', 1, undef
1476             ],
1477             [
1478             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1479             'MLStringType',
1480             'Description', 2, undef
1481             ],
1482             [
1483             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1484             'RegistryHandleType',
1485             'RegistryHandle', 3, undef
1486             ],
1487             [
1488             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1489             'PostalAddressType',
1490             'PostalAddress', 4, undef
1491             ],
1492             [
1493             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1494             'ContactMeansType',
1495             'Email', 5, undef
1496             ],
1497             [
1498             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1499             'ContactMeansType',
1500             'Telephone', 6, undef
1501             ],
1502             [
1503             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1504             'ContactMeansType',
1505             'Fax', 7, undef
1506             ],
1507             [
1508             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1509             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1510             'Timezone', 8, undef
1511             ],
1512             [
1513             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1514             'ContactType',
1515             'Contact', 9, undef
1516             ],
1517             [
1518             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1519             'ExtensionType',
1520             'AdditionalData', 10, undef
1521             ],
1522             [
1523             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1524             'ContactType::ContactType',
1525             'type', 11, undef
1526             ],
1527             [
1528             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1529             'ContactType::ContactRole',
1530             'role', 12, undef
1531             ],
1532             [
1533             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1534             'RestrictionType',
1535             'restriction', 13, undef
1536             ],
1537             [
1538             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1539             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1540             'ext_type', 14, undef
1541             ],
1542             [
1543             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1544             Google::ProtocolBuffers::Constants::TYPE_STRING(),
1545             'ext_role', 15, undef
1546             ],
1547              
1548             ],
1549             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1550             );
1551             }
1552              
1553             unless (AssessmentType->can('_pb_fields_list')) {
1554             Google::ProtocolBuffers->create_message(
1555             'AssessmentType',
1556             [
1557             [
1558             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1559             'ImpactType',
1560             'Impact', 1, undef
1561             ],
1562             [
1563             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1564             'TimeImpactType',
1565             'TimeImpact', 2, undef
1566             ],
1567             [
1568             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1569             'MonetaryImpactType',
1570             'MonetaryImpact', 3, undef
1571             ],
1572             [
1573             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1574             'CounterType',
1575             'Counter', 4, undef
1576             ],
1577             [
1578             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1579             'ConfidenceType',
1580             'Confidence', 5, undef
1581             ],
1582             [
1583             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1584             'ExtensionType',
1585             'AdditionalData', 6, undef
1586             ],
1587             [
1588             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1589             'AssessmentType::AssessmentOccurrence',
1590             'occurrence', 7, undef
1591             ],
1592             [
1593             Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
1594             'RestrictionType',
1595             'restriction', 8, undef
1596             ],
1597              
1598             ],
1599             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1600             );
1601             }
1602              
1603             unless (FlowType->can('_pb_fields_list')) {
1604             Google::ProtocolBuffers->create_message(
1605             'FlowType',
1606             [
1607             [
1608             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1609             'SystemType',
1610             'System', 1, undef
1611             ],
1612              
1613             ],
1614             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1615             );
1616             }
1617              
1618             unless (ReferenceType->can('_pb_fields_list')) {
1619             Google::ProtocolBuffers->create_message(
1620             'ReferenceType',
1621             [
1622             [
1623             Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
1624             'MLStringType',
1625             'ReferenceName', 1, undef
1626             ],
1627             [
1628             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1629             'UrlType',
1630             'URL', 2, undef
1631             ],
1632             [
1633             Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
1634             'MLStringType',
1635             'Description', 3, undef
1636             ],
1637              
1638             ],
1639             { 'create_accessors' => 1, 'follow_best_practice' => 1, }
1640             );
1641             }
1642              
1643             }
1644             1;