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