Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // source: chromium/chrome/common/safe_browsing/csd.proto
3 :
4 : #ifndef PROTOBUF_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto__INCLUDED
5 : #define PROTOBUF_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto__INCLUDED
6 :
7 : #include <string>
8 :
9 : #include <google/protobuf/stubs/common.h>
10 :
11 : #if GOOGLE_PROTOBUF_VERSION < 2006000
12 : #error This file was generated by a newer version of protoc which is
13 : #error incompatible with your Protocol Buffer headers. Please update
14 : #error your headers.
15 : #endif
16 : #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 : #error This file was generated by an older version of protoc which is
18 : #error incompatible with your Protocol Buffer headers. Please
19 : #error regenerate this file with a newer version of protoc.
20 : #endif
21 :
22 : #include <google/protobuf/generated_message_util.h>
23 : #include <google/protobuf/message_lite.h>
24 : #include <google/protobuf/repeated_field.h>
25 : #include <google/protobuf/extension_set.h>
26 : // @@protoc_insertion_point(includes)
27 :
28 : namespace safe_browsing {
29 :
30 : // Internal implementation detail -- do not call these.
31 : void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
32 : void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
33 : void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
34 :
35 : class ChromeUserPopulation;
36 : class ClientPhishingRequest;
37 : class ClientPhishingRequest_Feature;
38 : class ClientPhishingResponse;
39 : class ClientMalwareRequest;
40 : class ClientMalwareRequest_UrlInfo;
41 : class ClientMalwareResponse;
42 : class ClientDownloadRequest;
43 : class ClientDownloadRequest_Digests;
44 : class ClientDownloadRequest_Resource;
45 : class ClientDownloadRequest_CertificateChain;
46 : class ClientDownloadRequest_CertificateChain_Element;
47 : class ClientDownloadRequest_ExtendedAttr;
48 : class ClientDownloadRequest_SignatureInfo;
49 : class ClientDownloadRequest_PEImageHeaders;
50 : class ClientDownloadRequest_PEImageHeaders_DebugData;
51 : class ClientDownloadRequest_MachOHeaders;
52 : class ClientDownloadRequest_MachOHeaders_LoadCommand;
53 : class ClientDownloadRequest_ImageHeaders;
54 : class ClientDownloadRequest_ArchivedBinary;
55 : class ClientDownloadRequest_URLChainEntry;
56 : class ClientDownloadResponse;
57 : class ClientDownloadResponse_MoreInfo;
58 : class ClientDownloadReport;
59 : class ClientDownloadReport_UserInformation;
60 : class ClientUploadResponse;
61 : class ClientIncidentReport;
62 : class ClientIncidentReport_IncidentData;
63 : class ClientIncidentReport_IncidentData_TrackedPreferenceIncident;
64 : class ClientIncidentReport_IncidentData_BinaryIntegrityIncident;
65 : class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile;
66 : class ClientIncidentReport_IncidentData_BlacklistLoadIncident;
67 : class ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident;
68 : class ClientIncidentReport_IncidentData_ResourceRequestIncident;
69 : class ClientIncidentReport_IncidentData_SuspiciousModuleIncident;
70 : class ClientIncidentReport_DownloadDetails;
71 : class ClientIncidentReport_EnvironmentData;
72 : class ClientIncidentReport_EnvironmentData_OS;
73 : class ClientIncidentReport_EnvironmentData_OS_RegistryValue;
74 : class ClientIncidentReport_EnvironmentData_OS_RegistryKey;
75 : class ClientIncidentReport_EnvironmentData_Machine;
76 : class ClientIncidentReport_EnvironmentData_Process;
77 : class ClientIncidentReport_EnvironmentData_Process_Patch;
78 : class ClientIncidentReport_EnvironmentData_Process_NetworkProvider;
79 : class ClientIncidentReport_EnvironmentData_Process_Dll;
80 : class ClientIncidentReport_EnvironmentData_Process_ModuleState;
81 : class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification;
82 : class ClientIncidentReport_ExtensionData;
83 : class ClientIncidentReport_ExtensionData_ExtensionInfo;
84 : class ClientIncidentReport_NonBinaryDownloadDetails;
85 : class ClientIncidentResponse;
86 : class ClientIncidentResponse_EnvironmentRequest;
87 : class DownloadMetadata;
88 : class ClientSafeBrowsingReportRequest;
89 : class ClientSafeBrowsingReportRequest_HTTPHeader;
90 : class ClientSafeBrowsingReportRequest_HTTPRequest;
91 : class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine;
92 : class ClientSafeBrowsingReportRequest_HTTPResponse;
93 : class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine;
94 : class ClientSafeBrowsingReportRequest_Resource;
95 :
96 : enum ChromeUserPopulation_UserPopulation {
97 : ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION = 0,
98 : ChromeUserPopulation_UserPopulation_SAFE_BROWSING = 1,
99 : ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING = 2
100 : };
101 : bool ChromeUserPopulation_UserPopulation_IsValid(int value);
102 : const ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MIN = ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION;
103 : const ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MAX = ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING;
104 : const int ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE = ChromeUserPopulation_UserPopulation_UserPopulation_MAX + 1;
105 :
106 : enum ClientDownloadRequest_URLChainEntry_URLType {
107 : ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_URL = 1,
108 : ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_REFERRER = 2,
109 : ClientDownloadRequest_URLChainEntry_URLType_LANDING_PAGE = 3,
110 : ClientDownloadRequest_URLChainEntry_URLType_LANDING_REFERRER = 4,
111 : ClientDownloadRequest_URLChainEntry_URLType_CLIENT_REDIRECT = 5,
112 : ClientDownloadRequest_URLChainEntry_URLType_SERVER_REDIRECT = 6
113 : };
114 : bool ClientDownloadRequest_URLChainEntry_URLType_IsValid(int value);
115 : const ClientDownloadRequest_URLChainEntry_URLType ClientDownloadRequest_URLChainEntry_URLType_URLType_MIN = ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_URL;
116 : const ClientDownloadRequest_URLChainEntry_URLType ClientDownloadRequest_URLChainEntry_URLType_URLType_MAX = ClientDownloadRequest_URLChainEntry_URLType_SERVER_REDIRECT;
117 : const int ClientDownloadRequest_URLChainEntry_URLType_URLType_ARRAYSIZE = ClientDownloadRequest_URLChainEntry_URLType_URLType_MAX + 1;
118 :
119 : enum ClientDownloadRequest_ResourceType {
120 : ClientDownloadRequest_ResourceType_DOWNLOAD_URL = 0,
121 : ClientDownloadRequest_ResourceType_DOWNLOAD_REDIRECT = 1,
122 : ClientDownloadRequest_ResourceType_TAB_URL = 2,
123 : ClientDownloadRequest_ResourceType_TAB_REDIRECT = 3,
124 : ClientDownloadRequest_ResourceType_PPAPI_DOCUMENT = 4,
125 : ClientDownloadRequest_ResourceType_PPAPI_PLUGIN = 5
126 : };
127 : bool ClientDownloadRequest_ResourceType_IsValid(int value);
128 : const ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MIN = ClientDownloadRequest_ResourceType_DOWNLOAD_URL;
129 : const ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MAX = ClientDownloadRequest_ResourceType_PPAPI_PLUGIN;
130 : const int ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE = ClientDownloadRequest_ResourceType_ResourceType_MAX + 1;
131 :
132 : enum ClientDownloadRequest_DownloadType {
133 : ClientDownloadRequest_DownloadType_WIN_EXECUTABLE = 0,
134 : ClientDownloadRequest_DownloadType_CHROME_EXTENSION = 1,
135 : ClientDownloadRequest_DownloadType_ANDROID_APK = 2,
136 : ClientDownloadRequest_DownloadType_ZIPPED_EXECUTABLE = 3,
137 : ClientDownloadRequest_DownloadType_MAC_EXECUTABLE = 4,
138 : ClientDownloadRequest_DownloadType_ZIPPED_ARCHIVE = 5,
139 : ClientDownloadRequest_DownloadType_ARCHIVE = 6,
140 : ClientDownloadRequest_DownloadType_INVALID_ZIP = 7,
141 : ClientDownloadRequest_DownloadType_INVALID_MAC_ARCHIVE = 8,
142 : ClientDownloadRequest_DownloadType_PPAPI_SAVE_REQUEST = 9,
143 : ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE = 10
144 : };
145 : bool ClientDownloadRequest_DownloadType_IsValid(int value);
146 : const ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MIN = ClientDownloadRequest_DownloadType_WIN_EXECUTABLE;
147 : const ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MAX = ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE;
148 : const int ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE = ClientDownloadRequest_DownloadType_DownloadType_MAX + 1;
149 :
150 : enum ClientDownloadResponse_Verdict {
151 : ClientDownloadResponse_Verdict_SAFE = 0,
152 : ClientDownloadResponse_Verdict_DANGEROUS = 1,
153 : ClientDownloadResponse_Verdict_UNCOMMON = 2,
154 : ClientDownloadResponse_Verdict_POTENTIALLY_UNWANTED = 3,
155 : ClientDownloadResponse_Verdict_DANGEROUS_HOST = 4,
156 : ClientDownloadResponse_Verdict_UNKNOWN = 5
157 : };
158 : bool ClientDownloadResponse_Verdict_IsValid(int value);
159 : const ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MIN = ClientDownloadResponse_Verdict_SAFE;
160 : const ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MAX = ClientDownloadResponse_Verdict_UNKNOWN;
161 : const int ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE = ClientDownloadResponse_Verdict_Verdict_MAX + 1;
162 :
163 : enum ClientDownloadReport_Reason {
164 : ClientDownloadReport_Reason_SHARE = 0,
165 : ClientDownloadReport_Reason_FALSE_POSITIVE = 1,
166 : ClientDownloadReport_Reason_APPEAL = 2
167 : };
168 : bool ClientDownloadReport_Reason_IsValid(int value);
169 : const ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MIN = ClientDownloadReport_Reason_SHARE;
170 : const ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MAX = ClientDownloadReport_Reason_APPEAL;
171 : const int ClientDownloadReport_Reason_Reason_ARRAYSIZE = ClientDownloadReport_Reason_Reason_MAX + 1;
172 :
173 : enum ClientUploadResponse_UploadStatus {
174 : ClientUploadResponse_UploadStatus_SUCCESS = 0,
175 : ClientUploadResponse_UploadStatus_UPLOAD_FAILURE = 1
176 : };
177 : bool ClientUploadResponse_UploadStatus_IsValid(int value);
178 : const ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MIN = ClientUploadResponse_UploadStatus_SUCCESS;
179 : const ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MAX = ClientUploadResponse_UploadStatus_UPLOAD_FAILURE;
180 : const int ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE = ClientUploadResponse_UploadStatus_UploadStatus_MAX + 1;
181 :
182 : enum ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState {
183 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN = 0,
184 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CLEARED = 1,
185 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_WEAK_LEGACY_OBSOLETE = 2,
186 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CHANGED = 3,
187 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE = 4
188 : };
189 : bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(int value);
190 : const ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN;
191 : const ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE;
192 : const int ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX + 1;
193 :
194 : enum ClientIncidentReport_IncidentData_ResourceRequestIncident_Type {
195 : ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN = 0,
196 : ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN = 3
197 : };
198 : bool ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(int value);
199 : const ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN;
200 : const ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN;
201 : const int ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX + 1;
202 :
203 : enum ClientIncidentReport_EnvironmentData_Process_Dll_Feature {
204 : ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN = 0,
205 : ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP = 1
206 : };
207 : bool ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(int value);
208 : const ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN;
209 : const ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP;
210 : const int ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX + 1;
211 :
212 : enum ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState {
213 : ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN = 0,
214 : ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNKNOWN = 1,
215 : ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNMODIFIED = 2,
216 : ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED = 3
217 : };
218 : bool ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(int value);
219 : const ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN;
220 : const ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED;
221 : const int ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX + 1;
222 :
223 : enum ClientIncidentReport_EnvironmentData_Process_Channel {
224 : ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN = 0,
225 : ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_CANARY = 1,
226 : ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_DEV = 2,
227 : ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_BETA = 3,
228 : ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE = 4
229 : };
230 : bool ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(int value);
231 : const ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN;
232 : const ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE;
233 : const int ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX + 1;
234 :
235 : enum ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState {
236 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN = 0,
237 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_ENABLED = 1,
238 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_DISABLED = 2,
239 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLACKLISTED = 3,
240 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLOCKED = 4,
241 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED = 5
242 : };
243 : bool ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(int value);
244 : const ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN;
245 : const ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED;
246 : const int ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX + 1;
247 :
248 : enum ClientSafeBrowsingReportRequest_ReportType {
249 : ClientSafeBrowsingReportRequest_ReportType_UNKNOWN = 0,
250 : ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING = 1,
251 : ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE = 2,
252 : ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED = 3,
253 : ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_PHISHING_URL = 4,
254 : ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_MALWARE_URL = 5,
255 : ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY = 6,
256 : ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING = 7,
257 : ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API = 10
258 : };
259 : bool ClientSafeBrowsingReportRequest_ReportType_IsValid(int value);
260 : const ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN = ClientSafeBrowsingReportRequest_ReportType_UNKNOWN;
261 : const ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API;
262 : const int ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE = ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX + 1;
263 :
264 : // ===================================================================
265 :
266 : class ChromeUserPopulation : public ::google::protobuf::MessageLite {
267 : public:
268 : ChromeUserPopulation();
269 : virtual ~ChromeUserPopulation();
270 :
271 : ChromeUserPopulation(const ChromeUserPopulation& from);
272 :
273 : inline ChromeUserPopulation& operator=(const ChromeUserPopulation& from) {
274 : CopyFrom(from);
275 : return *this;
276 : }
277 :
278 0 : inline const ::std::string& unknown_fields() const {
279 0 : return _unknown_fields_;
280 : }
281 :
282 0 : inline ::std::string* mutable_unknown_fields() {
283 0 : return &_unknown_fields_;
284 : }
285 :
286 : static const ChromeUserPopulation& default_instance();
287 :
288 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
289 : // Returns the internal default instance pointer. This function can
290 : // return NULL thus should not be used by the user. This is intended
291 : // for Protobuf internal code. Please use default_instance() declared
292 : // above instead.
293 0 : static inline const ChromeUserPopulation* internal_default_instance() {
294 0 : return default_instance_;
295 : }
296 : #endif
297 :
298 : void Swap(ChromeUserPopulation* other);
299 :
300 : // implements Message ----------------------------------------------
301 :
302 : ChromeUserPopulation* New() const;
303 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
304 : void CopyFrom(const ChromeUserPopulation& from);
305 : void MergeFrom(const ChromeUserPopulation& from);
306 : void Clear();
307 : bool IsInitialized() const;
308 :
309 : int ByteSize() const;
310 : bool MergePartialFromCodedStream(
311 : ::google::protobuf::io::CodedInputStream* input);
312 : void SerializeWithCachedSizes(
313 : ::google::protobuf::io::CodedOutputStream* output) const;
314 : void DiscardUnknownFields();
315 0 : int GetCachedSize() const { return _cached_size_; }
316 : private:
317 : void SharedCtor();
318 : void SharedDtor();
319 : void SetCachedSize(int size) const;
320 : public:
321 : ::std::string GetTypeName() const;
322 :
323 : // nested types ----------------------------------------------------
324 :
325 : typedef ChromeUserPopulation_UserPopulation UserPopulation;
326 : static const UserPopulation UNKNOWN_USER_POPULATION = ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION;
327 : static const UserPopulation SAFE_BROWSING = ChromeUserPopulation_UserPopulation_SAFE_BROWSING;
328 : static const UserPopulation EXTENDED_REPORTING = ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING;
329 : static inline bool UserPopulation_IsValid(int value) {
330 : return ChromeUserPopulation_UserPopulation_IsValid(value);
331 : }
332 : static const UserPopulation UserPopulation_MIN =
333 : ChromeUserPopulation_UserPopulation_UserPopulation_MIN;
334 : static const UserPopulation UserPopulation_MAX =
335 : ChromeUserPopulation_UserPopulation_UserPopulation_MAX;
336 : static const int UserPopulation_ARRAYSIZE =
337 : ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE;
338 :
339 : // accessors -------------------------------------------------------
340 :
341 : // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1;
342 : inline bool has_user_population() const;
343 : inline void clear_user_population();
344 : static const int kUserPopulationFieldNumber = 1;
345 : inline ::safe_browsing::ChromeUserPopulation_UserPopulation user_population() const;
346 : inline void set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value);
347 :
348 : // @@protoc_insertion_point(class_scope:safe_browsing.ChromeUserPopulation)
349 : private:
350 : inline void set_has_user_population();
351 : inline void clear_has_user_population();
352 :
353 : ::std::string _unknown_fields_;
354 :
355 : ::google::protobuf::uint32 _has_bits_[1];
356 : mutable int _cached_size_;
357 : int user_population_;
358 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
359 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
360 : #else
361 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
362 : #endif
363 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
364 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
365 :
366 : void InitAsDefaultInstance();
367 : static ChromeUserPopulation* default_instance_;
368 : };
369 : // -------------------------------------------------------------------
370 :
371 : class ClientPhishingRequest_Feature : public ::google::protobuf::MessageLite {
372 : public:
373 : ClientPhishingRequest_Feature();
374 : virtual ~ClientPhishingRequest_Feature();
375 :
376 : ClientPhishingRequest_Feature(const ClientPhishingRequest_Feature& from);
377 :
378 : inline ClientPhishingRequest_Feature& operator=(const ClientPhishingRequest_Feature& from) {
379 : CopyFrom(from);
380 : return *this;
381 : }
382 :
383 0 : inline const ::std::string& unknown_fields() const {
384 0 : return _unknown_fields_;
385 : }
386 :
387 0 : inline ::std::string* mutable_unknown_fields() {
388 0 : return &_unknown_fields_;
389 : }
390 :
391 : static const ClientPhishingRequest_Feature& default_instance();
392 :
393 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
394 : // Returns the internal default instance pointer. This function can
395 : // return NULL thus should not be used by the user. This is intended
396 : // for Protobuf internal code. Please use default_instance() declared
397 : // above instead.
398 : static inline const ClientPhishingRequest_Feature* internal_default_instance() {
399 : return default_instance_;
400 : }
401 : #endif
402 :
403 : void Swap(ClientPhishingRequest_Feature* other);
404 :
405 : // implements Message ----------------------------------------------
406 :
407 : ClientPhishingRequest_Feature* New() const;
408 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
409 : void CopyFrom(const ClientPhishingRequest_Feature& from);
410 : void MergeFrom(const ClientPhishingRequest_Feature& from);
411 : void Clear();
412 : bool IsInitialized() const;
413 :
414 : int ByteSize() const;
415 : bool MergePartialFromCodedStream(
416 : ::google::protobuf::io::CodedInputStream* input);
417 : void SerializeWithCachedSizes(
418 : ::google::protobuf::io::CodedOutputStream* output) const;
419 : void DiscardUnknownFields();
420 0 : int GetCachedSize() const { return _cached_size_; }
421 : private:
422 : void SharedCtor();
423 : void SharedDtor();
424 : void SetCachedSize(int size) const;
425 : public:
426 : ::std::string GetTypeName() const;
427 :
428 : // nested types ----------------------------------------------------
429 :
430 : // accessors -------------------------------------------------------
431 :
432 : // required string name = 1;
433 : inline bool has_name() const;
434 : inline void clear_name();
435 : static const int kNameFieldNumber = 1;
436 : inline const ::std::string& name() const;
437 : inline void set_name(const ::std::string& value);
438 : inline void set_name(const char* value);
439 : inline void set_name(const char* value, size_t size);
440 : inline ::std::string* mutable_name();
441 : inline ::std::string* release_name();
442 : inline void set_allocated_name(::std::string* name);
443 :
444 : // required double value = 2;
445 : inline bool has_value() const;
446 : inline void clear_value();
447 : static const int kValueFieldNumber = 2;
448 : inline double value() const;
449 : inline void set_value(double value);
450 :
451 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest.Feature)
452 : private:
453 : inline void set_has_name();
454 : inline void clear_has_name();
455 : inline void set_has_value();
456 : inline void clear_has_value();
457 :
458 : ::std::string _unknown_fields_;
459 :
460 : ::google::protobuf::uint32 _has_bits_[1];
461 : mutable int _cached_size_;
462 : ::std::string* name_;
463 : double value_;
464 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
465 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
466 : #else
467 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
468 : #endif
469 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
470 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
471 :
472 : void InitAsDefaultInstance();
473 : static ClientPhishingRequest_Feature* default_instance_;
474 : };
475 : // -------------------------------------------------------------------
476 :
477 : class ClientPhishingRequest : public ::google::protobuf::MessageLite {
478 : public:
479 : ClientPhishingRequest();
480 : virtual ~ClientPhishingRequest();
481 :
482 : ClientPhishingRequest(const ClientPhishingRequest& from);
483 :
484 : inline ClientPhishingRequest& operator=(const ClientPhishingRequest& from) {
485 : CopyFrom(from);
486 : return *this;
487 : }
488 :
489 0 : inline const ::std::string& unknown_fields() const {
490 0 : return _unknown_fields_;
491 : }
492 :
493 0 : inline ::std::string* mutable_unknown_fields() {
494 0 : return &_unknown_fields_;
495 : }
496 :
497 : static const ClientPhishingRequest& default_instance();
498 :
499 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
500 : // Returns the internal default instance pointer. This function can
501 : // return NULL thus should not be used by the user. This is intended
502 : // for Protobuf internal code. Please use default_instance() declared
503 : // above instead.
504 : static inline const ClientPhishingRequest* internal_default_instance() {
505 : return default_instance_;
506 : }
507 : #endif
508 :
509 : void Swap(ClientPhishingRequest* other);
510 :
511 : // implements Message ----------------------------------------------
512 :
513 : ClientPhishingRequest* New() const;
514 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
515 : void CopyFrom(const ClientPhishingRequest& from);
516 : void MergeFrom(const ClientPhishingRequest& from);
517 : void Clear();
518 : bool IsInitialized() const;
519 :
520 : int ByteSize() const;
521 : bool MergePartialFromCodedStream(
522 : ::google::protobuf::io::CodedInputStream* input);
523 : void SerializeWithCachedSizes(
524 : ::google::protobuf::io::CodedOutputStream* output) const;
525 : void DiscardUnknownFields();
526 0 : int GetCachedSize() const { return _cached_size_; }
527 : private:
528 : void SharedCtor();
529 : void SharedDtor();
530 : void SetCachedSize(int size) const;
531 : public:
532 : ::std::string GetTypeName() const;
533 :
534 : // nested types ----------------------------------------------------
535 :
536 : typedef ClientPhishingRequest_Feature Feature;
537 :
538 : // accessors -------------------------------------------------------
539 :
540 : // optional string url = 1;
541 : inline bool has_url() const;
542 : inline void clear_url();
543 : static const int kUrlFieldNumber = 1;
544 : inline const ::std::string& url() const;
545 : inline void set_url(const ::std::string& value);
546 : inline void set_url(const char* value);
547 : inline void set_url(const char* value, size_t size);
548 : inline ::std::string* mutable_url();
549 : inline ::std::string* release_url();
550 : inline void set_allocated_url(::std::string* url);
551 :
552 : // optional bytes OBSOLETE_hash_prefix = 10;
553 : inline bool has_obsolete_hash_prefix() const;
554 : inline void clear_obsolete_hash_prefix();
555 : static const int kOBSOLETEHashPrefixFieldNumber = 10;
556 : inline const ::std::string& obsolete_hash_prefix() const;
557 : inline void set_obsolete_hash_prefix(const ::std::string& value);
558 : inline void set_obsolete_hash_prefix(const char* value);
559 : inline void set_obsolete_hash_prefix(const void* value, size_t size);
560 : inline ::std::string* mutable_obsolete_hash_prefix();
561 : inline ::std::string* release_obsolete_hash_prefix();
562 : inline void set_allocated_obsolete_hash_prefix(::std::string* obsolete_hash_prefix);
563 :
564 : // required float client_score = 2;
565 : inline bool has_client_score() const;
566 : inline void clear_client_score();
567 : static const int kClientScoreFieldNumber = 2;
568 : inline float client_score() const;
569 : inline void set_client_score(float value);
570 :
571 : // optional bool is_phishing = 4;
572 : inline bool has_is_phishing() const;
573 : inline void clear_is_phishing();
574 : static const int kIsPhishingFieldNumber = 4;
575 : inline bool is_phishing() const;
576 : inline void set_is_phishing(bool value);
577 :
578 : // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5;
579 : inline int feature_map_size() const;
580 : inline void clear_feature_map();
581 : static const int kFeatureMapFieldNumber = 5;
582 : inline const ::safe_browsing::ClientPhishingRequest_Feature& feature_map(int index) const;
583 : inline ::safe_browsing::ClientPhishingRequest_Feature* mutable_feature_map(int index);
584 : inline ::safe_browsing::ClientPhishingRequest_Feature* add_feature_map();
585 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >&
586 : feature_map() const;
587 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >*
588 : mutable_feature_map();
589 :
590 : // optional int32 model_version = 6;
591 : inline bool has_model_version() const;
592 : inline void clear_model_version();
593 : static const int kModelVersionFieldNumber = 6;
594 : inline ::google::protobuf::int32 model_version() const;
595 : inline void set_model_version(::google::protobuf::int32 value);
596 :
597 : // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8;
598 : inline int non_model_feature_map_size() const;
599 : inline void clear_non_model_feature_map();
600 : static const int kNonModelFeatureMapFieldNumber = 8;
601 : inline const ::safe_browsing::ClientPhishingRequest_Feature& non_model_feature_map(int index) const;
602 : inline ::safe_browsing::ClientPhishingRequest_Feature* mutable_non_model_feature_map(int index);
603 : inline ::safe_browsing::ClientPhishingRequest_Feature* add_non_model_feature_map();
604 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >&
605 : non_model_feature_map() const;
606 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >*
607 : mutable_non_model_feature_map();
608 :
609 : // optional string OBSOLETE_referrer_url = 9;
610 : inline bool has_obsolete_referrer_url() const;
611 : inline void clear_obsolete_referrer_url();
612 : static const int kOBSOLETEReferrerUrlFieldNumber = 9;
613 : inline const ::std::string& obsolete_referrer_url() const;
614 : inline void set_obsolete_referrer_url(const ::std::string& value);
615 : inline void set_obsolete_referrer_url(const char* value);
616 : inline void set_obsolete_referrer_url(const char* value, size_t size);
617 : inline ::std::string* mutable_obsolete_referrer_url();
618 : inline ::std::string* release_obsolete_referrer_url();
619 : inline void set_allocated_obsolete_referrer_url(::std::string* obsolete_referrer_url);
620 :
621 : // repeated uint32 shingle_hashes = 12 [packed = true];
622 : inline int shingle_hashes_size() const;
623 : inline void clear_shingle_hashes();
624 : static const int kShingleHashesFieldNumber = 12;
625 : inline ::google::protobuf::uint32 shingle_hashes(int index) const;
626 : inline void set_shingle_hashes(int index, ::google::protobuf::uint32 value);
627 : inline void add_shingle_hashes(::google::protobuf::uint32 value);
628 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
629 : shingle_hashes() const;
630 : inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
631 : mutable_shingle_hashes();
632 :
633 : // optional string model_filename = 13;
634 : inline bool has_model_filename() const;
635 : inline void clear_model_filename();
636 : static const int kModelFilenameFieldNumber = 13;
637 : inline const ::std::string& model_filename() const;
638 : inline void set_model_filename(const ::std::string& value);
639 : inline void set_model_filename(const char* value);
640 : inline void set_model_filename(const char* value, size_t size);
641 : inline ::std::string* mutable_model_filename();
642 : inline ::std::string* release_model_filename();
643 : inline void set_allocated_model_filename(::std::string* model_filename);
644 :
645 : // optional .safe_browsing.ChromeUserPopulation population = 14;
646 : inline bool has_population() const;
647 : inline void clear_population();
648 : static const int kPopulationFieldNumber = 14;
649 : inline const ::safe_browsing::ChromeUserPopulation& population() const;
650 : inline ::safe_browsing::ChromeUserPopulation* mutable_population();
651 : inline ::safe_browsing::ChromeUserPopulation* release_population();
652 : inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
653 :
654 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest)
655 : private:
656 : inline void set_has_url();
657 : inline void clear_has_url();
658 : inline void set_has_obsolete_hash_prefix();
659 : inline void clear_has_obsolete_hash_prefix();
660 : inline void set_has_client_score();
661 : inline void clear_has_client_score();
662 : inline void set_has_is_phishing();
663 : inline void clear_has_is_phishing();
664 : inline void set_has_model_version();
665 : inline void clear_has_model_version();
666 : inline void set_has_obsolete_referrer_url();
667 : inline void clear_has_obsolete_referrer_url();
668 : inline void set_has_model_filename();
669 : inline void clear_has_model_filename();
670 : inline void set_has_population();
671 : inline void clear_has_population();
672 :
673 : ::std::string _unknown_fields_;
674 :
675 : ::google::protobuf::uint32 _has_bits_[1];
676 : mutable int _cached_size_;
677 : ::std::string* url_;
678 : ::std::string* obsolete_hash_prefix_;
679 : float client_score_;
680 : bool is_phishing_;
681 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > feature_map_;
682 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > non_model_feature_map_;
683 : ::std::string* obsolete_referrer_url_;
684 : ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > shingle_hashes_;
685 : mutable int _shingle_hashes_cached_byte_size_;
686 : ::std::string* model_filename_;
687 : ::safe_browsing::ChromeUserPopulation* population_;
688 : ::google::protobuf::int32 model_version_;
689 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
690 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
691 : #else
692 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
693 : #endif
694 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
695 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
696 :
697 : void InitAsDefaultInstance();
698 : static ClientPhishingRequest* default_instance_;
699 : };
700 : // -------------------------------------------------------------------
701 :
702 : class ClientPhishingResponse : public ::google::protobuf::MessageLite {
703 : public:
704 : ClientPhishingResponse();
705 : virtual ~ClientPhishingResponse();
706 :
707 : ClientPhishingResponse(const ClientPhishingResponse& from);
708 :
709 : inline ClientPhishingResponse& operator=(const ClientPhishingResponse& from) {
710 : CopyFrom(from);
711 : return *this;
712 : }
713 :
714 0 : inline const ::std::string& unknown_fields() const {
715 0 : return _unknown_fields_;
716 : }
717 :
718 0 : inline ::std::string* mutable_unknown_fields() {
719 0 : return &_unknown_fields_;
720 : }
721 :
722 : static const ClientPhishingResponse& default_instance();
723 :
724 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
725 : // Returns the internal default instance pointer. This function can
726 : // return NULL thus should not be used by the user. This is intended
727 : // for Protobuf internal code. Please use default_instance() declared
728 : // above instead.
729 : static inline const ClientPhishingResponse* internal_default_instance() {
730 : return default_instance_;
731 : }
732 : #endif
733 :
734 : void Swap(ClientPhishingResponse* other);
735 :
736 : // implements Message ----------------------------------------------
737 :
738 : ClientPhishingResponse* New() const;
739 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
740 : void CopyFrom(const ClientPhishingResponse& from);
741 : void MergeFrom(const ClientPhishingResponse& from);
742 : void Clear();
743 : bool IsInitialized() const;
744 :
745 : int ByteSize() const;
746 : bool MergePartialFromCodedStream(
747 : ::google::protobuf::io::CodedInputStream* input);
748 : void SerializeWithCachedSizes(
749 : ::google::protobuf::io::CodedOutputStream* output) const;
750 : void DiscardUnknownFields();
751 0 : int GetCachedSize() const { return _cached_size_; }
752 : private:
753 : void SharedCtor();
754 : void SharedDtor();
755 : void SetCachedSize(int size) const;
756 : public:
757 : ::std::string GetTypeName() const;
758 :
759 : // nested types ----------------------------------------------------
760 :
761 : // accessors -------------------------------------------------------
762 :
763 : // required bool phishy = 1;
764 : inline bool has_phishy() const;
765 : inline void clear_phishy();
766 : static const int kPhishyFieldNumber = 1;
767 : inline bool phishy() const;
768 : inline void set_phishy(bool value);
769 :
770 : // repeated string OBSOLETE_whitelist_expression = 2;
771 : inline int obsolete_whitelist_expression_size() const;
772 : inline void clear_obsolete_whitelist_expression();
773 : static const int kOBSOLETEWhitelistExpressionFieldNumber = 2;
774 : inline const ::std::string& obsolete_whitelist_expression(int index) const;
775 : inline ::std::string* mutable_obsolete_whitelist_expression(int index);
776 : inline void set_obsolete_whitelist_expression(int index, const ::std::string& value);
777 : inline void set_obsolete_whitelist_expression(int index, const char* value);
778 : inline void set_obsolete_whitelist_expression(int index, const char* value, size_t size);
779 : inline ::std::string* add_obsolete_whitelist_expression();
780 : inline void add_obsolete_whitelist_expression(const ::std::string& value);
781 : inline void add_obsolete_whitelist_expression(const char* value);
782 : inline void add_obsolete_whitelist_expression(const char* value, size_t size);
783 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& obsolete_whitelist_expression() const;
784 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_obsolete_whitelist_expression();
785 :
786 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingResponse)
787 : private:
788 : inline void set_has_phishy();
789 : inline void clear_has_phishy();
790 :
791 : ::std::string _unknown_fields_;
792 :
793 : ::google::protobuf::uint32 _has_bits_[1];
794 : mutable int _cached_size_;
795 : ::google::protobuf::RepeatedPtrField< ::std::string> obsolete_whitelist_expression_;
796 : bool phishy_;
797 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
798 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
799 : #else
800 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
801 : #endif
802 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
803 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
804 :
805 : void InitAsDefaultInstance();
806 : static ClientPhishingResponse* default_instance_;
807 : };
808 : // -------------------------------------------------------------------
809 :
810 : class ClientMalwareRequest_UrlInfo : public ::google::protobuf::MessageLite {
811 : public:
812 : ClientMalwareRequest_UrlInfo();
813 : virtual ~ClientMalwareRequest_UrlInfo();
814 :
815 : ClientMalwareRequest_UrlInfo(const ClientMalwareRequest_UrlInfo& from);
816 :
817 : inline ClientMalwareRequest_UrlInfo& operator=(const ClientMalwareRequest_UrlInfo& from) {
818 : CopyFrom(from);
819 : return *this;
820 : }
821 :
822 0 : inline const ::std::string& unknown_fields() const {
823 0 : return _unknown_fields_;
824 : }
825 :
826 0 : inline ::std::string* mutable_unknown_fields() {
827 0 : return &_unknown_fields_;
828 : }
829 :
830 : static const ClientMalwareRequest_UrlInfo& default_instance();
831 :
832 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
833 : // Returns the internal default instance pointer. This function can
834 : // return NULL thus should not be used by the user. This is intended
835 : // for Protobuf internal code. Please use default_instance() declared
836 : // above instead.
837 : static inline const ClientMalwareRequest_UrlInfo* internal_default_instance() {
838 : return default_instance_;
839 : }
840 : #endif
841 :
842 : void Swap(ClientMalwareRequest_UrlInfo* other);
843 :
844 : // implements Message ----------------------------------------------
845 :
846 : ClientMalwareRequest_UrlInfo* New() const;
847 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
848 : void CopyFrom(const ClientMalwareRequest_UrlInfo& from);
849 : void MergeFrom(const ClientMalwareRequest_UrlInfo& from);
850 : void Clear();
851 : bool IsInitialized() const;
852 :
853 : int ByteSize() const;
854 : bool MergePartialFromCodedStream(
855 : ::google::protobuf::io::CodedInputStream* input);
856 : void SerializeWithCachedSizes(
857 : ::google::protobuf::io::CodedOutputStream* output) const;
858 : void DiscardUnknownFields();
859 0 : int GetCachedSize() const { return _cached_size_; }
860 : private:
861 : void SharedCtor();
862 : void SharedDtor();
863 : void SetCachedSize(int size) const;
864 : public:
865 : ::std::string GetTypeName() const;
866 :
867 : // nested types ----------------------------------------------------
868 :
869 : // accessors -------------------------------------------------------
870 :
871 : // required string ip = 1;
872 : inline bool has_ip() const;
873 : inline void clear_ip();
874 : static const int kIpFieldNumber = 1;
875 : inline const ::std::string& ip() const;
876 : inline void set_ip(const ::std::string& value);
877 : inline void set_ip(const char* value);
878 : inline void set_ip(const char* value, size_t size);
879 : inline ::std::string* mutable_ip();
880 : inline ::std::string* release_ip();
881 : inline void set_allocated_ip(::std::string* ip);
882 :
883 : // required string url = 2;
884 : inline bool has_url() const;
885 : inline void clear_url();
886 : static const int kUrlFieldNumber = 2;
887 : inline const ::std::string& url() const;
888 : inline void set_url(const ::std::string& value);
889 : inline void set_url(const char* value);
890 : inline void set_url(const char* value, size_t size);
891 : inline ::std::string* mutable_url();
892 : inline ::std::string* release_url();
893 : inline void set_allocated_url(::std::string* url);
894 :
895 : // optional string method = 3;
896 : inline bool has_method() const;
897 : inline void clear_method();
898 : static const int kMethodFieldNumber = 3;
899 : inline const ::std::string& method() const;
900 : inline void set_method(const ::std::string& value);
901 : inline void set_method(const char* value);
902 : inline void set_method(const char* value, size_t size);
903 : inline ::std::string* mutable_method();
904 : inline ::std::string* release_method();
905 : inline void set_allocated_method(::std::string* method);
906 :
907 : // optional string referrer = 4;
908 : inline bool has_referrer() const;
909 : inline void clear_referrer();
910 : static const int kReferrerFieldNumber = 4;
911 : inline const ::std::string& referrer() const;
912 : inline void set_referrer(const ::std::string& value);
913 : inline void set_referrer(const char* value);
914 : inline void set_referrer(const char* value, size_t size);
915 : inline ::std::string* mutable_referrer();
916 : inline ::std::string* release_referrer();
917 : inline void set_allocated_referrer(::std::string* referrer);
918 :
919 : // optional int32 resource_type = 5;
920 : inline bool has_resource_type() const;
921 : inline void clear_resource_type();
922 : static const int kResourceTypeFieldNumber = 5;
923 : inline ::google::protobuf::int32 resource_type() const;
924 : inline void set_resource_type(::google::protobuf::int32 value);
925 :
926 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest.UrlInfo)
927 : private:
928 : inline void set_has_ip();
929 : inline void clear_has_ip();
930 : inline void set_has_url();
931 : inline void clear_has_url();
932 : inline void set_has_method();
933 : inline void clear_has_method();
934 : inline void set_has_referrer();
935 : inline void clear_has_referrer();
936 : inline void set_has_resource_type();
937 : inline void clear_has_resource_type();
938 :
939 : ::std::string _unknown_fields_;
940 :
941 : ::google::protobuf::uint32 _has_bits_[1];
942 : mutable int _cached_size_;
943 : ::std::string* ip_;
944 : ::std::string* url_;
945 : ::std::string* method_;
946 : ::std::string* referrer_;
947 : ::google::protobuf::int32 resource_type_;
948 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
949 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
950 : #else
951 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
952 : #endif
953 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
954 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
955 :
956 : void InitAsDefaultInstance();
957 : static ClientMalwareRequest_UrlInfo* default_instance_;
958 : };
959 : // -------------------------------------------------------------------
960 :
961 : class ClientMalwareRequest : public ::google::protobuf::MessageLite {
962 : public:
963 : ClientMalwareRequest();
964 : virtual ~ClientMalwareRequest();
965 :
966 : ClientMalwareRequest(const ClientMalwareRequest& from);
967 :
968 : inline ClientMalwareRequest& operator=(const ClientMalwareRequest& from) {
969 : CopyFrom(from);
970 : return *this;
971 : }
972 :
973 0 : inline const ::std::string& unknown_fields() const {
974 0 : return _unknown_fields_;
975 : }
976 :
977 0 : inline ::std::string* mutable_unknown_fields() {
978 0 : return &_unknown_fields_;
979 : }
980 :
981 : static const ClientMalwareRequest& default_instance();
982 :
983 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
984 : // Returns the internal default instance pointer. This function can
985 : // return NULL thus should not be used by the user. This is intended
986 : // for Protobuf internal code. Please use default_instance() declared
987 : // above instead.
988 : static inline const ClientMalwareRequest* internal_default_instance() {
989 : return default_instance_;
990 : }
991 : #endif
992 :
993 : void Swap(ClientMalwareRequest* other);
994 :
995 : // implements Message ----------------------------------------------
996 :
997 : ClientMalwareRequest* New() const;
998 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
999 : void CopyFrom(const ClientMalwareRequest& from);
1000 : void MergeFrom(const ClientMalwareRequest& from);
1001 : void Clear();
1002 : bool IsInitialized() const;
1003 :
1004 : int ByteSize() const;
1005 : bool MergePartialFromCodedStream(
1006 : ::google::protobuf::io::CodedInputStream* input);
1007 : void SerializeWithCachedSizes(
1008 : ::google::protobuf::io::CodedOutputStream* output) const;
1009 : void DiscardUnknownFields();
1010 0 : int GetCachedSize() const { return _cached_size_; }
1011 : private:
1012 : void SharedCtor();
1013 : void SharedDtor();
1014 : void SetCachedSize(int size) const;
1015 : public:
1016 : ::std::string GetTypeName() const;
1017 :
1018 : // nested types ----------------------------------------------------
1019 :
1020 : typedef ClientMalwareRequest_UrlInfo UrlInfo;
1021 :
1022 : // accessors -------------------------------------------------------
1023 :
1024 : // required string url = 1;
1025 : inline bool has_url() const;
1026 : inline void clear_url();
1027 : static const int kUrlFieldNumber = 1;
1028 : inline const ::std::string& url() const;
1029 : inline void set_url(const ::std::string& value);
1030 : inline void set_url(const char* value);
1031 : inline void set_url(const char* value, size_t size);
1032 : inline ::std::string* mutable_url();
1033 : inline ::std::string* release_url();
1034 : inline void set_allocated_url(::std::string* url);
1035 :
1036 : // optional string referrer_url = 4;
1037 : inline bool has_referrer_url() const;
1038 : inline void clear_referrer_url();
1039 : static const int kReferrerUrlFieldNumber = 4;
1040 : inline const ::std::string& referrer_url() const;
1041 : inline void set_referrer_url(const ::std::string& value);
1042 : inline void set_referrer_url(const char* value);
1043 : inline void set_referrer_url(const char* value, size_t size);
1044 : inline ::std::string* mutable_referrer_url();
1045 : inline ::std::string* release_referrer_url();
1046 : inline void set_allocated_referrer_url(::std::string* referrer_url);
1047 :
1048 : // repeated .safe_browsing.ClientMalwareRequest.UrlInfo bad_ip_url_info = 7;
1049 : inline int bad_ip_url_info_size() const;
1050 : inline void clear_bad_ip_url_info();
1051 : static const int kBadIpUrlInfoFieldNumber = 7;
1052 : inline const ::safe_browsing::ClientMalwareRequest_UrlInfo& bad_ip_url_info(int index) const;
1053 : inline ::safe_browsing::ClientMalwareRequest_UrlInfo* mutable_bad_ip_url_info(int index);
1054 : inline ::safe_browsing::ClientMalwareRequest_UrlInfo* add_bad_ip_url_info();
1055 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >&
1056 : bad_ip_url_info() const;
1057 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >*
1058 : mutable_bad_ip_url_info();
1059 :
1060 : // optional .safe_browsing.ChromeUserPopulation population = 9;
1061 : inline bool has_population() const;
1062 : inline void clear_population();
1063 : static const int kPopulationFieldNumber = 9;
1064 : inline const ::safe_browsing::ChromeUserPopulation& population() const;
1065 : inline ::safe_browsing::ChromeUserPopulation* mutable_population();
1066 : inline ::safe_browsing::ChromeUserPopulation* release_population();
1067 : inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
1068 :
1069 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest)
1070 : private:
1071 : inline void set_has_url();
1072 : inline void clear_has_url();
1073 : inline void set_has_referrer_url();
1074 : inline void clear_has_referrer_url();
1075 : inline void set_has_population();
1076 : inline void clear_has_population();
1077 :
1078 : ::std::string _unknown_fields_;
1079 :
1080 : ::google::protobuf::uint32 _has_bits_[1];
1081 : mutable int _cached_size_;
1082 : ::std::string* url_;
1083 : ::std::string* referrer_url_;
1084 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo > bad_ip_url_info_;
1085 : ::safe_browsing::ChromeUserPopulation* population_;
1086 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1087 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1088 : #else
1089 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1090 : #endif
1091 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1092 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1093 :
1094 : void InitAsDefaultInstance();
1095 : static ClientMalwareRequest* default_instance_;
1096 : };
1097 : // -------------------------------------------------------------------
1098 :
1099 : class ClientMalwareResponse : public ::google::protobuf::MessageLite {
1100 : public:
1101 : ClientMalwareResponse();
1102 : virtual ~ClientMalwareResponse();
1103 :
1104 : ClientMalwareResponse(const ClientMalwareResponse& from);
1105 :
1106 : inline ClientMalwareResponse& operator=(const ClientMalwareResponse& from) {
1107 : CopyFrom(from);
1108 : return *this;
1109 : }
1110 :
1111 0 : inline const ::std::string& unknown_fields() const {
1112 0 : return _unknown_fields_;
1113 : }
1114 :
1115 0 : inline ::std::string* mutable_unknown_fields() {
1116 0 : return &_unknown_fields_;
1117 : }
1118 :
1119 : static const ClientMalwareResponse& default_instance();
1120 :
1121 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1122 : // Returns the internal default instance pointer. This function can
1123 : // return NULL thus should not be used by the user. This is intended
1124 : // for Protobuf internal code. Please use default_instance() declared
1125 : // above instead.
1126 : static inline const ClientMalwareResponse* internal_default_instance() {
1127 : return default_instance_;
1128 : }
1129 : #endif
1130 :
1131 : void Swap(ClientMalwareResponse* other);
1132 :
1133 : // implements Message ----------------------------------------------
1134 :
1135 : ClientMalwareResponse* New() const;
1136 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1137 : void CopyFrom(const ClientMalwareResponse& from);
1138 : void MergeFrom(const ClientMalwareResponse& from);
1139 : void Clear();
1140 : bool IsInitialized() const;
1141 :
1142 : int ByteSize() const;
1143 : bool MergePartialFromCodedStream(
1144 : ::google::protobuf::io::CodedInputStream* input);
1145 : void SerializeWithCachedSizes(
1146 : ::google::protobuf::io::CodedOutputStream* output) const;
1147 : void DiscardUnknownFields();
1148 0 : int GetCachedSize() const { return _cached_size_; }
1149 : private:
1150 : void SharedCtor();
1151 : void SharedDtor();
1152 : void SetCachedSize(int size) const;
1153 : public:
1154 : ::std::string GetTypeName() const;
1155 :
1156 : // nested types ----------------------------------------------------
1157 :
1158 : // accessors -------------------------------------------------------
1159 :
1160 : // required bool blacklist = 1;
1161 : inline bool has_blacklist() const;
1162 : inline void clear_blacklist();
1163 : static const int kBlacklistFieldNumber = 1;
1164 : inline bool blacklist() const;
1165 : inline void set_blacklist(bool value);
1166 :
1167 : // optional string bad_ip = 2;
1168 : inline bool has_bad_ip() const;
1169 : inline void clear_bad_ip();
1170 : static const int kBadIpFieldNumber = 2;
1171 : inline const ::std::string& bad_ip() const;
1172 : inline void set_bad_ip(const ::std::string& value);
1173 : inline void set_bad_ip(const char* value);
1174 : inline void set_bad_ip(const char* value, size_t size);
1175 : inline ::std::string* mutable_bad_ip();
1176 : inline ::std::string* release_bad_ip();
1177 : inline void set_allocated_bad_ip(::std::string* bad_ip);
1178 :
1179 : // optional string bad_url = 3;
1180 : inline bool has_bad_url() const;
1181 : inline void clear_bad_url();
1182 : static const int kBadUrlFieldNumber = 3;
1183 : inline const ::std::string& bad_url() const;
1184 : inline void set_bad_url(const ::std::string& value);
1185 : inline void set_bad_url(const char* value);
1186 : inline void set_bad_url(const char* value, size_t size);
1187 : inline ::std::string* mutable_bad_url();
1188 : inline ::std::string* release_bad_url();
1189 : inline void set_allocated_bad_url(::std::string* bad_url);
1190 :
1191 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareResponse)
1192 : private:
1193 : inline void set_has_blacklist();
1194 : inline void clear_has_blacklist();
1195 : inline void set_has_bad_ip();
1196 : inline void clear_has_bad_ip();
1197 : inline void set_has_bad_url();
1198 : inline void clear_has_bad_url();
1199 :
1200 : ::std::string _unknown_fields_;
1201 :
1202 : ::google::protobuf::uint32 _has_bits_[1];
1203 : mutable int _cached_size_;
1204 : ::std::string* bad_ip_;
1205 : ::std::string* bad_url_;
1206 : bool blacklist_;
1207 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1208 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1209 : #else
1210 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1211 : #endif
1212 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1213 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1214 :
1215 : void InitAsDefaultInstance();
1216 : static ClientMalwareResponse* default_instance_;
1217 : };
1218 : // -------------------------------------------------------------------
1219 :
1220 : class ClientDownloadRequest_Digests : public ::google::protobuf::MessageLite {
1221 : public:
1222 : ClientDownloadRequest_Digests();
1223 : virtual ~ClientDownloadRequest_Digests();
1224 :
1225 : ClientDownloadRequest_Digests(const ClientDownloadRequest_Digests& from);
1226 :
1227 : inline ClientDownloadRequest_Digests& operator=(const ClientDownloadRequest_Digests& from) {
1228 : CopyFrom(from);
1229 : return *this;
1230 : }
1231 :
1232 0 : inline const ::std::string& unknown_fields() const {
1233 0 : return _unknown_fields_;
1234 : }
1235 :
1236 0 : inline ::std::string* mutable_unknown_fields() {
1237 0 : return &_unknown_fields_;
1238 : }
1239 :
1240 : static const ClientDownloadRequest_Digests& default_instance();
1241 :
1242 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1243 : // Returns the internal default instance pointer. This function can
1244 : // return NULL thus should not be used by the user. This is intended
1245 : // for Protobuf internal code. Please use default_instance() declared
1246 : // above instead.
1247 0 : static inline const ClientDownloadRequest_Digests* internal_default_instance() {
1248 0 : return default_instance_;
1249 : }
1250 : #endif
1251 :
1252 : void Swap(ClientDownloadRequest_Digests* other);
1253 :
1254 : // implements Message ----------------------------------------------
1255 :
1256 : ClientDownloadRequest_Digests* New() const;
1257 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1258 : void CopyFrom(const ClientDownloadRequest_Digests& from);
1259 : void MergeFrom(const ClientDownloadRequest_Digests& from);
1260 : void Clear();
1261 : bool IsInitialized() const;
1262 :
1263 : int ByteSize() const;
1264 : bool MergePartialFromCodedStream(
1265 : ::google::protobuf::io::CodedInputStream* input);
1266 : void SerializeWithCachedSizes(
1267 : ::google::protobuf::io::CodedOutputStream* output) const;
1268 : void DiscardUnknownFields();
1269 0 : int GetCachedSize() const { return _cached_size_; }
1270 : private:
1271 : void SharedCtor();
1272 : void SharedDtor();
1273 : void SetCachedSize(int size) const;
1274 : public:
1275 : ::std::string GetTypeName() const;
1276 :
1277 : // nested types ----------------------------------------------------
1278 :
1279 : // accessors -------------------------------------------------------
1280 :
1281 : // optional bytes sha256 = 1;
1282 : inline bool has_sha256() const;
1283 : inline void clear_sha256();
1284 : static const int kSha256FieldNumber = 1;
1285 : inline const ::std::string& sha256() const;
1286 : inline void set_sha256(const ::std::string& value);
1287 : inline void set_sha256(const char* value);
1288 : inline void set_sha256(const void* value, size_t size);
1289 : inline ::std::string* mutable_sha256();
1290 : inline ::std::string* release_sha256();
1291 : inline void set_allocated_sha256(::std::string* sha256);
1292 :
1293 : // optional bytes sha1 = 2;
1294 : inline bool has_sha1() const;
1295 : inline void clear_sha1();
1296 : static const int kSha1FieldNumber = 2;
1297 : inline const ::std::string& sha1() const;
1298 : inline void set_sha1(const ::std::string& value);
1299 : inline void set_sha1(const char* value);
1300 : inline void set_sha1(const void* value, size_t size);
1301 : inline ::std::string* mutable_sha1();
1302 : inline ::std::string* release_sha1();
1303 : inline void set_allocated_sha1(::std::string* sha1);
1304 :
1305 : // optional bytes md5 = 3;
1306 : inline bool has_md5() const;
1307 : inline void clear_md5();
1308 : static const int kMd5FieldNumber = 3;
1309 : inline const ::std::string& md5() const;
1310 : inline void set_md5(const ::std::string& value);
1311 : inline void set_md5(const char* value);
1312 : inline void set_md5(const void* value, size_t size);
1313 : inline ::std::string* mutable_md5();
1314 : inline ::std::string* release_md5();
1315 : inline void set_allocated_md5(::std::string* md5);
1316 :
1317 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Digests)
1318 : private:
1319 : inline void set_has_sha256();
1320 : inline void clear_has_sha256();
1321 : inline void set_has_sha1();
1322 : inline void clear_has_sha1();
1323 : inline void set_has_md5();
1324 : inline void clear_has_md5();
1325 :
1326 : ::std::string _unknown_fields_;
1327 :
1328 : ::google::protobuf::uint32 _has_bits_[1];
1329 : mutable int _cached_size_;
1330 : ::std::string* sha256_;
1331 : ::std::string* sha1_;
1332 : ::std::string* md5_;
1333 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1334 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1335 : #else
1336 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1337 : #endif
1338 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1339 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1340 :
1341 : void InitAsDefaultInstance();
1342 : static ClientDownloadRequest_Digests* default_instance_;
1343 : };
1344 : // -------------------------------------------------------------------
1345 :
1346 : class ClientDownloadRequest_Resource : public ::google::protobuf::MessageLite {
1347 : public:
1348 : ClientDownloadRequest_Resource();
1349 : virtual ~ClientDownloadRequest_Resource();
1350 :
1351 : ClientDownloadRequest_Resource(const ClientDownloadRequest_Resource& from);
1352 :
1353 : inline ClientDownloadRequest_Resource& operator=(const ClientDownloadRequest_Resource& from) {
1354 : CopyFrom(from);
1355 : return *this;
1356 : }
1357 :
1358 0 : inline const ::std::string& unknown_fields() const {
1359 0 : return _unknown_fields_;
1360 : }
1361 :
1362 0 : inline ::std::string* mutable_unknown_fields() {
1363 0 : return &_unknown_fields_;
1364 : }
1365 :
1366 : static const ClientDownloadRequest_Resource& default_instance();
1367 :
1368 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1369 : // Returns the internal default instance pointer. This function can
1370 : // return NULL thus should not be used by the user. This is intended
1371 : // for Protobuf internal code. Please use default_instance() declared
1372 : // above instead.
1373 : static inline const ClientDownloadRequest_Resource* internal_default_instance() {
1374 : return default_instance_;
1375 : }
1376 : #endif
1377 :
1378 : void Swap(ClientDownloadRequest_Resource* other);
1379 :
1380 : // implements Message ----------------------------------------------
1381 :
1382 : ClientDownloadRequest_Resource* New() const;
1383 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1384 : void CopyFrom(const ClientDownloadRequest_Resource& from);
1385 : void MergeFrom(const ClientDownloadRequest_Resource& from);
1386 : void Clear();
1387 : bool IsInitialized() const;
1388 :
1389 : int ByteSize() const;
1390 : bool MergePartialFromCodedStream(
1391 : ::google::protobuf::io::CodedInputStream* input);
1392 : void SerializeWithCachedSizes(
1393 : ::google::protobuf::io::CodedOutputStream* output) const;
1394 : void DiscardUnknownFields();
1395 0 : int GetCachedSize() const { return _cached_size_; }
1396 : private:
1397 : void SharedCtor();
1398 : void SharedDtor();
1399 : void SetCachedSize(int size) const;
1400 : public:
1401 : ::std::string GetTypeName() const;
1402 :
1403 : // nested types ----------------------------------------------------
1404 :
1405 : // accessors -------------------------------------------------------
1406 :
1407 : // required string url = 1;
1408 : inline bool has_url() const;
1409 : inline void clear_url();
1410 : static const int kUrlFieldNumber = 1;
1411 : inline const ::std::string& url() const;
1412 : inline void set_url(const ::std::string& value);
1413 : inline void set_url(const char* value);
1414 : inline void set_url(const char* value, size_t size);
1415 : inline ::std::string* mutable_url();
1416 : inline ::std::string* release_url();
1417 : inline void set_allocated_url(::std::string* url);
1418 :
1419 : // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2;
1420 : inline bool has_type() const;
1421 : inline void clear_type();
1422 : static const int kTypeFieldNumber = 2;
1423 : inline ::safe_browsing::ClientDownloadRequest_ResourceType type() const;
1424 : inline void set_type(::safe_browsing::ClientDownloadRequest_ResourceType value);
1425 :
1426 : // optional bytes remote_ip = 3;
1427 : inline bool has_remote_ip() const;
1428 : inline void clear_remote_ip();
1429 : static const int kRemoteIpFieldNumber = 3;
1430 : inline const ::std::string& remote_ip() const;
1431 : inline void set_remote_ip(const ::std::string& value);
1432 : inline void set_remote_ip(const char* value);
1433 : inline void set_remote_ip(const void* value, size_t size);
1434 : inline ::std::string* mutable_remote_ip();
1435 : inline ::std::string* release_remote_ip();
1436 : inline void set_allocated_remote_ip(::std::string* remote_ip);
1437 :
1438 : // optional string referrer = 4;
1439 : inline bool has_referrer() const;
1440 : inline void clear_referrer();
1441 : static const int kReferrerFieldNumber = 4;
1442 : inline const ::std::string& referrer() const;
1443 : inline void set_referrer(const ::std::string& value);
1444 : inline void set_referrer(const char* value);
1445 : inline void set_referrer(const char* value, size_t size);
1446 : inline ::std::string* mutable_referrer();
1447 : inline ::std::string* release_referrer();
1448 : inline void set_allocated_referrer(::std::string* referrer);
1449 :
1450 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Resource)
1451 : private:
1452 : inline void set_has_url();
1453 : inline void clear_has_url();
1454 : inline void set_has_type();
1455 : inline void clear_has_type();
1456 : inline void set_has_remote_ip();
1457 : inline void clear_has_remote_ip();
1458 : inline void set_has_referrer();
1459 : inline void clear_has_referrer();
1460 :
1461 : ::std::string _unknown_fields_;
1462 :
1463 : ::google::protobuf::uint32 _has_bits_[1];
1464 : mutable int _cached_size_;
1465 : ::std::string* url_;
1466 : ::std::string* remote_ip_;
1467 : ::std::string* referrer_;
1468 : int type_;
1469 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1470 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1471 : #else
1472 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1473 : #endif
1474 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1475 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1476 :
1477 : void InitAsDefaultInstance();
1478 : static ClientDownloadRequest_Resource* default_instance_;
1479 : };
1480 : // -------------------------------------------------------------------
1481 :
1482 : class ClientDownloadRequest_CertificateChain_Element : public ::google::protobuf::MessageLite {
1483 : public:
1484 : ClientDownloadRequest_CertificateChain_Element();
1485 : virtual ~ClientDownloadRequest_CertificateChain_Element();
1486 :
1487 : ClientDownloadRequest_CertificateChain_Element(const ClientDownloadRequest_CertificateChain_Element& from);
1488 :
1489 : inline ClientDownloadRequest_CertificateChain_Element& operator=(const ClientDownloadRequest_CertificateChain_Element& from) {
1490 : CopyFrom(from);
1491 : return *this;
1492 : }
1493 :
1494 0 : inline const ::std::string& unknown_fields() const {
1495 0 : return _unknown_fields_;
1496 : }
1497 :
1498 0 : inline ::std::string* mutable_unknown_fields() {
1499 0 : return &_unknown_fields_;
1500 : }
1501 :
1502 : static const ClientDownloadRequest_CertificateChain_Element& default_instance();
1503 :
1504 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1505 : // Returns the internal default instance pointer. This function can
1506 : // return NULL thus should not be used by the user. This is intended
1507 : // for Protobuf internal code. Please use default_instance() declared
1508 : // above instead.
1509 : static inline const ClientDownloadRequest_CertificateChain_Element* internal_default_instance() {
1510 : return default_instance_;
1511 : }
1512 : #endif
1513 :
1514 : void Swap(ClientDownloadRequest_CertificateChain_Element* other);
1515 :
1516 : // implements Message ----------------------------------------------
1517 :
1518 : ClientDownloadRequest_CertificateChain_Element* New() const;
1519 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1520 : void CopyFrom(const ClientDownloadRequest_CertificateChain_Element& from);
1521 : void MergeFrom(const ClientDownloadRequest_CertificateChain_Element& from);
1522 : void Clear();
1523 : bool IsInitialized() const;
1524 :
1525 : int ByteSize() const;
1526 : bool MergePartialFromCodedStream(
1527 : ::google::protobuf::io::CodedInputStream* input);
1528 : void SerializeWithCachedSizes(
1529 : ::google::protobuf::io::CodedOutputStream* output) const;
1530 : void DiscardUnknownFields();
1531 0 : int GetCachedSize() const { return _cached_size_; }
1532 : private:
1533 : void SharedCtor();
1534 : void SharedDtor();
1535 : void SetCachedSize(int size) const;
1536 : public:
1537 : ::std::string GetTypeName() const;
1538 :
1539 : // nested types ----------------------------------------------------
1540 :
1541 : // accessors -------------------------------------------------------
1542 :
1543 : // optional bytes certificate = 1;
1544 : inline bool has_certificate() const;
1545 : inline void clear_certificate();
1546 : static const int kCertificateFieldNumber = 1;
1547 : inline const ::std::string& certificate() const;
1548 : inline void set_certificate(const ::std::string& value);
1549 : inline void set_certificate(const char* value);
1550 : inline void set_certificate(const void* value, size_t size);
1551 : inline ::std::string* mutable_certificate();
1552 : inline ::std::string* release_certificate();
1553 : inline void set_allocated_certificate(::std::string* certificate);
1554 :
1555 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain.Element)
1556 : private:
1557 : inline void set_has_certificate();
1558 : inline void clear_has_certificate();
1559 :
1560 : ::std::string _unknown_fields_;
1561 :
1562 : ::google::protobuf::uint32 _has_bits_[1];
1563 : mutable int _cached_size_;
1564 : ::std::string* certificate_;
1565 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1566 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1567 : #else
1568 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1569 : #endif
1570 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1571 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1572 :
1573 : void InitAsDefaultInstance();
1574 : static ClientDownloadRequest_CertificateChain_Element* default_instance_;
1575 : };
1576 : // -------------------------------------------------------------------
1577 :
1578 : class ClientDownloadRequest_CertificateChain : public ::google::protobuf::MessageLite {
1579 : public:
1580 : ClientDownloadRequest_CertificateChain();
1581 : virtual ~ClientDownloadRequest_CertificateChain();
1582 :
1583 : ClientDownloadRequest_CertificateChain(const ClientDownloadRequest_CertificateChain& from);
1584 :
1585 : inline ClientDownloadRequest_CertificateChain& operator=(const ClientDownloadRequest_CertificateChain& from) {
1586 : CopyFrom(from);
1587 : return *this;
1588 : }
1589 :
1590 0 : inline const ::std::string& unknown_fields() const {
1591 0 : return _unknown_fields_;
1592 : }
1593 :
1594 0 : inline ::std::string* mutable_unknown_fields() {
1595 0 : return &_unknown_fields_;
1596 : }
1597 :
1598 : static const ClientDownloadRequest_CertificateChain& default_instance();
1599 :
1600 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1601 : // Returns the internal default instance pointer. This function can
1602 : // return NULL thus should not be used by the user. This is intended
1603 : // for Protobuf internal code. Please use default_instance() declared
1604 : // above instead.
1605 : static inline const ClientDownloadRequest_CertificateChain* internal_default_instance() {
1606 : return default_instance_;
1607 : }
1608 : #endif
1609 :
1610 : void Swap(ClientDownloadRequest_CertificateChain* other);
1611 :
1612 : // implements Message ----------------------------------------------
1613 :
1614 : ClientDownloadRequest_CertificateChain* New() const;
1615 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1616 : void CopyFrom(const ClientDownloadRequest_CertificateChain& from);
1617 : void MergeFrom(const ClientDownloadRequest_CertificateChain& from);
1618 : void Clear();
1619 : bool IsInitialized() const;
1620 :
1621 : int ByteSize() const;
1622 : bool MergePartialFromCodedStream(
1623 : ::google::protobuf::io::CodedInputStream* input);
1624 : void SerializeWithCachedSizes(
1625 : ::google::protobuf::io::CodedOutputStream* output) const;
1626 : void DiscardUnknownFields();
1627 0 : int GetCachedSize() const { return _cached_size_; }
1628 : private:
1629 : void SharedCtor();
1630 : void SharedDtor();
1631 : void SetCachedSize(int size) const;
1632 : public:
1633 : ::std::string GetTypeName() const;
1634 :
1635 : // nested types ----------------------------------------------------
1636 :
1637 : typedef ClientDownloadRequest_CertificateChain_Element Element;
1638 :
1639 : // accessors -------------------------------------------------------
1640 :
1641 : // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1;
1642 : inline int element_size() const;
1643 : inline void clear_element();
1644 : static const int kElementFieldNumber = 1;
1645 : inline const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& element(int index) const;
1646 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* mutable_element(int index);
1647 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* add_element();
1648 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >&
1649 : element() const;
1650 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >*
1651 : mutable_element();
1652 :
1653 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain)
1654 : private:
1655 :
1656 : ::std::string _unknown_fields_;
1657 :
1658 : ::google::protobuf::uint32 _has_bits_[1];
1659 : mutable int _cached_size_;
1660 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element > element_;
1661 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1662 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1663 : #else
1664 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1665 : #endif
1666 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1667 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1668 :
1669 : void InitAsDefaultInstance();
1670 : static ClientDownloadRequest_CertificateChain* default_instance_;
1671 : };
1672 : // -------------------------------------------------------------------
1673 :
1674 : class ClientDownloadRequest_ExtendedAttr : public ::google::protobuf::MessageLite {
1675 : public:
1676 : ClientDownloadRequest_ExtendedAttr();
1677 : virtual ~ClientDownloadRequest_ExtendedAttr();
1678 :
1679 : ClientDownloadRequest_ExtendedAttr(const ClientDownloadRequest_ExtendedAttr& from);
1680 :
1681 : inline ClientDownloadRequest_ExtendedAttr& operator=(const ClientDownloadRequest_ExtendedAttr& from) {
1682 : CopyFrom(from);
1683 : return *this;
1684 : }
1685 :
1686 0 : inline const ::std::string& unknown_fields() const {
1687 0 : return _unknown_fields_;
1688 : }
1689 :
1690 0 : inline ::std::string* mutable_unknown_fields() {
1691 0 : return &_unknown_fields_;
1692 : }
1693 :
1694 : static const ClientDownloadRequest_ExtendedAttr& default_instance();
1695 :
1696 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1697 : // Returns the internal default instance pointer. This function can
1698 : // return NULL thus should not be used by the user. This is intended
1699 : // for Protobuf internal code. Please use default_instance() declared
1700 : // above instead.
1701 : static inline const ClientDownloadRequest_ExtendedAttr* internal_default_instance() {
1702 : return default_instance_;
1703 : }
1704 : #endif
1705 :
1706 : void Swap(ClientDownloadRequest_ExtendedAttr* other);
1707 :
1708 : // implements Message ----------------------------------------------
1709 :
1710 : ClientDownloadRequest_ExtendedAttr* New() const;
1711 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1712 : void CopyFrom(const ClientDownloadRequest_ExtendedAttr& from);
1713 : void MergeFrom(const ClientDownloadRequest_ExtendedAttr& from);
1714 : void Clear();
1715 : bool IsInitialized() const;
1716 :
1717 : int ByteSize() const;
1718 : bool MergePartialFromCodedStream(
1719 : ::google::protobuf::io::CodedInputStream* input);
1720 : void SerializeWithCachedSizes(
1721 : ::google::protobuf::io::CodedOutputStream* output) const;
1722 : void DiscardUnknownFields();
1723 0 : int GetCachedSize() const { return _cached_size_; }
1724 : private:
1725 : void SharedCtor();
1726 : void SharedDtor();
1727 : void SetCachedSize(int size) const;
1728 : public:
1729 : ::std::string GetTypeName() const;
1730 :
1731 : // nested types ----------------------------------------------------
1732 :
1733 : // accessors -------------------------------------------------------
1734 :
1735 : // required string key = 1;
1736 : inline bool has_key() const;
1737 : inline void clear_key();
1738 : static const int kKeyFieldNumber = 1;
1739 : inline const ::std::string& key() const;
1740 : inline void set_key(const ::std::string& value);
1741 : inline void set_key(const char* value);
1742 : inline void set_key(const char* value, size_t size);
1743 : inline ::std::string* mutable_key();
1744 : inline ::std::string* release_key();
1745 : inline void set_allocated_key(::std::string* key);
1746 :
1747 : // optional bytes value = 2;
1748 : inline bool has_value() const;
1749 : inline void clear_value();
1750 : static const int kValueFieldNumber = 2;
1751 : inline const ::std::string& value() const;
1752 : inline void set_value(const ::std::string& value);
1753 : inline void set_value(const char* value);
1754 : inline void set_value(const void* value, size_t size);
1755 : inline ::std::string* mutable_value();
1756 : inline ::std::string* release_value();
1757 : inline void set_allocated_value(::std::string* value);
1758 :
1759 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ExtendedAttr)
1760 : private:
1761 : inline void set_has_key();
1762 : inline void clear_has_key();
1763 : inline void set_has_value();
1764 : inline void clear_has_value();
1765 :
1766 : ::std::string _unknown_fields_;
1767 :
1768 : ::google::protobuf::uint32 _has_bits_[1];
1769 : mutable int _cached_size_;
1770 : ::std::string* key_;
1771 : ::std::string* value_;
1772 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1773 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1774 : #else
1775 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1776 : #endif
1777 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1778 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1779 :
1780 : void InitAsDefaultInstance();
1781 : static ClientDownloadRequest_ExtendedAttr* default_instance_;
1782 : };
1783 : // -------------------------------------------------------------------
1784 :
1785 : class ClientDownloadRequest_SignatureInfo : public ::google::protobuf::MessageLite {
1786 : public:
1787 : ClientDownloadRequest_SignatureInfo();
1788 : virtual ~ClientDownloadRequest_SignatureInfo();
1789 :
1790 : ClientDownloadRequest_SignatureInfo(const ClientDownloadRequest_SignatureInfo& from);
1791 :
1792 : inline ClientDownloadRequest_SignatureInfo& operator=(const ClientDownloadRequest_SignatureInfo& from) {
1793 : CopyFrom(from);
1794 : return *this;
1795 : }
1796 :
1797 0 : inline const ::std::string& unknown_fields() const {
1798 0 : return _unknown_fields_;
1799 : }
1800 :
1801 0 : inline ::std::string* mutable_unknown_fields() {
1802 0 : return &_unknown_fields_;
1803 : }
1804 :
1805 : static const ClientDownloadRequest_SignatureInfo& default_instance();
1806 :
1807 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1808 : // Returns the internal default instance pointer. This function can
1809 : // return NULL thus should not be used by the user. This is intended
1810 : // for Protobuf internal code. Please use default_instance() declared
1811 : // above instead.
1812 0 : static inline const ClientDownloadRequest_SignatureInfo* internal_default_instance() {
1813 0 : return default_instance_;
1814 : }
1815 : #endif
1816 :
1817 : void Swap(ClientDownloadRequest_SignatureInfo* other);
1818 :
1819 : // implements Message ----------------------------------------------
1820 :
1821 : ClientDownloadRequest_SignatureInfo* New() const;
1822 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1823 : void CopyFrom(const ClientDownloadRequest_SignatureInfo& from);
1824 : void MergeFrom(const ClientDownloadRequest_SignatureInfo& from);
1825 : void Clear();
1826 : bool IsInitialized() const;
1827 :
1828 : int ByteSize() const;
1829 : bool MergePartialFromCodedStream(
1830 : ::google::protobuf::io::CodedInputStream* input);
1831 : void SerializeWithCachedSizes(
1832 : ::google::protobuf::io::CodedOutputStream* output) const;
1833 : void DiscardUnknownFields();
1834 0 : int GetCachedSize() const { return _cached_size_; }
1835 : private:
1836 : void SharedCtor();
1837 : void SharedDtor();
1838 : void SetCachedSize(int size) const;
1839 : public:
1840 : ::std::string GetTypeName() const;
1841 :
1842 : // nested types ----------------------------------------------------
1843 :
1844 : // accessors -------------------------------------------------------
1845 :
1846 : // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1;
1847 : inline int certificate_chain_size() const;
1848 : inline void clear_certificate_chain();
1849 : static const int kCertificateChainFieldNumber = 1;
1850 : inline const ::safe_browsing::ClientDownloadRequest_CertificateChain& certificate_chain(int index) const;
1851 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain* mutable_certificate_chain(int index);
1852 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain* add_certificate_chain();
1853 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >&
1854 : certificate_chain() const;
1855 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >*
1856 : mutable_certificate_chain();
1857 :
1858 : // optional bool trusted = 2;
1859 : inline bool has_trusted() const;
1860 : inline void clear_trusted();
1861 : static const int kTrustedFieldNumber = 2;
1862 : inline bool trusted() const;
1863 : inline void set_trusted(bool value);
1864 :
1865 : // repeated bytes signed_data = 3;
1866 : inline int signed_data_size() const;
1867 : inline void clear_signed_data();
1868 : static const int kSignedDataFieldNumber = 3;
1869 : inline const ::std::string& signed_data(int index) const;
1870 : inline ::std::string* mutable_signed_data(int index);
1871 : inline void set_signed_data(int index, const ::std::string& value);
1872 : inline void set_signed_data(int index, const char* value);
1873 : inline void set_signed_data(int index, const void* value, size_t size);
1874 : inline ::std::string* add_signed_data();
1875 : inline void add_signed_data(const ::std::string& value);
1876 : inline void add_signed_data(const char* value);
1877 : inline void add_signed_data(const void* value, size_t size);
1878 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& signed_data() const;
1879 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_signed_data();
1880 :
1881 : // repeated .safe_browsing.ClientDownloadRequest.ExtendedAttr xattr = 4;
1882 : inline int xattr_size() const;
1883 : inline void clear_xattr();
1884 : static const int kXattrFieldNumber = 4;
1885 : inline const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& xattr(int index) const;
1886 : inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* mutable_xattr(int index);
1887 : inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* add_xattr();
1888 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >&
1889 : xattr() const;
1890 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >*
1891 : mutable_xattr();
1892 :
1893 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.SignatureInfo)
1894 : private:
1895 : inline void set_has_trusted();
1896 : inline void clear_has_trusted();
1897 :
1898 : ::std::string _unknown_fields_;
1899 :
1900 : ::google::protobuf::uint32 _has_bits_[1];
1901 : mutable int _cached_size_;
1902 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain > certificate_chain_;
1903 : ::google::protobuf::RepeatedPtrField< ::std::string> signed_data_;
1904 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr > xattr_;
1905 : bool trusted_;
1906 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1907 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
1908 : #else
1909 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1910 : #endif
1911 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1912 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
1913 :
1914 : void InitAsDefaultInstance();
1915 : static ClientDownloadRequest_SignatureInfo* default_instance_;
1916 : };
1917 : // -------------------------------------------------------------------
1918 :
1919 : class ClientDownloadRequest_PEImageHeaders_DebugData : public ::google::protobuf::MessageLite {
1920 : public:
1921 : ClientDownloadRequest_PEImageHeaders_DebugData();
1922 : virtual ~ClientDownloadRequest_PEImageHeaders_DebugData();
1923 :
1924 : ClientDownloadRequest_PEImageHeaders_DebugData(const ClientDownloadRequest_PEImageHeaders_DebugData& from);
1925 :
1926 : inline ClientDownloadRequest_PEImageHeaders_DebugData& operator=(const ClientDownloadRequest_PEImageHeaders_DebugData& from) {
1927 : CopyFrom(from);
1928 : return *this;
1929 : }
1930 :
1931 0 : inline const ::std::string& unknown_fields() const {
1932 0 : return _unknown_fields_;
1933 : }
1934 :
1935 0 : inline ::std::string* mutable_unknown_fields() {
1936 0 : return &_unknown_fields_;
1937 : }
1938 :
1939 : static const ClientDownloadRequest_PEImageHeaders_DebugData& default_instance();
1940 :
1941 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1942 : // Returns the internal default instance pointer. This function can
1943 : // return NULL thus should not be used by the user. This is intended
1944 : // for Protobuf internal code. Please use default_instance() declared
1945 : // above instead.
1946 : static inline const ClientDownloadRequest_PEImageHeaders_DebugData* internal_default_instance() {
1947 : return default_instance_;
1948 : }
1949 : #endif
1950 :
1951 : void Swap(ClientDownloadRequest_PEImageHeaders_DebugData* other);
1952 :
1953 : // implements Message ----------------------------------------------
1954 :
1955 : ClientDownloadRequest_PEImageHeaders_DebugData* New() const;
1956 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
1957 : void CopyFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from);
1958 : void MergeFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from);
1959 : void Clear();
1960 : bool IsInitialized() const;
1961 :
1962 : int ByteSize() const;
1963 : bool MergePartialFromCodedStream(
1964 : ::google::protobuf::io::CodedInputStream* input);
1965 : void SerializeWithCachedSizes(
1966 : ::google::protobuf::io::CodedOutputStream* output) const;
1967 : void DiscardUnknownFields();
1968 0 : int GetCachedSize() const { return _cached_size_; }
1969 : private:
1970 : void SharedCtor();
1971 : void SharedDtor();
1972 : void SetCachedSize(int size) const;
1973 : public:
1974 : ::std::string GetTypeName() const;
1975 :
1976 : // nested types ----------------------------------------------------
1977 :
1978 : // accessors -------------------------------------------------------
1979 :
1980 : // optional bytes directory_entry = 1;
1981 : inline bool has_directory_entry() const;
1982 : inline void clear_directory_entry();
1983 : static const int kDirectoryEntryFieldNumber = 1;
1984 : inline const ::std::string& directory_entry() const;
1985 : inline void set_directory_entry(const ::std::string& value);
1986 : inline void set_directory_entry(const char* value);
1987 : inline void set_directory_entry(const void* value, size_t size);
1988 : inline ::std::string* mutable_directory_entry();
1989 : inline ::std::string* release_directory_entry();
1990 : inline void set_allocated_directory_entry(::std::string* directory_entry);
1991 :
1992 : // optional bytes raw_data = 2;
1993 : inline bool has_raw_data() const;
1994 : inline void clear_raw_data();
1995 : static const int kRawDataFieldNumber = 2;
1996 : inline const ::std::string& raw_data() const;
1997 : inline void set_raw_data(const ::std::string& value);
1998 : inline void set_raw_data(const char* value);
1999 : inline void set_raw_data(const void* value, size_t size);
2000 : inline ::std::string* mutable_raw_data();
2001 : inline ::std::string* release_raw_data();
2002 : inline void set_allocated_raw_data(::std::string* raw_data);
2003 :
2004 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData)
2005 : private:
2006 : inline void set_has_directory_entry();
2007 : inline void clear_has_directory_entry();
2008 : inline void set_has_raw_data();
2009 : inline void clear_has_raw_data();
2010 :
2011 : ::std::string _unknown_fields_;
2012 :
2013 : ::google::protobuf::uint32 _has_bits_[1];
2014 : mutable int _cached_size_;
2015 : ::std::string* directory_entry_;
2016 : ::std::string* raw_data_;
2017 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2018 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
2019 : #else
2020 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2021 : #endif
2022 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2023 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2024 :
2025 : void InitAsDefaultInstance();
2026 : static ClientDownloadRequest_PEImageHeaders_DebugData* default_instance_;
2027 : };
2028 : // -------------------------------------------------------------------
2029 :
2030 : class ClientDownloadRequest_PEImageHeaders : public ::google::protobuf::MessageLite {
2031 : public:
2032 : ClientDownloadRequest_PEImageHeaders();
2033 : virtual ~ClientDownloadRequest_PEImageHeaders();
2034 :
2035 : ClientDownloadRequest_PEImageHeaders(const ClientDownloadRequest_PEImageHeaders& from);
2036 :
2037 : inline ClientDownloadRequest_PEImageHeaders& operator=(const ClientDownloadRequest_PEImageHeaders& from) {
2038 : CopyFrom(from);
2039 : return *this;
2040 : }
2041 :
2042 0 : inline const ::std::string& unknown_fields() const {
2043 0 : return _unknown_fields_;
2044 : }
2045 :
2046 0 : inline ::std::string* mutable_unknown_fields() {
2047 0 : return &_unknown_fields_;
2048 : }
2049 :
2050 : static const ClientDownloadRequest_PEImageHeaders& default_instance();
2051 :
2052 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2053 : // Returns the internal default instance pointer. This function can
2054 : // return NULL thus should not be used by the user. This is intended
2055 : // for Protobuf internal code. Please use default_instance() declared
2056 : // above instead.
2057 0 : static inline const ClientDownloadRequest_PEImageHeaders* internal_default_instance() {
2058 0 : return default_instance_;
2059 : }
2060 : #endif
2061 :
2062 : void Swap(ClientDownloadRequest_PEImageHeaders* other);
2063 :
2064 : // implements Message ----------------------------------------------
2065 :
2066 : ClientDownloadRequest_PEImageHeaders* New() const;
2067 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
2068 : void CopyFrom(const ClientDownloadRequest_PEImageHeaders& from);
2069 : void MergeFrom(const ClientDownloadRequest_PEImageHeaders& from);
2070 : void Clear();
2071 : bool IsInitialized() const;
2072 :
2073 : int ByteSize() const;
2074 : bool MergePartialFromCodedStream(
2075 : ::google::protobuf::io::CodedInputStream* input);
2076 : void SerializeWithCachedSizes(
2077 : ::google::protobuf::io::CodedOutputStream* output) const;
2078 : void DiscardUnknownFields();
2079 0 : int GetCachedSize() const { return _cached_size_; }
2080 : private:
2081 : void SharedCtor();
2082 : void SharedDtor();
2083 : void SetCachedSize(int size) const;
2084 : public:
2085 : ::std::string GetTypeName() const;
2086 :
2087 : // nested types ----------------------------------------------------
2088 :
2089 : typedef ClientDownloadRequest_PEImageHeaders_DebugData DebugData;
2090 :
2091 : // accessors -------------------------------------------------------
2092 :
2093 : // optional bytes dos_header = 1;
2094 : inline bool has_dos_header() const;
2095 : inline void clear_dos_header();
2096 : static const int kDosHeaderFieldNumber = 1;
2097 : inline const ::std::string& dos_header() const;
2098 : inline void set_dos_header(const ::std::string& value);
2099 : inline void set_dos_header(const char* value);
2100 : inline void set_dos_header(const void* value, size_t size);
2101 : inline ::std::string* mutable_dos_header();
2102 : inline ::std::string* release_dos_header();
2103 : inline void set_allocated_dos_header(::std::string* dos_header);
2104 :
2105 : // optional bytes file_header = 2;
2106 : inline bool has_file_header() const;
2107 : inline void clear_file_header();
2108 : static const int kFileHeaderFieldNumber = 2;
2109 : inline const ::std::string& file_header() const;
2110 : inline void set_file_header(const ::std::string& value);
2111 : inline void set_file_header(const char* value);
2112 : inline void set_file_header(const void* value, size_t size);
2113 : inline ::std::string* mutable_file_header();
2114 : inline ::std::string* release_file_header();
2115 : inline void set_allocated_file_header(::std::string* file_header);
2116 :
2117 : // optional bytes optional_headers32 = 3;
2118 : inline bool has_optional_headers32() const;
2119 : inline void clear_optional_headers32();
2120 : static const int kOptionalHeaders32FieldNumber = 3;
2121 : inline const ::std::string& optional_headers32() const;
2122 : inline void set_optional_headers32(const ::std::string& value);
2123 : inline void set_optional_headers32(const char* value);
2124 : inline void set_optional_headers32(const void* value, size_t size);
2125 : inline ::std::string* mutable_optional_headers32();
2126 : inline ::std::string* release_optional_headers32();
2127 : inline void set_allocated_optional_headers32(::std::string* optional_headers32);
2128 :
2129 : // optional bytes optional_headers64 = 4;
2130 : inline bool has_optional_headers64() const;
2131 : inline void clear_optional_headers64();
2132 : static const int kOptionalHeaders64FieldNumber = 4;
2133 : inline const ::std::string& optional_headers64() const;
2134 : inline void set_optional_headers64(const ::std::string& value);
2135 : inline void set_optional_headers64(const char* value);
2136 : inline void set_optional_headers64(const void* value, size_t size);
2137 : inline ::std::string* mutable_optional_headers64();
2138 : inline ::std::string* release_optional_headers64();
2139 : inline void set_allocated_optional_headers64(::std::string* optional_headers64);
2140 :
2141 : // repeated bytes section_header = 5;
2142 : inline int section_header_size() const;
2143 : inline void clear_section_header();
2144 : static const int kSectionHeaderFieldNumber = 5;
2145 : inline const ::std::string& section_header(int index) const;
2146 : inline ::std::string* mutable_section_header(int index);
2147 : inline void set_section_header(int index, const ::std::string& value);
2148 : inline void set_section_header(int index, const char* value);
2149 : inline void set_section_header(int index, const void* value, size_t size);
2150 : inline ::std::string* add_section_header();
2151 : inline void add_section_header(const ::std::string& value);
2152 : inline void add_section_header(const char* value);
2153 : inline void add_section_header(const void* value, size_t size);
2154 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& section_header() const;
2155 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_section_header();
2156 :
2157 : // optional bytes export_section_data = 6;
2158 : inline bool has_export_section_data() const;
2159 : inline void clear_export_section_data();
2160 : static const int kExportSectionDataFieldNumber = 6;
2161 : inline const ::std::string& export_section_data() const;
2162 : inline void set_export_section_data(const ::std::string& value);
2163 : inline void set_export_section_data(const char* value);
2164 : inline void set_export_section_data(const void* value, size_t size);
2165 : inline ::std::string* mutable_export_section_data();
2166 : inline ::std::string* release_export_section_data();
2167 : inline void set_allocated_export_section_data(::std::string* export_section_data);
2168 :
2169 : // repeated .safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData debug_data = 7;
2170 : inline int debug_data_size() const;
2171 : inline void clear_debug_data();
2172 : static const int kDebugDataFieldNumber = 7;
2173 : inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& debug_data(int index) const;
2174 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* mutable_debug_data(int index);
2175 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* add_debug_data();
2176 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >&
2177 : debug_data() const;
2178 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >*
2179 : mutable_debug_data();
2180 :
2181 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders)
2182 : private:
2183 : inline void set_has_dos_header();
2184 : inline void clear_has_dos_header();
2185 : inline void set_has_file_header();
2186 : inline void clear_has_file_header();
2187 : inline void set_has_optional_headers32();
2188 : inline void clear_has_optional_headers32();
2189 : inline void set_has_optional_headers64();
2190 : inline void clear_has_optional_headers64();
2191 : inline void set_has_export_section_data();
2192 : inline void clear_has_export_section_data();
2193 :
2194 : ::std::string _unknown_fields_;
2195 :
2196 : ::google::protobuf::uint32 _has_bits_[1];
2197 : mutable int _cached_size_;
2198 : ::std::string* dos_header_;
2199 : ::std::string* file_header_;
2200 : ::std::string* optional_headers32_;
2201 : ::std::string* optional_headers64_;
2202 : ::google::protobuf::RepeatedPtrField< ::std::string> section_header_;
2203 : ::std::string* export_section_data_;
2204 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData > debug_data_;
2205 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2206 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
2207 : #else
2208 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2209 : #endif
2210 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2211 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2212 :
2213 : void InitAsDefaultInstance();
2214 : static ClientDownloadRequest_PEImageHeaders* default_instance_;
2215 : };
2216 : // -------------------------------------------------------------------
2217 :
2218 : class ClientDownloadRequest_MachOHeaders_LoadCommand : public ::google::protobuf::MessageLite {
2219 : public:
2220 : ClientDownloadRequest_MachOHeaders_LoadCommand();
2221 : virtual ~ClientDownloadRequest_MachOHeaders_LoadCommand();
2222 :
2223 : ClientDownloadRequest_MachOHeaders_LoadCommand(const ClientDownloadRequest_MachOHeaders_LoadCommand& from);
2224 :
2225 : inline ClientDownloadRequest_MachOHeaders_LoadCommand& operator=(const ClientDownloadRequest_MachOHeaders_LoadCommand& from) {
2226 : CopyFrom(from);
2227 : return *this;
2228 : }
2229 :
2230 0 : inline const ::std::string& unknown_fields() const {
2231 0 : return _unknown_fields_;
2232 : }
2233 :
2234 0 : inline ::std::string* mutable_unknown_fields() {
2235 0 : return &_unknown_fields_;
2236 : }
2237 :
2238 : static const ClientDownloadRequest_MachOHeaders_LoadCommand& default_instance();
2239 :
2240 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2241 : // Returns the internal default instance pointer. This function can
2242 : // return NULL thus should not be used by the user. This is intended
2243 : // for Protobuf internal code. Please use default_instance() declared
2244 : // above instead.
2245 : static inline const ClientDownloadRequest_MachOHeaders_LoadCommand* internal_default_instance() {
2246 : return default_instance_;
2247 : }
2248 : #endif
2249 :
2250 : void Swap(ClientDownloadRequest_MachOHeaders_LoadCommand* other);
2251 :
2252 : // implements Message ----------------------------------------------
2253 :
2254 : ClientDownloadRequest_MachOHeaders_LoadCommand* New() const;
2255 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
2256 : void CopyFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from);
2257 : void MergeFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from);
2258 : void Clear();
2259 : bool IsInitialized() const;
2260 :
2261 : int ByteSize() const;
2262 : bool MergePartialFromCodedStream(
2263 : ::google::protobuf::io::CodedInputStream* input);
2264 : void SerializeWithCachedSizes(
2265 : ::google::protobuf::io::CodedOutputStream* output) const;
2266 : void DiscardUnknownFields();
2267 0 : int GetCachedSize() const { return _cached_size_; }
2268 : private:
2269 : void SharedCtor();
2270 : void SharedDtor();
2271 : void SetCachedSize(int size) const;
2272 : public:
2273 : ::std::string GetTypeName() const;
2274 :
2275 : // nested types ----------------------------------------------------
2276 :
2277 : // accessors -------------------------------------------------------
2278 :
2279 : // required uint32 command_id = 1;
2280 : inline bool has_command_id() const;
2281 : inline void clear_command_id();
2282 : static const int kCommandIdFieldNumber = 1;
2283 : inline ::google::protobuf::uint32 command_id() const;
2284 : inline void set_command_id(::google::protobuf::uint32 value);
2285 :
2286 : // required bytes command = 2;
2287 : inline bool has_command() const;
2288 : inline void clear_command();
2289 : static const int kCommandFieldNumber = 2;
2290 : inline const ::std::string& command() const;
2291 : inline void set_command(const ::std::string& value);
2292 : inline void set_command(const char* value);
2293 : inline void set_command(const void* value, size_t size);
2294 : inline ::std::string* mutable_command();
2295 : inline ::std::string* release_command();
2296 : inline void set_allocated_command(::std::string* command);
2297 :
2298 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand)
2299 : private:
2300 : inline void set_has_command_id();
2301 : inline void clear_has_command_id();
2302 : inline void set_has_command();
2303 : inline void clear_has_command();
2304 :
2305 : ::std::string _unknown_fields_;
2306 :
2307 : ::google::protobuf::uint32 _has_bits_[1];
2308 : mutable int _cached_size_;
2309 : ::std::string* command_;
2310 : ::google::protobuf::uint32 command_id_;
2311 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2312 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
2313 : #else
2314 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2315 : #endif
2316 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2317 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2318 :
2319 : void InitAsDefaultInstance();
2320 : static ClientDownloadRequest_MachOHeaders_LoadCommand* default_instance_;
2321 : };
2322 : // -------------------------------------------------------------------
2323 :
2324 : class ClientDownloadRequest_MachOHeaders : public ::google::protobuf::MessageLite {
2325 : public:
2326 : ClientDownloadRequest_MachOHeaders();
2327 : virtual ~ClientDownloadRequest_MachOHeaders();
2328 :
2329 : ClientDownloadRequest_MachOHeaders(const ClientDownloadRequest_MachOHeaders& from);
2330 :
2331 : inline ClientDownloadRequest_MachOHeaders& operator=(const ClientDownloadRequest_MachOHeaders& from) {
2332 : CopyFrom(from);
2333 : return *this;
2334 : }
2335 :
2336 0 : inline const ::std::string& unknown_fields() const {
2337 0 : return _unknown_fields_;
2338 : }
2339 :
2340 0 : inline ::std::string* mutable_unknown_fields() {
2341 0 : return &_unknown_fields_;
2342 : }
2343 :
2344 : static const ClientDownloadRequest_MachOHeaders& default_instance();
2345 :
2346 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2347 : // Returns the internal default instance pointer. This function can
2348 : // return NULL thus should not be used by the user. This is intended
2349 : // for Protobuf internal code. Please use default_instance() declared
2350 : // above instead.
2351 : static inline const ClientDownloadRequest_MachOHeaders* internal_default_instance() {
2352 : return default_instance_;
2353 : }
2354 : #endif
2355 :
2356 : void Swap(ClientDownloadRequest_MachOHeaders* other);
2357 :
2358 : // implements Message ----------------------------------------------
2359 :
2360 : ClientDownloadRequest_MachOHeaders* New() const;
2361 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
2362 : void CopyFrom(const ClientDownloadRequest_MachOHeaders& from);
2363 : void MergeFrom(const ClientDownloadRequest_MachOHeaders& from);
2364 : void Clear();
2365 : bool IsInitialized() const;
2366 :
2367 : int ByteSize() const;
2368 : bool MergePartialFromCodedStream(
2369 : ::google::protobuf::io::CodedInputStream* input);
2370 : void SerializeWithCachedSizes(
2371 : ::google::protobuf::io::CodedOutputStream* output) const;
2372 : void DiscardUnknownFields();
2373 0 : int GetCachedSize() const { return _cached_size_; }
2374 : private:
2375 : void SharedCtor();
2376 : void SharedDtor();
2377 : void SetCachedSize(int size) const;
2378 : public:
2379 : ::std::string GetTypeName() const;
2380 :
2381 : // nested types ----------------------------------------------------
2382 :
2383 : typedef ClientDownloadRequest_MachOHeaders_LoadCommand LoadCommand;
2384 :
2385 : // accessors -------------------------------------------------------
2386 :
2387 : // required bytes mach_header = 1;
2388 : inline bool has_mach_header() const;
2389 : inline void clear_mach_header();
2390 : static const int kMachHeaderFieldNumber = 1;
2391 : inline const ::std::string& mach_header() const;
2392 : inline void set_mach_header(const ::std::string& value);
2393 : inline void set_mach_header(const char* value);
2394 : inline void set_mach_header(const void* value, size_t size);
2395 : inline ::std::string* mutable_mach_header();
2396 : inline ::std::string* release_mach_header();
2397 : inline void set_allocated_mach_header(::std::string* mach_header);
2398 :
2399 : // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand load_commands = 2;
2400 : inline int load_commands_size() const;
2401 : inline void clear_load_commands();
2402 : static const int kLoadCommandsFieldNumber = 2;
2403 : inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& load_commands(int index) const;
2404 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* mutable_load_commands(int index);
2405 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* add_load_commands();
2406 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >&
2407 : load_commands() const;
2408 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >*
2409 : mutable_load_commands();
2410 :
2411 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders)
2412 : private:
2413 : inline void set_has_mach_header();
2414 : inline void clear_has_mach_header();
2415 :
2416 : ::std::string _unknown_fields_;
2417 :
2418 : ::google::protobuf::uint32 _has_bits_[1];
2419 : mutable int _cached_size_;
2420 : ::std::string* mach_header_;
2421 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand > load_commands_;
2422 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2423 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
2424 : #else
2425 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2426 : #endif
2427 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2428 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2429 :
2430 : void InitAsDefaultInstance();
2431 : static ClientDownloadRequest_MachOHeaders* default_instance_;
2432 : };
2433 : // -------------------------------------------------------------------
2434 :
2435 : class ClientDownloadRequest_ImageHeaders : public ::google::protobuf::MessageLite {
2436 : public:
2437 : ClientDownloadRequest_ImageHeaders();
2438 : virtual ~ClientDownloadRequest_ImageHeaders();
2439 :
2440 : ClientDownloadRequest_ImageHeaders(const ClientDownloadRequest_ImageHeaders& from);
2441 :
2442 : inline ClientDownloadRequest_ImageHeaders& operator=(const ClientDownloadRequest_ImageHeaders& from) {
2443 : CopyFrom(from);
2444 : return *this;
2445 : }
2446 :
2447 0 : inline const ::std::string& unknown_fields() const {
2448 0 : return _unknown_fields_;
2449 : }
2450 :
2451 0 : inline ::std::string* mutable_unknown_fields() {
2452 0 : return &_unknown_fields_;
2453 : }
2454 :
2455 : static const ClientDownloadRequest_ImageHeaders& default_instance();
2456 :
2457 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2458 : // Returns the internal default instance pointer. This function can
2459 : // return NULL thus should not be used by the user. This is intended
2460 : // for Protobuf internal code. Please use default_instance() declared
2461 : // above instead.
2462 0 : static inline const ClientDownloadRequest_ImageHeaders* internal_default_instance() {
2463 0 : return default_instance_;
2464 : }
2465 : #endif
2466 :
2467 : void Swap(ClientDownloadRequest_ImageHeaders* other);
2468 :
2469 : // implements Message ----------------------------------------------
2470 :
2471 : ClientDownloadRequest_ImageHeaders* New() const;
2472 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
2473 : void CopyFrom(const ClientDownloadRequest_ImageHeaders& from);
2474 : void MergeFrom(const ClientDownloadRequest_ImageHeaders& from);
2475 : void Clear();
2476 : bool IsInitialized() const;
2477 :
2478 : int ByteSize() const;
2479 : bool MergePartialFromCodedStream(
2480 : ::google::protobuf::io::CodedInputStream* input);
2481 : void SerializeWithCachedSizes(
2482 : ::google::protobuf::io::CodedOutputStream* output) const;
2483 : void DiscardUnknownFields();
2484 0 : int GetCachedSize() const { return _cached_size_; }
2485 : private:
2486 : void SharedCtor();
2487 : void SharedDtor();
2488 : void SetCachedSize(int size) const;
2489 : public:
2490 : ::std::string GetTypeName() const;
2491 :
2492 : // nested types ----------------------------------------------------
2493 :
2494 : // accessors -------------------------------------------------------
2495 :
2496 : // optional .safe_browsing.ClientDownloadRequest.PEImageHeaders pe_headers = 1;
2497 : inline bool has_pe_headers() const;
2498 : inline void clear_pe_headers();
2499 : static const int kPeHeadersFieldNumber = 1;
2500 : inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& pe_headers() const;
2501 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* mutable_pe_headers();
2502 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* release_pe_headers();
2503 : inline void set_allocated_pe_headers(::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers);
2504 :
2505 : // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders mach_o_headers = 2;
2506 : inline int mach_o_headers_size() const;
2507 : inline void clear_mach_o_headers();
2508 : static const int kMachOHeadersFieldNumber = 2;
2509 : inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders& mach_o_headers(int index) const;
2510 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* mutable_mach_o_headers(int index);
2511 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* add_mach_o_headers();
2512 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >&
2513 : mach_o_headers() const;
2514 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >*
2515 : mutable_mach_o_headers();
2516 :
2517 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ImageHeaders)
2518 : private:
2519 : inline void set_has_pe_headers();
2520 : inline void clear_has_pe_headers();
2521 :
2522 : ::std::string _unknown_fields_;
2523 :
2524 : ::google::protobuf::uint32 _has_bits_[1];
2525 : mutable int _cached_size_;
2526 : ::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers_;
2527 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders > mach_o_headers_;
2528 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2529 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
2530 : #else
2531 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2532 : #endif
2533 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2534 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2535 :
2536 : void InitAsDefaultInstance();
2537 : static ClientDownloadRequest_ImageHeaders* default_instance_;
2538 : };
2539 : // -------------------------------------------------------------------
2540 :
2541 : class ClientDownloadRequest_ArchivedBinary : public ::google::protobuf::MessageLite {
2542 : public:
2543 : ClientDownloadRequest_ArchivedBinary();
2544 : virtual ~ClientDownloadRequest_ArchivedBinary();
2545 :
2546 : ClientDownloadRequest_ArchivedBinary(const ClientDownloadRequest_ArchivedBinary& from);
2547 :
2548 : inline ClientDownloadRequest_ArchivedBinary& operator=(const ClientDownloadRequest_ArchivedBinary& from) {
2549 : CopyFrom(from);
2550 : return *this;
2551 : }
2552 :
2553 0 : inline const ::std::string& unknown_fields() const {
2554 0 : return _unknown_fields_;
2555 : }
2556 :
2557 0 : inline ::std::string* mutable_unknown_fields() {
2558 0 : return &_unknown_fields_;
2559 : }
2560 :
2561 : static const ClientDownloadRequest_ArchivedBinary& default_instance();
2562 :
2563 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2564 : // Returns the internal default instance pointer. This function can
2565 : // return NULL thus should not be used by the user. This is intended
2566 : // for Protobuf internal code. Please use default_instance() declared
2567 : // above instead.
2568 : static inline const ClientDownloadRequest_ArchivedBinary* internal_default_instance() {
2569 : return default_instance_;
2570 : }
2571 : #endif
2572 :
2573 : void Swap(ClientDownloadRequest_ArchivedBinary* other);
2574 :
2575 : // implements Message ----------------------------------------------
2576 :
2577 : ClientDownloadRequest_ArchivedBinary* New() const;
2578 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
2579 : void CopyFrom(const ClientDownloadRequest_ArchivedBinary& from);
2580 : void MergeFrom(const ClientDownloadRequest_ArchivedBinary& from);
2581 : void Clear();
2582 : bool IsInitialized() const;
2583 :
2584 : int ByteSize() const;
2585 : bool MergePartialFromCodedStream(
2586 : ::google::protobuf::io::CodedInputStream* input);
2587 : void SerializeWithCachedSizes(
2588 : ::google::protobuf::io::CodedOutputStream* output) const;
2589 : void DiscardUnknownFields();
2590 0 : int GetCachedSize() const { return _cached_size_; }
2591 : private:
2592 : void SharedCtor();
2593 : void SharedDtor();
2594 : void SetCachedSize(int size) const;
2595 : public:
2596 : ::std::string GetTypeName() const;
2597 :
2598 : // nested types ----------------------------------------------------
2599 :
2600 : // accessors -------------------------------------------------------
2601 :
2602 : // optional string file_basename = 1;
2603 : inline bool has_file_basename() const;
2604 : inline void clear_file_basename();
2605 : static const int kFileBasenameFieldNumber = 1;
2606 : inline const ::std::string& file_basename() const;
2607 : inline void set_file_basename(const ::std::string& value);
2608 : inline void set_file_basename(const char* value);
2609 : inline void set_file_basename(const char* value, size_t size);
2610 : inline ::std::string* mutable_file_basename();
2611 : inline ::std::string* release_file_basename();
2612 : inline void set_allocated_file_basename(::std::string* file_basename);
2613 :
2614 : // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 2;
2615 : inline bool has_download_type() const;
2616 : inline void clear_download_type();
2617 : static const int kDownloadTypeFieldNumber = 2;
2618 : inline ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const;
2619 : inline void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value);
2620 :
2621 : // optional .safe_browsing.ClientDownloadRequest.Digests digests = 3;
2622 : inline bool has_digests() const;
2623 : inline void clear_digests();
2624 : static const int kDigestsFieldNumber = 3;
2625 : inline const ::safe_browsing::ClientDownloadRequest_Digests& digests() const;
2626 : inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests();
2627 : inline ::safe_browsing::ClientDownloadRequest_Digests* release_digests();
2628 : inline void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests);
2629 :
2630 : // optional int64 length = 4;
2631 : inline bool has_length() const;
2632 : inline void clear_length();
2633 : static const int kLengthFieldNumber = 4;
2634 : inline ::google::protobuf::int64 length() const;
2635 : inline void set_length(::google::protobuf::int64 value);
2636 :
2637 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
2638 : inline bool has_signature() const;
2639 : inline void clear_signature();
2640 : static const int kSignatureFieldNumber = 5;
2641 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
2642 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
2643 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
2644 : inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
2645 :
2646 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6;
2647 : inline bool has_image_headers() const;
2648 : inline void clear_image_headers();
2649 : static const int kImageHeadersFieldNumber = 6;
2650 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
2651 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
2652 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
2653 : inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
2654 :
2655 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ArchivedBinary)
2656 : private:
2657 : inline void set_has_file_basename();
2658 : inline void clear_has_file_basename();
2659 : inline void set_has_download_type();
2660 : inline void clear_has_download_type();
2661 : inline void set_has_digests();
2662 : inline void clear_has_digests();
2663 : inline void set_has_length();
2664 : inline void clear_has_length();
2665 : inline void set_has_signature();
2666 : inline void clear_has_signature();
2667 : inline void set_has_image_headers();
2668 : inline void clear_has_image_headers();
2669 :
2670 : ::std::string _unknown_fields_;
2671 :
2672 : ::google::protobuf::uint32 _has_bits_[1];
2673 : mutable int _cached_size_;
2674 : ::std::string* file_basename_;
2675 : ::safe_browsing::ClientDownloadRequest_Digests* digests_;
2676 : ::google::protobuf::int64 length_;
2677 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
2678 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
2679 : int download_type_;
2680 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2681 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
2682 : #else
2683 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2684 : #endif
2685 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2686 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2687 :
2688 : void InitAsDefaultInstance();
2689 : static ClientDownloadRequest_ArchivedBinary* default_instance_;
2690 : };
2691 : // -------------------------------------------------------------------
2692 :
2693 : class ClientDownloadRequest_URLChainEntry : public ::google::protobuf::MessageLite {
2694 : public:
2695 : ClientDownloadRequest_URLChainEntry();
2696 : virtual ~ClientDownloadRequest_URLChainEntry();
2697 :
2698 : ClientDownloadRequest_URLChainEntry(const ClientDownloadRequest_URLChainEntry& from);
2699 :
2700 : inline ClientDownloadRequest_URLChainEntry& operator=(const ClientDownloadRequest_URLChainEntry& from) {
2701 : CopyFrom(from);
2702 : return *this;
2703 : }
2704 :
2705 0 : inline const ::std::string& unknown_fields() const {
2706 0 : return _unknown_fields_;
2707 : }
2708 :
2709 0 : inline ::std::string* mutable_unknown_fields() {
2710 0 : return &_unknown_fields_;
2711 : }
2712 :
2713 : static const ClientDownloadRequest_URLChainEntry& default_instance();
2714 :
2715 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2716 : // Returns the internal default instance pointer. This function can
2717 : // return NULL thus should not be used by the user. This is intended
2718 : // for Protobuf internal code. Please use default_instance() declared
2719 : // above instead.
2720 : static inline const ClientDownloadRequest_URLChainEntry* internal_default_instance() {
2721 : return default_instance_;
2722 : }
2723 : #endif
2724 :
2725 : void Swap(ClientDownloadRequest_URLChainEntry* other);
2726 :
2727 : // implements Message ----------------------------------------------
2728 :
2729 : ClientDownloadRequest_URLChainEntry* New() const;
2730 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
2731 : void CopyFrom(const ClientDownloadRequest_URLChainEntry& from);
2732 : void MergeFrom(const ClientDownloadRequest_URLChainEntry& from);
2733 : void Clear();
2734 : bool IsInitialized() const;
2735 :
2736 : int ByteSize() const;
2737 : bool MergePartialFromCodedStream(
2738 : ::google::protobuf::io::CodedInputStream* input);
2739 : void SerializeWithCachedSizes(
2740 : ::google::protobuf::io::CodedOutputStream* output) const;
2741 : void DiscardUnknownFields();
2742 0 : int GetCachedSize() const { return _cached_size_; }
2743 : private:
2744 : void SharedCtor();
2745 : void SharedDtor();
2746 : void SetCachedSize(int size) const;
2747 : public:
2748 : ::std::string GetTypeName() const;
2749 :
2750 : // nested types ----------------------------------------------------
2751 :
2752 : typedef ClientDownloadRequest_URLChainEntry_URLType URLType;
2753 : static const URLType DOWNLOAD_URL = ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_URL;
2754 : static const URLType DOWNLOAD_REFERRER = ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_REFERRER;
2755 : static const URLType LANDING_PAGE = ClientDownloadRequest_URLChainEntry_URLType_LANDING_PAGE;
2756 : static const URLType LANDING_REFERRER = ClientDownloadRequest_URLChainEntry_URLType_LANDING_REFERRER;
2757 : static const URLType CLIENT_REDIRECT = ClientDownloadRequest_URLChainEntry_URLType_CLIENT_REDIRECT;
2758 : static const URLType SERVER_REDIRECT = ClientDownloadRequest_URLChainEntry_URLType_SERVER_REDIRECT;
2759 : static inline bool URLType_IsValid(int value) {
2760 : return ClientDownloadRequest_URLChainEntry_URLType_IsValid(value);
2761 : }
2762 : static const URLType URLType_MIN =
2763 : ClientDownloadRequest_URLChainEntry_URLType_URLType_MIN;
2764 : static const URLType URLType_MAX =
2765 : ClientDownloadRequest_URLChainEntry_URLType_URLType_MAX;
2766 : static const int URLType_ARRAYSIZE =
2767 : ClientDownloadRequest_URLChainEntry_URLType_URLType_ARRAYSIZE;
2768 :
2769 : // accessors -------------------------------------------------------
2770 :
2771 : // optional string url = 1;
2772 : inline bool has_url() const;
2773 : inline void clear_url();
2774 : static const int kUrlFieldNumber = 1;
2775 : inline const ::std::string& url() const;
2776 : inline void set_url(const ::std::string& value);
2777 : inline void set_url(const char* value);
2778 : inline void set_url(const char* value, size_t size);
2779 : inline ::std::string* mutable_url();
2780 : inline ::std::string* release_url();
2781 : inline void set_allocated_url(::std::string* url);
2782 :
2783 : // optional .safe_browsing.ClientDownloadRequest.URLChainEntry.URLType type = 2;
2784 : inline bool has_type() const;
2785 : inline void clear_type();
2786 : static const int kTypeFieldNumber = 2;
2787 : inline ::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType type() const;
2788 : inline void set_type(::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType value);
2789 :
2790 : // optional string ip_address = 3;
2791 : inline bool has_ip_address() const;
2792 : inline void clear_ip_address();
2793 : static const int kIpAddressFieldNumber = 3;
2794 : inline const ::std::string& ip_address() const;
2795 : inline void set_ip_address(const ::std::string& value);
2796 : inline void set_ip_address(const char* value);
2797 : inline void set_ip_address(const char* value, size_t size);
2798 : inline ::std::string* mutable_ip_address();
2799 : inline ::std::string* release_ip_address();
2800 : inline void set_allocated_ip_address(::std::string* ip_address);
2801 :
2802 : // optional string referrer = 4;
2803 : inline bool has_referrer() const;
2804 : inline void clear_referrer();
2805 : static const int kReferrerFieldNumber = 4;
2806 : inline const ::std::string& referrer() const;
2807 : inline void set_referrer(const ::std::string& value);
2808 : inline void set_referrer(const char* value);
2809 : inline void set_referrer(const char* value, size_t size);
2810 : inline ::std::string* mutable_referrer();
2811 : inline ::std::string* release_referrer();
2812 : inline void set_allocated_referrer(::std::string* referrer);
2813 :
2814 : // optional string main_frame_referrer = 5;
2815 : inline bool has_main_frame_referrer() const;
2816 : inline void clear_main_frame_referrer();
2817 : static const int kMainFrameReferrerFieldNumber = 5;
2818 : inline const ::std::string& main_frame_referrer() const;
2819 : inline void set_main_frame_referrer(const ::std::string& value);
2820 : inline void set_main_frame_referrer(const char* value);
2821 : inline void set_main_frame_referrer(const char* value, size_t size);
2822 : inline ::std::string* mutable_main_frame_referrer();
2823 : inline ::std::string* release_main_frame_referrer();
2824 : inline void set_allocated_main_frame_referrer(::std::string* main_frame_referrer);
2825 :
2826 : // optional bool is_retargeting = 6;
2827 : inline bool has_is_retargeting() const;
2828 : inline void clear_is_retargeting();
2829 : static const int kIsRetargetingFieldNumber = 6;
2830 : inline bool is_retargeting() const;
2831 : inline void set_is_retargeting(bool value);
2832 :
2833 : // optional bool is_user_initiated = 7;
2834 : inline bool has_is_user_initiated() const;
2835 : inline void clear_is_user_initiated();
2836 : static const int kIsUserInitiatedFieldNumber = 7;
2837 : inline bool is_user_initiated() const;
2838 : inline void set_is_user_initiated(bool value);
2839 :
2840 : // optional double timestamp_in_millisec = 8;
2841 : inline bool has_timestamp_in_millisec() const;
2842 : inline void clear_timestamp_in_millisec();
2843 : static const int kTimestampInMillisecFieldNumber = 8;
2844 : inline double timestamp_in_millisec() const;
2845 : inline void set_timestamp_in_millisec(double value);
2846 :
2847 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.URLChainEntry)
2848 : private:
2849 : inline void set_has_url();
2850 : inline void clear_has_url();
2851 : inline void set_has_type();
2852 : inline void clear_has_type();
2853 : inline void set_has_ip_address();
2854 : inline void clear_has_ip_address();
2855 : inline void set_has_referrer();
2856 : inline void clear_has_referrer();
2857 : inline void set_has_main_frame_referrer();
2858 : inline void clear_has_main_frame_referrer();
2859 : inline void set_has_is_retargeting();
2860 : inline void clear_has_is_retargeting();
2861 : inline void set_has_is_user_initiated();
2862 : inline void clear_has_is_user_initiated();
2863 : inline void set_has_timestamp_in_millisec();
2864 : inline void clear_has_timestamp_in_millisec();
2865 :
2866 : ::std::string _unknown_fields_;
2867 :
2868 : ::google::protobuf::uint32 _has_bits_[1];
2869 : mutable int _cached_size_;
2870 : ::std::string* url_;
2871 : ::std::string* ip_address_;
2872 : ::std::string* referrer_;
2873 : ::std::string* main_frame_referrer_;
2874 : int type_;
2875 : bool is_retargeting_;
2876 : bool is_user_initiated_;
2877 : double timestamp_in_millisec_;
2878 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2879 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
2880 : #else
2881 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2882 : #endif
2883 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2884 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
2885 :
2886 : void InitAsDefaultInstance();
2887 : static ClientDownloadRequest_URLChainEntry* default_instance_;
2888 : };
2889 : // -------------------------------------------------------------------
2890 :
2891 : class ClientDownloadRequest : public ::google::protobuf::MessageLite {
2892 : public:
2893 : ClientDownloadRequest();
2894 : virtual ~ClientDownloadRequest();
2895 :
2896 : ClientDownloadRequest(const ClientDownloadRequest& from);
2897 :
2898 : inline ClientDownloadRequest& operator=(const ClientDownloadRequest& from) {
2899 : CopyFrom(from);
2900 : return *this;
2901 : }
2902 :
2903 0 : inline const ::std::string& unknown_fields() const {
2904 0 : return _unknown_fields_;
2905 : }
2906 :
2907 0 : inline ::std::string* mutable_unknown_fields() {
2908 0 : return &_unknown_fields_;
2909 : }
2910 :
2911 : static const ClientDownloadRequest& default_instance();
2912 :
2913 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2914 : // Returns the internal default instance pointer. This function can
2915 : // return NULL thus should not be used by the user. This is intended
2916 : // for Protobuf internal code. Please use default_instance() declared
2917 : // above instead.
2918 0 : static inline const ClientDownloadRequest* internal_default_instance() {
2919 0 : return default_instance_;
2920 : }
2921 : #endif
2922 :
2923 : void Swap(ClientDownloadRequest* other);
2924 :
2925 : // implements Message ----------------------------------------------
2926 :
2927 : ClientDownloadRequest* New() const;
2928 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
2929 : void CopyFrom(const ClientDownloadRequest& from);
2930 : void MergeFrom(const ClientDownloadRequest& from);
2931 : void Clear();
2932 : bool IsInitialized() const;
2933 :
2934 : int ByteSize() const;
2935 : bool MergePartialFromCodedStream(
2936 : ::google::protobuf::io::CodedInputStream* input);
2937 : void SerializeWithCachedSizes(
2938 : ::google::protobuf::io::CodedOutputStream* output) const;
2939 : void DiscardUnknownFields();
2940 0 : int GetCachedSize() const { return _cached_size_; }
2941 : private:
2942 : void SharedCtor();
2943 : void SharedDtor();
2944 : void SetCachedSize(int size) const;
2945 : public:
2946 : ::std::string GetTypeName() const;
2947 :
2948 : // nested types ----------------------------------------------------
2949 :
2950 : typedef ClientDownloadRequest_Digests Digests;
2951 : typedef ClientDownloadRequest_Resource Resource;
2952 : typedef ClientDownloadRequest_CertificateChain CertificateChain;
2953 : typedef ClientDownloadRequest_ExtendedAttr ExtendedAttr;
2954 : typedef ClientDownloadRequest_SignatureInfo SignatureInfo;
2955 : typedef ClientDownloadRequest_PEImageHeaders PEImageHeaders;
2956 : typedef ClientDownloadRequest_MachOHeaders MachOHeaders;
2957 : typedef ClientDownloadRequest_ImageHeaders ImageHeaders;
2958 : typedef ClientDownloadRequest_ArchivedBinary ArchivedBinary;
2959 : typedef ClientDownloadRequest_URLChainEntry URLChainEntry;
2960 :
2961 : typedef ClientDownloadRequest_ResourceType ResourceType;
2962 : static const ResourceType DOWNLOAD_URL = ClientDownloadRequest_ResourceType_DOWNLOAD_URL;
2963 : static const ResourceType DOWNLOAD_REDIRECT = ClientDownloadRequest_ResourceType_DOWNLOAD_REDIRECT;
2964 : static const ResourceType TAB_URL = ClientDownloadRequest_ResourceType_TAB_URL;
2965 : static const ResourceType TAB_REDIRECT = ClientDownloadRequest_ResourceType_TAB_REDIRECT;
2966 : static const ResourceType PPAPI_DOCUMENT = ClientDownloadRequest_ResourceType_PPAPI_DOCUMENT;
2967 : static const ResourceType PPAPI_PLUGIN = ClientDownloadRequest_ResourceType_PPAPI_PLUGIN;
2968 : static inline bool ResourceType_IsValid(int value) {
2969 : return ClientDownloadRequest_ResourceType_IsValid(value);
2970 : }
2971 : static const ResourceType ResourceType_MIN =
2972 : ClientDownloadRequest_ResourceType_ResourceType_MIN;
2973 : static const ResourceType ResourceType_MAX =
2974 : ClientDownloadRequest_ResourceType_ResourceType_MAX;
2975 : static const int ResourceType_ARRAYSIZE =
2976 : ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE;
2977 :
2978 : typedef ClientDownloadRequest_DownloadType DownloadType;
2979 : static const DownloadType WIN_EXECUTABLE = ClientDownloadRequest_DownloadType_WIN_EXECUTABLE;
2980 : static const DownloadType CHROME_EXTENSION = ClientDownloadRequest_DownloadType_CHROME_EXTENSION;
2981 : static const DownloadType ANDROID_APK = ClientDownloadRequest_DownloadType_ANDROID_APK;
2982 : static const DownloadType ZIPPED_EXECUTABLE = ClientDownloadRequest_DownloadType_ZIPPED_EXECUTABLE;
2983 : static const DownloadType MAC_EXECUTABLE = ClientDownloadRequest_DownloadType_MAC_EXECUTABLE;
2984 : static const DownloadType ZIPPED_ARCHIVE = ClientDownloadRequest_DownloadType_ZIPPED_ARCHIVE;
2985 : static const DownloadType ARCHIVE = ClientDownloadRequest_DownloadType_ARCHIVE;
2986 : static const DownloadType INVALID_ZIP = ClientDownloadRequest_DownloadType_INVALID_ZIP;
2987 : static const DownloadType INVALID_MAC_ARCHIVE = ClientDownloadRequest_DownloadType_INVALID_MAC_ARCHIVE;
2988 : static const DownloadType PPAPI_SAVE_REQUEST = ClientDownloadRequest_DownloadType_PPAPI_SAVE_REQUEST;
2989 : static const DownloadType SAMPLED_UNSUPPORTED_FILE = ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE;
2990 : static inline bool DownloadType_IsValid(int value) {
2991 : return ClientDownloadRequest_DownloadType_IsValid(value);
2992 : }
2993 : static const DownloadType DownloadType_MIN =
2994 : ClientDownloadRequest_DownloadType_DownloadType_MIN;
2995 : static const DownloadType DownloadType_MAX =
2996 : ClientDownloadRequest_DownloadType_DownloadType_MAX;
2997 : static const int DownloadType_ARRAYSIZE =
2998 : ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE;
2999 :
3000 : // accessors -------------------------------------------------------
3001 :
3002 : // required string url = 1;
3003 : inline bool has_url() const;
3004 : inline void clear_url();
3005 : static const int kUrlFieldNumber = 1;
3006 : inline const ::std::string& url() const;
3007 : inline void set_url(const ::std::string& value);
3008 : inline void set_url(const char* value);
3009 : inline void set_url(const char* value, size_t size);
3010 : inline ::std::string* mutable_url();
3011 : inline ::std::string* release_url();
3012 : inline void set_allocated_url(::std::string* url);
3013 :
3014 : // required .safe_browsing.ClientDownloadRequest.Digests digests = 2;
3015 : inline bool has_digests() const;
3016 : inline void clear_digests();
3017 : static const int kDigestsFieldNumber = 2;
3018 : inline const ::safe_browsing::ClientDownloadRequest_Digests& digests() const;
3019 : inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests();
3020 : inline ::safe_browsing::ClientDownloadRequest_Digests* release_digests();
3021 : inline void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests);
3022 :
3023 : // required int64 length = 3;
3024 : inline bool has_length() const;
3025 : inline void clear_length();
3026 : static const int kLengthFieldNumber = 3;
3027 : inline ::google::protobuf::int64 length() const;
3028 : inline void set_length(::google::protobuf::int64 value);
3029 :
3030 : // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4;
3031 : inline int resources_size() const;
3032 : inline void clear_resources();
3033 : static const int kResourcesFieldNumber = 4;
3034 : inline const ::safe_browsing::ClientDownloadRequest_Resource& resources(int index) const;
3035 : inline ::safe_browsing::ClientDownloadRequest_Resource* mutable_resources(int index);
3036 : inline ::safe_browsing::ClientDownloadRequest_Resource* add_resources();
3037 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >&
3038 : resources() const;
3039 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >*
3040 : mutable_resources();
3041 :
3042 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
3043 : inline bool has_signature() const;
3044 : inline void clear_signature();
3045 : static const int kSignatureFieldNumber = 5;
3046 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
3047 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
3048 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
3049 : inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
3050 :
3051 : // optional bool user_initiated = 6;
3052 : inline bool has_user_initiated() const;
3053 : inline void clear_user_initiated();
3054 : static const int kUserInitiatedFieldNumber = 6;
3055 : inline bool user_initiated() const;
3056 : inline void set_user_initiated(bool value);
3057 :
3058 : // optional string file_basename = 9;
3059 : inline bool has_file_basename() const;
3060 : inline void clear_file_basename();
3061 : static const int kFileBasenameFieldNumber = 9;
3062 : inline const ::std::string& file_basename() const;
3063 : inline void set_file_basename(const ::std::string& value);
3064 : inline void set_file_basename(const char* value);
3065 : inline void set_file_basename(const char* value, size_t size);
3066 : inline ::std::string* mutable_file_basename();
3067 : inline ::std::string* release_file_basename();
3068 : inline void set_allocated_file_basename(::std::string* file_basename);
3069 :
3070 : // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE];
3071 : inline bool has_download_type() const;
3072 : inline void clear_download_type();
3073 : static const int kDownloadTypeFieldNumber = 10;
3074 : inline ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const;
3075 : inline void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value);
3076 :
3077 : // optional string locale = 11;
3078 : inline bool has_locale() const;
3079 : inline void clear_locale();
3080 : static const int kLocaleFieldNumber = 11;
3081 : inline const ::std::string& locale() const;
3082 : inline void set_locale(const ::std::string& value);
3083 : inline void set_locale(const char* value);
3084 : inline void set_locale(const char* value, size_t size);
3085 : inline ::std::string* mutable_locale();
3086 : inline ::std::string* release_locale();
3087 : inline void set_allocated_locale(::std::string* locale);
3088 :
3089 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 18;
3090 : inline bool has_image_headers() const;
3091 : inline void clear_image_headers();
3092 : static const int kImageHeadersFieldNumber = 18;
3093 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
3094 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
3095 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
3096 : inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
3097 :
3098 : // repeated .safe_browsing.ClientDownloadRequest.ArchivedBinary archived_binary = 22;
3099 : inline int archived_binary_size() const;
3100 : inline void clear_archived_binary();
3101 : static const int kArchivedBinaryFieldNumber = 22;
3102 : inline const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& archived_binary(int index) const;
3103 : inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* mutable_archived_binary(int index);
3104 : inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* add_archived_binary();
3105 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >&
3106 : archived_binary() const;
3107 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >*
3108 : mutable_archived_binary();
3109 :
3110 : // optional .safe_browsing.ChromeUserPopulation population = 24;
3111 : inline bool has_population() const;
3112 : inline void clear_population();
3113 : static const int kPopulationFieldNumber = 24;
3114 : inline const ::safe_browsing::ChromeUserPopulation& population() const;
3115 : inline ::safe_browsing::ChromeUserPopulation* mutable_population();
3116 : inline ::safe_browsing::ChromeUserPopulation* release_population();
3117 : inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
3118 :
3119 : // optional bool archive_valid = 26;
3120 : inline bool has_archive_valid() const;
3121 : inline void clear_archive_valid();
3122 : static const int kArchiveValidFieldNumber = 26;
3123 : inline bool archive_valid() const;
3124 : inline void set_archive_valid(bool value);
3125 :
3126 : // optional bool skipped_url_whitelist = 28;
3127 : inline bool has_skipped_url_whitelist() const;
3128 : inline void clear_skipped_url_whitelist();
3129 : static const int kSkippedUrlWhitelistFieldNumber = 28;
3130 : inline bool skipped_url_whitelist() const;
3131 : inline void set_skipped_url_whitelist(bool value);
3132 :
3133 : // optional bool skipped_certificate_whitelist = 31;
3134 : inline bool has_skipped_certificate_whitelist() const;
3135 : inline void clear_skipped_certificate_whitelist();
3136 : static const int kSkippedCertificateWhitelistFieldNumber = 31;
3137 : inline bool skipped_certificate_whitelist() const;
3138 : inline void set_skipped_certificate_whitelist(bool value);
3139 :
3140 : // repeated string alternate_extensions = 35;
3141 : inline int alternate_extensions_size() const;
3142 : inline void clear_alternate_extensions();
3143 : static const int kAlternateExtensionsFieldNumber = 35;
3144 : inline const ::std::string& alternate_extensions(int index) const;
3145 : inline ::std::string* mutable_alternate_extensions(int index);
3146 : inline void set_alternate_extensions(int index, const ::std::string& value);
3147 : inline void set_alternate_extensions(int index, const char* value);
3148 : inline void set_alternate_extensions(int index, const char* value, size_t size);
3149 : inline ::std::string* add_alternate_extensions();
3150 : inline void add_alternate_extensions(const ::std::string& value);
3151 : inline void add_alternate_extensions(const char* value);
3152 : inline void add_alternate_extensions(const char* value, size_t size);
3153 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& alternate_extensions() const;
3154 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_alternate_extensions();
3155 :
3156 : // repeated .safe_browsing.ClientDownloadRequest.URLChainEntry url_chain = 36;
3157 : inline int url_chain_size() const;
3158 : inline void clear_url_chain();
3159 : static const int kUrlChainFieldNumber = 36;
3160 : inline const ::safe_browsing::ClientDownloadRequest_URLChainEntry& url_chain(int index) const;
3161 : inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* mutable_url_chain(int index);
3162 : inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* add_url_chain();
3163 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >&
3164 : url_chain() const;
3165 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >*
3166 : mutable_url_chain();
3167 :
3168 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest)
3169 : private:
3170 : inline void set_has_url();
3171 : inline void clear_has_url();
3172 : inline void set_has_digests();
3173 : inline void clear_has_digests();
3174 : inline void set_has_length();
3175 : inline void clear_has_length();
3176 : inline void set_has_signature();
3177 : inline void clear_has_signature();
3178 : inline void set_has_user_initiated();
3179 : inline void clear_has_user_initiated();
3180 : inline void set_has_file_basename();
3181 : inline void clear_has_file_basename();
3182 : inline void set_has_download_type();
3183 : inline void clear_has_download_type();
3184 : inline void set_has_locale();
3185 : inline void clear_has_locale();
3186 : inline void set_has_image_headers();
3187 : inline void clear_has_image_headers();
3188 : inline void set_has_population();
3189 : inline void clear_has_population();
3190 : inline void set_has_archive_valid();
3191 : inline void clear_has_archive_valid();
3192 : inline void set_has_skipped_url_whitelist();
3193 : inline void clear_has_skipped_url_whitelist();
3194 : inline void set_has_skipped_certificate_whitelist();
3195 : inline void clear_has_skipped_certificate_whitelist();
3196 :
3197 : ::std::string _unknown_fields_;
3198 :
3199 : ::google::protobuf::uint32 _has_bits_[1];
3200 : mutable int _cached_size_;
3201 : ::std::string* url_;
3202 : ::safe_browsing::ClientDownloadRequest_Digests* digests_;
3203 : ::google::protobuf::int64 length_;
3204 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource > resources_;
3205 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
3206 : ::std::string* file_basename_;
3207 : ::std::string* locale_;
3208 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
3209 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary > archived_binary_;
3210 : int download_type_;
3211 : bool user_initiated_;
3212 : bool archive_valid_;
3213 : bool skipped_url_whitelist_;
3214 : bool skipped_certificate_whitelist_;
3215 : ::safe_browsing::ChromeUserPopulation* population_;
3216 : ::google::protobuf::RepeatedPtrField< ::std::string> alternate_extensions_;
3217 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry > url_chain_;
3218 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3219 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
3220 : #else
3221 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3222 : #endif
3223 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3224 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3225 :
3226 : void InitAsDefaultInstance();
3227 : static ClientDownloadRequest* default_instance_;
3228 : };
3229 : // -------------------------------------------------------------------
3230 :
3231 : class ClientDownloadResponse_MoreInfo : public ::google::protobuf::MessageLite {
3232 : public:
3233 : ClientDownloadResponse_MoreInfo();
3234 : virtual ~ClientDownloadResponse_MoreInfo();
3235 :
3236 : ClientDownloadResponse_MoreInfo(const ClientDownloadResponse_MoreInfo& from);
3237 :
3238 : inline ClientDownloadResponse_MoreInfo& operator=(const ClientDownloadResponse_MoreInfo& from) {
3239 : CopyFrom(from);
3240 : return *this;
3241 : }
3242 :
3243 0 : inline const ::std::string& unknown_fields() const {
3244 0 : return _unknown_fields_;
3245 : }
3246 :
3247 0 : inline ::std::string* mutable_unknown_fields() {
3248 0 : return &_unknown_fields_;
3249 : }
3250 :
3251 : static const ClientDownloadResponse_MoreInfo& default_instance();
3252 :
3253 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3254 : // Returns the internal default instance pointer. This function can
3255 : // return NULL thus should not be used by the user. This is intended
3256 : // for Protobuf internal code. Please use default_instance() declared
3257 : // above instead.
3258 0 : static inline const ClientDownloadResponse_MoreInfo* internal_default_instance() {
3259 0 : return default_instance_;
3260 : }
3261 : #endif
3262 :
3263 : void Swap(ClientDownloadResponse_MoreInfo* other);
3264 :
3265 : // implements Message ----------------------------------------------
3266 :
3267 : ClientDownloadResponse_MoreInfo* New() const;
3268 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
3269 : void CopyFrom(const ClientDownloadResponse_MoreInfo& from);
3270 : void MergeFrom(const ClientDownloadResponse_MoreInfo& from);
3271 : void Clear();
3272 : bool IsInitialized() const;
3273 :
3274 : int ByteSize() const;
3275 : bool MergePartialFromCodedStream(
3276 : ::google::protobuf::io::CodedInputStream* input);
3277 : void SerializeWithCachedSizes(
3278 : ::google::protobuf::io::CodedOutputStream* output) const;
3279 : void DiscardUnknownFields();
3280 0 : int GetCachedSize() const { return _cached_size_; }
3281 : private:
3282 : void SharedCtor();
3283 : void SharedDtor();
3284 : void SetCachedSize(int size) const;
3285 : public:
3286 : ::std::string GetTypeName() const;
3287 :
3288 : // nested types ----------------------------------------------------
3289 :
3290 : // accessors -------------------------------------------------------
3291 :
3292 : // optional string description = 1;
3293 : inline bool has_description() const;
3294 : inline void clear_description();
3295 : static const int kDescriptionFieldNumber = 1;
3296 : inline const ::std::string& description() const;
3297 : inline void set_description(const ::std::string& value);
3298 : inline void set_description(const char* value);
3299 : inline void set_description(const char* value, size_t size);
3300 : inline ::std::string* mutable_description();
3301 : inline ::std::string* release_description();
3302 : inline void set_allocated_description(::std::string* description);
3303 :
3304 : // optional string url = 2;
3305 : inline bool has_url() const;
3306 : inline void clear_url();
3307 : static const int kUrlFieldNumber = 2;
3308 : inline const ::std::string& url() const;
3309 : inline void set_url(const ::std::string& value);
3310 : inline void set_url(const char* value);
3311 : inline void set_url(const char* value, size_t size);
3312 : inline ::std::string* mutable_url();
3313 : inline ::std::string* release_url();
3314 : inline void set_allocated_url(::std::string* url);
3315 :
3316 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse.MoreInfo)
3317 : private:
3318 : inline void set_has_description();
3319 : inline void clear_has_description();
3320 : inline void set_has_url();
3321 : inline void clear_has_url();
3322 :
3323 : ::std::string _unknown_fields_;
3324 :
3325 : ::google::protobuf::uint32 _has_bits_[1];
3326 : mutable int _cached_size_;
3327 : ::std::string* description_;
3328 : ::std::string* url_;
3329 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3330 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
3331 : #else
3332 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3333 : #endif
3334 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3335 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3336 :
3337 : void InitAsDefaultInstance();
3338 : static ClientDownloadResponse_MoreInfo* default_instance_;
3339 : };
3340 : // -------------------------------------------------------------------
3341 :
3342 : class ClientDownloadResponse : public ::google::protobuf::MessageLite {
3343 : public:
3344 : ClientDownloadResponse();
3345 : virtual ~ClientDownloadResponse();
3346 :
3347 : ClientDownloadResponse(const ClientDownloadResponse& from);
3348 :
3349 : inline ClientDownloadResponse& operator=(const ClientDownloadResponse& from) {
3350 : CopyFrom(from);
3351 : return *this;
3352 : }
3353 :
3354 0 : inline const ::std::string& unknown_fields() const {
3355 0 : return _unknown_fields_;
3356 : }
3357 :
3358 0 : inline ::std::string* mutable_unknown_fields() {
3359 0 : return &_unknown_fields_;
3360 : }
3361 :
3362 : static const ClientDownloadResponse& default_instance();
3363 :
3364 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3365 : // Returns the internal default instance pointer. This function can
3366 : // return NULL thus should not be used by the user. This is intended
3367 : // for Protobuf internal code. Please use default_instance() declared
3368 : // above instead.
3369 0 : static inline const ClientDownloadResponse* internal_default_instance() {
3370 0 : return default_instance_;
3371 : }
3372 : #endif
3373 :
3374 : void Swap(ClientDownloadResponse* other);
3375 :
3376 : // implements Message ----------------------------------------------
3377 :
3378 : ClientDownloadResponse* New() const;
3379 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
3380 : void CopyFrom(const ClientDownloadResponse& from);
3381 : void MergeFrom(const ClientDownloadResponse& from);
3382 : void Clear();
3383 : bool IsInitialized() const;
3384 :
3385 : int ByteSize() const;
3386 : bool MergePartialFromCodedStream(
3387 : ::google::protobuf::io::CodedInputStream* input);
3388 : void SerializeWithCachedSizes(
3389 : ::google::protobuf::io::CodedOutputStream* output) const;
3390 : void DiscardUnknownFields();
3391 0 : int GetCachedSize() const { return _cached_size_; }
3392 : private:
3393 : void SharedCtor();
3394 : void SharedDtor();
3395 : void SetCachedSize(int size) const;
3396 : public:
3397 : ::std::string GetTypeName() const;
3398 :
3399 : // nested types ----------------------------------------------------
3400 :
3401 : typedef ClientDownloadResponse_MoreInfo MoreInfo;
3402 :
3403 : typedef ClientDownloadResponse_Verdict Verdict;
3404 : static const Verdict SAFE = ClientDownloadResponse_Verdict_SAFE;
3405 : static const Verdict DANGEROUS = ClientDownloadResponse_Verdict_DANGEROUS;
3406 : static const Verdict UNCOMMON = ClientDownloadResponse_Verdict_UNCOMMON;
3407 : static const Verdict POTENTIALLY_UNWANTED = ClientDownloadResponse_Verdict_POTENTIALLY_UNWANTED;
3408 : static const Verdict DANGEROUS_HOST = ClientDownloadResponse_Verdict_DANGEROUS_HOST;
3409 : static const Verdict UNKNOWN = ClientDownloadResponse_Verdict_UNKNOWN;
3410 : static inline bool Verdict_IsValid(int value) {
3411 : return ClientDownloadResponse_Verdict_IsValid(value);
3412 : }
3413 : static const Verdict Verdict_MIN =
3414 : ClientDownloadResponse_Verdict_Verdict_MIN;
3415 : static const Verdict Verdict_MAX =
3416 : ClientDownloadResponse_Verdict_Verdict_MAX;
3417 : static const int Verdict_ARRAYSIZE =
3418 : ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE;
3419 :
3420 : // accessors -------------------------------------------------------
3421 :
3422 : // optional .safe_browsing.ClientDownloadResponse.Verdict verdict = 1 [default = SAFE];
3423 : inline bool has_verdict() const;
3424 : inline void clear_verdict();
3425 : static const int kVerdictFieldNumber = 1;
3426 : inline ::safe_browsing::ClientDownloadResponse_Verdict verdict() const;
3427 : inline void set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value);
3428 :
3429 : // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2;
3430 : inline bool has_more_info() const;
3431 : inline void clear_more_info();
3432 : static const int kMoreInfoFieldNumber = 2;
3433 : inline const ::safe_browsing::ClientDownloadResponse_MoreInfo& more_info() const;
3434 : inline ::safe_browsing::ClientDownloadResponse_MoreInfo* mutable_more_info();
3435 : inline ::safe_browsing::ClientDownloadResponse_MoreInfo* release_more_info();
3436 : inline void set_allocated_more_info(::safe_browsing::ClientDownloadResponse_MoreInfo* more_info);
3437 :
3438 : // optional bytes token = 3;
3439 : inline bool has_token() const;
3440 : inline void clear_token();
3441 : static const int kTokenFieldNumber = 3;
3442 : inline const ::std::string& token() const;
3443 : inline void set_token(const ::std::string& value);
3444 : inline void set_token(const char* value);
3445 : inline void set_token(const void* value, size_t size);
3446 : inline ::std::string* mutable_token();
3447 : inline ::std::string* release_token();
3448 : inline void set_allocated_token(::std::string* token);
3449 :
3450 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse)
3451 : private:
3452 : inline void set_has_verdict();
3453 : inline void clear_has_verdict();
3454 : inline void set_has_more_info();
3455 : inline void clear_has_more_info();
3456 : inline void set_has_token();
3457 : inline void clear_has_token();
3458 :
3459 : ::std::string _unknown_fields_;
3460 :
3461 : ::google::protobuf::uint32 _has_bits_[1];
3462 : mutable int _cached_size_;
3463 : ::safe_browsing::ClientDownloadResponse_MoreInfo* more_info_;
3464 : ::std::string* token_;
3465 : int verdict_;
3466 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3467 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
3468 : #else
3469 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3470 : #endif
3471 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3472 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3473 :
3474 : void InitAsDefaultInstance();
3475 : static ClientDownloadResponse* default_instance_;
3476 : };
3477 : // -------------------------------------------------------------------
3478 :
3479 : class ClientDownloadReport_UserInformation : public ::google::protobuf::MessageLite {
3480 : public:
3481 : ClientDownloadReport_UserInformation();
3482 : virtual ~ClientDownloadReport_UserInformation();
3483 :
3484 : ClientDownloadReport_UserInformation(const ClientDownloadReport_UserInformation& from);
3485 :
3486 : inline ClientDownloadReport_UserInformation& operator=(const ClientDownloadReport_UserInformation& from) {
3487 : CopyFrom(from);
3488 : return *this;
3489 : }
3490 :
3491 0 : inline const ::std::string& unknown_fields() const {
3492 0 : return _unknown_fields_;
3493 : }
3494 :
3495 0 : inline ::std::string* mutable_unknown_fields() {
3496 0 : return &_unknown_fields_;
3497 : }
3498 :
3499 : static const ClientDownloadReport_UserInformation& default_instance();
3500 :
3501 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3502 : // Returns the internal default instance pointer. This function can
3503 : // return NULL thus should not be used by the user. This is intended
3504 : // for Protobuf internal code. Please use default_instance() declared
3505 : // above instead.
3506 0 : static inline const ClientDownloadReport_UserInformation* internal_default_instance() {
3507 0 : return default_instance_;
3508 : }
3509 : #endif
3510 :
3511 : void Swap(ClientDownloadReport_UserInformation* other);
3512 :
3513 : // implements Message ----------------------------------------------
3514 :
3515 : ClientDownloadReport_UserInformation* New() const;
3516 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
3517 : void CopyFrom(const ClientDownloadReport_UserInformation& from);
3518 : void MergeFrom(const ClientDownloadReport_UserInformation& from);
3519 : void Clear();
3520 : bool IsInitialized() const;
3521 :
3522 : int ByteSize() const;
3523 : bool MergePartialFromCodedStream(
3524 : ::google::protobuf::io::CodedInputStream* input);
3525 : void SerializeWithCachedSizes(
3526 : ::google::protobuf::io::CodedOutputStream* output) const;
3527 : void DiscardUnknownFields();
3528 0 : int GetCachedSize() const { return _cached_size_; }
3529 : private:
3530 : void SharedCtor();
3531 : void SharedDtor();
3532 : void SetCachedSize(int size) const;
3533 : public:
3534 : ::std::string GetTypeName() const;
3535 :
3536 : // nested types ----------------------------------------------------
3537 :
3538 : // accessors -------------------------------------------------------
3539 :
3540 : // optional string email = 1;
3541 : inline bool has_email() const;
3542 : inline void clear_email();
3543 : static const int kEmailFieldNumber = 1;
3544 : inline const ::std::string& email() const;
3545 : inline void set_email(const ::std::string& value);
3546 : inline void set_email(const char* value);
3547 : inline void set_email(const char* value, size_t size);
3548 : inline ::std::string* mutable_email();
3549 : inline ::std::string* release_email();
3550 : inline void set_allocated_email(::std::string* email);
3551 :
3552 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport.UserInformation)
3553 : private:
3554 : inline void set_has_email();
3555 : inline void clear_has_email();
3556 :
3557 : ::std::string _unknown_fields_;
3558 :
3559 : ::google::protobuf::uint32 _has_bits_[1];
3560 : mutable int _cached_size_;
3561 : ::std::string* email_;
3562 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3563 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
3564 : #else
3565 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3566 : #endif
3567 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3568 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3569 :
3570 : void InitAsDefaultInstance();
3571 : static ClientDownloadReport_UserInformation* default_instance_;
3572 : };
3573 : // -------------------------------------------------------------------
3574 :
3575 : class ClientDownloadReport : public ::google::protobuf::MessageLite {
3576 : public:
3577 : ClientDownloadReport();
3578 : virtual ~ClientDownloadReport();
3579 :
3580 : ClientDownloadReport(const ClientDownloadReport& from);
3581 :
3582 : inline ClientDownloadReport& operator=(const ClientDownloadReport& from) {
3583 : CopyFrom(from);
3584 : return *this;
3585 : }
3586 :
3587 0 : inline const ::std::string& unknown_fields() const {
3588 0 : return _unknown_fields_;
3589 : }
3590 :
3591 0 : inline ::std::string* mutable_unknown_fields() {
3592 0 : return &_unknown_fields_;
3593 : }
3594 :
3595 : static const ClientDownloadReport& default_instance();
3596 :
3597 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3598 : // Returns the internal default instance pointer. This function can
3599 : // return NULL thus should not be used by the user. This is intended
3600 : // for Protobuf internal code. Please use default_instance() declared
3601 : // above instead.
3602 : static inline const ClientDownloadReport* internal_default_instance() {
3603 : return default_instance_;
3604 : }
3605 : #endif
3606 :
3607 : void Swap(ClientDownloadReport* other);
3608 :
3609 : // implements Message ----------------------------------------------
3610 :
3611 : ClientDownloadReport* New() const;
3612 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
3613 : void CopyFrom(const ClientDownloadReport& from);
3614 : void MergeFrom(const ClientDownloadReport& from);
3615 : void Clear();
3616 : bool IsInitialized() const;
3617 :
3618 : int ByteSize() const;
3619 : bool MergePartialFromCodedStream(
3620 : ::google::protobuf::io::CodedInputStream* input);
3621 : void SerializeWithCachedSizes(
3622 : ::google::protobuf::io::CodedOutputStream* output) const;
3623 : void DiscardUnknownFields();
3624 0 : int GetCachedSize() const { return _cached_size_; }
3625 : private:
3626 : void SharedCtor();
3627 : void SharedDtor();
3628 : void SetCachedSize(int size) const;
3629 : public:
3630 : ::std::string GetTypeName() const;
3631 :
3632 : // nested types ----------------------------------------------------
3633 :
3634 : typedef ClientDownloadReport_UserInformation UserInformation;
3635 :
3636 : typedef ClientDownloadReport_Reason Reason;
3637 : static const Reason SHARE = ClientDownloadReport_Reason_SHARE;
3638 : static const Reason FALSE_POSITIVE = ClientDownloadReport_Reason_FALSE_POSITIVE;
3639 : static const Reason APPEAL = ClientDownloadReport_Reason_APPEAL;
3640 : static inline bool Reason_IsValid(int value) {
3641 : return ClientDownloadReport_Reason_IsValid(value);
3642 : }
3643 : static const Reason Reason_MIN =
3644 : ClientDownloadReport_Reason_Reason_MIN;
3645 : static const Reason Reason_MAX =
3646 : ClientDownloadReport_Reason_Reason_MAX;
3647 : static const int Reason_ARRAYSIZE =
3648 : ClientDownloadReport_Reason_Reason_ARRAYSIZE;
3649 :
3650 : // accessors -------------------------------------------------------
3651 :
3652 : // optional .safe_browsing.ClientDownloadReport.Reason reason = 1;
3653 : inline bool has_reason() const;
3654 : inline void clear_reason();
3655 : static const int kReasonFieldNumber = 1;
3656 : inline ::safe_browsing::ClientDownloadReport_Reason reason() const;
3657 : inline void set_reason(::safe_browsing::ClientDownloadReport_Reason value);
3658 :
3659 : // optional .safe_browsing.ClientDownloadRequest download_request = 2;
3660 : inline bool has_download_request() const;
3661 : inline void clear_download_request();
3662 : static const int kDownloadRequestFieldNumber = 2;
3663 : inline const ::safe_browsing::ClientDownloadRequest& download_request() const;
3664 : inline ::safe_browsing::ClientDownloadRequest* mutable_download_request();
3665 : inline ::safe_browsing::ClientDownloadRequest* release_download_request();
3666 : inline void set_allocated_download_request(::safe_browsing::ClientDownloadRequest* download_request);
3667 :
3668 : // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3;
3669 : inline bool has_user_information() const;
3670 : inline void clear_user_information();
3671 : static const int kUserInformationFieldNumber = 3;
3672 : inline const ::safe_browsing::ClientDownloadReport_UserInformation& user_information() const;
3673 : inline ::safe_browsing::ClientDownloadReport_UserInformation* mutable_user_information();
3674 : inline ::safe_browsing::ClientDownloadReport_UserInformation* release_user_information();
3675 : inline void set_allocated_user_information(::safe_browsing::ClientDownloadReport_UserInformation* user_information);
3676 :
3677 : // optional bytes comment = 4;
3678 : inline bool has_comment() const;
3679 : inline void clear_comment();
3680 : static const int kCommentFieldNumber = 4;
3681 : inline const ::std::string& comment() const;
3682 : inline void set_comment(const ::std::string& value);
3683 : inline void set_comment(const char* value);
3684 : inline void set_comment(const void* value, size_t size);
3685 : inline ::std::string* mutable_comment();
3686 : inline ::std::string* release_comment();
3687 : inline void set_allocated_comment(::std::string* comment);
3688 :
3689 : // optional .safe_browsing.ClientDownloadResponse download_response = 5;
3690 : inline bool has_download_response() const;
3691 : inline void clear_download_response();
3692 : static const int kDownloadResponseFieldNumber = 5;
3693 : inline const ::safe_browsing::ClientDownloadResponse& download_response() const;
3694 : inline ::safe_browsing::ClientDownloadResponse* mutable_download_response();
3695 : inline ::safe_browsing::ClientDownloadResponse* release_download_response();
3696 : inline void set_allocated_download_response(::safe_browsing::ClientDownloadResponse* download_response);
3697 :
3698 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport)
3699 : private:
3700 : inline void set_has_reason();
3701 : inline void clear_has_reason();
3702 : inline void set_has_download_request();
3703 : inline void clear_has_download_request();
3704 : inline void set_has_user_information();
3705 : inline void clear_has_user_information();
3706 : inline void set_has_comment();
3707 : inline void clear_has_comment();
3708 : inline void set_has_download_response();
3709 : inline void clear_has_download_response();
3710 :
3711 : ::std::string _unknown_fields_;
3712 :
3713 : ::google::protobuf::uint32 _has_bits_[1];
3714 : mutable int _cached_size_;
3715 : ::safe_browsing::ClientDownloadRequest* download_request_;
3716 : ::safe_browsing::ClientDownloadReport_UserInformation* user_information_;
3717 : ::std::string* comment_;
3718 : ::safe_browsing::ClientDownloadResponse* download_response_;
3719 : int reason_;
3720 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3721 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
3722 : #else
3723 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3724 : #endif
3725 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3726 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3727 :
3728 : void InitAsDefaultInstance();
3729 : static ClientDownloadReport* default_instance_;
3730 : };
3731 : // -------------------------------------------------------------------
3732 :
3733 : class ClientUploadResponse : public ::google::protobuf::MessageLite {
3734 : public:
3735 : ClientUploadResponse();
3736 : virtual ~ClientUploadResponse();
3737 :
3738 : ClientUploadResponse(const ClientUploadResponse& from);
3739 :
3740 : inline ClientUploadResponse& operator=(const ClientUploadResponse& from) {
3741 : CopyFrom(from);
3742 : return *this;
3743 : }
3744 :
3745 0 : inline const ::std::string& unknown_fields() const {
3746 0 : return _unknown_fields_;
3747 : }
3748 :
3749 0 : inline ::std::string* mutable_unknown_fields() {
3750 0 : return &_unknown_fields_;
3751 : }
3752 :
3753 : static const ClientUploadResponse& default_instance();
3754 :
3755 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3756 : // Returns the internal default instance pointer. This function can
3757 : // return NULL thus should not be used by the user. This is intended
3758 : // for Protobuf internal code. Please use default_instance() declared
3759 : // above instead.
3760 : static inline const ClientUploadResponse* internal_default_instance() {
3761 : return default_instance_;
3762 : }
3763 : #endif
3764 :
3765 : void Swap(ClientUploadResponse* other);
3766 :
3767 : // implements Message ----------------------------------------------
3768 :
3769 : ClientUploadResponse* New() const;
3770 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
3771 : void CopyFrom(const ClientUploadResponse& from);
3772 : void MergeFrom(const ClientUploadResponse& from);
3773 : void Clear();
3774 : bool IsInitialized() const;
3775 :
3776 : int ByteSize() const;
3777 : bool MergePartialFromCodedStream(
3778 : ::google::protobuf::io::CodedInputStream* input);
3779 : void SerializeWithCachedSizes(
3780 : ::google::protobuf::io::CodedOutputStream* output) const;
3781 : void DiscardUnknownFields();
3782 0 : int GetCachedSize() const { return _cached_size_; }
3783 : private:
3784 : void SharedCtor();
3785 : void SharedDtor();
3786 : void SetCachedSize(int size) const;
3787 : public:
3788 : ::std::string GetTypeName() const;
3789 :
3790 : // nested types ----------------------------------------------------
3791 :
3792 : typedef ClientUploadResponse_UploadStatus UploadStatus;
3793 : static const UploadStatus SUCCESS = ClientUploadResponse_UploadStatus_SUCCESS;
3794 : static const UploadStatus UPLOAD_FAILURE = ClientUploadResponse_UploadStatus_UPLOAD_FAILURE;
3795 : static inline bool UploadStatus_IsValid(int value) {
3796 : return ClientUploadResponse_UploadStatus_IsValid(value);
3797 : }
3798 : static const UploadStatus UploadStatus_MIN =
3799 : ClientUploadResponse_UploadStatus_UploadStatus_MIN;
3800 : static const UploadStatus UploadStatus_MAX =
3801 : ClientUploadResponse_UploadStatus_UploadStatus_MAX;
3802 : static const int UploadStatus_ARRAYSIZE =
3803 : ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE;
3804 :
3805 : // accessors -------------------------------------------------------
3806 :
3807 : // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1;
3808 : inline bool has_status() const;
3809 : inline void clear_status();
3810 : static const int kStatusFieldNumber = 1;
3811 : inline ::safe_browsing::ClientUploadResponse_UploadStatus status() const;
3812 : inline void set_status(::safe_browsing::ClientUploadResponse_UploadStatus value);
3813 :
3814 : // optional string permalink = 2;
3815 : inline bool has_permalink() const;
3816 : inline void clear_permalink();
3817 : static const int kPermalinkFieldNumber = 2;
3818 : inline const ::std::string& permalink() const;
3819 : inline void set_permalink(const ::std::string& value);
3820 : inline void set_permalink(const char* value);
3821 : inline void set_permalink(const char* value, size_t size);
3822 : inline ::std::string* mutable_permalink();
3823 : inline ::std::string* release_permalink();
3824 : inline void set_allocated_permalink(::std::string* permalink);
3825 :
3826 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientUploadResponse)
3827 : private:
3828 : inline void set_has_status();
3829 : inline void clear_has_status();
3830 : inline void set_has_permalink();
3831 : inline void clear_has_permalink();
3832 :
3833 : ::std::string _unknown_fields_;
3834 :
3835 : ::google::protobuf::uint32 _has_bits_[1];
3836 : mutable int _cached_size_;
3837 : ::std::string* permalink_;
3838 : int status_;
3839 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3840 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
3841 : #else
3842 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3843 : #endif
3844 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3845 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3846 :
3847 : void InitAsDefaultInstance();
3848 : static ClientUploadResponse* default_instance_;
3849 : };
3850 : // -------------------------------------------------------------------
3851 :
3852 : class ClientIncidentReport_IncidentData_TrackedPreferenceIncident : public ::google::protobuf::MessageLite {
3853 : public:
3854 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident();
3855 : virtual ~ClientIncidentReport_IncidentData_TrackedPreferenceIncident();
3856 :
3857 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from);
3858 :
3859 : inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident& operator=(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from) {
3860 : CopyFrom(from);
3861 : return *this;
3862 : }
3863 :
3864 0 : inline const ::std::string& unknown_fields() const {
3865 0 : return _unknown_fields_;
3866 : }
3867 :
3868 0 : inline ::std::string* mutable_unknown_fields() {
3869 0 : return &_unknown_fields_;
3870 : }
3871 :
3872 : static const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& default_instance();
3873 :
3874 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3875 : // Returns the internal default instance pointer. This function can
3876 : // return NULL thus should not be used by the user. This is intended
3877 : // for Protobuf internal code. Please use default_instance() declared
3878 : // above instead.
3879 0 : static inline const ClientIncidentReport_IncidentData_TrackedPreferenceIncident* internal_default_instance() {
3880 0 : return default_instance_;
3881 : }
3882 : #endif
3883 :
3884 : void Swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident* other);
3885 :
3886 : // implements Message ----------------------------------------------
3887 :
3888 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident* New() const;
3889 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
3890 : void CopyFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from);
3891 : void MergeFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from);
3892 : void Clear();
3893 : bool IsInitialized() const;
3894 :
3895 : int ByteSize() const;
3896 : bool MergePartialFromCodedStream(
3897 : ::google::protobuf::io::CodedInputStream* input);
3898 : void SerializeWithCachedSizes(
3899 : ::google::protobuf::io::CodedOutputStream* output) const;
3900 : void DiscardUnknownFields();
3901 0 : int GetCachedSize() const { return _cached_size_; }
3902 : private:
3903 : void SharedCtor();
3904 : void SharedDtor();
3905 : void SetCachedSize(int size) const;
3906 : public:
3907 : ::std::string GetTypeName() const;
3908 :
3909 : // nested types ----------------------------------------------------
3910 :
3911 : typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ValueState;
3912 : static const ValueState UNKNOWN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN;
3913 : static const ValueState CLEARED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CLEARED;
3914 : static const ValueState WEAK_LEGACY_OBSOLETE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_WEAK_LEGACY_OBSOLETE;
3915 : static const ValueState CHANGED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CHANGED;
3916 : static const ValueState UNTRUSTED_UNKNOWN_VALUE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE;
3917 : static inline bool ValueState_IsValid(int value) {
3918 : return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(value);
3919 : }
3920 : static const ValueState ValueState_MIN =
3921 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN;
3922 : static const ValueState ValueState_MAX =
3923 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX;
3924 : static const int ValueState_ARRAYSIZE =
3925 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE;
3926 :
3927 : // accessors -------------------------------------------------------
3928 :
3929 : // optional string path = 1;
3930 : inline bool has_path() const;
3931 : inline void clear_path();
3932 : static const int kPathFieldNumber = 1;
3933 : inline const ::std::string& path() const;
3934 : inline void set_path(const ::std::string& value);
3935 : inline void set_path(const char* value);
3936 : inline void set_path(const char* value, size_t size);
3937 : inline ::std::string* mutable_path();
3938 : inline ::std::string* release_path();
3939 : inline void set_allocated_path(::std::string* path);
3940 :
3941 : // optional string atomic_value = 2;
3942 : inline bool has_atomic_value() const;
3943 : inline void clear_atomic_value();
3944 : static const int kAtomicValueFieldNumber = 2;
3945 : inline const ::std::string& atomic_value() const;
3946 : inline void set_atomic_value(const ::std::string& value);
3947 : inline void set_atomic_value(const char* value);
3948 : inline void set_atomic_value(const char* value, size_t size);
3949 : inline ::std::string* mutable_atomic_value();
3950 : inline ::std::string* release_atomic_value();
3951 : inline void set_allocated_atomic_value(::std::string* atomic_value);
3952 :
3953 : // repeated string split_key = 3;
3954 : inline int split_key_size() const;
3955 : inline void clear_split_key();
3956 : static const int kSplitKeyFieldNumber = 3;
3957 : inline const ::std::string& split_key(int index) const;
3958 : inline ::std::string* mutable_split_key(int index);
3959 : inline void set_split_key(int index, const ::std::string& value);
3960 : inline void set_split_key(int index, const char* value);
3961 : inline void set_split_key(int index, const char* value, size_t size);
3962 : inline ::std::string* add_split_key();
3963 : inline void add_split_key(const ::std::string& value);
3964 : inline void add_split_key(const char* value);
3965 : inline void add_split_key(const char* value, size_t size);
3966 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& split_key() const;
3967 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_split_key();
3968 :
3969 : // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.ValueState value_state = 4;
3970 : inline bool has_value_state() const;
3971 : inline void clear_value_state();
3972 : static const int kValueStateFieldNumber = 4;
3973 : inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value_state() const;
3974 : inline void set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value);
3975 :
3976 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident)
3977 : private:
3978 : inline void set_has_path();
3979 : inline void clear_has_path();
3980 : inline void set_has_atomic_value();
3981 : inline void clear_has_atomic_value();
3982 : inline void set_has_value_state();
3983 : inline void clear_has_value_state();
3984 :
3985 : ::std::string _unknown_fields_;
3986 :
3987 : ::google::protobuf::uint32 _has_bits_[1];
3988 : mutable int _cached_size_;
3989 : ::std::string* path_;
3990 : ::std::string* atomic_value_;
3991 : ::google::protobuf::RepeatedPtrField< ::std::string> split_key_;
3992 : int value_state_;
3993 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3994 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
3995 : #else
3996 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3997 : #endif
3998 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
3999 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4000 :
4001 : void InitAsDefaultInstance();
4002 : static ClientIncidentReport_IncidentData_TrackedPreferenceIncident* default_instance_;
4003 : };
4004 : // -------------------------------------------------------------------
4005 :
4006 : class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile : public ::google::protobuf::MessageLite {
4007 : public:
4008 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile();
4009 : virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile();
4010 :
4011 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from);
4012 :
4013 : inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from) {
4014 : CopyFrom(from);
4015 : return *this;
4016 : }
4017 :
4018 0 : inline const ::std::string& unknown_fields() const {
4019 0 : return _unknown_fields_;
4020 : }
4021 :
4022 0 : inline ::std::string* mutable_unknown_fields() {
4023 0 : return &_unknown_fields_;
4024 : }
4025 :
4026 : static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& default_instance();
4027 :
4028 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4029 : // Returns the internal default instance pointer. This function can
4030 : // return NULL thus should not be used by the user. This is intended
4031 : // for Protobuf internal code. Please use default_instance() declared
4032 : // above instead.
4033 : static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* internal_default_instance() {
4034 : return default_instance_;
4035 : }
4036 : #endif
4037 :
4038 : void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* other);
4039 :
4040 : // implements Message ----------------------------------------------
4041 :
4042 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* New() const;
4043 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
4044 : void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from);
4045 : void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from);
4046 : void Clear();
4047 : bool IsInitialized() const;
4048 :
4049 : int ByteSize() const;
4050 : bool MergePartialFromCodedStream(
4051 : ::google::protobuf::io::CodedInputStream* input);
4052 : void SerializeWithCachedSizes(
4053 : ::google::protobuf::io::CodedOutputStream* output) const;
4054 : void DiscardUnknownFields();
4055 0 : int GetCachedSize() const { return _cached_size_; }
4056 : private:
4057 : void SharedCtor();
4058 : void SharedDtor();
4059 : void SetCachedSize(int size) const;
4060 : public:
4061 : ::std::string GetTypeName() const;
4062 :
4063 : // nested types ----------------------------------------------------
4064 :
4065 : // accessors -------------------------------------------------------
4066 :
4067 : // optional string relative_path = 1;
4068 : inline bool has_relative_path() const;
4069 : inline void clear_relative_path();
4070 : static const int kRelativePathFieldNumber = 1;
4071 : inline const ::std::string& relative_path() const;
4072 : inline void set_relative_path(const ::std::string& value);
4073 : inline void set_relative_path(const char* value);
4074 : inline void set_relative_path(const char* value, size_t size);
4075 : inline ::std::string* mutable_relative_path();
4076 : inline ::std::string* release_relative_path();
4077 : inline void set_allocated_relative_path(::std::string* relative_path);
4078 :
4079 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2;
4080 : inline bool has_signature() const;
4081 : inline void clear_signature();
4082 : static const int kSignatureFieldNumber = 2;
4083 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
4084 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
4085 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
4086 : inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
4087 :
4088 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3;
4089 : inline bool has_image_headers() const;
4090 : inline void clear_image_headers();
4091 : static const int kImageHeadersFieldNumber = 3;
4092 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
4093 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
4094 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
4095 : inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
4096 :
4097 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile)
4098 : private:
4099 : inline void set_has_relative_path();
4100 : inline void clear_has_relative_path();
4101 : inline void set_has_signature();
4102 : inline void clear_has_signature();
4103 : inline void set_has_image_headers();
4104 : inline void clear_has_image_headers();
4105 :
4106 : ::std::string _unknown_fields_;
4107 :
4108 : ::google::protobuf::uint32 _has_bits_[1];
4109 : mutable int _cached_size_;
4110 : ::std::string* relative_path_;
4111 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
4112 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
4113 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4114 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
4115 : #else
4116 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4117 : #endif
4118 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4119 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4120 :
4121 : void InitAsDefaultInstance();
4122 : static ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* default_instance_;
4123 : };
4124 : // -------------------------------------------------------------------
4125 :
4126 : class ClientIncidentReport_IncidentData_BinaryIntegrityIncident : public ::google::protobuf::MessageLite {
4127 : public:
4128 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident();
4129 : virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident();
4130 :
4131 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from);
4132 :
4133 : inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from) {
4134 : CopyFrom(from);
4135 : return *this;
4136 : }
4137 :
4138 0 : inline const ::std::string& unknown_fields() const {
4139 0 : return _unknown_fields_;
4140 : }
4141 :
4142 0 : inline ::std::string* mutable_unknown_fields() {
4143 0 : return &_unknown_fields_;
4144 : }
4145 :
4146 : static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& default_instance();
4147 :
4148 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4149 : // Returns the internal default instance pointer. This function can
4150 : // return NULL thus should not be used by the user. This is intended
4151 : // for Protobuf internal code. Please use default_instance() declared
4152 : // above instead.
4153 0 : static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident* internal_default_instance() {
4154 0 : return default_instance_;
4155 : }
4156 : #endif
4157 :
4158 : void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident* other);
4159 :
4160 : // implements Message ----------------------------------------------
4161 :
4162 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident* New() const;
4163 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
4164 : void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from);
4165 : void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from);
4166 : void Clear();
4167 : bool IsInitialized() const;
4168 :
4169 : int ByteSize() const;
4170 : bool MergePartialFromCodedStream(
4171 : ::google::protobuf::io::CodedInputStream* input);
4172 : void SerializeWithCachedSizes(
4173 : ::google::protobuf::io::CodedOutputStream* output) const;
4174 : void DiscardUnknownFields();
4175 0 : int GetCachedSize() const { return _cached_size_; }
4176 : private:
4177 : void SharedCtor();
4178 : void SharedDtor();
4179 : void SetCachedSize(int size) const;
4180 : public:
4181 : ::std::string GetTypeName() const;
4182 :
4183 : // nested types ----------------------------------------------------
4184 :
4185 : typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile ContainedFile;
4186 :
4187 : // accessors -------------------------------------------------------
4188 :
4189 : // optional string file_basename = 1;
4190 : inline bool has_file_basename() const;
4191 : inline void clear_file_basename();
4192 : static const int kFileBasenameFieldNumber = 1;
4193 : inline const ::std::string& file_basename() const;
4194 : inline void set_file_basename(const ::std::string& value);
4195 : inline void set_file_basename(const char* value);
4196 : inline void set_file_basename(const char* value, size_t size);
4197 : inline ::std::string* mutable_file_basename();
4198 : inline ::std::string* release_file_basename();
4199 : inline void set_allocated_file_basename(::std::string* file_basename);
4200 :
4201 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2;
4202 : inline bool has_signature() const;
4203 : inline void clear_signature();
4204 : static const int kSignatureFieldNumber = 2;
4205 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
4206 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
4207 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
4208 : inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
4209 :
4210 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3;
4211 : inline bool has_image_headers() const;
4212 : inline void clear_image_headers();
4213 : static const int kImageHeadersFieldNumber = 3;
4214 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
4215 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
4216 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
4217 : inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
4218 :
4219 : // optional int32 sec_error = 4;
4220 : inline bool has_sec_error() const;
4221 : inline void clear_sec_error();
4222 : static const int kSecErrorFieldNumber = 4;
4223 : inline ::google::protobuf::int32 sec_error() const;
4224 : inline void set_sec_error(::google::protobuf::int32 value);
4225 :
4226 : // repeated .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile contained_file = 5;
4227 : inline int contained_file_size() const;
4228 : inline void clear_contained_file();
4229 : static const int kContainedFileFieldNumber = 5;
4230 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& contained_file(int index) const;
4231 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* mutable_contained_file(int index);
4232 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* add_contained_file();
4233 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >&
4234 : contained_file() const;
4235 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >*
4236 : mutable_contained_file();
4237 :
4238 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident)
4239 : private:
4240 : inline void set_has_file_basename();
4241 : inline void clear_has_file_basename();
4242 : inline void set_has_signature();
4243 : inline void clear_has_signature();
4244 : inline void set_has_image_headers();
4245 : inline void clear_has_image_headers();
4246 : inline void set_has_sec_error();
4247 : inline void clear_has_sec_error();
4248 :
4249 : ::std::string _unknown_fields_;
4250 :
4251 : ::google::protobuf::uint32 _has_bits_[1];
4252 : mutable int _cached_size_;
4253 : ::std::string* file_basename_;
4254 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
4255 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
4256 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile > contained_file_;
4257 : ::google::protobuf::int32 sec_error_;
4258 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4259 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
4260 : #else
4261 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4262 : #endif
4263 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4264 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4265 :
4266 : void InitAsDefaultInstance();
4267 : static ClientIncidentReport_IncidentData_BinaryIntegrityIncident* default_instance_;
4268 : };
4269 : // -------------------------------------------------------------------
4270 :
4271 : class ClientIncidentReport_IncidentData_BlacklistLoadIncident : public ::google::protobuf::MessageLite {
4272 : public:
4273 : ClientIncidentReport_IncidentData_BlacklistLoadIncident();
4274 : virtual ~ClientIncidentReport_IncidentData_BlacklistLoadIncident();
4275 :
4276 : ClientIncidentReport_IncidentData_BlacklistLoadIncident(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from);
4277 :
4278 : inline ClientIncidentReport_IncidentData_BlacklistLoadIncident& operator=(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from) {
4279 : CopyFrom(from);
4280 : return *this;
4281 : }
4282 :
4283 0 : inline const ::std::string& unknown_fields() const {
4284 0 : return _unknown_fields_;
4285 : }
4286 :
4287 0 : inline ::std::string* mutable_unknown_fields() {
4288 0 : return &_unknown_fields_;
4289 : }
4290 :
4291 : static const ClientIncidentReport_IncidentData_BlacklistLoadIncident& default_instance();
4292 :
4293 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4294 : // Returns the internal default instance pointer. This function can
4295 : // return NULL thus should not be used by the user. This is intended
4296 : // for Protobuf internal code. Please use default_instance() declared
4297 : // above instead.
4298 0 : static inline const ClientIncidentReport_IncidentData_BlacklistLoadIncident* internal_default_instance() {
4299 0 : return default_instance_;
4300 : }
4301 : #endif
4302 :
4303 : void Swap(ClientIncidentReport_IncidentData_BlacklistLoadIncident* other);
4304 :
4305 : // implements Message ----------------------------------------------
4306 :
4307 : ClientIncidentReport_IncidentData_BlacklistLoadIncident* New() const;
4308 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
4309 : void CopyFrom(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from);
4310 : void MergeFrom(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from);
4311 : void Clear();
4312 : bool IsInitialized() const;
4313 :
4314 : int ByteSize() const;
4315 : bool MergePartialFromCodedStream(
4316 : ::google::protobuf::io::CodedInputStream* input);
4317 : void SerializeWithCachedSizes(
4318 : ::google::protobuf::io::CodedOutputStream* output) const;
4319 : void DiscardUnknownFields();
4320 0 : int GetCachedSize() const { return _cached_size_; }
4321 : private:
4322 : void SharedCtor();
4323 : void SharedDtor();
4324 : void SetCachedSize(int size) const;
4325 : public:
4326 : ::std::string GetTypeName() const;
4327 :
4328 : // nested types ----------------------------------------------------
4329 :
4330 : // accessors -------------------------------------------------------
4331 :
4332 : // optional string path = 1;
4333 : inline bool has_path() const;
4334 : inline void clear_path();
4335 : static const int kPathFieldNumber = 1;
4336 : inline const ::std::string& path() const;
4337 : inline void set_path(const ::std::string& value);
4338 : inline void set_path(const char* value);
4339 : inline void set_path(const char* value, size_t size);
4340 : inline ::std::string* mutable_path();
4341 : inline ::std::string* release_path();
4342 : inline void set_allocated_path(::std::string* path);
4343 :
4344 : // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2;
4345 : inline bool has_digest() const;
4346 : inline void clear_digest();
4347 : static const int kDigestFieldNumber = 2;
4348 : inline const ::safe_browsing::ClientDownloadRequest_Digests& digest() const;
4349 : inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digest();
4350 : inline ::safe_browsing::ClientDownloadRequest_Digests* release_digest();
4351 : inline void set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest);
4352 :
4353 : // optional string version = 3;
4354 : inline bool has_version() const;
4355 : inline void clear_version();
4356 : static const int kVersionFieldNumber = 3;
4357 : inline const ::std::string& version() const;
4358 : inline void set_version(const ::std::string& value);
4359 : inline void set_version(const char* value);
4360 : inline void set_version(const char* value, size_t size);
4361 : inline ::std::string* mutable_version();
4362 : inline ::std::string* release_version();
4363 : inline void set_allocated_version(::std::string* version);
4364 :
4365 : // optional bool blacklist_initialized = 4;
4366 : inline bool has_blacklist_initialized() const;
4367 : inline void clear_blacklist_initialized();
4368 : static const int kBlacklistInitializedFieldNumber = 4;
4369 : inline bool blacklist_initialized() const;
4370 : inline void set_blacklist_initialized(bool value);
4371 :
4372 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
4373 : inline bool has_signature() const;
4374 : inline void clear_signature();
4375 : static const int kSignatureFieldNumber = 5;
4376 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
4377 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
4378 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
4379 : inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
4380 :
4381 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6;
4382 : inline bool has_image_headers() const;
4383 : inline void clear_image_headers();
4384 : static const int kImageHeadersFieldNumber = 6;
4385 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
4386 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
4387 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
4388 : inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
4389 :
4390 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident)
4391 : private:
4392 : inline void set_has_path();
4393 : inline void clear_has_path();
4394 : inline void set_has_digest();
4395 : inline void clear_has_digest();
4396 : inline void set_has_version();
4397 : inline void clear_has_version();
4398 : inline void set_has_blacklist_initialized();
4399 : inline void clear_has_blacklist_initialized();
4400 : inline void set_has_signature();
4401 : inline void clear_has_signature();
4402 : inline void set_has_image_headers();
4403 : inline void clear_has_image_headers();
4404 :
4405 : ::std::string _unknown_fields_;
4406 :
4407 : ::google::protobuf::uint32 _has_bits_[1];
4408 : mutable int _cached_size_;
4409 : ::std::string* path_;
4410 : ::safe_browsing::ClientDownloadRequest_Digests* digest_;
4411 : ::std::string* version_;
4412 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
4413 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
4414 : bool blacklist_initialized_;
4415 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4416 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
4417 : #else
4418 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4419 : #endif
4420 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4421 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4422 :
4423 : void InitAsDefaultInstance();
4424 : static ClientIncidentReport_IncidentData_BlacklistLoadIncident* default_instance_;
4425 : };
4426 : // -------------------------------------------------------------------
4427 :
4428 : class ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident : public ::google::protobuf::MessageLite {
4429 : public:
4430 : ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident();
4431 : virtual ~ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident();
4432 :
4433 : ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from);
4434 :
4435 : inline ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& operator=(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from) {
4436 : CopyFrom(from);
4437 : return *this;
4438 : }
4439 :
4440 0 : inline const ::std::string& unknown_fields() const {
4441 0 : return _unknown_fields_;
4442 : }
4443 :
4444 0 : inline ::std::string* mutable_unknown_fields() {
4445 0 : return &_unknown_fields_;
4446 : }
4447 :
4448 : static const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& default_instance();
4449 :
4450 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4451 : // Returns the internal default instance pointer. This function can
4452 : // return NULL thus should not be used by the user. This is intended
4453 : // for Protobuf internal code. Please use default_instance() declared
4454 : // above instead.
4455 0 : static inline const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* internal_default_instance() {
4456 0 : return default_instance_;
4457 : }
4458 : #endif
4459 :
4460 : void Swap(ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* other);
4461 :
4462 : // implements Message ----------------------------------------------
4463 :
4464 : ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* New() const;
4465 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
4466 : void CopyFrom(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from);
4467 : void MergeFrom(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from);
4468 : void Clear();
4469 : bool IsInitialized() const;
4470 :
4471 : int ByteSize() const;
4472 : bool MergePartialFromCodedStream(
4473 : ::google::protobuf::io::CodedInputStream* input);
4474 : void SerializeWithCachedSizes(
4475 : ::google::protobuf::io::CodedOutputStream* output) const;
4476 : void DiscardUnknownFields();
4477 0 : int GetCachedSize() const { return _cached_size_; }
4478 : private:
4479 : void SharedCtor();
4480 : void SharedDtor();
4481 : void SetCachedSize(int size) const;
4482 : public:
4483 : ::std::string GetTypeName() const;
4484 :
4485 : // nested types ----------------------------------------------------
4486 :
4487 : // accessors -------------------------------------------------------
4488 :
4489 : // optional string variations_seed_signature = 1;
4490 : inline bool has_variations_seed_signature() const;
4491 : inline void clear_variations_seed_signature();
4492 : static const int kVariationsSeedSignatureFieldNumber = 1;
4493 : inline const ::std::string& variations_seed_signature() const;
4494 : inline void set_variations_seed_signature(const ::std::string& value);
4495 : inline void set_variations_seed_signature(const char* value);
4496 : inline void set_variations_seed_signature(const char* value, size_t size);
4497 : inline ::std::string* mutable_variations_seed_signature();
4498 : inline ::std::string* release_variations_seed_signature();
4499 : inline void set_allocated_variations_seed_signature(::std::string* variations_seed_signature);
4500 :
4501 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident)
4502 : private:
4503 : inline void set_has_variations_seed_signature();
4504 : inline void clear_has_variations_seed_signature();
4505 :
4506 : ::std::string _unknown_fields_;
4507 :
4508 : ::google::protobuf::uint32 _has_bits_[1];
4509 : mutable int _cached_size_;
4510 : ::std::string* variations_seed_signature_;
4511 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4512 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
4513 : #else
4514 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4515 : #endif
4516 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4517 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4518 :
4519 : void InitAsDefaultInstance();
4520 : static ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* default_instance_;
4521 : };
4522 : // -------------------------------------------------------------------
4523 :
4524 : class ClientIncidentReport_IncidentData_ResourceRequestIncident : public ::google::protobuf::MessageLite {
4525 : public:
4526 : ClientIncidentReport_IncidentData_ResourceRequestIncident();
4527 : virtual ~ClientIncidentReport_IncidentData_ResourceRequestIncident();
4528 :
4529 : ClientIncidentReport_IncidentData_ResourceRequestIncident(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from);
4530 :
4531 : inline ClientIncidentReport_IncidentData_ResourceRequestIncident& operator=(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from) {
4532 : CopyFrom(from);
4533 : return *this;
4534 : }
4535 :
4536 0 : inline const ::std::string& unknown_fields() const {
4537 0 : return _unknown_fields_;
4538 : }
4539 :
4540 0 : inline ::std::string* mutable_unknown_fields() {
4541 0 : return &_unknown_fields_;
4542 : }
4543 :
4544 : static const ClientIncidentReport_IncidentData_ResourceRequestIncident& default_instance();
4545 :
4546 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4547 : // Returns the internal default instance pointer. This function can
4548 : // return NULL thus should not be used by the user. This is intended
4549 : // for Protobuf internal code. Please use default_instance() declared
4550 : // above instead.
4551 0 : static inline const ClientIncidentReport_IncidentData_ResourceRequestIncident* internal_default_instance() {
4552 0 : return default_instance_;
4553 : }
4554 : #endif
4555 :
4556 : void Swap(ClientIncidentReport_IncidentData_ResourceRequestIncident* other);
4557 :
4558 : // implements Message ----------------------------------------------
4559 :
4560 : ClientIncidentReport_IncidentData_ResourceRequestIncident* New() const;
4561 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
4562 : void CopyFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from);
4563 : void MergeFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from);
4564 : void Clear();
4565 : bool IsInitialized() const;
4566 :
4567 : int ByteSize() const;
4568 : bool MergePartialFromCodedStream(
4569 : ::google::protobuf::io::CodedInputStream* input);
4570 : void SerializeWithCachedSizes(
4571 : ::google::protobuf::io::CodedOutputStream* output) const;
4572 : void DiscardUnknownFields();
4573 0 : int GetCachedSize() const { return _cached_size_; }
4574 : private:
4575 : void SharedCtor();
4576 : void SharedDtor();
4577 : void SetCachedSize(int size) const;
4578 : public:
4579 : ::std::string GetTypeName() const;
4580 :
4581 : // nested types ----------------------------------------------------
4582 :
4583 : typedef ClientIncidentReport_IncidentData_ResourceRequestIncident_Type Type;
4584 : static const Type UNKNOWN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN;
4585 : static const Type TYPE_PATTERN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN;
4586 : static inline bool Type_IsValid(int value) {
4587 : return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(value);
4588 : }
4589 : static const Type Type_MIN =
4590 : ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN;
4591 : static const Type Type_MAX =
4592 : ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX;
4593 : static const int Type_ARRAYSIZE =
4594 : ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE;
4595 :
4596 : // accessors -------------------------------------------------------
4597 :
4598 : // optional bytes digest = 1;
4599 : inline bool has_digest() const;
4600 : inline void clear_digest();
4601 : static const int kDigestFieldNumber = 1;
4602 : inline const ::std::string& digest() const;
4603 : inline void set_digest(const ::std::string& value);
4604 : inline void set_digest(const char* value);
4605 : inline void set_digest(const void* value, size_t size);
4606 : inline ::std::string* mutable_digest();
4607 : inline ::std::string* release_digest();
4608 : inline void set_allocated_digest(::std::string* digest);
4609 :
4610 : // optional string origin = 2;
4611 : inline bool has_origin() const;
4612 : inline void clear_origin();
4613 : static const int kOriginFieldNumber = 2;
4614 : inline const ::std::string& origin() const;
4615 : inline void set_origin(const ::std::string& value);
4616 : inline void set_origin(const char* value);
4617 : inline void set_origin(const char* value, size_t size);
4618 : inline ::std::string* mutable_origin();
4619 : inline ::std::string* release_origin();
4620 : inline void set_allocated_origin(::std::string* origin);
4621 :
4622 : // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.Type type = 3 [default = UNKNOWN];
4623 : inline bool has_type() const;
4624 : inline void clear_type();
4625 : static const int kTypeFieldNumber = 3;
4626 : inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type type() const;
4627 : inline void set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value);
4628 :
4629 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident)
4630 : private:
4631 : inline void set_has_digest();
4632 : inline void clear_has_digest();
4633 : inline void set_has_origin();
4634 : inline void clear_has_origin();
4635 : inline void set_has_type();
4636 : inline void clear_has_type();
4637 :
4638 : ::std::string _unknown_fields_;
4639 :
4640 : ::google::protobuf::uint32 _has_bits_[1];
4641 : mutable int _cached_size_;
4642 : ::std::string* digest_;
4643 : ::std::string* origin_;
4644 : int type_;
4645 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4646 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
4647 : #else
4648 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4649 : #endif
4650 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4651 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4652 :
4653 : void InitAsDefaultInstance();
4654 : static ClientIncidentReport_IncidentData_ResourceRequestIncident* default_instance_;
4655 : };
4656 : // -------------------------------------------------------------------
4657 :
4658 : class ClientIncidentReport_IncidentData_SuspiciousModuleIncident : public ::google::protobuf::MessageLite {
4659 : public:
4660 : ClientIncidentReport_IncidentData_SuspiciousModuleIncident();
4661 : virtual ~ClientIncidentReport_IncidentData_SuspiciousModuleIncident();
4662 :
4663 : ClientIncidentReport_IncidentData_SuspiciousModuleIncident(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from);
4664 :
4665 : inline ClientIncidentReport_IncidentData_SuspiciousModuleIncident& operator=(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from) {
4666 : CopyFrom(from);
4667 : return *this;
4668 : }
4669 :
4670 0 : inline const ::std::string& unknown_fields() const {
4671 0 : return _unknown_fields_;
4672 : }
4673 :
4674 0 : inline ::std::string* mutable_unknown_fields() {
4675 0 : return &_unknown_fields_;
4676 : }
4677 :
4678 : static const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& default_instance();
4679 :
4680 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4681 : // Returns the internal default instance pointer. This function can
4682 : // return NULL thus should not be used by the user. This is intended
4683 : // for Protobuf internal code. Please use default_instance() declared
4684 : // above instead.
4685 0 : static inline const ClientIncidentReport_IncidentData_SuspiciousModuleIncident* internal_default_instance() {
4686 0 : return default_instance_;
4687 : }
4688 : #endif
4689 :
4690 : void Swap(ClientIncidentReport_IncidentData_SuspiciousModuleIncident* other);
4691 :
4692 : // implements Message ----------------------------------------------
4693 :
4694 : ClientIncidentReport_IncidentData_SuspiciousModuleIncident* New() const;
4695 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
4696 : void CopyFrom(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from);
4697 : void MergeFrom(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from);
4698 : void Clear();
4699 : bool IsInitialized() const;
4700 :
4701 : int ByteSize() const;
4702 : bool MergePartialFromCodedStream(
4703 : ::google::protobuf::io::CodedInputStream* input);
4704 : void SerializeWithCachedSizes(
4705 : ::google::protobuf::io::CodedOutputStream* output) const;
4706 : void DiscardUnknownFields();
4707 0 : int GetCachedSize() const { return _cached_size_; }
4708 : private:
4709 : void SharedCtor();
4710 : void SharedDtor();
4711 : void SetCachedSize(int size) const;
4712 : public:
4713 : ::std::string GetTypeName() const;
4714 :
4715 : // nested types ----------------------------------------------------
4716 :
4717 : // accessors -------------------------------------------------------
4718 :
4719 : // optional string path = 1;
4720 : inline bool has_path() const;
4721 : inline void clear_path();
4722 : static const int kPathFieldNumber = 1;
4723 : inline const ::std::string& path() const;
4724 : inline void set_path(const ::std::string& value);
4725 : inline void set_path(const char* value);
4726 : inline void set_path(const char* value, size_t size);
4727 : inline ::std::string* mutable_path();
4728 : inline ::std::string* release_path();
4729 : inline void set_allocated_path(::std::string* path);
4730 :
4731 : // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2;
4732 : inline bool has_digest() const;
4733 : inline void clear_digest();
4734 : static const int kDigestFieldNumber = 2;
4735 : inline const ::safe_browsing::ClientDownloadRequest_Digests& digest() const;
4736 : inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digest();
4737 : inline ::safe_browsing::ClientDownloadRequest_Digests* release_digest();
4738 : inline void set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest);
4739 :
4740 : // optional string version = 3;
4741 : inline bool has_version() const;
4742 : inline void clear_version();
4743 : static const int kVersionFieldNumber = 3;
4744 : inline const ::std::string& version() const;
4745 : inline void set_version(const ::std::string& value);
4746 : inline void set_version(const char* value);
4747 : inline void set_version(const char* value, size_t size);
4748 : inline ::std::string* mutable_version();
4749 : inline ::std::string* release_version();
4750 : inline void set_allocated_version(::std::string* version);
4751 :
4752 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 4;
4753 : inline bool has_signature() const;
4754 : inline void clear_signature();
4755 : static const int kSignatureFieldNumber = 4;
4756 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
4757 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
4758 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
4759 : inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
4760 :
4761 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5;
4762 : inline bool has_image_headers() const;
4763 : inline void clear_image_headers();
4764 : static const int kImageHeadersFieldNumber = 5;
4765 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
4766 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
4767 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
4768 : inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
4769 :
4770 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident)
4771 : private:
4772 : inline void set_has_path();
4773 : inline void clear_has_path();
4774 : inline void set_has_digest();
4775 : inline void clear_has_digest();
4776 : inline void set_has_version();
4777 : inline void clear_has_version();
4778 : inline void set_has_signature();
4779 : inline void clear_has_signature();
4780 : inline void set_has_image_headers();
4781 : inline void clear_has_image_headers();
4782 :
4783 : ::std::string _unknown_fields_;
4784 :
4785 : ::google::protobuf::uint32 _has_bits_[1];
4786 : mutable int _cached_size_;
4787 : ::std::string* path_;
4788 : ::safe_browsing::ClientDownloadRequest_Digests* digest_;
4789 : ::std::string* version_;
4790 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
4791 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
4792 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4793 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
4794 : #else
4795 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4796 : #endif
4797 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4798 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4799 :
4800 : void InitAsDefaultInstance();
4801 : static ClientIncidentReport_IncidentData_SuspiciousModuleIncident* default_instance_;
4802 : };
4803 : // -------------------------------------------------------------------
4804 :
4805 : class ClientIncidentReport_IncidentData : public ::google::protobuf::MessageLite {
4806 : public:
4807 : ClientIncidentReport_IncidentData();
4808 : virtual ~ClientIncidentReport_IncidentData();
4809 :
4810 : ClientIncidentReport_IncidentData(const ClientIncidentReport_IncidentData& from);
4811 :
4812 : inline ClientIncidentReport_IncidentData& operator=(const ClientIncidentReport_IncidentData& from) {
4813 : CopyFrom(from);
4814 : return *this;
4815 : }
4816 :
4817 0 : inline const ::std::string& unknown_fields() const {
4818 0 : return _unknown_fields_;
4819 : }
4820 :
4821 0 : inline ::std::string* mutable_unknown_fields() {
4822 0 : return &_unknown_fields_;
4823 : }
4824 :
4825 : static const ClientIncidentReport_IncidentData& default_instance();
4826 :
4827 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4828 : // Returns the internal default instance pointer. This function can
4829 : // return NULL thus should not be used by the user. This is intended
4830 : // for Protobuf internal code. Please use default_instance() declared
4831 : // above instead.
4832 : static inline const ClientIncidentReport_IncidentData* internal_default_instance() {
4833 : return default_instance_;
4834 : }
4835 : #endif
4836 :
4837 : void Swap(ClientIncidentReport_IncidentData* other);
4838 :
4839 : // implements Message ----------------------------------------------
4840 :
4841 : ClientIncidentReport_IncidentData* New() const;
4842 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
4843 : void CopyFrom(const ClientIncidentReport_IncidentData& from);
4844 : void MergeFrom(const ClientIncidentReport_IncidentData& from);
4845 : void Clear();
4846 : bool IsInitialized() const;
4847 :
4848 : int ByteSize() const;
4849 : bool MergePartialFromCodedStream(
4850 : ::google::protobuf::io::CodedInputStream* input);
4851 : void SerializeWithCachedSizes(
4852 : ::google::protobuf::io::CodedOutputStream* output) const;
4853 : void DiscardUnknownFields();
4854 0 : int GetCachedSize() const { return _cached_size_; }
4855 : private:
4856 : void SharedCtor();
4857 : void SharedDtor();
4858 : void SetCachedSize(int size) const;
4859 : public:
4860 : ::std::string GetTypeName() const;
4861 :
4862 : // nested types ----------------------------------------------------
4863 :
4864 : typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident TrackedPreferenceIncident;
4865 : typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident BinaryIntegrityIncident;
4866 : typedef ClientIncidentReport_IncidentData_BlacklistLoadIncident BlacklistLoadIncident;
4867 : typedef ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident VariationsSeedSignatureIncident;
4868 : typedef ClientIncidentReport_IncidentData_ResourceRequestIncident ResourceRequestIncident;
4869 : typedef ClientIncidentReport_IncidentData_SuspiciousModuleIncident SuspiciousModuleIncident;
4870 :
4871 : // accessors -------------------------------------------------------
4872 :
4873 : // optional int64 incident_time_msec = 1;
4874 : inline bool has_incident_time_msec() const;
4875 : inline void clear_incident_time_msec();
4876 : static const int kIncidentTimeMsecFieldNumber = 1;
4877 : inline ::google::protobuf::int64 incident_time_msec() const;
4878 : inline void set_incident_time_msec(::google::protobuf::int64 value);
4879 :
4880 : // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident tracked_preference = 2;
4881 : inline bool has_tracked_preference() const;
4882 : inline void clear_tracked_preference();
4883 : static const int kTrackedPreferenceFieldNumber = 2;
4884 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& tracked_preference() const;
4885 : inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* mutable_tracked_preference();
4886 : inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* release_tracked_preference();
4887 : inline void set_allocated_tracked_preference(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference);
4888 :
4889 : // optional .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident binary_integrity = 3;
4890 : inline bool has_binary_integrity() const;
4891 : inline void clear_binary_integrity();
4892 : static const int kBinaryIntegrityFieldNumber = 3;
4893 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& binary_integrity() const;
4894 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* mutable_binary_integrity();
4895 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* release_binary_integrity();
4896 : inline void set_allocated_binary_integrity(::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity);
4897 :
4898 : // optional .safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident blacklist_load = 4;
4899 : inline bool has_blacklist_load() const;
4900 : inline void clear_blacklist_load();
4901 : static const int kBlacklistLoadFieldNumber = 4;
4902 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident& blacklist_load() const;
4903 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* mutable_blacklist_load();
4904 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* release_blacklist_load();
4905 : inline void set_allocated_blacklist_load(::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* blacklist_load);
4906 :
4907 : // optional .safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident variations_seed_signature = 6;
4908 : inline bool has_variations_seed_signature() const;
4909 : inline void clear_variations_seed_signature();
4910 : static const int kVariationsSeedSignatureFieldNumber = 6;
4911 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& variations_seed_signature() const;
4912 : inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* mutable_variations_seed_signature();
4913 : inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* release_variations_seed_signature();
4914 : inline void set_allocated_variations_seed_signature(::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* variations_seed_signature);
4915 :
4916 : // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident resource_request = 7;
4917 : inline bool has_resource_request() const;
4918 : inline void clear_resource_request();
4919 : static const int kResourceRequestFieldNumber = 7;
4920 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& resource_request() const;
4921 : inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* mutable_resource_request();
4922 : inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* release_resource_request();
4923 : inline void set_allocated_resource_request(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request);
4924 :
4925 : // optional .safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident suspicious_module = 8;
4926 : inline bool has_suspicious_module() const;
4927 : inline void clear_suspicious_module();
4928 : static const int kSuspiciousModuleFieldNumber = 8;
4929 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident& suspicious_module() const;
4930 : inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* mutable_suspicious_module();
4931 : inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* release_suspicious_module();
4932 : inline void set_allocated_suspicious_module(::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* suspicious_module);
4933 :
4934 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData)
4935 : private:
4936 : inline void set_has_incident_time_msec();
4937 : inline void clear_has_incident_time_msec();
4938 : inline void set_has_tracked_preference();
4939 : inline void clear_has_tracked_preference();
4940 : inline void set_has_binary_integrity();
4941 : inline void clear_has_binary_integrity();
4942 : inline void set_has_blacklist_load();
4943 : inline void clear_has_blacklist_load();
4944 : inline void set_has_variations_seed_signature();
4945 : inline void clear_has_variations_seed_signature();
4946 : inline void set_has_resource_request();
4947 : inline void clear_has_resource_request();
4948 : inline void set_has_suspicious_module();
4949 : inline void clear_has_suspicious_module();
4950 :
4951 : ::std::string _unknown_fields_;
4952 :
4953 : ::google::protobuf::uint32 _has_bits_[1];
4954 : mutable int _cached_size_;
4955 : ::google::protobuf::int64 incident_time_msec_;
4956 : ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference_;
4957 : ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity_;
4958 : ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* blacklist_load_;
4959 : ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* variations_seed_signature_;
4960 : ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request_;
4961 : ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* suspicious_module_;
4962 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4963 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
4964 : #else
4965 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4966 : #endif
4967 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4968 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
4969 :
4970 : void InitAsDefaultInstance();
4971 : static ClientIncidentReport_IncidentData* default_instance_;
4972 : };
4973 : // -------------------------------------------------------------------
4974 :
4975 : class ClientIncidentReport_DownloadDetails : public ::google::protobuf::MessageLite {
4976 : public:
4977 : ClientIncidentReport_DownloadDetails();
4978 : virtual ~ClientIncidentReport_DownloadDetails();
4979 :
4980 : ClientIncidentReport_DownloadDetails(const ClientIncidentReport_DownloadDetails& from);
4981 :
4982 : inline ClientIncidentReport_DownloadDetails& operator=(const ClientIncidentReport_DownloadDetails& from) {
4983 : CopyFrom(from);
4984 : return *this;
4985 : }
4986 :
4987 0 : inline const ::std::string& unknown_fields() const {
4988 0 : return _unknown_fields_;
4989 : }
4990 :
4991 0 : inline ::std::string* mutable_unknown_fields() {
4992 0 : return &_unknown_fields_;
4993 : }
4994 :
4995 : static const ClientIncidentReport_DownloadDetails& default_instance();
4996 :
4997 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4998 : // Returns the internal default instance pointer. This function can
4999 : // return NULL thus should not be used by the user. This is intended
5000 : // for Protobuf internal code. Please use default_instance() declared
5001 : // above instead.
5002 0 : static inline const ClientIncidentReport_DownloadDetails* internal_default_instance() {
5003 0 : return default_instance_;
5004 : }
5005 : #endif
5006 :
5007 : void Swap(ClientIncidentReport_DownloadDetails* other);
5008 :
5009 : // implements Message ----------------------------------------------
5010 :
5011 : ClientIncidentReport_DownloadDetails* New() const;
5012 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5013 : void CopyFrom(const ClientIncidentReport_DownloadDetails& from);
5014 : void MergeFrom(const ClientIncidentReport_DownloadDetails& from);
5015 : void Clear();
5016 : bool IsInitialized() const;
5017 :
5018 : int ByteSize() const;
5019 : bool MergePartialFromCodedStream(
5020 : ::google::protobuf::io::CodedInputStream* input);
5021 : void SerializeWithCachedSizes(
5022 : ::google::protobuf::io::CodedOutputStream* output) const;
5023 : void DiscardUnknownFields();
5024 0 : int GetCachedSize() const { return _cached_size_; }
5025 : private:
5026 : void SharedCtor();
5027 : void SharedDtor();
5028 : void SetCachedSize(int size) const;
5029 : public:
5030 : ::std::string GetTypeName() const;
5031 :
5032 : // nested types ----------------------------------------------------
5033 :
5034 : // accessors -------------------------------------------------------
5035 :
5036 : // optional bytes token = 1;
5037 : inline bool has_token() const;
5038 : inline void clear_token();
5039 : static const int kTokenFieldNumber = 1;
5040 : inline const ::std::string& token() const;
5041 : inline void set_token(const ::std::string& value);
5042 : inline void set_token(const char* value);
5043 : inline void set_token(const void* value, size_t size);
5044 : inline ::std::string* mutable_token();
5045 : inline ::std::string* release_token();
5046 : inline void set_allocated_token(::std::string* token);
5047 :
5048 : // optional .safe_browsing.ClientDownloadRequest download = 2;
5049 : inline bool has_download() const;
5050 : inline void clear_download();
5051 : static const int kDownloadFieldNumber = 2;
5052 : inline const ::safe_browsing::ClientDownloadRequest& download() const;
5053 : inline ::safe_browsing::ClientDownloadRequest* mutable_download();
5054 : inline ::safe_browsing::ClientDownloadRequest* release_download();
5055 : inline void set_allocated_download(::safe_browsing::ClientDownloadRequest* download);
5056 :
5057 : // optional int64 download_time_msec = 3;
5058 : inline bool has_download_time_msec() const;
5059 : inline void clear_download_time_msec();
5060 : static const int kDownloadTimeMsecFieldNumber = 3;
5061 : inline ::google::protobuf::int64 download_time_msec() const;
5062 : inline void set_download_time_msec(::google::protobuf::int64 value);
5063 :
5064 : // optional int64 open_time_msec = 4;
5065 : inline bool has_open_time_msec() const;
5066 : inline void clear_open_time_msec();
5067 : static const int kOpenTimeMsecFieldNumber = 4;
5068 : inline ::google::protobuf::int64 open_time_msec() const;
5069 : inline void set_open_time_msec(::google::protobuf::int64 value);
5070 :
5071 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.DownloadDetails)
5072 : private:
5073 : inline void set_has_token();
5074 : inline void clear_has_token();
5075 : inline void set_has_download();
5076 : inline void clear_has_download();
5077 : inline void set_has_download_time_msec();
5078 : inline void clear_has_download_time_msec();
5079 : inline void set_has_open_time_msec();
5080 : inline void clear_has_open_time_msec();
5081 :
5082 : ::std::string _unknown_fields_;
5083 :
5084 : ::google::protobuf::uint32 _has_bits_[1];
5085 : mutable int _cached_size_;
5086 : ::std::string* token_;
5087 : ::safe_browsing::ClientDownloadRequest* download_;
5088 : ::google::protobuf::int64 download_time_msec_;
5089 : ::google::protobuf::int64 open_time_msec_;
5090 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5091 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5092 : #else
5093 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5094 : #endif
5095 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5096 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5097 :
5098 : void InitAsDefaultInstance();
5099 : static ClientIncidentReport_DownloadDetails* default_instance_;
5100 : };
5101 : // -------------------------------------------------------------------
5102 :
5103 : class ClientIncidentReport_EnvironmentData_OS_RegistryValue : public ::google::protobuf::MessageLite {
5104 : public:
5105 : ClientIncidentReport_EnvironmentData_OS_RegistryValue();
5106 : virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryValue();
5107 :
5108 : ClientIncidentReport_EnvironmentData_OS_RegistryValue(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from);
5109 :
5110 : inline ClientIncidentReport_EnvironmentData_OS_RegistryValue& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from) {
5111 : CopyFrom(from);
5112 : return *this;
5113 : }
5114 :
5115 0 : inline const ::std::string& unknown_fields() const {
5116 0 : return _unknown_fields_;
5117 : }
5118 :
5119 0 : inline ::std::string* mutable_unknown_fields() {
5120 0 : return &_unknown_fields_;
5121 : }
5122 :
5123 : static const ClientIncidentReport_EnvironmentData_OS_RegistryValue& default_instance();
5124 :
5125 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5126 : // Returns the internal default instance pointer. This function can
5127 : // return NULL thus should not be used by the user. This is intended
5128 : // for Protobuf internal code. Please use default_instance() declared
5129 : // above instead.
5130 : static inline const ClientIncidentReport_EnvironmentData_OS_RegistryValue* internal_default_instance() {
5131 : return default_instance_;
5132 : }
5133 : #endif
5134 :
5135 : void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue* other);
5136 :
5137 : // implements Message ----------------------------------------------
5138 :
5139 : ClientIncidentReport_EnvironmentData_OS_RegistryValue* New() const;
5140 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5141 : void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from);
5142 : void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from);
5143 : void Clear();
5144 : bool IsInitialized() const;
5145 :
5146 : int ByteSize() const;
5147 : bool MergePartialFromCodedStream(
5148 : ::google::protobuf::io::CodedInputStream* input);
5149 : void SerializeWithCachedSizes(
5150 : ::google::protobuf::io::CodedOutputStream* output) const;
5151 : void DiscardUnknownFields();
5152 0 : int GetCachedSize() const { return _cached_size_; }
5153 : private:
5154 : void SharedCtor();
5155 : void SharedDtor();
5156 : void SetCachedSize(int size) const;
5157 : public:
5158 : ::std::string GetTypeName() const;
5159 :
5160 : // nested types ----------------------------------------------------
5161 :
5162 : // accessors -------------------------------------------------------
5163 :
5164 : // optional string name = 1;
5165 : inline bool has_name() const;
5166 : inline void clear_name();
5167 : static const int kNameFieldNumber = 1;
5168 : inline const ::std::string& name() const;
5169 : inline void set_name(const ::std::string& value);
5170 : inline void set_name(const char* value);
5171 : inline void set_name(const char* value, size_t size);
5172 : inline ::std::string* mutable_name();
5173 : inline ::std::string* release_name();
5174 : inline void set_allocated_name(::std::string* name);
5175 :
5176 : // optional uint32 type = 2;
5177 : inline bool has_type() const;
5178 : inline void clear_type();
5179 : static const int kTypeFieldNumber = 2;
5180 : inline ::google::protobuf::uint32 type() const;
5181 : inline void set_type(::google::protobuf::uint32 value);
5182 :
5183 : // optional bytes data = 3;
5184 : inline bool has_data() const;
5185 : inline void clear_data();
5186 : static const int kDataFieldNumber = 3;
5187 : inline const ::std::string& data() const;
5188 : inline void set_data(const ::std::string& value);
5189 : inline void set_data(const char* value);
5190 : inline void set_data(const void* value, size_t size);
5191 : inline ::std::string* mutable_data();
5192 : inline ::std::string* release_data();
5193 : inline void set_allocated_data(::std::string* data);
5194 :
5195 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue)
5196 : private:
5197 : inline void set_has_name();
5198 : inline void clear_has_name();
5199 : inline void set_has_type();
5200 : inline void clear_has_type();
5201 : inline void set_has_data();
5202 : inline void clear_has_data();
5203 :
5204 : ::std::string _unknown_fields_;
5205 :
5206 : ::google::protobuf::uint32 _has_bits_[1];
5207 : mutable int _cached_size_;
5208 : ::std::string* name_;
5209 : ::std::string* data_;
5210 : ::google::protobuf::uint32 type_;
5211 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5212 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5213 : #else
5214 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5215 : #endif
5216 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5217 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5218 :
5219 : void InitAsDefaultInstance();
5220 : static ClientIncidentReport_EnvironmentData_OS_RegistryValue* default_instance_;
5221 : };
5222 : // -------------------------------------------------------------------
5223 :
5224 : class ClientIncidentReport_EnvironmentData_OS_RegistryKey : public ::google::protobuf::MessageLite {
5225 : public:
5226 : ClientIncidentReport_EnvironmentData_OS_RegistryKey();
5227 : virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryKey();
5228 :
5229 : ClientIncidentReport_EnvironmentData_OS_RegistryKey(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from);
5230 :
5231 : inline ClientIncidentReport_EnvironmentData_OS_RegistryKey& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from) {
5232 : CopyFrom(from);
5233 : return *this;
5234 : }
5235 :
5236 0 : inline const ::std::string& unknown_fields() const {
5237 0 : return _unknown_fields_;
5238 : }
5239 :
5240 0 : inline ::std::string* mutable_unknown_fields() {
5241 0 : return &_unknown_fields_;
5242 : }
5243 :
5244 : static const ClientIncidentReport_EnvironmentData_OS_RegistryKey& default_instance();
5245 :
5246 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5247 : // Returns the internal default instance pointer. This function can
5248 : // return NULL thus should not be used by the user. This is intended
5249 : // for Protobuf internal code. Please use default_instance() declared
5250 : // above instead.
5251 : static inline const ClientIncidentReport_EnvironmentData_OS_RegistryKey* internal_default_instance() {
5252 : return default_instance_;
5253 : }
5254 : #endif
5255 :
5256 : void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey* other);
5257 :
5258 : // implements Message ----------------------------------------------
5259 :
5260 : ClientIncidentReport_EnvironmentData_OS_RegistryKey* New() const;
5261 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5262 : void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from);
5263 : void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from);
5264 : void Clear();
5265 : bool IsInitialized() const;
5266 :
5267 : int ByteSize() const;
5268 : bool MergePartialFromCodedStream(
5269 : ::google::protobuf::io::CodedInputStream* input);
5270 : void SerializeWithCachedSizes(
5271 : ::google::protobuf::io::CodedOutputStream* output) const;
5272 : void DiscardUnknownFields();
5273 0 : int GetCachedSize() const { return _cached_size_; }
5274 : private:
5275 : void SharedCtor();
5276 : void SharedDtor();
5277 : void SetCachedSize(int size) const;
5278 : public:
5279 : ::std::string GetTypeName() const;
5280 :
5281 : // nested types ----------------------------------------------------
5282 :
5283 : // accessors -------------------------------------------------------
5284 :
5285 : // optional string name = 1;
5286 : inline bool has_name() const;
5287 : inline void clear_name();
5288 : static const int kNameFieldNumber = 1;
5289 : inline const ::std::string& name() const;
5290 : inline void set_name(const ::std::string& value);
5291 : inline void set_name(const char* value);
5292 : inline void set_name(const char* value, size_t size);
5293 : inline ::std::string* mutable_name();
5294 : inline ::std::string* release_name();
5295 : inline void set_allocated_name(::std::string* name);
5296 :
5297 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue value = 2;
5298 : inline int value_size() const;
5299 : inline void clear_value();
5300 : static const int kValueFieldNumber = 2;
5301 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& value(int index) const;
5302 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* mutable_value(int index);
5303 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* add_value();
5304 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >&
5305 : value() const;
5306 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >*
5307 : mutable_value();
5308 :
5309 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey key = 3;
5310 : inline int key_size() const;
5311 : inline void clear_key();
5312 : static const int kKeyFieldNumber = 3;
5313 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& key(int index) const;
5314 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_key(int index);
5315 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_key();
5316 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >&
5317 : key() const;
5318 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >*
5319 : mutable_key();
5320 :
5321 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey)
5322 : private:
5323 : inline void set_has_name();
5324 : inline void clear_has_name();
5325 :
5326 : ::std::string _unknown_fields_;
5327 :
5328 : ::google::protobuf::uint32 _has_bits_[1];
5329 : mutable int _cached_size_;
5330 : ::std::string* name_;
5331 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue > value_;
5332 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > key_;
5333 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5334 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5335 : #else
5336 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5337 : #endif
5338 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5339 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5340 :
5341 : void InitAsDefaultInstance();
5342 : static ClientIncidentReport_EnvironmentData_OS_RegistryKey* default_instance_;
5343 : };
5344 : // -------------------------------------------------------------------
5345 :
5346 : class ClientIncidentReport_EnvironmentData_OS : public ::google::protobuf::MessageLite {
5347 : public:
5348 : ClientIncidentReport_EnvironmentData_OS();
5349 : virtual ~ClientIncidentReport_EnvironmentData_OS();
5350 :
5351 : ClientIncidentReport_EnvironmentData_OS(const ClientIncidentReport_EnvironmentData_OS& from);
5352 :
5353 : inline ClientIncidentReport_EnvironmentData_OS& operator=(const ClientIncidentReport_EnvironmentData_OS& from) {
5354 : CopyFrom(from);
5355 : return *this;
5356 : }
5357 :
5358 0 : inline const ::std::string& unknown_fields() const {
5359 0 : return _unknown_fields_;
5360 : }
5361 :
5362 0 : inline ::std::string* mutable_unknown_fields() {
5363 0 : return &_unknown_fields_;
5364 : }
5365 :
5366 : static const ClientIncidentReport_EnvironmentData_OS& default_instance();
5367 :
5368 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5369 : // Returns the internal default instance pointer. This function can
5370 : // return NULL thus should not be used by the user. This is intended
5371 : // for Protobuf internal code. Please use default_instance() declared
5372 : // above instead.
5373 0 : static inline const ClientIncidentReport_EnvironmentData_OS* internal_default_instance() {
5374 0 : return default_instance_;
5375 : }
5376 : #endif
5377 :
5378 : void Swap(ClientIncidentReport_EnvironmentData_OS* other);
5379 :
5380 : // implements Message ----------------------------------------------
5381 :
5382 : ClientIncidentReport_EnvironmentData_OS* New() const;
5383 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5384 : void CopyFrom(const ClientIncidentReport_EnvironmentData_OS& from);
5385 : void MergeFrom(const ClientIncidentReport_EnvironmentData_OS& from);
5386 : void Clear();
5387 : bool IsInitialized() const;
5388 :
5389 : int ByteSize() const;
5390 : bool MergePartialFromCodedStream(
5391 : ::google::protobuf::io::CodedInputStream* input);
5392 : void SerializeWithCachedSizes(
5393 : ::google::protobuf::io::CodedOutputStream* output) const;
5394 : void DiscardUnknownFields();
5395 0 : int GetCachedSize() const { return _cached_size_; }
5396 : private:
5397 : void SharedCtor();
5398 : void SharedDtor();
5399 : void SetCachedSize(int size) const;
5400 : public:
5401 : ::std::string GetTypeName() const;
5402 :
5403 : // nested types ----------------------------------------------------
5404 :
5405 : typedef ClientIncidentReport_EnvironmentData_OS_RegistryValue RegistryValue;
5406 : typedef ClientIncidentReport_EnvironmentData_OS_RegistryKey RegistryKey;
5407 :
5408 : // accessors -------------------------------------------------------
5409 :
5410 : // optional string os_name = 1;
5411 : inline bool has_os_name() const;
5412 : inline void clear_os_name();
5413 : static const int kOsNameFieldNumber = 1;
5414 : inline const ::std::string& os_name() const;
5415 : inline void set_os_name(const ::std::string& value);
5416 : inline void set_os_name(const char* value);
5417 : inline void set_os_name(const char* value, size_t size);
5418 : inline ::std::string* mutable_os_name();
5419 : inline ::std::string* release_os_name();
5420 : inline void set_allocated_os_name(::std::string* os_name);
5421 :
5422 : // optional string os_version = 2;
5423 : inline bool has_os_version() const;
5424 : inline void clear_os_version();
5425 : static const int kOsVersionFieldNumber = 2;
5426 : inline const ::std::string& os_version() const;
5427 : inline void set_os_version(const ::std::string& value);
5428 : inline void set_os_version(const char* value);
5429 : inline void set_os_version(const char* value, size_t size);
5430 : inline ::std::string* mutable_os_version();
5431 : inline ::std::string* release_os_version();
5432 : inline void set_allocated_os_version(::std::string* os_version);
5433 :
5434 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey registry_key = 3;
5435 : inline int registry_key_size() const;
5436 : inline void clear_registry_key();
5437 : static const int kRegistryKeyFieldNumber = 3;
5438 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& registry_key(int index) const;
5439 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_registry_key(int index);
5440 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_registry_key();
5441 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >&
5442 : registry_key() const;
5443 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >*
5444 : mutable_registry_key();
5445 :
5446 : // optional bool is_enrolled_to_domain = 4;
5447 : inline bool has_is_enrolled_to_domain() const;
5448 : inline void clear_is_enrolled_to_domain();
5449 : static const int kIsEnrolledToDomainFieldNumber = 4;
5450 : inline bool is_enrolled_to_domain() const;
5451 : inline void set_is_enrolled_to_domain(bool value);
5452 :
5453 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS)
5454 : private:
5455 : inline void set_has_os_name();
5456 : inline void clear_has_os_name();
5457 : inline void set_has_os_version();
5458 : inline void clear_has_os_version();
5459 : inline void set_has_is_enrolled_to_domain();
5460 : inline void clear_has_is_enrolled_to_domain();
5461 :
5462 : ::std::string _unknown_fields_;
5463 :
5464 : ::google::protobuf::uint32 _has_bits_[1];
5465 : mutable int _cached_size_;
5466 : ::std::string* os_name_;
5467 : ::std::string* os_version_;
5468 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > registry_key_;
5469 : bool is_enrolled_to_domain_;
5470 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5471 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5472 : #else
5473 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5474 : #endif
5475 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5476 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5477 :
5478 : void InitAsDefaultInstance();
5479 : static ClientIncidentReport_EnvironmentData_OS* default_instance_;
5480 : };
5481 : // -------------------------------------------------------------------
5482 :
5483 : class ClientIncidentReport_EnvironmentData_Machine : public ::google::protobuf::MessageLite {
5484 : public:
5485 : ClientIncidentReport_EnvironmentData_Machine();
5486 : virtual ~ClientIncidentReport_EnvironmentData_Machine();
5487 :
5488 : ClientIncidentReport_EnvironmentData_Machine(const ClientIncidentReport_EnvironmentData_Machine& from);
5489 :
5490 : inline ClientIncidentReport_EnvironmentData_Machine& operator=(const ClientIncidentReport_EnvironmentData_Machine& from) {
5491 : CopyFrom(from);
5492 : return *this;
5493 : }
5494 :
5495 0 : inline const ::std::string& unknown_fields() const {
5496 0 : return _unknown_fields_;
5497 : }
5498 :
5499 0 : inline ::std::string* mutable_unknown_fields() {
5500 0 : return &_unknown_fields_;
5501 : }
5502 :
5503 : static const ClientIncidentReport_EnvironmentData_Machine& default_instance();
5504 :
5505 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5506 : // Returns the internal default instance pointer. This function can
5507 : // return NULL thus should not be used by the user. This is intended
5508 : // for Protobuf internal code. Please use default_instance() declared
5509 : // above instead.
5510 0 : static inline const ClientIncidentReport_EnvironmentData_Machine* internal_default_instance() {
5511 0 : return default_instance_;
5512 : }
5513 : #endif
5514 :
5515 : void Swap(ClientIncidentReport_EnvironmentData_Machine* other);
5516 :
5517 : // implements Message ----------------------------------------------
5518 :
5519 : ClientIncidentReport_EnvironmentData_Machine* New() const;
5520 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5521 : void CopyFrom(const ClientIncidentReport_EnvironmentData_Machine& from);
5522 : void MergeFrom(const ClientIncidentReport_EnvironmentData_Machine& from);
5523 : void Clear();
5524 : bool IsInitialized() const;
5525 :
5526 : int ByteSize() const;
5527 : bool MergePartialFromCodedStream(
5528 : ::google::protobuf::io::CodedInputStream* input);
5529 : void SerializeWithCachedSizes(
5530 : ::google::protobuf::io::CodedOutputStream* output) const;
5531 : void DiscardUnknownFields();
5532 0 : int GetCachedSize() const { return _cached_size_; }
5533 : private:
5534 : void SharedCtor();
5535 : void SharedDtor();
5536 : void SetCachedSize(int size) const;
5537 : public:
5538 : ::std::string GetTypeName() const;
5539 :
5540 : // nested types ----------------------------------------------------
5541 :
5542 : // accessors -------------------------------------------------------
5543 :
5544 : // optional string cpu_architecture = 1;
5545 : inline bool has_cpu_architecture() const;
5546 : inline void clear_cpu_architecture();
5547 : static const int kCpuArchitectureFieldNumber = 1;
5548 : inline const ::std::string& cpu_architecture() const;
5549 : inline void set_cpu_architecture(const ::std::string& value);
5550 : inline void set_cpu_architecture(const char* value);
5551 : inline void set_cpu_architecture(const char* value, size_t size);
5552 : inline ::std::string* mutable_cpu_architecture();
5553 : inline ::std::string* release_cpu_architecture();
5554 : inline void set_allocated_cpu_architecture(::std::string* cpu_architecture);
5555 :
5556 : // optional string cpu_vendor = 2;
5557 : inline bool has_cpu_vendor() const;
5558 : inline void clear_cpu_vendor();
5559 : static const int kCpuVendorFieldNumber = 2;
5560 : inline const ::std::string& cpu_vendor() const;
5561 : inline void set_cpu_vendor(const ::std::string& value);
5562 : inline void set_cpu_vendor(const char* value);
5563 : inline void set_cpu_vendor(const char* value, size_t size);
5564 : inline ::std::string* mutable_cpu_vendor();
5565 : inline ::std::string* release_cpu_vendor();
5566 : inline void set_allocated_cpu_vendor(::std::string* cpu_vendor);
5567 :
5568 : // optional uint32 cpuid = 3;
5569 : inline bool has_cpuid() const;
5570 : inline void clear_cpuid();
5571 : static const int kCpuidFieldNumber = 3;
5572 : inline ::google::protobuf::uint32 cpuid() const;
5573 : inline void set_cpuid(::google::protobuf::uint32 value);
5574 :
5575 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Machine)
5576 : private:
5577 : inline void set_has_cpu_architecture();
5578 : inline void clear_has_cpu_architecture();
5579 : inline void set_has_cpu_vendor();
5580 : inline void clear_has_cpu_vendor();
5581 : inline void set_has_cpuid();
5582 : inline void clear_has_cpuid();
5583 :
5584 : ::std::string _unknown_fields_;
5585 :
5586 : ::google::protobuf::uint32 _has_bits_[1];
5587 : mutable int _cached_size_;
5588 : ::std::string* cpu_architecture_;
5589 : ::std::string* cpu_vendor_;
5590 : ::google::protobuf::uint32 cpuid_;
5591 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5592 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5593 : #else
5594 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5595 : #endif
5596 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5597 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5598 :
5599 : void InitAsDefaultInstance();
5600 : static ClientIncidentReport_EnvironmentData_Machine* default_instance_;
5601 : };
5602 : // -------------------------------------------------------------------
5603 :
5604 : class ClientIncidentReport_EnvironmentData_Process_Patch : public ::google::protobuf::MessageLite {
5605 : public:
5606 : ClientIncidentReport_EnvironmentData_Process_Patch();
5607 : virtual ~ClientIncidentReport_EnvironmentData_Process_Patch();
5608 :
5609 : ClientIncidentReport_EnvironmentData_Process_Patch(const ClientIncidentReport_EnvironmentData_Process_Patch& from);
5610 :
5611 : inline ClientIncidentReport_EnvironmentData_Process_Patch& operator=(const ClientIncidentReport_EnvironmentData_Process_Patch& from) {
5612 : CopyFrom(from);
5613 : return *this;
5614 : }
5615 :
5616 0 : inline const ::std::string& unknown_fields() const {
5617 0 : return _unknown_fields_;
5618 : }
5619 :
5620 0 : inline ::std::string* mutable_unknown_fields() {
5621 0 : return &_unknown_fields_;
5622 : }
5623 :
5624 : static const ClientIncidentReport_EnvironmentData_Process_Patch& default_instance();
5625 :
5626 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5627 : // Returns the internal default instance pointer. This function can
5628 : // return NULL thus should not be used by the user. This is intended
5629 : // for Protobuf internal code. Please use default_instance() declared
5630 : // above instead.
5631 : static inline const ClientIncidentReport_EnvironmentData_Process_Patch* internal_default_instance() {
5632 : return default_instance_;
5633 : }
5634 : #endif
5635 :
5636 : void Swap(ClientIncidentReport_EnvironmentData_Process_Patch* other);
5637 :
5638 : // implements Message ----------------------------------------------
5639 :
5640 : ClientIncidentReport_EnvironmentData_Process_Patch* New() const;
5641 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5642 : void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from);
5643 : void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from);
5644 : void Clear();
5645 : bool IsInitialized() const;
5646 :
5647 : int ByteSize() const;
5648 : bool MergePartialFromCodedStream(
5649 : ::google::protobuf::io::CodedInputStream* input);
5650 : void SerializeWithCachedSizes(
5651 : ::google::protobuf::io::CodedOutputStream* output) const;
5652 : void DiscardUnknownFields();
5653 0 : int GetCachedSize() const { return _cached_size_; }
5654 : private:
5655 : void SharedCtor();
5656 : void SharedDtor();
5657 : void SetCachedSize(int size) const;
5658 : public:
5659 : ::std::string GetTypeName() const;
5660 :
5661 : // nested types ----------------------------------------------------
5662 :
5663 : // accessors -------------------------------------------------------
5664 :
5665 : // optional string function = 1;
5666 : inline bool has_function() const;
5667 : inline void clear_function();
5668 : static const int kFunctionFieldNumber = 1;
5669 : inline const ::std::string& function() const;
5670 : inline void set_function(const ::std::string& value);
5671 : inline void set_function(const char* value);
5672 : inline void set_function(const char* value, size_t size);
5673 : inline ::std::string* mutable_function();
5674 : inline ::std::string* release_function();
5675 : inline void set_allocated_function(::std::string* function);
5676 :
5677 : // optional string target_dll = 2;
5678 : inline bool has_target_dll() const;
5679 : inline void clear_target_dll();
5680 : static const int kTargetDllFieldNumber = 2;
5681 : inline const ::std::string& target_dll() const;
5682 : inline void set_target_dll(const ::std::string& value);
5683 : inline void set_target_dll(const char* value);
5684 : inline void set_target_dll(const char* value, size_t size);
5685 : inline ::std::string* mutable_target_dll();
5686 : inline ::std::string* release_target_dll();
5687 : inline void set_allocated_target_dll(::std::string* target_dll);
5688 :
5689 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch)
5690 : private:
5691 : inline void set_has_function();
5692 : inline void clear_has_function();
5693 : inline void set_has_target_dll();
5694 : inline void clear_has_target_dll();
5695 :
5696 : ::std::string _unknown_fields_;
5697 :
5698 : ::google::protobuf::uint32 _has_bits_[1];
5699 : mutable int _cached_size_;
5700 : ::std::string* function_;
5701 : ::std::string* target_dll_;
5702 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5703 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5704 : #else
5705 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5706 : #endif
5707 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5708 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5709 :
5710 : void InitAsDefaultInstance();
5711 : static ClientIncidentReport_EnvironmentData_Process_Patch* default_instance_;
5712 : };
5713 : // -------------------------------------------------------------------
5714 :
5715 : class ClientIncidentReport_EnvironmentData_Process_NetworkProvider : public ::google::protobuf::MessageLite {
5716 : public:
5717 : ClientIncidentReport_EnvironmentData_Process_NetworkProvider();
5718 : virtual ~ClientIncidentReport_EnvironmentData_Process_NetworkProvider();
5719 :
5720 : ClientIncidentReport_EnvironmentData_Process_NetworkProvider(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from);
5721 :
5722 : inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider& operator=(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from) {
5723 : CopyFrom(from);
5724 : return *this;
5725 : }
5726 :
5727 0 : inline const ::std::string& unknown_fields() const {
5728 0 : return _unknown_fields_;
5729 : }
5730 :
5731 0 : inline ::std::string* mutable_unknown_fields() {
5732 0 : return &_unknown_fields_;
5733 : }
5734 :
5735 : static const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& default_instance();
5736 :
5737 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5738 : // Returns the internal default instance pointer. This function can
5739 : // return NULL thus should not be used by the user. This is intended
5740 : // for Protobuf internal code. Please use default_instance() declared
5741 : // above instead.
5742 : static inline const ClientIncidentReport_EnvironmentData_Process_NetworkProvider* internal_default_instance() {
5743 : return default_instance_;
5744 : }
5745 : #endif
5746 :
5747 : void Swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider* other);
5748 :
5749 : // implements Message ----------------------------------------------
5750 :
5751 : ClientIncidentReport_EnvironmentData_Process_NetworkProvider* New() const;
5752 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5753 : void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from);
5754 : void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from);
5755 : void Clear();
5756 : bool IsInitialized() const;
5757 :
5758 : int ByteSize() const;
5759 : bool MergePartialFromCodedStream(
5760 : ::google::protobuf::io::CodedInputStream* input);
5761 : void SerializeWithCachedSizes(
5762 : ::google::protobuf::io::CodedOutputStream* output) const;
5763 : void DiscardUnknownFields();
5764 0 : int GetCachedSize() const { return _cached_size_; }
5765 : private:
5766 : void SharedCtor();
5767 : void SharedDtor();
5768 : void SetCachedSize(int size) const;
5769 : public:
5770 : ::std::string GetTypeName() const;
5771 :
5772 : // nested types ----------------------------------------------------
5773 :
5774 : // accessors -------------------------------------------------------
5775 :
5776 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider)
5777 : private:
5778 :
5779 : ::std::string _unknown_fields_;
5780 :
5781 : ::google::protobuf::uint32 _has_bits_[1];
5782 : mutable int _cached_size_;
5783 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5784 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5785 : #else
5786 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5787 : #endif
5788 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5789 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5790 :
5791 : void InitAsDefaultInstance();
5792 : static ClientIncidentReport_EnvironmentData_Process_NetworkProvider* default_instance_;
5793 : };
5794 : // -------------------------------------------------------------------
5795 :
5796 : class ClientIncidentReport_EnvironmentData_Process_Dll : public ::google::protobuf::MessageLite {
5797 : public:
5798 : ClientIncidentReport_EnvironmentData_Process_Dll();
5799 : virtual ~ClientIncidentReport_EnvironmentData_Process_Dll();
5800 :
5801 : ClientIncidentReport_EnvironmentData_Process_Dll(const ClientIncidentReport_EnvironmentData_Process_Dll& from);
5802 :
5803 : inline ClientIncidentReport_EnvironmentData_Process_Dll& operator=(const ClientIncidentReport_EnvironmentData_Process_Dll& from) {
5804 : CopyFrom(from);
5805 : return *this;
5806 : }
5807 :
5808 0 : inline const ::std::string& unknown_fields() const {
5809 0 : return _unknown_fields_;
5810 : }
5811 :
5812 0 : inline ::std::string* mutable_unknown_fields() {
5813 0 : return &_unknown_fields_;
5814 : }
5815 :
5816 : static const ClientIncidentReport_EnvironmentData_Process_Dll& default_instance();
5817 :
5818 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5819 : // Returns the internal default instance pointer. This function can
5820 : // return NULL thus should not be used by the user. This is intended
5821 : // for Protobuf internal code. Please use default_instance() declared
5822 : // above instead.
5823 : static inline const ClientIncidentReport_EnvironmentData_Process_Dll* internal_default_instance() {
5824 : return default_instance_;
5825 : }
5826 : #endif
5827 :
5828 : void Swap(ClientIncidentReport_EnvironmentData_Process_Dll* other);
5829 :
5830 : // implements Message ----------------------------------------------
5831 :
5832 : ClientIncidentReport_EnvironmentData_Process_Dll* New() const;
5833 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5834 : void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from);
5835 : void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from);
5836 : void Clear();
5837 : bool IsInitialized() const;
5838 :
5839 : int ByteSize() const;
5840 : bool MergePartialFromCodedStream(
5841 : ::google::protobuf::io::CodedInputStream* input);
5842 : void SerializeWithCachedSizes(
5843 : ::google::protobuf::io::CodedOutputStream* output) const;
5844 : void DiscardUnknownFields();
5845 0 : int GetCachedSize() const { return _cached_size_; }
5846 : private:
5847 : void SharedCtor();
5848 : void SharedDtor();
5849 : void SetCachedSize(int size) const;
5850 : public:
5851 : ::std::string GetTypeName() const;
5852 :
5853 : // nested types ----------------------------------------------------
5854 :
5855 : typedef ClientIncidentReport_EnvironmentData_Process_Dll_Feature Feature;
5856 : static const Feature UNKNOWN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN;
5857 : static const Feature LSP = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP;
5858 : static inline bool Feature_IsValid(int value) {
5859 : return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value);
5860 : }
5861 : static const Feature Feature_MIN =
5862 : ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN;
5863 : static const Feature Feature_MAX =
5864 : ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX;
5865 : static const int Feature_ARRAYSIZE =
5866 : ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE;
5867 :
5868 : // accessors -------------------------------------------------------
5869 :
5870 : // optional string path = 1;
5871 : inline bool has_path() const;
5872 : inline void clear_path();
5873 : static const int kPathFieldNumber = 1;
5874 : inline const ::std::string& path() const;
5875 : inline void set_path(const ::std::string& value);
5876 : inline void set_path(const char* value);
5877 : inline void set_path(const char* value, size_t size);
5878 : inline ::std::string* mutable_path();
5879 : inline ::std::string* release_path();
5880 : inline void set_allocated_path(::std::string* path);
5881 :
5882 : // optional uint64 base_address = 2;
5883 : inline bool has_base_address() const;
5884 : inline void clear_base_address();
5885 : static const int kBaseAddressFieldNumber = 2;
5886 : inline ::google::protobuf::uint64 base_address() const;
5887 : inline void set_base_address(::google::protobuf::uint64 value);
5888 :
5889 : // optional uint32 length = 3;
5890 : inline bool has_length() const;
5891 : inline void clear_length();
5892 : static const int kLengthFieldNumber = 3;
5893 : inline ::google::protobuf::uint32 length() const;
5894 : inline void set_length(::google::protobuf::uint32 value);
5895 :
5896 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.Feature feature = 4;
5897 : inline int feature_size() const;
5898 : inline void clear_feature();
5899 : static const int kFeatureFieldNumber = 4;
5900 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature feature(int index) const;
5901 : inline void set_feature(int index, ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value);
5902 : inline void add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value);
5903 : inline const ::google::protobuf::RepeatedField<int>& feature() const;
5904 : inline ::google::protobuf::RepeatedField<int>* mutable_feature();
5905 :
5906 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5;
5907 : inline bool has_image_headers() const;
5908 : inline void clear_image_headers();
5909 : static const int kImageHeadersFieldNumber = 5;
5910 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
5911 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
5912 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
5913 : inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
5914 :
5915 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll)
5916 : private:
5917 : inline void set_has_path();
5918 : inline void clear_has_path();
5919 : inline void set_has_base_address();
5920 : inline void clear_has_base_address();
5921 : inline void set_has_length();
5922 : inline void clear_has_length();
5923 : inline void set_has_image_headers();
5924 : inline void clear_has_image_headers();
5925 :
5926 : ::std::string _unknown_fields_;
5927 :
5928 : ::google::protobuf::uint32 _has_bits_[1];
5929 : mutable int _cached_size_;
5930 : ::std::string* path_;
5931 : ::google::protobuf::uint64 base_address_;
5932 : ::google::protobuf::RepeatedField<int> feature_;
5933 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
5934 : ::google::protobuf::uint32 length_;
5935 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5936 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
5937 : #else
5938 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5939 : #endif
5940 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5941 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
5942 :
5943 : void InitAsDefaultInstance();
5944 : static ClientIncidentReport_EnvironmentData_Process_Dll* default_instance_;
5945 : };
5946 : // -------------------------------------------------------------------
5947 :
5948 : class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification : public ::google::protobuf::MessageLite {
5949 : public:
5950 : ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification();
5951 : virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification();
5952 :
5953 : ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from);
5954 :
5955 : inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from) {
5956 : CopyFrom(from);
5957 : return *this;
5958 : }
5959 :
5960 0 : inline const ::std::string& unknown_fields() const {
5961 0 : return _unknown_fields_;
5962 : }
5963 :
5964 0 : inline ::std::string* mutable_unknown_fields() {
5965 0 : return &_unknown_fields_;
5966 : }
5967 :
5968 : static const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& default_instance();
5969 :
5970 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5971 : // Returns the internal default instance pointer. This function can
5972 : // return NULL thus should not be used by the user. This is intended
5973 : // for Protobuf internal code. Please use default_instance() declared
5974 : // above instead.
5975 : static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* internal_default_instance() {
5976 : return default_instance_;
5977 : }
5978 : #endif
5979 :
5980 : void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* other);
5981 :
5982 : // implements Message ----------------------------------------------
5983 :
5984 : ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* New() const;
5985 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
5986 : void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from);
5987 : void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from);
5988 : void Clear();
5989 : bool IsInitialized() const;
5990 :
5991 : int ByteSize() const;
5992 : bool MergePartialFromCodedStream(
5993 : ::google::protobuf::io::CodedInputStream* input);
5994 : void SerializeWithCachedSizes(
5995 : ::google::protobuf::io::CodedOutputStream* output) const;
5996 : void DiscardUnknownFields();
5997 0 : int GetCachedSize() const { return _cached_size_; }
5998 : private:
5999 : void SharedCtor();
6000 : void SharedDtor();
6001 : void SetCachedSize(int size) const;
6002 : public:
6003 : ::std::string GetTypeName() const;
6004 :
6005 : // nested types ----------------------------------------------------
6006 :
6007 : // accessors -------------------------------------------------------
6008 :
6009 : // optional uint32 file_offset = 1;
6010 : inline bool has_file_offset() const;
6011 : inline void clear_file_offset();
6012 : static const int kFileOffsetFieldNumber = 1;
6013 : inline ::google::protobuf::uint32 file_offset() const;
6014 : inline void set_file_offset(::google::protobuf::uint32 value);
6015 :
6016 : // optional int32 byte_count = 2;
6017 : inline bool has_byte_count() const;
6018 : inline void clear_byte_count();
6019 : static const int kByteCountFieldNumber = 2;
6020 : inline ::google::protobuf::int32 byte_count() const;
6021 : inline void set_byte_count(::google::protobuf::int32 value);
6022 :
6023 : // optional bytes modified_bytes = 3;
6024 : inline bool has_modified_bytes() const;
6025 : inline void clear_modified_bytes();
6026 : static const int kModifiedBytesFieldNumber = 3;
6027 : inline const ::std::string& modified_bytes() const;
6028 : inline void set_modified_bytes(const ::std::string& value);
6029 : inline void set_modified_bytes(const char* value);
6030 : inline void set_modified_bytes(const void* value, size_t size);
6031 : inline ::std::string* mutable_modified_bytes();
6032 : inline ::std::string* release_modified_bytes();
6033 : inline void set_allocated_modified_bytes(::std::string* modified_bytes);
6034 :
6035 : // optional string export_name = 4;
6036 : inline bool has_export_name() const;
6037 : inline void clear_export_name();
6038 : static const int kExportNameFieldNumber = 4;
6039 : inline const ::std::string& export_name() const;
6040 : inline void set_export_name(const ::std::string& value);
6041 : inline void set_export_name(const char* value);
6042 : inline void set_export_name(const char* value, size_t size);
6043 : inline ::std::string* mutable_export_name();
6044 : inline ::std::string* release_export_name();
6045 : inline void set_allocated_export_name(::std::string* export_name);
6046 :
6047 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification)
6048 : private:
6049 : inline void set_has_file_offset();
6050 : inline void clear_has_file_offset();
6051 : inline void set_has_byte_count();
6052 : inline void clear_has_byte_count();
6053 : inline void set_has_modified_bytes();
6054 : inline void clear_has_modified_bytes();
6055 : inline void set_has_export_name();
6056 : inline void clear_has_export_name();
6057 :
6058 : ::std::string _unknown_fields_;
6059 :
6060 : ::google::protobuf::uint32 _has_bits_[1];
6061 : mutable int _cached_size_;
6062 : ::google::protobuf::uint32 file_offset_;
6063 : ::google::protobuf::int32 byte_count_;
6064 : ::std::string* modified_bytes_;
6065 : ::std::string* export_name_;
6066 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6067 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
6068 : #else
6069 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6070 : #endif
6071 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6072 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6073 :
6074 : void InitAsDefaultInstance();
6075 : static ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* default_instance_;
6076 : };
6077 : // -------------------------------------------------------------------
6078 :
6079 : class ClientIncidentReport_EnvironmentData_Process_ModuleState : public ::google::protobuf::MessageLite {
6080 : public:
6081 : ClientIncidentReport_EnvironmentData_Process_ModuleState();
6082 : virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState();
6083 :
6084 : ClientIncidentReport_EnvironmentData_Process_ModuleState(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from);
6085 :
6086 : inline ClientIncidentReport_EnvironmentData_Process_ModuleState& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from) {
6087 : CopyFrom(from);
6088 : return *this;
6089 : }
6090 :
6091 0 : inline const ::std::string& unknown_fields() const {
6092 0 : return _unknown_fields_;
6093 : }
6094 :
6095 0 : inline ::std::string* mutable_unknown_fields() {
6096 0 : return &_unknown_fields_;
6097 : }
6098 :
6099 : static const ClientIncidentReport_EnvironmentData_Process_ModuleState& default_instance();
6100 :
6101 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6102 : // Returns the internal default instance pointer. This function can
6103 : // return NULL thus should not be used by the user. This is intended
6104 : // for Protobuf internal code. Please use default_instance() declared
6105 : // above instead.
6106 : static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState* internal_default_instance() {
6107 : return default_instance_;
6108 : }
6109 : #endif
6110 :
6111 : void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState* other);
6112 :
6113 : // implements Message ----------------------------------------------
6114 :
6115 : ClientIncidentReport_EnvironmentData_Process_ModuleState* New() const;
6116 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
6117 : void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from);
6118 : void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from);
6119 : void Clear();
6120 : bool IsInitialized() const;
6121 :
6122 : int ByteSize() const;
6123 : bool MergePartialFromCodedStream(
6124 : ::google::protobuf::io::CodedInputStream* input);
6125 : void SerializeWithCachedSizes(
6126 : ::google::protobuf::io::CodedOutputStream* output) const;
6127 : void DiscardUnknownFields();
6128 0 : int GetCachedSize() const { return _cached_size_; }
6129 : private:
6130 : void SharedCtor();
6131 : void SharedDtor();
6132 : void SetCachedSize(int size) const;
6133 : public:
6134 : ::std::string GetTypeName() const;
6135 :
6136 : // nested types ----------------------------------------------------
6137 :
6138 : typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification Modification;
6139 :
6140 : typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ModifiedState;
6141 : static const ModifiedState UNKNOWN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN;
6142 : static const ModifiedState MODULE_STATE_UNKNOWN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNKNOWN;
6143 : static const ModifiedState MODULE_STATE_UNMODIFIED = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNMODIFIED;
6144 : static const ModifiedState MODULE_STATE_MODIFIED = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED;
6145 : static inline bool ModifiedState_IsValid(int value) {
6146 : return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(value);
6147 : }
6148 : static const ModifiedState ModifiedState_MIN =
6149 : ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN;
6150 : static const ModifiedState ModifiedState_MAX =
6151 : ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX;
6152 : static const int ModifiedState_ARRAYSIZE =
6153 : ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE;
6154 :
6155 : // accessors -------------------------------------------------------
6156 :
6157 : // optional string name = 1;
6158 : inline bool has_name() const;
6159 : inline void clear_name();
6160 : static const int kNameFieldNumber = 1;
6161 : inline const ::std::string& name() const;
6162 : inline void set_name(const ::std::string& value);
6163 : inline void set_name(const char* value);
6164 : inline void set_name(const char* value, size_t size);
6165 : inline ::std::string* mutable_name();
6166 : inline ::std::string* release_name();
6167 : inline void set_allocated_name(::std::string* name);
6168 :
6169 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.ModifiedState modified_state = 2;
6170 : inline bool has_modified_state() const;
6171 : inline void clear_modified_state();
6172 : static const int kModifiedStateFieldNumber = 2;
6173 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState modified_state() const;
6174 : inline void set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value);
6175 :
6176 : // repeated string OBSOLETE_modified_export = 3;
6177 : inline int obsolete_modified_export_size() const;
6178 : inline void clear_obsolete_modified_export();
6179 : static const int kOBSOLETEModifiedExportFieldNumber = 3;
6180 : inline const ::std::string& obsolete_modified_export(int index) const;
6181 : inline ::std::string* mutable_obsolete_modified_export(int index);
6182 : inline void set_obsolete_modified_export(int index, const ::std::string& value);
6183 : inline void set_obsolete_modified_export(int index, const char* value);
6184 : inline void set_obsolete_modified_export(int index, const char* value, size_t size);
6185 : inline ::std::string* add_obsolete_modified_export();
6186 : inline void add_obsolete_modified_export(const ::std::string& value);
6187 : inline void add_obsolete_modified_export(const char* value);
6188 : inline void add_obsolete_modified_export(const char* value, size_t size);
6189 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& obsolete_modified_export() const;
6190 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_obsolete_modified_export();
6191 :
6192 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification modification = 4;
6193 : inline int modification_size() const;
6194 : inline void clear_modification();
6195 : static const int kModificationFieldNumber = 4;
6196 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& modification(int index) const;
6197 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* mutable_modification(int index);
6198 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* add_modification();
6199 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >&
6200 : modification() const;
6201 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >*
6202 : mutable_modification();
6203 :
6204 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState)
6205 : private:
6206 : inline void set_has_name();
6207 : inline void clear_has_name();
6208 : inline void set_has_modified_state();
6209 : inline void clear_has_modified_state();
6210 :
6211 : ::std::string _unknown_fields_;
6212 :
6213 : ::google::protobuf::uint32 _has_bits_[1];
6214 : mutable int _cached_size_;
6215 : ::std::string* name_;
6216 : ::google::protobuf::RepeatedPtrField< ::std::string> obsolete_modified_export_;
6217 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification > modification_;
6218 : int modified_state_;
6219 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6220 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
6221 : #else
6222 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6223 : #endif
6224 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6225 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6226 :
6227 : void InitAsDefaultInstance();
6228 : static ClientIncidentReport_EnvironmentData_Process_ModuleState* default_instance_;
6229 : };
6230 : // -------------------------------------------------------------------
6231 :
6232 : class ClientIncidentReport_EnvironmentData_Process : public ::google::protobuf::MessageLite {
6233 : public:
6234 : ClientIncidentReport_EnvironmentData_Process();
6235 : virtual ~ClientIncidentReport_EnvironmentData_Process();
6236 :
6237 : ClientIncidentReport_EnvironmentData_Process(const ClientIncidentReport_EnvironmentData_Process& from);
6238 :
6239 : inline ClientIncidentReport_EnvironmentData_Process& operator=(const ClientIncidentReport_EnvironmentData_Process& from) {
6240 : CopyFrom(from);
6241 : return *this;
6242 : }
6243 :
6244 0 : inline const ::std::string& unknown_fields() const {
6245 0 : return _unknown_fields_;
6246 : }
6247 :
6248 0 : inline ::std::string* mutable_unknown_fields() {
6249 0 : return &_unknown_fields_;
6250 : }
6251 :
6252 : static const ClientIncidentReport_EnvironmentData_Process& default_instance();
6253 :
6254 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6255 : // Returns the internal default instance pointer. This function can
6256 : // return NULL thus should not be used by the user. This is intended
6257 : // for Protobuf internal code. Please use default_instance() declared
6258 : // above instead.
6259 0 : static inline const ClientIncidentReport_EnvironmentData_Process* internal_default_instance() {
6260 0 : return default_instance_;
6261 : }
6262 : #endif
6263 :
6264 : void Swap(ClientIncidentReport_EnvironmentData_Process* other);
6265 :
6266 : // implements Message ----------------------------------------------
6267 :
6268 : ClientIncidentReport_EnvironmentData_Process* New() const;
6269 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
6270 : void CopyFrom(const ClientIncidentReport_EnvironmentData_Process& from);
6271 : void MergeFrom(const ClientIncidentReport_EnvironmentData_Process& from);
6272 : void Clear();
6273 : bool IsInitialized() const;
6274 :
6275 : int ByteSize() const;
6276 : bool MergePartialFromCodedStream(
6277 : ::google::protobuf::io::CodedInputStream* input);
6278 : void SerializeWithCachedSizes(
6279 : ::google::protobuf::io::CodedOutputStream* output) const;
6280 : void DiscardUnknownFields();
6281 0 : int GetCachedSize() const { return _cached_size_; }
6282 : private:
6283 : void SharedCtor();
6284 : void SharedDtor();
6285 : void SetCachedSize(int size) const;
6286 : public:
6287 : ::std::string GetTypeName() const;
6288 :
6289 : // nested types ----------------------------------------------------
6290 :
6291 : typedef ClientIncidentReport_EnvironmentData_Process_Patch Patch;
6292 : typedef ClientIncidentReport_EnvironmentData_Process_NetworkProvider NetworkProvider;
6293 : typedef ClientIncidentReport_EnvironmentData_Process_Dll Dll;
6294 : typedef ClientIncidentReport_EnvironmentData_Process_ModuleState ModuleState;
6295 :
6296 : typedef ClientIncidentReport_EnvironmentData_Process_Channel Channel;
6297 : static const Channel CHANNEL_UNKNOWN = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN;
6298 : static const Channel CHANNEL_CANARY = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_CANARY;
6299 : static const Channel CHANNEL_DEV = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_DEV;
6300 : static const Channel CHANNEL_BETA = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_BETA;
6301 : static const Channel CHANNEL_STABLE = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE;
6302 : static inline bool Channel_IsValid(int value) {
6303 : return ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(value);
6304 : }
6305 : static const Channel Channel_MIN =
6306 : ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN;
6307 : static const Channel Channel_MAX =
6308 : ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX;
6309 : static const int Channel_ARRAYSIZE =
6310 : ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE;
6311 :
6312 : // accessors -------------------------------------------------------
6313 :
6314 : // optional string version = 1;
6315 : inline bool has_version() const;
6316 : inline void clear_version();
6317 : static const int kVersionFieldNumber = 1;
6318 : inline const ::std::string& version() const;
6319 : inline void set_version(const ::std::string& value);
6320 : inline void set_version(const char* value);
6321 : inline void set_version(const char* value, size_t size);
6322 : inline ::std::string* mutable_version();
6323 : inline ::std::string* release_version();
6324 : inline void set_allocated_version(::std::string* version);
6325 :
6326 : // repeated string OBSOLETE_dlls = 2;
6327 : inline int obsolete_dlls_size() const;
6328 : inline void clear_obsolete_dlls();
6329 : static const int kOBSOLETEDllsFieldNumber = 2;
6330 : inline const ::std::string& obsolete_dlls(int index) const;
6331 : inline ::std::string* mutable_obsolete_dlls(int index);
6332 : inline void set_obsolete_dlls(int index, const ::std::string& value);
6333 : inline void set_obsolete_dlls(int index, const char* value);
6334 : inline void set_obsolete_dlls(int index, const char* value, size_t size);
6335 : inline ::std::string* add_obsolete_dlls();
6336 : inline void add_obsolete_dlls(const ::std::string& value);
6337 : inline void add_obsolete_dlls(const char* value);
6338 : inline void add_obsolete_dlls(const char* value, size_t size);
6339 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& obsolete_dlls() const;
6340 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_obsolete_dlls();
6341 :
6342 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch patches = 3;
6343 : inline int patches_size() const;
6344 : inline void clear_patches();
6345 : static const int kPatchesFieldNumber = 3;
6346 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& patches(int index) const;
6347 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* mutable_patches(int index);
6348 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* add_patches();
6349 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >&
6350 : patches() const;
6351 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >*
6352 : mutable_patches();
6353 :
6354 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider network_providers = 4;
6355 : inline int network_providers_size() const;
6356 : inline void clear_network_providers();
6357 : static const int kNetworkProvidersFieldNumber = 4;
6358 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& network_providers(int index) const;
6359 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* mutable_network_providers(int index);
6360 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* add_network_providers();
6361 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >&
6362 : network_providers() const;
6363 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >*
6364 : mutable_network_providers();
6365 :
6366 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Channel chrome_update_channel = 5;
6367 : inline bool has_chrome_update_channel() const;
6368 : inline void clear_chrome_update_channel();
6369 : static const int kChromeUpdateChannelFieldNumber = 5;
6370 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel chrome_update_channel() const;
6371 : inline void set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value);
6372 :
6373 : // optional int64 uptime_msec = 6;
6374 : inline bool has_uptime_msec() const;
6375 : inline void clear_uptime_msec();
6376 : static const int kUptimeMsecFieldNumber = 6;
6377 : inline ::google::protobuf::int64 uptime_msec() const;
6378 : inline void set_uptime_msec(::google::protobuf::int64 value);
6379 :
6380 : // optional bool metrics_consent = 7;
6381 : inline bool has_metrics_consent() const;
6382 : inline void clear_metrics_consent();
6383 : static const int kMetricsConsentFieldNumber = 7;
6384 : inline bool metrics_consent() const;
6385 : inline void set_metrics_consent(bool value);
6386 :
6387 : // optional bool extended_consent = 8;
6388 : inline bool has_extended_consent() const;
6389 : inline void clear_extended_consent();
6390 : static const int kExtendedConsentFieldNumber = 8;
6391 : inline bool extended_consent() const;
6392 : inline void set_extended_consent(bool value);
6393 :
6394 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll dll = 9;
6395 : inline int dll_size() const;
6396 : inline void clear_dll();
6397 : static const int kDllFieldNumber = 9;
6398 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& dll(int index) const;
6399 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* mutable_dll(int index);
6400 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* add_dll();
6401 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >&
6402 : dll() const;
6403 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >*
6404 : mutable_dll();
6405 :
6406 : // repeated string blacklisted_dll = 10;
6407 : inline int blacklisted_dll_size() const;
6408 : inline void clear_blacklisted_dll();
6409 : static const int kBlacklistedDllFieldNumber = 10;
6410 : inline const ::std::string& blacklisted_dll(int index) const;
6411 : inline ::std::string* mutable_blacklisted_dll(int index);
6412 : inline void set_blacklisted_dll(int index, const ::std::string& value);
6413 : inline void set_blacklisted_dll(int index, const char* value);
6414 : inline void set_blacklisted_dll(int index, const char* value, size_t size);
6415 : inline ::std::string* add_blacklisted_dll();
6416 : inline void add_blacklisted_dll(const ::std::string& value);
6417 : inline void add_blacklisted_dll(const char* value);
6418 : inline void add_blacklisted_dll(const char* value, size_t size);
6419 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& blacklisted_dll() const;
6420 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_blacklisted_dll();
6421 :
6422 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState module_state = 11;
6423 : inline int module_state_size() const;
6424 : inline void clear_module_state();
6425 : static const int kModuleStateFieldNumber = 11;
6426 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& module_state(int index) const;
6427 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* mutable_module_state(int index);
6428 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* add_module_state();
6429 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >&
6430 : module_state() const;
6431 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >*
6432 : mutable_module_state();
6433 :
6434 : // optional bool field_trial_participant = 12;
6435 : inline bool has_field_trial_participant() const;
6436 : inline void clear_field_trial_participant();
6437 : static const int kFieldTrialParticipantFieldNumber = 12;
6438 : inline bool field_trial_participant() const;
6439 : inline void set_field_trial_participant(bool value);
6440 :
6441 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process)
6442 : private:
6443 : inline void set_has_version();
6444 : inline void clear_has_version();
6445 : inline void set_has_chrome_update_channel();
6446 : inline void clear_has_chrome_update_channel();
6447 : inline void set_has_uptime_msec();
6448 : inline void clear_has_uptime_msec();
6449 : inline void set_has_metrics_consent();
6450 : inline void clear_has_metrics_consent();
6451 : inline void set_has_extended_consent();
6452 : inline void clear_has_extended_consent();
6453 : inline void set_has_field_trial_participant();
6454 : inline void clear_has_field_trial_participant();
6455 :
6456 : ::std::string _unknown_fields_;
6457 :
6458 : ::google::protobuf::uint32 _has_bits_[1];
6459 : mutable int _cached_size_;
6460 : ::std::string* version_;
6461 : ::google::protobuf::RepeatedPtrField< ::std::string> obsolete_dlls_;
6462 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch > patches_;
6463 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider > network_providers_;
6464 : ::google::protobuf::int64 uptime_msec_;
6465 : int chrome_update_channel_;
6466 : bool metrics_consent_;
6467 : bool extended_consent_;
6468 : bool field_trial_participant_;
6469 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll > dll_;
6470 : ::google::protobuf::RepeatedPtrField< ::std::string> blacklisted_dll_;
6471 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState > module_state_;
6472 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6473 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
6474 : #else
6475 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6476 : #endif
6477 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6478 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6479 :
6480 : void InitAsDefaultInstance();
6481 : static ClientIncidentReport_EnvironmentData_Process* default_instance_;
6482 : };
6483 : // -------------------------------------------------------------------
6484 :
6485 : class ClientIncidentReport_EnvironmentData : public ::google::protobuf::MessageLite {
6486 : public:
6487 : ClientIncidentReport_EnvironmentData();
6488 : virtual ~ClientIncidentReport_EnvironmentData();
6489 :
6490 : ClientIncidentReport_EnvironmentData(const ClientIncidentReport_EnvironmentData& from);
6491 :
6492 : inline ClientIncidentReport_EnvironmentData& operator=(const ClientIncidentReport_EnvironmentData& from) {
6493 : CopyFrom(from);
6494 : return *this;
6495 : }
6496 :
6497 0 : inline const ::std::string& unknown_fields() const {
6498 0 : return _unknown_fields_;
6499 : }
6500 :
6501 0 : inline ::std::string* mutable_unknown_fields() {
6502 0 : return &_unknown_fields_;
6503 : }
6504 :
6505 : static const ClientIncidentReport_EnvironmentData& default_instance();
6506 :
6507 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6508 : // Returns the internal default instance pointer. This function can
6509 : // return NULL thus should not be used by the user. This is intended
6510 : // for Protobuf internal code. Please use default_instance() declared
6511 : // above instead.
6512 0 : static inline const ClientIncidentReport_EnvironmentData* internal_default_instance() {
6513 0 : return default_instance_;
6514 : }
6515 : #endif
6516 :
6517 : void Swap(ClientIncidentReport_EnvironmentData* other);
6518 :
6519 : // implements Message ----------------------------------------------
6520 :
6521 : ClientIncidentReport_EnvironmentData* New() const;
6522 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
6523 : void CopyFrom(const ClientIncidentReport_EnvironmentData& from);
6524 : void MergeFrom(const ClientIncidentReport_EnvironmentData& from);
6525 : void Clear();
6526 : bool IsInitialized() const;
6527 :
6528 : int ByteSize() const;
6529 : bool MergePartialFromCodedStream(
6530 : ::google::protobuf::io::CodedInputStream* input);
6531 : void SerializeWithCachedSizes(
6532 : ::google::protobuf::io::CodedOutputStream* output) const;
6533 : void DiscardUnknownFields();
6534 0 : int GetCachedSize() const { return _cached_size_; }
6535 : private:
6536 : void SharedCtor();
6537 : void SharedDtor();
6538 : void SetCachedSize(int size) const;
6539 : public:
6540 : ::std::string GetTypeName() const;
6541 :
6542 : // nested types ----------------------------------------------------
6543 :
6544 : typedef ClientIncidentReport_EnvironmentData_OS OS;
6545 : typedef ClientIncidentReport_EnvironmentData_Machine Machine;
6546 : typedef ClientIncidentReport_EnvironmentData_Process Process;
6547 :
6548 : // accessors -------------------------------------------------------
6549 :
6550 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.OS os = 1;
6551 : inline bool has_os() const;
6552 : inline void clear_os();
6553 : static const int kOsFieldNumber = 1;
6554 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& os() const;
6555 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* mutable_os();
6556 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* release_os();
6557 : inline void set_allocated_os(::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os);
6558 :
6559 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Machine machine = 2;
6560 : inline bool has_machine() const;
6561 : inline void clear_machine();
6562 : static const int kMachineFieldNumber = 2;
6563 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& machine() const;
6564 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* mutable_machine();
6565 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* release_machine();
6566 : inline void set_allocated_machine(::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine);
6567 :
6568 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process process = 3;
6569 : inline bool has_process() const;
6570 : inline void clear_process();
6571 : static const int kProcessFieldNumber = 3;
6572 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& process() const;
6573 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* mutable_process();
6574 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* release_process();
6575 : inline void set_allocated_process(::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process);
6576 :
6577 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData)
6578 : private:
6579 : inline void set_has_os();
6580 : inline void clear_has_os();
6581 : inline void set_has_machine();
6582 : inline void clear_has_machine();
6583 : inline void set_has_process();
6584 : inline void clear_has_process();
6585 :
6586 : ::std::string _unknown_fields_;
6587 :
6588 : ::google::protobuf::uint32 _has_bits_[1];
6589 : mutable int _cached_size_;
6590 : ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os_;
6591 : ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine_;
6592 : ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process_;
6593 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6594 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
6595 : #else
6596 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6597 : #endif
6598 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6599 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6600 :
6601 : void InitAsDefaultInstance();
6602 : static ClientIncidentReport_EnvironmentData* default_instance_;
6603 : };
6604 : // -------------------------------------------------------------------
6605 :
6606 : class ClientIncidentReport_ExtensionData_ExtensionInfo : public ::google::protobuf::MessageLite {
6607 : public:
6608 : ClientIncidentReport_ExtensionData_ExtensionInfo();
6609 : virtual ~ClientIncidentReport_ExtensionData_ExtensionInfo();
6610 :
6611 : ClientIncidentReport_ExtensionData_ExtensionInfo(const ClientIncidentReport_ExtensionData_ExtensionInfo& from);
6612 :
6613 : inline ClientIncidentReport_ExtensionData_ExtensionInfo& operator=(const ClientIncidentReport_ExtensionData_ExtensionInfo& from) {
6614 : CopyFrom(from);
6615 : return *this;
6616 : }
6617 :
6618 0 : inline const ::std::string& unknown_fields() const {
6619 0 : return _unknown_fields_;
6620 : }
6621 :
6622 0 : inline ::std::string* mutable_unknown_fields() {
6623 0 : return &_unknown_fields_;
6624 : }
6625 :
6626 : static const ClientIncidentReport_ExtensionData_ExtensionInfo& default_instance();
6627 :
6628 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6629 : // Returns the internal default instance pointer. This function can
6630 : // return NULL thus should not be used by the user. This is intended
6631 : // for Protobuf internal code. Please use default_instance() declared
6632 : // above instead.
6633 0 : static inline const ClientIncidentReport_ExtensionData_ExtensionInfo* internal_default_instance() {
6634 0 : return default_instance_;
6635 : }
6636 : #endif
6637 :
6638 : void Swap(ClientIncidentReport_ExtensionData_ExtensionInfo* other);
6639 :
6640 : // implements Message ----------------------------------------------
6641 :
6642 : ClientIncidentReport_ExtensionData_ExtensionInfo* New() const;
6643 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
6644 : void CopyFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from);
6645 : void MergeFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from);
6646 : void Clear();
6647 : bool IsInitialized() const;
6648 :
6649 : int ByteSize() const;
6650 : bool MergePartialFromCodedStream(
6651 : ::google::protobuf::io::CodedInputStream* input);
6652 : void SerializeWithCachedSizes(
6653 : ::google::protobuf::io::CodedOutputStream* output) const;
6654 : void DiscardUnknownFields();
6655 0 : int GetCachedSize() const { return _cached_size_; }
6656 : private:
6657 : void SharedCtor();
6658 : void SharedDtor();
6659 : void SetCachedSize(int size) const;
6660 : public:
6661 : ::std::string GetTypeName() const;
6662 :
6663 : // nested types ----------------------------------------------------
6664 :
6665 : typedef ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ExtensionState;
6666 : static const ExtensionState STATE_UNKNOWN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN;
6667 : static const ExtensionState STATE_ENABLED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_ENABLED;
6668 : static const ExtensionState STATE_DISABLED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_DISABLED;
6669 : static const ExtensionState STATE_BLACKLISTED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLACKLISTED;
6670 : static const ExtensionState STATE_BLOCKED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLOCKED;
6671 : static const ExtensionState STATE_TERMINATED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED;
6672 : static inline bool ExtensionState_IsValid(int value) {
6673 : return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(value);
6674 : }
6675 : static const ExtensionState ExtensionState_MIN =
6676 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN;
6677 : static const ExtensionState ExtensionState_MAX =
6678 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX;
6679 : static const int ExtensionState_ARRAYSIZE =
6680 : ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE;
6681 :
6682 : // accessors -------------------------------------------------------
6683 :
6684 : // optional string id = 1;
6685 : inline bool has_id() const;
6686 : inline void clear_id();
6687 : static const int kIdFieldNumber = 1;
6688 : inline const ::std::string& id() const;
6689 : inline void set_id(const ::std::string& value);
6690 : inline void set_id(const char* value);
6691 : inline void set_id(const char* value, size_t size);
6692 : inline ::std::string* mutable_id();
6693 : inline ::std::string* release_id();
6694 : inline void set_allocated_id(::std::string* id);
6695 :
6696 : // optional string version = 2;
6697 : inline bool has_version() const;
6698 : inline void clear_version();
6699 : static const int kVersionFieldNumber = 2;
6700 : inline const ::std::string& version() const;
6701 : inline void set_version(const ::std::string& value);
6702 : inline void set_version(const char* value);
6703 : inline void set_version(const char* value, size_t size);
6704 : inline ::std::string* mutable_version();
6705 : inline ::std::string* release_version();
6706 : inline void set_allocated_version(::std::string* version);
6707 :
6708 : // optional string name = 3;
6709 : inline bool has_name() const;
6710 : inline void clear_name();
6711 : static const int kNameFieldNumber = 3;
6712 : inline const ::std::string& name() const;
6713 : inline void set_name(const ::std::string& value);
6714 : inline void set_name(const char* value);
6715 : inline void set_name(const char* value, size_t size);
6716 : inline ::std::string* mutable_name();
6717 : inline ::std::string* release_name();
6718 : inline void set_allocated_name(::std::string* name);
6719 :
6720 : // optional string description = 4;
6721 : inline bool has_description() const;
6722 : inline void clear_description();
6723 : static const int kDescriptionFieldNumber = 4;
6724 : inline const ::std::string& description() const;
6725 : inline void set_description(const ::std::string& value);
6726 : inline void set_description(const char* value);
6727 : inline void set_description(const char* value, size_t size);
6728 : inline ::std::string* mutable_description();
6729 : inline ::std::string* release_description();
6730 : inline void set_allocated_description(::std::string* description);
6731 :
6732 : // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.ExtensionState state = 5 [default = STATE_UNKNOWN];
6733 : inline bool has_state() const;
6734 : inline void clear_state();
6735 : static const int kStateFieldNumber = 5;
6736 : inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState state() const;
6737 : inline void set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value);
6738 :
6739 : // optional int32 type = 6;
6740 : inline bool has_type() const;
6741 : inline void clear_type();
6742 : static const int kTypeFieldNumber = 6;
6743 : inline ::google::protobuf::int32 type() const;
6744 : inline void set_type(::google::protobuf::int32 value);
6745 :
6746 : // optional string update_url = 7;
6747 : inline bool has_update_url() const;
6748 : inline void clear_update_url();
6749 : static const int kUpdateUrlFieldNumber = 7;
6750 : inline const ::std::string& update_url() const;
6751 : inline void set_update_url(const ::std::string& value);
6752 : inline void set_update_url(const char* value);
6753 : inline void set_update_url(const char* value, size_t size);
6754 : inline ::std::string* mutable_update_url();
6755 : inline ::std::string* release_update_url();
6756 : inline void set_allocated_update_url(::std::string* update_url);
6757 :
6758 : // optional bool has_signature_validation = 8;
6759 : inline bool has_has_signature_validation() const;
6760 : inline void clear_has_signature_validation();
6761 : static const int kHasSignatureValidationFieldNumber = 8;
6762 : inline bool has_signature_validation() const;
6763 : inline void set_has_signature_validation(bool value);
6764 :
6765 : // optional bool signature_is_valid = 9;
6766 : inline bool has_signature_is_valid() const;
6767 : inline void clear_signature_is_valid();
6768 : static const int kSignatureIsValidFieldNumber = 9;
6769 : inline bool signature_is_valid() const;
6770 : inline void set_signature_is_valid(bool value);
6771 :
6772 : // optional bool installed_by_custodian = 10;
6773 : inline bool has_installed_by_custodian() const;
6774 : inline void clear_installed_by_custodian();
6775 : static const int kInstalledByCustodianFieldNumber = 10;
6776 : inline bool installed_by_custodian() const;
6777 : inline void set_installed_by_custodian(bool value);
6778 :
6779 : // optional bool installed_by_default = 11;
6780 : inline bool has_installed_by_default() const;
6781 : inline void clear_installed_by_default();
6782 : static const int kInstalledByDefaultFieldNumber = 11;
6783 : inline bool installed_by_default() const;
6784 : inline void set_installed_by_default(bool value);
6785 :
6786 : // optional bool installed_by_oem = 12;
6787 : inline bool has_installed_by_oem() const;
6788 : inline void clear_installed_by_oem();
6789 : static const int kInstalledByOemFieldNumber = 12;
6790 : inline bool installed_by_oem() const;
6791 : inline void set_installed_by_oem(bool value);
6792 :
6793 : // optional bool from_bookmark = 13;
6794 : inline bool has_from_bookmark() const;
6795 : inline void clear_from_bookmark();
6796 : static const int kFromBookmarkFieldNumber = 13;
6797 : inline bool from_bookmark() const;
6798 : inline void set_from_bookmark(bool value);
6799 :
6800 : // optional bool from_webstore = 14;
6801 : inline bool has_from_webstore() const;
6802 : inline void clear_from_webstore();
6803 : static const int kFromWebstoreFieldNumber = 14;
6804 : inline bool from_webstore() const;
6805 : inline void set_from_webstore(bool value);
6806 :
6807 : // optional bool converted_from_user_script = 15;
6808 : inline bool has_converted_from_user_script() const;
6809 : inline void clear_converted_from_user_script();
6810 : static const int kConvertedFromUserScriptFieldNumber = 15;
6811 : inline bool converted_from_user_script() const;
6812 : inline void set_converted_from_user_script(bool value);
6813 :
6814 : // optional bool may_be_untrusted = 16;
6815 : inline bool has_may_be_untrusted() const;
6816 : inline void clear_may_be_untrusted();
6817 : static const int kMayBeUntrustedFieldNumber = 16;
6818 : inline bool may_be_untrusted() const;
6819 : inline void set_may_be_untrusted(bool value);
6820 :
6821 : // optional int64 install_time_msec = 17;
6822 : inline bool has_install_time_msec() const;
6823 : inline void clear_install_time_msec();
6824 : static const int kInstallTimeMsecFieldNumber = 17;
6825 : inline ::google::protobuf::int64 install_time_msec() const;
6826 : inline void set_install_time_msec(::google::protobuf::int64 value);
6827 :
6828 : // optional int32 manifest_location_type = 18;
6829 : inline bool has_manifest_location_type() const;
6830 : inline void clear_manifest_location_type();
6831 : static const int kManifestLocationTypeFieldNumber = 18;
6832 : inline ::google::protobuf::int32 manifest_location_type() const;
6833 : inline void set_manifest_location_type(::google::protobuf::int32 value);
6834 :
6835 : // optional string manifest = 19;
6836 : inline bool has_manifest() const;
6837 : inline void clear_manifest();
6838 : static const int kManifestFieldNumber = 19;
6839 : inline const ::std::string& manifest() const;
6840 : inline void set_manifest(const ::std::string& value);
6841 : inline void set_manifest(const char* value);
6842 : inline void set_manifest(const char* value, size_t size);
6843 : inline ::std::string* mutable_manifest();
6844 : inline ::std::string* release_manifest();
6845 : inline void set_allocated_manifest(::std::string* manifest);
6846 :
6847 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo)
6848 : private:
6849 : inline void set_has_id();
6850 : inline void clear_has_id();
6851 : inline void set_has_version();
6852 : inline void clear_has_version();
6853 : inline void set_has_name();
6854 : inline void clear_has_name();
6855 : inline void set_has_description();
6856 : inline void clear_has_description();
6857 : inline void set_has_state();
6858 : inline void clear_has_state();
6859 : inline void set_has_type();
6860 : inline void clear_has_type();
6861 : inline void set_has_update_url();
6862 : inline void clear_has_update_url();
6863 : inline void set_has_has_signature_validation();
6864 : inline void clear_has_has_signature_validation();
6865 : inline void set_has_signature_is_valid();
6866 : inline void clear_has_signature_is_valid();
6867 : inline void set_has_installed_by_custodian();
6868 : inline void clear_has_installed_by_custodian();
6869 : inline void set_has_installed_by_default();
6870 : inline void clear_has_installed_by_default();
6871 : inline void set_has_installed_by_oem();
6872 : inline void clear_has_installed_by_oem();
6873 : inline void set_has_from_bookmark();
6874 : inline void clear_has_from_bookmark();
6875 : inline void set_has_from_webstore();
6876 : inline void clear_has_from_webstore();
6877 : inline void set_has_converted_from_user_script();
6878 : inline void clear_has_converted_from_user_script();
6879 : inline void set_has_may_be_untrusted();
6880 : inline void clear_has_may_be_untrusted();
6881 : inline void set_has_install_time_msec();
6882 : inline void clear_has_install_time_msec();
6883 : inline void set_has_manifest_location_type();
6884 : inline void clear_has_manifest_location_type();
6885 : inline void set_has_manifest();
6886 : inline void clear_has_manifest();
6887 :
6888 : ::std::string _unknown_fields_;
6889 :
6890 : ::google::protobuf::uint32 _has_bits_[1];
6891 : mutable int _cached_size_;
6892 : ::std::string* id_;
6893 : ::std::string* version_;
6894 : ::std::string* name_;
6895 : ::std::string* description_;
6896 : int state_;
6897 : ::google::protobuf::int32 type_;
6898 : ::std::string* update_url_;
6899 : bool has_signature_validation_;
6900 : bool signature_is_valid_;
6901 : bool installed_by_custodian_;
6902 : bool installed_by_default_;
6903 : bool installed_by_oem_;
6904 : bool from_bookmark_;
6905 : bool from_webstore_;
6906 : bool converted_from_user_script_;
6907 : ::google::protobuf::int64 install_time_msec_;
6908 : bool may_be_untrusted_;
6909 : ::google::protobuf::int32 manifest_location_type_;
6910 : ::std::string* manifest_;
6911 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6912 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
6913 : #else
6914 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6915 : #endif
6916 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6917 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
6918 :
6919 : void InitAsDefaultInstance();
6920 : static ClientIncidentReport_ExtensionData_ExtensionInfo* default_instance_;
6921 : };
6922 : // -------------------------------------------------------------------
6923 :
6924 : class ClientIncidentReport_ExtensionData : public ::google::protobuf::MessageLite {
6925 : public:
6926 : ClientIncidentReport_ExtensionData();
6927 : virtual ~ClientIncidentReport_ExtensionData();
6928 :
6929 : ClientIncidentReport_ExtensionData(const ClientIncidentReport_ExtensionData& from);
6930 :
6931 : inline ClientIncidentReport_ExtensionData& operator=(const ClientIncidentReport_ExtensionData& from) {
6932 : CopyFrom(from);
6933 : return *this;
6934 : }
6935 :
6936 0 : inline const ::std::string& unknown_fields() const {
6937 0 : return _unknown_fields_;
6938 : }
6939 :
6940 0 : inline ::std::string* mutable_unknown_fields() {
6941 0 : return &_unknown_fields_;
6942 : }
6943 :
6944 : static const ClientIncidentReport_ExtensionData& default_instance();
6945 :
6946 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6947 : // Returns the internal default instance pointer. This function can
6948 : // return NULL thus should not be used by the user. This is intended
6949 : // for Protobuf internal code. Please use default_instance() declared
6950 : // above instead.
6951 0 : static inline const ClientIncidentReport_ExtensionData* internal_default_instance() {
6952 0 : return default_instance_;
6953 : }
6954 : #endif
6955 :
6956 : void Swap(ClientIncidentReport_ExtensionData* other);
6957 :
6958 : // implements Message ----------------------------------------------
6959 :
6960 : ClientIncidentReport_ExtensionData* New() const;
6961 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
6962 : void CopyFrom(const ClientIncidentReport_ExtensionData& from);
6963 : void MergeFrom(const ClientIncidentReport_ExtensionData& from);
6964 : void Clear();
6965 : bool IsInitialized() const;
6966 :
6967 : int ByteSize() const;
6968 : bool MergePartialFromCodedStream(
6969 : ::google::protobuf::io::CodedInputStream* input);
6970 : void SerializeWithCachedSizes(
6971 : ::google::protobuf::io::CodedOutputStream* output) const;
6972 : void DiscardUnknownFields();
6973 0 : int GetCachedSize() const { return _cached_size_; }
6974 : private:
6975 : void SharedCtor();
6976 : void SharedDtor();
6977 : void SetCachedSize(int size) const;
6978 : public:
6979 : ::std::string GetTypeName() const;
6980 :
6981 : // nested types ----------------------------------------------------
6982 :
6983 : typedef ClientIncidentReport_ExtensionData_ExtensionInfo ExtensionInfo;
6984 :
6985 : // accessors -------------------------------------------------------
6986 :
6987 : // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo last_installed_extension = 1;
6988 : inline bool has_last_installed_extension() const;
6989 : inline void clear_last_installed_extension();
6990 : static const int kLastInstalledExtensionFieldNumber = 1;
6991 : inline const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& last_installed_extension() const;
6992 : inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* mutable_last_installed_extension();
6993 : inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* release_last_installed_extension();
6994 : inline void set_allocated_last_installed_extension(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension);
6995 :
6996 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData)
6997 : private:
6998 : inline void set_has_last_installed_extension();
6999 : inline void clear_has_last_installed_extension();
7000 :
7001 : ::std::string _unknown_fields_;
7002 :
7003 : ::google::protobuf::uint32 _has_bits_[1];
7004 : mutable int _cached_size_;
7005 : ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension_;
7006 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7007 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7008 : #else
7009 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7010 : #endif
7011 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7012 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7013 :
7014 : void InitAsDefaultInstance();
7015 : static ClientIncidentReport_ExtensionData* default_instance_;
7016 : };
7017 : // -------------------------------------------------------------------
7018 :
7019 : class ClientIncidentReport_NonBinaryDownloadDetails : public ::google::protobuf::MessageLite {
7020 : public:
7021 : ClientIncidentReport_NonBinaryDownloadDetails();
7022 : virtual ~ClientIncidentReport_NonBinaryDownloadDetails();
7023 :
7024 : ClientIncidentReport_NonBinaryDownloadDetails(const ClientIncidentReport_NonBinaryDownloadDetails& from);
7025 :
7026 : inline ClientIncidentReport_NonBinaryDownloadDetails& operator=(const ClientIncidentReport_NonBinaryDownloadDetails& from) {
7027 : CopyFrom(from);
7028 : return *this;
7029 : }
7030 :
7031 0 : inline const ::std::string& unknown_fields() const {
7032 0 : return _unknown_fields_;
7033 : }
7034 :
7035 0 : inline ::std::string* mutable_unknown_fields() {
7036 0 : return &_unknown_fields_;
7037 : }
7038 :
7039 : static const ClientIncidentReport_NonBinaryDownloadDetails& default_instance();
7040 :
7041 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7042 : // Returns the internal default instance pointer. This function can
7043 : // return NULL thus should not be used by the user. This is intended
7044 : // for Protobuf internal code. Please use default_instance() declared
7045 : // above instead.
7046 0 : static inline const ClientIncidentReport_NonBinaryDownloadDetails* internal_default_instance() {
7047 0 : return default_instance_;
7048 : }
7049 : #endif
7050 :
7051 : void Swap(ClientIncidentReport_NonBinaryDownloadDetails* other);
7052 :
7053 : // implements Message ----------------------------------------------
7054 :
7055 : ClientIncidentReport_NonBinaryDownloadDetails* New() const;
7056 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7057 : void CopyFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from);
7058 : void MergeFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from);
7059 : void Clear();
7060 : bool IsInitialized() const;
7061 :
7062 : int ByteSize() const;
7063 : bool MergePartialFromCodedStream(
7064 : ::google::protobuf::io::CodedInputStream* input);
7065 : void SerializeWithCachedSizes(
7066 : ::google::protobuf::io::CodedOutputStream* output) const;
7067 : void DiscardUnknownFields();
7068 0 : int GetCachedSize() const { return _cached_size_; }
7069 : private:
7070 : void SharedCtor();
7071 : void SharedDtor();
7072 : void SetCachedSize(int size) const;
7073 : public:
7074 : ::std::string GetTypeName() const;
7075 :
7076 : // nested types ----------------------------------------------------
7077 :
7078 : // accessors -------------------------------------------------------
7079 :
7080 : // optional string file_type = 1;
7081 : inline bool has_file_type() const;
7082 : inline void clear_file_type();
7083 : static const int kFileTypeFieldNumber = 1;
7084 : inline const ::std::string& file_type() const;
7085 : inline void set_file_type(const ::std::string& value);
7086 : inline void set_file_type(const char* value);
7087 : inline void set_file_type(const char* value, size_t size);
7088 : inline ::std::string* mutable_file_type();
7089 : inline ::std::string* release_file_type();
7090 : inline void set_allocated_file_type(::std::string* file_type);
7091 :
7092 : // optional bytes url_spec_sha256 = 2;
7093 : inline bool has_url_spec_sha256() const;
7094 : inline void clear_url_spec_sha256();
7095 : static const int kUrlSpecSha256FieldNumber = 2;
7096 : inline const ::std::string& url_spec_sha256() const;
7097 : inline void set_url_spec_sha256(const ::std::string& value);
7098 : inline void set_url_spec_sha256(const char* value);
7099 : inline void set_url_spec_sha256(const void* value, size_t size);
7100 : inline ::std::string* mutable_url_spec_sha256();
7101 : inline ::std::string* release_url_spec_sha256();
7102 : inline void set_allocated_url_spec_sha256(::std::string* url_spec_sha256);
7103 :
7104 : // optional string host = 3;
7105 : inline bool has_host() const;
7106 : inline void clear_host();
7107 : static const int kHostFieldNumber = 3;
7108 : inline const ::std::string& host() const;
7109 : inline void set_host(const ::std::string& value);
7110 : inline void set_host(const char* value);
7111 : inline void set_host(const char* value, size_t size);
7112 : inline ::std::string* mutable_host();
7113 : inline ::std::string* release_host();
7114 : inline void set_allocated_host(::std::string* host);
7115 :
7116 : // optional int64 length = 4;
7117 : inline bool has_length() const;
7118 : inline void clear_length();
7119 : static const int kLengthFieldNumber = 4;
7120 : inline ::google::protobuf::int64 length() const;
7121 : inline void set_length(::google::protobuf::int64 value);
7122 :
7123 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails)
7124 : private:
7125 : inline void set_has_file_type();
7126 : inline void clear_has_file_type();
7127 : inline void set_has_url_spec_sha256();
7128 : inline void clear_has_url_spec_sha256();
7129 : inline void set_has_host();
7130 : inline void clear_has_host();
7131 : inline void set_has_length();
7132 : inline void clear_has_length();
7133 :
7134 : ::std::string _unknown_fields_;
7135 :
7136 : ::google::protobuf::uint32 _has_bits_[1];
7137 : mutable int _cached_size_;
7138 : ::std::string* file_type_;
7139 : ::std::string* url_spec_sha256_;
7140 : ::std::string* host_;
7141 : ::google::protobuf::int64 length_;
7142 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7143 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7144 : #else
7145 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7146 : #endif
7147 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7148 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7149 :
7150 : void InitAsDefaultInstance();
7151 : static ClientIncidentReport_NonBinaryDownloadDetails* default_instance_;
7152 : };
7153 : // -------------------------------------------------------------------
7154 :
7155 : class ClientIncidentReport : public ::google::protobuf::MessageLite {
7156 : public:
7157 : ClientIncidentReport();
7158 : virtual ~ClientIncidentReport();
7159 :
7160 : ClientIncidentReport(const ClientIncidentReport& from);
7161 :
7162 : inline ClientIncidentReport& operator=(const ClientIncidentReport& from) {
7163 : CopyFrom(from);
7164 : return *this;
7165 : }
7166 :
7167 0 : inline const ::std::string& unknown_fields() const {
7168 0 : return _unknown_fields_;
7169 : }
7170 :
7171 0 : inline ::std::string* mutable_unknown_fields() {
7172 0 : return &_unknown_fields_;
7173 : }
7174 :
7175 : static const ClientIncidentReport& default_instance();
7176 :
7177 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7178 : // Returns the internal default instance pointer. This function can
7179 : // return NULL thus should not be used by the user. This is intended
7180 : // for Protobuf internal code. Please use default_instance() declared
7181 : // above instead.
7182 : static inline const ClientIncidentReport* internal_default_instance() {
7183 : return default_instance_;
7184 : }
7185 : #endif
7186 :
7187 : void Swap(ClientIncidentReport* other);
7188 :
7189 : // implements Message ----------------------------------------------
7190 :
7191 : ClientIncidentReport* New() const;
7192 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7193 : void CopyFrom(const ClientIncidentReport& from);
7194 : void MergeFrom(const ClientIncidentReport& from);
7195 : void Clear();
7196 : bool IsInitialized() const;
7197 :
7198 : int ByteSize() const;
7199 : bool MergePartialFromCodedStream(
7200 : ::google::protobuf::io::CodedInputStream* input);
7201 : void SerializeWithCachedSizes(
7202 : ::google::protobuf::io::CodedOutputStream* output) const;
7203 : void DiscardUnknownFields();
7204 0 : int GetCachedSize() const { return _cached_size_; }
7205 : private:
7206 : void SharedCtor();
7207 : void SharedDtor();
7208 : void SetCachedSize(int size) const;
7209 : public:
7210 : ::std::string GetTypeName() const;
7211 :
7212 : // nested types ----------------------------------------------------
7213 :
7214 : typedef ClientIncidentReport_IncidentData IncidentData;
7215 : typedef ClientIncidentReport_DownloadDetails DownloadDetails;
7216 : typedef ClientIncidentReport_EnvironmentData EnvironmentData;
7217 : typedef ClientIncidentReport_ExtensionData ExtensionData;
7218 : typedef ClientIncidentReport_NonBinaryDownloadDetails NonBinaryDownloadDetails;
7219 :
7220 : // accessors -------------------------------------------------------
7221 :
7222 : // repeated .safe_browsing.ClientIncidentReport.IncidentData incident = 1;
7223 : inline int incident_size() const;
7224 : inline void clear_incident();
7225 : static const int kIncidentFieldNumber = 1;
7226 : inline const ::safe_browsing::ClientIncidentReport_IncidentData& incident(int index) const;
7227 : inline ::safe_browsing::ClientIncidentReport_IncidentData* mutable_incident(int index);
7228 : inline ::safe_browsing::ClientIncidentReport_IncidentData* add_incident();
7229 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >&
7230 : incident() const;
7231 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >*
7232 : mutable_incident();
7233 :
7234 : // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2;
7235 : inline bool has_download() const;
7236 : inline void clear_download();
7237 : static const int kDownloadFieldNumber = 2;
7238 : inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const;
7239 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download();
7240 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download();
7241 : inline void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download);
7242 :
7243 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData environment = 3;
7244 : inline bool has_environment() const;
7245 : inline void clear_environment();
7246 : static const int kEnvironmentFieldNumber = 3;
7247 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData& environment() const;
7248 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData* mutable_environment();
7249 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData* release_environment();
7250 : inline void set_allocated_environment(::safe_browsing::ClientIncidentReport_EnvironmentData* environment);
7251 :
7252 : // optional .safe_browsing.ChromeUserPopulation population = 7;
7253 : inline bool has_population() const;
7254 : inline void clear_population();
7255 : static const int kPopulationFieldNumber = 7;
7256 : inline const ::safe_browsing::ChromeUserPopulation& population() const;
7257 : inline ::safe_browsing::ChromeUserPopulation* mutable_population();
7258 : inline ::safe_browsing::ChromeUserPopulation* release_population();
7259 : inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
7260 :
7261 : // optional .safe_browsing.ClientIncidentReport.ExtensionData extension_data = 8;
7262 : inline bool has_extension_data() const;
7263 : inline void clear_extension_data();
7264 : static const int kExtensionDataFieldNumber = 8;
7265 : inline const ::safe_browsing::ClientIncidentReport_ExtensionData& extension_data() const;
7266 : inline ::safe_browsing::ClientIncidentReport_ExtensionData* mutable_extension_data();
7267 : inline ::safe_browsing::ClientIncidentReport_ExtensionData* release_extension_data();
7268 : inline void set_allocated_extension_data(::safe_browsing::ClientIncidentReport_ExtensionData* extension_data);
7269 :
7270 : // optional .safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails non_binary_download = 9;
7271 : inline bool has_non_binary_download() const;
7272 : inline void clear_non_binary_download();
7273 : static const int kNonBinaryDownloadFieldNumber = 9;
7274 : inline const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& non_binary_download() const;
7275 : inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* mutable_non_binary_download();
7276 : inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* release_non_binary_download();
7277 : inline void set_allocated_non_binary_download(::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download);
7278 :
7279 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport)
7280 : private:
7281 : inline void set_has_download();
7282 : inline void clear_has_download();
7283 : inline void set_has_environment();
7284 : inline void clear_has_environment();
7285 : inline void set_has_population();
7286 : inline void clear_has_population();
7287 : inline void set_has_extension_data();
7288 : inline void clear_has_extension_data();
7289 : inline void set_has_non_binary_download();
7290 : inline void clear_has_non_binary_download();
7291 :
7292 : ::std::string _unknown_fields_;
7293 :
7294 : ::google::protobuf::uint32 _has_bits_[1];
7295 : mutable int _cached_size_;
7296 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData > incident_;
7297 : ::safe_browsing::ClientIncidentReport_DownloadDetails* download_;
7298 : ::safe_browsing::ClientIncidentReport_EnvironmentData* environment_;
7299 : ::safe_browsing::ChromeUserPopulation* population_;
7300 : ::safe_browsing::ClientIncidentReport_ExtensionData* extension_data_;
7301 : ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download_;
7302 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7303 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7304 : #else
7305 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7306 : #endif
7307 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7308 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7309 :
7310 : void InitAsDefaultInstance();
7311 : static ClientIncidentReport* default_instance_;
7312 : };
7313 : // -------------------------------------------------------------------
7314 :
7315 : class ClientIncidentResponse_EnvironmentRequest : public ::google::protobuf::MessageLite {
7316 : public:
7317 : ClientIncidentResponse_EnvironmentRequest();
7318 : virtual ~ClientIncidentResponse_EnvironmentRequest();
7319 :
7320 : ClientIncidentResponse_EnvironmentRequest(const ClientIncidentResponse_EnvironmentRequest& from);
7321 :
7322 : inline ClientIncidentResponse_EnvironmentRequest& operator=(const ClientIncidentResponse_EnvironmentRequest& from) {
7323 : CopyFrom(from);
7324 : return *this;
7325 : }
7326 :
7327 0 : inline const ::std::string& unknown_fields() const {
7328 0 : return _unknown_fields_;
7329 : }
7330 :
7331 0 : inline ::std::string* mutable_unknown_fields() {
7332 0 : return &_unknown_fields_;
7333 : }
7334 :
7335 : static const ClientIncidentResponse_EnvironmentRequest& default_instance();
7336 :
7337 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7338 : // Returns the internal default instance pointer. This function can
7339 : // return NULL thus should not be used by the user. This is intended
7340 : // for Protobuf internal code. Please use default_instance() declared
7341 : // above instead.
7342 : static inline const ClientIncidentResponse_EnvironmentRequest* internal_default_instance() {
7343 : return default_instance_;
7344 : }
7345 : #endif
7346 :
7347 : void Swap(ClientIncidentResponse_EnvironmentRequest* other);
7348 :
7349 : // implements Message ----------------------------------------------
7350 :
7351 : ClientIncidentResponse_EnvironmentRequest* New() const;
7352 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7353 : void CopyFrom(const ClientIncidentResponse_EnvironmentRequest& from);
7354 : void MergeFrom(const ClientIncidentResponse_EnvironmentRequest& from);
7355 : void Clear();
7356 : bool IsInitialized() const;
7357 :
7358 : int ByteSize() const;
7359 : bool MergePartialFromCodedStream(
7360 : ::google::protobuf::io::CodedInputStream* input);
7361 : void SerializeWithCachedSizes(
7362 : ::google::protobuf::io::CodedOutputStream* output) const;
7363 : void DiscardUnknownFields();
7364 0 : int GetCachedSize() const { return _cached_size_; }
7365 : private:
7366 : void SharedCtor();
7367 : void SharedDtor();
7368 : void SetCachedSize(int size) const;
7369 : public:
7370 : ::std::string GetTypeName() const;
7371 :
7372 : // nested types ----------------------------------------------------
7373 :
7374 : // accessors -------------------------------------------------------
7375 :
7376 : // optional int32 dll_index = 1;
7377 : inline bool has_dll_index() const;
7378 : inline void clear_dll_index();
7379 : static const int kDllIndexFieldNumber = 1;
7380 : inline ::google::protobuf::int32 dll_index() const;
7381 : inline void set_dll_index(::google::protobuf::int32 value);
7382 :
7383 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse.EnvironmentRequest)
7384 : private:
7385 : inline void set_has_dll_index();
7386 : inline void clear_has_dll_index();
7387 :
7388 : ::std::string _unknown_fields_;
7389 :
7390 : ::google::protobuf::uint32 _has_bits_[1];
7391 : mutable int _cached_size_;
7392 : ::google::protobuf::int32 dll_index_;
7393 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7394 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7395 : #else
7396 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7397 : #endif
7398 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7399 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7400 :
7401 : void InitAsDefaultInstance();
7402 : static ClientIncidentResponse_EnvironmentRequest* default_instance_;
7403 : };
7404 : // -------------------------------------------------------------------
7405 :
7406 : class ClientIncidentResponse : public ::google::protobuf::MessageLite {
7407 : public:
7408 : ClientIncidentResponse();
7409 : virtual ~ClientIncidentResponse();
7410 :
7411 : ClientIncidentResponse(const ClientIncidentResponse& from);
7412 :
7413 : inline ClientIncidentResponse& operator=(const ClientIncidentResponse& from) {
7414 : CopyFrom(from);
7415 : return *this;
7416 : }
7417 :
7418 0 : inline const ::std::string& unknown_fields() const {
7419 0 : return _unknown_fields_;
7420 : }
7421 :
7422 0 : inline ::std::string* mutable_unknown_fields() {
7423 0 : return &_unknown_fields_;
7424 : }
7425 :
7426 : static const ClientIncidentResponse& default_instance();
7427 :
7428 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7429 : // Returns the internal default instance pointer. This function can
7430 : // return NULL thus should not be used by the user. This is intended
7431 : // for Protobuf internal code. Please use default_instance() declared
7432 : // above instead.
7433 : static inline const ClientIncidentResponse* internal_default_instance() {
7434 : return default_instance_;
7435 : }
7436 : #endif
7437 :
7438 : void Swap(ClientIncidentResponse* other);
7439 :
7440 : // implements Message ----------------------------------------------
7441 :
7442 : ClientIncidentResponse* New() const;
7443 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7444 : void CopyFrom(const ClientIncidentResponse& from);
7445 : void MergeFrom(const ClientIncidentResponse& from);
7446 : void Clear();
7447 : bool IsInitialized() const;
7448 :
7449 : int ByteSize() const;
7450 : bool MergePartialFromCodedStream(
7451 : ::google::protobuf::io::CodedInputStream* input);
7452 : void SerializeWithCachedSizes(
7453 : ::google::protobuf::io::CodedOutputStream* output) const;
7454 : void DiscardUnknownFields();
7455 0 : int GetCachedSize() const { return _cached_size_; }
7456 : private:
7457 : void SharedCtor();
7458 : void SharedDtor();
7459 : void SetCachedSize(int size) const;
7460 : public:
7461 : ::std::string GetTypeName() const;
7462 :
7463 : // nested types ----------------------------------------------------
7464 :
7465 : typedef ClientIncidentResponse_EnvironmentRequest EnvironmentRequest;
7466 :
7467 : // accessors -------------------------------------------------------
7468 :
7469 : // optional bytes token = 1;
7470 : inline bool has_token() const;
7471 : inline void clear_token();
7472 : static const int kTokenFieldNumber = 1;
7473 : inline const ::std::string& token() const;
7474 : inline void set_token(const ::std::string& value);
7475 : inline void set_token(const char* value);
7476 : inline void set_token(const void* value, size_t size);
7477 : inline ::std::string* mutable_token();
7478 : inline ::std::string* release_token();
7479 : inline void set_allocated_token(::std::string* token);
7480 :
7481 : // optional bool download_requested = 2;
7482 : inline bool has_download_requested() const;
7483 : inline void clear_download_requested();
7484 : static const int kDownloadRequestedFieldNumber = 2;
7485 : inline bool download_requested() const;
7486 : inline void set_download_requested(bool value);
7487 :
7488 : // repeated .safe_browsing.ClientIncidentResponse.EnvironmentRequest environment_requests = 3;
7489 : inline int environment_requests_size() const;
7490 : inline void clear_environment_requests();
7491 : static const int kEnvironmentRequestsFieldNumber = 3;
7492 : inline const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& environment_requests(int index) const;
7493 : inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* mutable_environment_requests(int index);
7494 : inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* add_environment_requests();
7495 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >&
7496 : environment_requests() const;
7497 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >*
7498 : mutable_environment_requests();
7499 :
7500 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse)
7501 : private:
7502 : inline void set_has_token();
7503 : inline void clear_has_token();
7504 : inline void set_has_download_requested();
7505 : inline void clear_has_download_requested();
7506 :
7507 : ::std::string _unknown_fields_;
7508 :
7509 : ::google::protobuf::uint32 _has_bits_[1];
7510 : mutable int _cached_size_;
7511 : ::std::string* token_;
7512 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest > environment_requests_;
7513 : bool download_requested_;
7514 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7515 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7516 : #else
7517 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7518 : #endif
7519 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7520 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7521 :
7522 : void InitAsDefaultInstance();
7523 : static ClientIncidentResponse* default_instance_;
7524 : };
7525 : // -------------------------------------------------------------------
7526 :
7527 : class DownloadMetadata : public ::google::protobuf::MessageLite {
7528 : public:
7529 : DownloadMetadata();
7530 : virtual ~DownloadMetadata();
7531 :
7532 : DownloadMetadata(const DownloadMetadata& from);
7533 :
7534 : inline DownloadMetadata& operator=(const DownloadMetadata& from) {
7535 : CopyFrom(from);
7536 : return *this;
7537 : }
7538 :
7539 0 : inline const ::std::string& unknown_fields() const {
7540 0 : return _unknown_fields_;
7541 : }
7542 :
7543 0 : inline ::std::string* mutable_unknown_fields() {
7544 0 : return &_unknown_fields_;
7545 : }
7546 :
7547 : static const DownloadMetadata& default_instance();
7548 :
7549 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7550 : // Returns the internal default instance pointer. This function can
7551 : // return NULL thus should not be used by the user. This is intended
7552 : // for Protobuf internal code. Please use default_instance() declared
7553 : // above instead.
7554 : static inline const DownloadMetadata* internal_default_instance() {
7555 : return default_instance_;
7556 : }
7557 : #endif
7558 :
7559 : void Swap(DownloadMetadata* other);
7560 :
7561 : // implements Message ----------------------------------------------
7562 :
7563 : DownloadMetadata* New() const;
7564 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7565 : void CopyFrom(const DownloadMetadata& from);
7566 : void MergeFrom(const DownloadMetadata& from);
7567 : void Clear();
7568 : bool IsInitialized() const;
7569 :
7570 : int ByteSize() const;
7571 : bool MergePartialFromCodedStream(
7572 : ::google::protobuf::io::CodedInputStream* input);
7573 : void SerializeWithCachedSizes(
7574 : ::google::protobuf::io::CodedOutputStream* output) const;
7575 : void DiscardUnknownFields();
7576 0 : int GetCachedSize() const { return _cached_size_; }
7577 : private:
7578 : void SharedCtor();
7579 : void SharedDtor();
7580 : void SetCachedSize(int size) const;
7581 : public:
7582 : ::std::string GetTypeName() const;
7583 :
7584 : // nested types ----------------------------------------------------
7585 :
7586 : // accessors -------------------------------------------------------
7587 :
7588 : // optional uint32 download_id = 1;
7589 : inline bool has_download_id() const;
7590 : inline void clear_download_id();
7591 : static const int kDownloadIdFieldNumber = 1;
7592 : inline ::google::protobuf::uint32 download_id() const;
7593 : inline void set_download_id(::google::protobuf::uint32 value);
7594 :
7595 : // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2;
7596 : inline bool has_download() const;
7597 : inline void clear_download();
7598 : static const int kDownloadFieldNumber = 2;
7599 : inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const;
7600 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download();
7601 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download();
7602 : inline void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download);
7603 :
7604 : // @@protoc_insertion_point(class_scope:safe_browsing.DownloadMetadata)
7605 : private:
7606 : inline void set_has_download_id();
7607 : inline void clear_has_download_id();
7608 : inline void set_has_download();
7609 : inline void clear_has_download();
7610 :
7611 : ::std::string _unknown_fields_;
7612 :
7613 : ::google::protobuf::uint32 _has_bits_[1];
7614 : mutable int _cached_size_;
7615 : ::safe_browsing::ClientIncidentReport_DownloadDetails* download_;
7616 : ::google::protobuf::uint32 download_id_;
7617 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7618 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7619 : #else
7620 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7621 : #endif
7622 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7623 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7624 :
7625 : void InitAsDefaultInstance();
7626 : static DownloadMetadata* default_instance_;
7627 : };
7628 : // -------------------------------------------------------------------
7629 :
7630 : class ClientSafeBrowsingReportRequest_HTTPHeader : public ::google::protobuf::MessageLite {
7631 : public:
7632 : ClientSafeBrowsingReportRequest_HTTPHeader();
7633 : virtual ~ClientSafeBrowsingReportRequest_HTTPHeader();
7634 :
7635 : ClientSafeBrowsingReportRequest_HTTPHeader(const ClientSafeBrowsingReportRequest_HTTPHeader& from);
7636 :
7637 : inline ClientSafeBrowsingReportRequest_HTTPHeader& operator=(const ClientSafeBrowsingReportRequest_HTTPHeader& from) {
7638 : CopyFrom(from);
7639 : return *this;
7640 : }
7641 :
7642 0 : inline const ::std::string& unknown_fields() const {
7643 0 : return _unknown_fields_;
7644 : }
7645 :
7646 0 : inline ::std::string* mutable_unknown_fields() {
7647 0 : return &_unknown_fields_;
7648 : }
7649 :
7650 : static const ClientSafeBrowsingReportRequest_HTTPHeader& default_instance();
7651 :
7652 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7653 : // Returns the internal default instance pointer. This function can
7654 : // return NULL thus should not be used by the user. This is intended
7655 : // for Protobuf internal code. Please use default_instance() declared
7656 : // above instead.
7657 : static inline const ClientSafeBrowsingReportRequest_HTTPHeader* internal_default_instance() {
7658 : return default_instance_;
7659 : }
7660 : #endif
7661 :
7662 : void Swap(ClientSafeBrowsingReportRequest_HTTPHeader* other);
7663 :
7664 : // implements Message ----------------------------------------------
7665 :
7666 : ClientSafeBrowsingReportRequest_HTTPHeader* New() const;
7667 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7668 : void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from);
7669 : void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from);
7670 : void Clear();
7671 : bool IsInitialized() const;
7672 :
7673 : int ByteSize() const;
7674 : bool MergePartialFromCodedStream(
7675 : ::google::protobuf::io::CodedInputStream* input);
7676 : void SerializeWithCachedSizes(
7677 : ::google::protobuf::io::CodedOutputStream* output) const;
7678 : void DiscardUnknownFields();
7679 0 : int GetCachedSize() const { return _cached_size_; }
7680 : private:
7681 : void SharedCtor();
7682 : void SharedDtor();
7683 : void SetCachedSize(int size) const;
7684 : public:
7685 : ::std::string GetTypeName() const;
7686 :
7687 : // nested types ----------------------------------------------------
7688 :
7689 : // accessors -------------------------------------------------------
7690 :
7691 : // required bytes name = 1;
7692 : inline bool has_name() const;
7693 : inline void clear_name();
7694 : static const int kNameFieldNumber = 1;
7695 : inline const ::std::string& name() const;
7696 : inline void set_name(const ::std::string& value);
7697 : inline void set_name(const char* value);
7698 : inline void set_name(const void* value, size_t size);
7699 : inline ::std::string* mutable_name();
7700 : inline ::std::string* release_name();
7701 : inline void set_allocated_name(::std::string* name);
7702 :
7703 : // optional bytes value = 2;
7704 : inline bool has_value() const;
7705 : inline void clear_value();
7706 : static const int kValueFieldNumber = 2;
7707 : inline const ::std::string& value() const;
7708 : inline void set_value(const ::std::string& value);
7709 : inline void set_value(const char* value);
7710 : inline void set_value(const void* value, size_t size);
7711 : inline ::std::string* mutable_value();
7712 : inline ::std::string* release_value();
7713 : inline void set_allocated_value(::std::string* value);
7714 :
7715 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader)
7716 : private:
7717 : inline void set_has_name();
7718 : inline void clear_has_name();
7719 : inline void set_has_value();
7720 : inline void clear_has_value();
7721 :
7722 : ::std::string _unknown_fields_;
7723 :
7724 : ::google::protobuf::uint32 _has_bits_[1];
7725 : mutable int _cached_size_;
7726 : ::std::string* name_;
7727 : ::std::string* value_;
7728 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7729 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7730 : #else
7731 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7732 : #endif
7733 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7734 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7735 :
7736 : void InitAsDefaultInstance();
7737 : static ClientSafeBrowsingReportRequest_HTTPHeader* default_instance_;
7738 : };
7739 : // -------------------------------------------------------------------
7740 :
7741 : class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine : public ::google::protobuf::MessageLite {
7742 : public:
7743 : ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine();
7744 : virtual ~ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine();
7745 :
7746 : ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from);
7747 :
7748 : inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from) {
7749 : CopyFrom(from);
7750 : return *this;
7751 : }
7752 :
7753 0 : inline const ::std::string& unknown_fields() const {
7754 0 : return _unknown_fields_;
7755 : }
7756 :
7757 0 : inline ::std::string* mutable_unknown_fields() {
7758 0 : return &_unknown_fields_;
7759 : }
7760 :
7761 : static const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& default_instance();
7762 :
7763 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7764 : // Returns the internal default instance pointer. This function can
7765 : // return NULL thus should not be used by the user. This is intended
7766 : // for Protobuf internal code. Please use default_instance() declared
7767 : // above instead.
7768 0 : static inline const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* internal_default_instance() {
7769 0 : return default_instance_;
7770 : }
7771 : #endif
7772 :
7773 : void Swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* other);
7774 :
7775 : // implements Message ----------------------------------------------
7776 :
7777 : ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* New() const;
7778 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7779 : void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from);
7780 : void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from);
7781 : void Clear();
7782 : bool IsInitialized() const;
7783 :
7784 : int ByteSize() const;
7785 : bool MergePartialFromCodedStream(
7786 : ::google::protobuf::io::CodedInputStream* input);
7787 : void SerializeWithCachedSizes(
7788 : ::google::protobuf::io::CodedOutputStream* output) const;
7789 : void DiscardUnknownFields();
7790 0 : int GetCachedSize() const { return _cached_size_; }
7791 : private:
7792 : void SharedCtor();
7793 : void SharedDtor();
7794 : void SetCachedSize(int size) const;
7795 : public:
7796 : ::std::string GetTypeName() const;
7797 :
7798 : // nested types ----------------------------------------------------
7799 :
7800 : // accessors -------------------------------------------------------
7801 :
7802 : // optional bytes verb = 1;
7803 : inline bool has_verb() const;
7804 : inline void clear_verb();
7805 : static const int kVerbFieldNumber = 1;
7806 : inline const ::std::string& verb() const;
7807 : inline void set_verb(const ::std::string& value);
7808 : inline void set_verb(const char* value);
7809 : inline void set_verb(const void* value, size_t size);
7810 : inline ::std::string* mutable_verb();
7811 : inline ::std::string* release_verb();
7812 : inline void set_allocated_verb(::std::string* verb);
7813 :
7814 : // optional bytes uri = 2;
7815 : inline bool has_uri() const;
7816 : inline void clear_uri();
7817 : static const int kUriFieldNumber = 2;
7818 : inline const ::std::string& uri() const;
7819 : inline void set_uri(const ::std::string& value);
7820 : inline void set_uri(const char* value);
7821 : inline void set_uri(const void* value, size_t size);
7822 : inline ::std::string* mutable_uri();
7823 : inline ::std::string* release_uri();
7824 : inline void set_allocated_uri(::std::string* uri);
7825 :
7826 : // optional bytes version = 3;
7827 : inline bool has_version() const;
7828 : inline void clear_version();
7829 : static const int kVersionFieldNumber = 3;
7830 : inline const ::std::string& version() const;
7831 : inline void set_version(const ::std::string& value);
7832 : inline void set_version(const char* value);
7833 : inline void set_version(const void* value, size_t size);
7834 : inline ::std::string* mutable_version();
7835 : inline ::std::string* release_version();
7836 : inline void set_allocated_version(::std::string* version);
7837 :
7838 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine)
7839 : private:
7840 : inline void set_has_verb();
7841 : inline void clear_has_verb();
7842 : inline void set_has_uri();
7843 : inline void clear_has_uri();
7844 : inline void set_has_version();
7845 : inline void clear_has_version();
7846 :
7847 : ::std::string _unknown_fields_;
7848 :
7849 : ::google::protobuf::uint32 _has_bits_[1];
7850 : mutable int _cached_size_;
7851 : ::std::string* verb_;
7852 : ::std::string* uri_;
7853 : ::std::string* version_;
7854 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7855 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
7856 : #else
7857 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7858 : #endif
7859 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7860 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
7861 :
7862 : void InitAsDefaultInstance();
7863 : static ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* default_instance_;
7864 : };
7865 : // -------------------------------------------------------------------
7866 :
7867 : class ClientSafeBrowsingReportRequest_HTTPRequest : public ::google::protobuf::MessageLite {
7868 : public:
7869 : ClientSafeBrowsingReportRequest_HTTPRequest();
7870 : virtual ~ClientSafeBrowsingReportRequest_HTTPRequest();
7871 :
7872 : ClientSafeBrowsingReportRequest_HTTPRequest(const ClientSafeBrowsingReportRequest_HTTPRequest& from);
7873 :
7874 : inline ClientSafeBrowsingReportRequest_HTTPRequest& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest& from) {
7875 : CopyFrom(from);
7876 : return *this;
7877 : }
7878 :
7879 0 : inline const ::std::string& unknown_fields() const {
7880 0 : return _unknown_fields_;
7881 : }
7882 :
7883 0 : inline ::std::string* mutable_unknown_fields() {
7884 0 : return &_unknown_fields_;
7885 : }
7886 :
7887 : static const ClientSafeBrowsingReportRequest_HTTPRequest& default_instance();
7888 :
7889 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7890 : // Returns the internal default instance pointer. This function can
7891 : // return NULL thus should not be used by the user. This is intended
7892 : // for Protobuf internal code. Please use default_instance() declared
7893 : // above instead.
7894 0 : static inline const ClientSafeBrowsingReportRequest_HTTPRequest* internal_default_instance() {
7895 0 : return default_instance_;
7896 : }
7897 : #endif
7898 :
7899 : void Swap(ClientSafeBrowsingReportRequest_HTTPRequest* other);
7900 :
7901 : // implements Message ----------------------------------------------
7902 :
7903 : ClientSafeBrowsingReportRequest_HTTPRequest* New() const;
7904 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
7905 : void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from);
7906 : void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from);
7907 : void Clear();
7908 : bool IsInitialized() const;
7909 :
7910 : int ByteSize() const;
7911 : bool MergePartialFromCodedStream(
7912 : ::google::protobuf::io::CodedInputStream* input);
7913 : void SerializeWithCachedSizes(
7914 : ::google::protobuf::io::CodedOutputStream* output) const;
7915 : void DiscardUnknownFields();
7916 0 : int GetCachedSize() const { return _cached_size_; }
7917 : private:
7918 : void SharedCtor();
7919 : void SharedDtor();
7920 : void SetCachedSize(int size) const;
7921 : public:
7922 : ::std::string GetTypeName() const;
7923 :
7924 : // nested types ----------------------------------------------------
7925 :
7926 : typedef ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine FirstLine;
7927 :
7928 : // accessors -------------------------------------------------------
7929 :
7930 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine firstline = 1;
7931 : inline bool has_firstline() const;
7932 : inline void clear_firstline();
7933 : static const int kFirstlineFieldNumber = 1;
7934 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& firstline() const;
7935 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* mutable_firstline();
7936 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* release_firstline();
7937 : inline void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline);
7938 :
7939 : // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2;
7940 : inline int headers_size() const;
7941 : inline void clear_headers();
7942 : static const int kHeadersFieldNumber = 2;
7943 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const;
7944 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index);
7945 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers();
7946 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >&
7947 : headers() const;
7948 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >*
7949 : mutable_headers();
7950 :
7951 : // optional bytes body = 3;
7952 : inline bool has_body() const;
7953 : inline void clear_body();
7954 : static const int kBodyFieldNumber = 3;
7955 : inline const ::std::string& body() const;
7956 : inline void set_body(const ::std::string& value);
7957 : inline void set_body(const char* value);
7958 : inline void set_body(const void* value, size_t size);
7959 : inline ::std::string* mutable_body();
7960 : inline ::std::string* release_body();
7961 : inline void set_allocated_body(::std::string* body);
7962 :
7963 : // optional bytes bodydigest = 4;
7964 : inline bool has_bodydigest() const;
7965 : inline void clear_bodydigest();
7966 : static const int kBodydigestFieldNumber = 4;
7967 : inline const ::std::string& bodydigest() const;
7968 : inline void set_bodydigest(const ::std::string& value);
7969 : inline void set_bodydigest(const char* value);
7970 : inline void set_bodydigest(const void* value, size_t size);
7971 : inline ::std::string* mutable_bodydigest();
7972 : inline ::std::string* release_bodydigest();
7973 : inline void set_allocated_bodydigest(::std::string* bodydigest);
7974 :
7975 : // optional int32 bodylength = 5;
7976 : inline bool has_bodylength() const;
7977 : inline void clear_bodylength();
7978 : static const int kBodylengthFieldNumber = 5;
7979 : inline ::google::protobuf::int32 bodylength() const;
7980 : inline void set_bodylength(::google::protobuf::int32 value);
7981 :
7982 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest)
7983 : private:
7984 : inline void set_has_firstline();
7985 : inline void clear_has_firstline();
7986 : inline void set_has_body();
7987 : inline void clear_has_body();
7988 : inline void set_has_bodydigest();
7989 : inline void clear_has_bodydigest();
7990 : inline void set_has_bodylength();
7991 : inline void clear_has_bodylength();
7992 :
7993 : ::std::string _unknown_fields_;
7994 :
7995 : ::google::protobuf::uint32 _has_bits_[1];
7996 : mutable int _cached_size_;
7997 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline_;
7998 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_;
7999 : ::std::string* body_;
8000 : ::std::string* bodydigest_;
8001 : ::google::protobuf::int32 bodylength_;
8002 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8003 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
8004 : #else
8005 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8006 : #endif
8007 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8008 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8009 :
8010 : void InitAsDefaultInstance();
8011 : static ClientSafeBrowsingReportRequest_HTTPRequest* default_instance_;
8012 : };
8013 : // -------------------------------------------------------------------
8014 :
8015 : class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine : public ::google::protobuf::MessageLite {
8016 : public:
8017 : ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine();
8018 : virtual ~ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine();
8019 :
8020 : ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from);
8021 :
8022 : inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from) {
8023 : CopyFrom(from);
8024 : return *this;
8025 : }
8026 :
8027 0 : inline const ::std::string& unknown_fields() const {
8028 0 : return _unknown_fields_;
8029 : }
8030 :
8031 0 : inline ::std::string* mutable_unknown_fields() {
8032 0 : return &_unknown_fields_;
8033 : }
8034 :
8035 : static const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& default_instance();
8036 :
8037 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8038 : // Returns the internal default instance pointer. This function can
8039 : // return NULL thus should not be used by the user. This is intended
8040 : // for Protobuf internal code. Please use default_instance() declared
8041 : // above instead.
8042 0 : static inline const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* internal_default_instance() {
8043 0 : return default_instance_;
8044 : }
8045 : #endif
8046 :
8047 : void Swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* other);
8048 :
8049 : // implements Message ----------------------------------------------
8050 :
8051 : ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* New() const;
8052 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
8053 : void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from);
8054 : void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from);
8055 : void Clear();
8056 : bool IsInitialized() const;
8057 :
8058 : int ByteSize() const;
8059 : bool MergePartialFromCodedStream(
8060 : ::google::protobuf::io::CodedInputStream* input);
8061 : void SerializeWithCachedSizes(
8062 : ::google::protobuf::io::CodedOutputStream* output) const;
8063 : void DiscardUnknownFields();
8064 0 : int GetCachedSize() const { return _cached_size_; }
8065 : private:
8066 : void SharedCtor();
8067 : void SharedDtor();
8068 : void SetCachedSize(int size) const;
8069 : public:
8070 : ::std::string GetTypeName() const;
8071 :
8072 : // nested types ----------------------------------------------------
8073 :
8074 : // accessors -------------------------------------------------------
8075 :
8076 : // optional int32 code = 1;
8077 : inline bool has_code() const;
8078 : inline void clear_code();
8079 : static const int kCodeFieldNumber = 1;
8080 : inline ::google::protobuf::int32 code() const;
8081 : inline void set_code(::google::protobuf::int32 value);
8082 :
8083 : // optional bytes reason = 2;
8084 : inline bool has_reason() const;
8085 : inline void clear_reason();
8086 : static const int kReasonFieldNumber = 2;
8087 : inline const ::std::string& reason() const;
8088 : inline void set_reason(const ::std::string& value);
8089 : inline void set_reason(const char* value);
8090 : inline void set_reason(const void* value, size_t size);
8091 : inline ::std::string* mutable_reason();
8092 : inline ::std::string* release_reason();
8093 : inline void set_allocated_reason(::std::string* reason);
8094 :
8095 : // optional bytes version = 3;
8096 : inline bool has_version() const;
8097 : inline void clear_version();
8098 : static const int kVersionFieldNumber = 3;
8099 : inline const ::std::string& version() const;
8100 : inline void set_version(const ::std::string& value);
8101 : inline void set_version(const char* value);
8102 : inline void set_version(const void* value, size_t size);
8103 : inline ::std::string* mutable_version();
8104 : inline ::std::string* release_version();
8105 : inline void set_allocated_version(::std::string* version);
8106 :
8107 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine)
8108 : private:
8109 : inline void set_has_code();
8110 : inline void clear_has_code();
8111 : inline void set_has_reason();
8112 : inline void clear_has_reason();
8113 : inline void set_has_version();
8114 : inline void clear_has_version();
8115 :
8116 : ::std::string _unknown_fields_;
8117 :
8118 : ::google::protobuf::uint32 _has_bits_[1];
8119 : mutable int _cached_size_;
8120 : ::std::string* reason_;
8121 : ::std::string* version_;
8122 : ::google::protobuf::int32 code_;
8123 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8124 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
8125 : #else
8126 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8127 : #endif
8128 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8129 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8130 :
8131 : void InitAsDefaultInstance();
8132 : static ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* default_instance_;
8133 : };
8134 : // -------------------------------------------------------------------
8135 :
8136 : class ClientSafeBrowsingReportRequest_HTTPResponse : public ::google::protobuf::MessageLite {
8137 : public:
8138 : ClientSafeBrowsingReportRequest_HTTPResponse();
8139 : virtual ~ClientSafeBrowsingReportRequest_HTTPResponse();
8140 :
8141 : ClientSafeBrowsingReportRequest_HTTPResponse(const ClientSafeBrowsingReportRequest_HTTPResponse& from);
8142 :
8143 : inline ClientSafeBrowsingReportRequest_HTTPResponse& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse& from) {
8144 : CopyFrom(from);
8145 : return *this;
8146 : }
8147 :
8148 0 : inline const ::std::string& unknown_fields() const {
8149 0 : return _unknown_fields_;
8150 : }
8151 :
8152 0 : inline ::std::string* mutable_unknown_fields() {
8153 0 : return &_unknown_fields_;
8154 : }
8155 :
8156 : static const ClientSafeBrowsingReportRequest_HTTPResponse& default_instance();
8157 :
8158 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8159 : // Returns the internal default instance pointer. This function can
8160 : // return NULL thus should not be used by the user. This is intended
8161 : // for Protobuf internal code. Please use default_instance() declared
8162 : // above instead.
8163 0 : static inline const ClientSafeBrowsingReportRequest_HTTPResponse* internal_default_instance() {
8164 0 : return default_instance_;
8165 : }
8166 : #endif
8167 :
8168 : void Swap(ClientSafeBrowsingReportRequest_HTTPResponse* other);
8169 :
8170 : // implements Message ----------------------------------------------
8171 :
8172 : ClientSafeBrowsingReportRequest_HTTPResponse* New() const;
8173 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
8174 : void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from);
8175 : void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from);
8176 : void Clear();
8177 : bool IsInitialized() const;
8178 :
8179 : int ByteSize() const;
8180 : bool MergePartialFromCodedStream(
8181 : ::google::protobuf::io::CodedInputStream* input);
8182 : void SerializeWithCachedSizes(
8183 : ::google::protobuf::io::CodedOutputStream* output) const;
8184 : void DiscardUnknownFields();
8185 0 : int GetCachedSize() const { return _cached_size_; }
8186 : private:
8187 : void SharedCtor();
8188 : void SharedDtor();
8189 : void SetCachedSize(int size) const;
8190 : public:
8191 : ::std::string GetTypeName() const;
8192 :
8193 : // nested types ----------------------------------------------------
8194 :
8195 : typedef ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine FirstLine;
8196 :
8197 : // accessors -------------------------------------------------------
8198 :
8199 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine firstline = 1;
8200 : inline bool has_firstline() const;
8201 : inline void clear_firstline();
8202 : static const int kFirstlineFieldNumber = 1;
8203 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& firstline() const;
8204 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* mutable_firstline();
8205 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* release_firstline();
8206 : inline void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline);
8207 :
8208 : // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2;
8209 : inline int headers_size() const;
8210 : inline void clear_headers();
8211 : static const int kHeadersFieldNumber = 2;
8212 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const;
8213 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index);
8214 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers();
8215 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >&
8216 : headers() const;
8217 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >*
8218 : mutable_headers();
8219 :
8220 : // optional bytes body = 3;
8221 : inline bool has_body() const;
8222 : inline void clear_body();
8223 : static const int kBodyFieldNumber = 3;
8224 : inline const ::std::string& body() const;
8225 : inline void set_body(const ::std::string& value);
8226 : inline void set_body(const char* value);
8227 : inline void set_body(const void* value, size_t size);
8228 : inline ::std::string* mutable_body();
8229 : inline ::std::string* release_body();
8230 : inline void set_allocated_body(::std::string* body);
8231 :
8232 : // optional bytes bodydigest = 4;
8233 : inline bool has_bodydigest() const;
8234 : inline void clear_bodydigest();
8235 : static const int kBodydigestFieldNumber = 4;
8236 : inline const ::std::string& bodydigest() const;
8237 : inline void set_bodydigest(const ::std::string& value);
8238 : inline void set_bodydigest(const char* value);
8239 : inline void set_bodydigest(const void* value, size_t size);
8240 : inline ::std::string* mutable_bodydigest();
8241 : inline ::std::string* release_bodydigest();
8242 : inline void set_allocated_bodydigest(::std::string* bodydigest);
8243 :
8244 : // optional int32 bodylength = 5;
8245 : inline bool has_bodylength() const;
8246 : inline void clear_bodylength();
8247 : static const int kBodylengthFieldNumber = 5;
8248 : inline ::google::protobuf::int32 bodylength() const;
8249 : inline void set_bodylength(::google::protobuf::int32 value);
8250 :
8251 : // optional bytes remote_ip = 6;
8252 : inline bool has_remote_ip() const;
8253 : inline void clear_remote_ip();
8254 : static const int kRemoteIpFieldNumber = 6;
8255 : inline const ::std::string& remote_ip() const;
8256 : inline void set_remote_ip(const ::std::string& value);
8257 : inline void set_remote_ip(const char* value);
8258 : inline void set_remote_ip(const void* value, size_t size);
8259 : inline ::std::string* mutable_remote_ip();
8260 : inline ::std::string* release_remote_ip();
8261 : inline void set_allocated_remote_ip(::std::string* remote_ip);
8262 :
8263 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse)
8264 : private:
8265 : inline void set_has_firstline();
8266 : inline void clear_has_firstline();
8267 : inline void set_has_body();
8268 : inline void clear_has_body();
8269 : inline void set_has_bodydigest();
8270 : inline void clear_has_bodydigest();
8271 : inline void set_has_bodylength();
8272 : inline void clear_has_bodylength();
8273 : inline void set_has_remote_ip();
8274 : inline void clear_has_remote_ip();
8275 :
8276 : ::std::string _unknown_fields_;
8277 :
8278 : ::google::protobuf::uint32 _has_bits_[1];
8279 : mutable int _cached_size_;
8280 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline_;
8281 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_;
8282 : ::std::string* body_;
8283 : ::std::string* bodydigest_;
8284 : ::std::string* remote_ip_;
8285 : ::google::protobuf::int32 bodylength_;
8286 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8287 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
8288 : #else
8289 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8290 : #endif
8291 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8292 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8293 :
8294 : void InitAsDefaultInstance();
8295 : static ClientSafeBrowsingReportRequest_HTTPResponse* default_instance_;
8296 : };
8297 : // -------------------------------------------------------------------
8298 :
8299 : class ClientSafeBrowsingReportRequest_Resource : public ::google::protobuf::MessageLite {
8300 : public:
8301 : ClientSafeBrowsingReportRequest_Resource();
8302 : virtual ~ClientSafeBrowsingReportRequest_Resource();
8303 :
8304 : ClientSafeBrowsingReportRequest_Resource(const ClientSafeBrowsingReportRequest_Resource& from);
8305 :
8306 : inline ClientSafeBrowsingReportRequest_Resource& operator=(const ClientSafeBrowsingReportRequest_Resource& from) {
8307 : CopyFrom(from);
8308 : return *this;
8309 : }
8310 :
8311 0 : inline const ::std::string& unknown_fields() const {
8312 0 : return _unknown_fields_;
8313 : }
8314 :
8315 0 : inline ::std::string* mutable_unknown_fields() {
8316 0 : return &_unknown_fields_;
8317 : }
8318 :
8319 : static const ClientSafeBrowsingReportRequest_Resource& default_instance();
8320 :
8321 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8322 : // Returns the internal default instance pointer. This function can
8323 : // return NULL thus should not be used by the user. This is intended
8324 : // for Protobuf internal code. Please use default_instance() declared
8325 : // above instead.
8326 : static inline const ClientSafeBrowsingReportRequest_Resource* internal_default_instance() {
8327 : return default_instance_;
8328 : }
8329 : #endif
8330 :
8331 : void Swap(ClientSafeBrowsingReportRequest_Resource* other);
8332 :
8333 : // implements Message ----------------------------------------------
8334 :
8335 : ClientSafeBrowsingReportRequest_Resource* New() const;
8336 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
8337 : void CopyFrom(const ClientSafeBrowsingReportRequest_Resource& from);
8338 : void MergeFrom(const ClientSafeBrowsingReportRequest_Resource& from);
8339 : void Clear();
8340 : bool IsInitialized() const;
8341 :
8342 : int ByteSize() const;
8343 : bool MergePartialFromCodedStream(
8344 : ::google::protobuf::io::CodedInputStream* input);
8345 : void SerializeWithCachedSizes(
8346 : ::google::protobuf::io::CodedOutputStream* output) const;
8347 : void DiscardUnknownFields();
8348 0 : int GetCachedSize() const { return _cached_size_; }
8349 : private:
8350 : void SharedCtor();
8351 : void SharedDtor();
8352 : void SetCachedSize(int size) const;
8353 : public:
8354 : ::std::string GetTypeName() const;
8355 :
8356 : // nested types ----------------------------------------------------
8357 :
8358 : // accessors -------------------------------------------------------
8359 :
8360 : // required int32 id = 1;
8361 : inline bool has_id() const;
8362 : inline void clear_id();
8363 : static const int kIdFieldNumber = 1;
8364 : inline ::google::protobuf::int32 id() const;
8365 : inline void set_id(::google::protobuf::int32 value);
8366 :
8367 : // optional string url = 2;
8368 : inline bool has_url() const;
8369 : inline void clear_url();
8370 : static const int kUrlFieldNumber = 2;
8371 : inline const ::std::string& url() const;
8372 : inline void set_url(const ::std::string& value);
8373 : inline void set_url(const char* value);
8374 : inline void set_url(const char* value, size_t size);
8375 : inline ::std::string* mutable_url();
8376 : inline ::std::string* release_url();
8377 : inline void set_allocated_url(::std::string* url);
8378 :
8379 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest request = 3;
8380 : inline bool has_request() const;
8381 : inline void clear_request();
8382 : static const int kRequestFieldNumber = 3;
8383 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& request() const;
8384 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* mutable_request();
8385 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* release_request();
8386 : inline void set_allocated_request(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request);
8387 :
8388 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse response = 4;
8389 : inline bool has_response() const;
8390 : inline void clear_response();
8391 : static const int kResponseFieldNumber = 4;
8392 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& response() const;
8393 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* mutable_response();
8394 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* release_response();
8395 : inline void set_allocated_response(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response);
8396 :
8397 : // optional int32 parent_id = 5;
8398 : inline bool has_parent_id() const;
8399 : inline void clear_parent_id();
8400 : static const int kParentIdFieldNumber = 5;
8401 : inline ::google::protobuf::int32 parent_id() const;
8402 : inline void set_parent_id(::google::protobuf::int32 value);
8403 :
8404 : // repeated int32 child_ids = 6;
8405 : inline int child_ids_size() const;
8406 : inline void clear_child_ids();
8407 : static const int kChildIdsFieldNumber = 6;
8408 : inline ::google::protobuf::int32 child_ids(int index) const;
8409 : inline void set_child_ids(int index, ::google::protobuf::int32 value);
8410 : inline void add_child_ids(::google::protobuf::int32 value);
8411 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
8412 : child_ids() const;
8413 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
8414 : mutable_child_ids();
8415 :
8416 : // optional string tag_name = 7;
8417 : inline bool has_tag_name() const;
8418 : inline void clear_tag_name();
8419 : static const int kTagNameFieldNumber = 7;
8420 : inline const ::std::string& tag_name() const;
8421 : inline void set_tag_name(const ::std::string& value);
8422 : inline void set_tag_name(const char* value);
8423 : inline void set_tag_name(const char* value, size_t size);
8424 : inline ::std::string* mutable_tag_name();
8425 : inline ::std::string* release_tag_name();
8426 : inline void set_allocated_tag_name(::std::string* tag_name);
8427 :
8428 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.Resource)
8429 : private:
8430 : inline void set_has_id();
8431 : inline void clear_has_id();
8432 : inline void set_has_url();
8433 : inline void clear_has_url();
8434 : inline void set_has_request();
8435 : inline void clear_has_request();
8436 : inline void set_has_response();
8437 : inline void clear_has_response();
8438 : inline void set_has_parent_id();
8439 : inline void clear_has_parent_id();
8440 : inline void set_has_tag_name();
8441 : inline void clear_has_tag_name();
8442 :
8443 : ::std::string _unknown_fields_;
8444 :
8445 : ::google::protobuf::uint32 _has_bits_[1];
8446 : mutable int _cached_size_;
8447 : ::std::string* url_;
8448 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request_;
8449 : ::google::protobuf::int32 id_;
8450 : ::google::protobuf::int32 parent_id_;
8451 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response_;
8452 : ::google::protobuf::RepeatedField< ::google::protobuf::int32 > child_ids_;
8453 : ::std::string* tag_name_;
8454 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8455 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
8456 : #else
8457 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8458 : #endif
8459 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8460 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8461 :
8462 : void InitAsDefaultInstance();
8463 : static ClientSafeBrowsingReportRequest_Resource* default_instance_;
8464 : };
8465 : // -------------------------------------------------------------------
8466 :
8467 : class ClientSafeBrowsingReportRequest : public ::google::protobuf::MessageLite {
8468 : public:
8469 : ClientSafeBrowsingReportRequest();
8470 : virtual ~ClientSafeBrowsingReportRequest();
8471 :
8472 : ClientSafeBrowsingReportRequest(const ClientSafeBrowsingReportRequest& from);
8473 :
8474 : inline ClientSafeBrowsingReportRequest& operator=(const ClientSafeBrowsingReportRequest& from) {
8475 : CopyFrom(from);
8476 : return *this;
8477 : }
8478 :
8479 0 : inline const ::std::string& unknown_fields() const {
8480 0 : return _unknown_fields_;
8481 : }
8482 :
8483 0 : inline ::std::string* mutable_unknown_fields() {
8484 0 : return &_unknown_fields_;
8485 : }
8486 :
8487 : static const ClientSafeBrowsingReportRequest& default_instance();
8488 :
8489 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8490 : // Returns the internal default instance pointer. This function can
8491 : // return NULL thus should not be used by the user. This is intended
8492 : // for Protobuf internal code. Please use default_instance() declared
8493 : // above instead.
8494 : static inline const ClientSafeBrowsingReportRequest* internal_default_instance() {
8495 : return default_instance_;
8496 : }
8497 : #endif
8498 :
8499 : void Swap(ClientSafeBrowsingReportRequest* other);
8500 :
8501 : // implements Message ----------------------------------------------
8502 :
8503 : ClientSafeBrowsingReportRequest* New() const;
8504 : void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
8505 : void CopyFrom(const ClientSafeBrowsingReportRequest& from);
8506 : void MergeFrom(const ClientSafeBrowsingReportRequest& from);
8507 : void Clear();
8508 : bool IsInitialized() const;
8509 :
8510 : int ByteSize() const;
8511 : bool MergePartialFromCodedStream(
8512 : ::google::protobuf::io::CodedInputStream* input);
8513 : void SerializeWithCachedSizes(
8514 : ::google::protobuf::io::CodedOutputStream* output) const;
8515 : void DiscardUnknownFields();
8516 0 : int GetCachedSize() const { return _cached_size_; }
8517 : private:
8518 : void SharedCtor();
8519 : void SharedDtor();
8520 : void SetCachedSize(int size) const;
8521 : public:
8522 : ::std::string GetTypeName() const;
8523 :
8524 : // nested types ----------------------------------------------------
8525 :
8526 : typedef ClientSafeBrowsingReportRequest_HTTPHeader HTTPHeader;
8527 : typedef ClientSafeBrowsingReportRequest_HTTPRequest HTTPRequest;
8528 : typedef ClientSafeBrowsingReportRequest_HTTPResponse HTTPResponse;
8529 : typedef ClientSafeBrowsingReportRequest_Resource Resource;
8530 :
8531 : typedef ClientSafeBrowsingReportRequest_ReportType ReportType;
8532 : static const ReportType UNKNOWN = ClientSafeBrowsingReportRequest_ReportType_UNKNOWN;
8533 : static const ReportType URL_PHISHING = ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING;
8534 : static const ReportType URL_MALWARE = ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE;
8535 : static const ReportType URL_UNWANTED = ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED;
8536 : static const ReportType CLIENT_SIDE_PHISHING_URL = ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_PHISHING_URL;
8537 : static const ReportType CLIENT_SIDE_MALWARE_URL = ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_MALWARE_URL;
8538 : static const ReportType DANGEROUS_DOWNLOAD_RECOVERY = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY;
8539 : static const ReportType DANGEROUS_DOWNLOAD_WARNING = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING;
8540 : static const ReportType DANGEROUS_DOWNLOAD_BY_API = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API;
8541 : static inline bool ReportType_IsValid(int value) {
8542 : return ClientSafeBrowsingReportRequest_ReportType_IsValid(value);
8543 : }
8544 : static const ReportType ReportType_MIN =
8545 : ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN;
8546 : static const ReportType ReportType_MAX =
8547 : ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX;
8548 : static const int ReportType_ARRAYSIZE =
8549 : ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE;
8550 :
8551 : // accessors -------------------------------------------------------
8552 :
8553 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.ReportType type = 10;
8554 : inline bool has_type() const;
8555 : inline void clear_type();
8556 : static const int kTypeFieldNumber = 10;
8557 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType type() const;
8558 : inline void set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value);
8559 :
8560 : // optional .safe_browsing.ClientDownloadResponse.Verdict download_verdict = 11;
8561 : inline bool has_download_verdict() const;
8562 : inline void clear_download_verdict();
8563 : static const int kDownloadVerdictFieldNumber = 11;
8564 : inline ::safe_browsing::ClientDownloadResponse_Verdict download_verdict() const;
8565 : inline void set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value);
8566 :
8567 : // optional string url = 1;
8568 : inline bool has_url() const;
8569 : inline void clear_url();
8570 : static const int kUrlFieldNumber = 1;
8571 : inline const ::std::string& url() const;
8572 : inline void set_url(const ::std::string& value);
8573 : inline void set_url(const char* value);
8574 : inline void set_url(const char* value, size_t size);
8575 : inline ::std::string* mutable_url();
8576 : inline ::std::string* release_url();
8577 : inline void set_allocated_url(::std::string* url);
8578 :
8579 : // optional string page_url = 2;
8580 : inline bool has_page_url() const;
8581 : inline void clear_page_url();
8582 : static const int kPageUrlFieldNumber = 2;
8583 : inline const ::std::string& page_url() const;
8584 : inline void set_page_url(const ::std::string& value);
8585 : inline void set_page_url(const char* value);
8586 : inline void set_page_url(const char* value, size_t size);
8587 : inline ::std::string* mutable_page_url();
8588 : inline ::std::string* release_page_url();
8589 : inline void set_allocated_page_url(::std::string* page_url);
8590 :
8591 : // optional string referrer_url = 3;
8592 : inline bool has_referrer_url() const;
8593 : inline void clear_referrer_url();
8594 : static const int kReferrerUrlFieldNumber = 3;
8595 : inline const ::std::string& referrer_url() const;
8596 : inline void set_referrer_url(const ::std::string& value);
8597 : inline void set_referrer_url(const char* value);
8598 : inline void set_referrer_url(const char* value, size_t size);
8599 : inline ::std::string* mutable_referrer_url();
8600 : inline ::std::string* release_referrer_url();
8601 : inline void set_allocated_referrer_url(::std::string* referrer_url);
8602 :
8603 : // repeated .safe_browsing.ClientSafeBrowsingReportRequest.Resource resources = 4;
8604 : inline int resources_size() const;
8605 : inline void clear_resources();
8606 : static const int kResourcesFieldNumber = 4;
8607 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& resources(int index) const;
8608 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* mutable_resources(int index);
8609 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* add_resources();
8610 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >&
8611 : resources() const;
8612 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >*
8613 : mutable_resources();
8614 :
8615 : // optional bool complete = 5;
8616 : inline bool has_complete() const;
8617 : inline void clear_complete();
8618 : static const int kCompleteFieldNumber = 5;
8619 : inline bool complete() const;
8620 : inline void set_complete(bool value);
8621 :
8622 : // repeated string client_asn = 6;
8623 : inline int client_asn_size() const;
8624 : inline void clear_client_asn();
8625 : static const int kClientAsnFieldNumber = 6;
8626 : inline const ::std::string& client_asn(int index) const;
8627 : inline ::std::string* mutable_client_asn(int index);
8628 : inline void set_client_asn(int index, const ::std::string& value);
8629 : inline void set_client_asn(int index, const char* value);
8630 : inline void set_client_asn(int index, const char* value, size_t size);
8631 : inline ::std::string* add_client_asn();
8632 : inline void add_client_asn(const ::std::string& value);
8633 : inline void add_client_asn(const char* value);
8634 : inline void add_client_asn(const char* value, size_t size);
8635 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>& client_asn() const;
8636 : inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_client_asn();
8637 :
8638 : // optional string client_country = 7;
8639 : inline bool has_client_country() const;
8640 : inline void clear_client_country();
8641 : static const int kClientCountryFieldNumber = 7;
8642 : inline const ::std::string& client_country() const;
8643 : inline void set_client_country(const ::std::string& value);
8644 : inline void set_client_country(const char* value);
8645 : inline void set_client_country(const char* value, size_t size);
8646 : inline ::std::string* mutable_client_country();
8647 : inline ::std::string* release_client_country();
8648 : inline void set_allocated_client_country(::std::string* client_country);
8649 :
8650 : // optional bool did_proceed = 8;
8651 : inline bool has_did_proceed() const;
8652 : inline void clear_did_proceed();
8653 : static const int kDidProceedFieldNumber = 8;
8654 : inline bool did_proceed() const;
8655 : inline void set_did_proceed(bool value);
8656 :
8657 : // optional bool repeat_visit = 9;
8658 : inline bool has_repeat_visit() const;
8659 : inline void clear_repeat_visit();
8660 : static const int kRepeatVisitFieldNumber = 9;
8661 : inline bool repeat_visit() const;
8662 : inline void set_repeat_visit(bool value);
8663 :
8664 : // optional bytes token = 15;
8665 : inline bool has_token() const;
8666 : inline void clear_token();
8667 : static const int kTokenFieldNumber = 15;
8668 : inline const ::std::string& token() const;
8669 : inline void set_token(const ::std::string& value);
8670 : inline void set_token(const char* value);
8671 : inline void set_token(const void* value, size_t size);
8672 : inline ::std::string* mutable_token();
8673 : inline ::std::string* release_token();
8674 : inline void set_allocated_token(::std::string* token);
8675 :
8676 : // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest)
8677 : private:
8678 : inline void set_has_type();
8679 : inline void clear_has_type();
8680 : inline void set_has_download_verdict();
8681 : inline void clear_has_download_verdict();
8682 : inline void set_has_url();
8683 : inline void clear_has_url();
8684 : inline void set_has_page_url();
8685 : inline void clear_has_page_url();
8686 : inline void set_has_referrer_url();
8687 : inline void clear_has_referrer_url();
8688 : inline void set_has_complete();
8689 : inline void clear_has_complete();
8690 : inline void set_has_client_country();
8691 : inline void clear_has_client_country();
8692 : inline void set_has_did_proceed();
8693 : inline void clear_has_did_proceed();
8694 : inline void set_has_repeat_visit();
8695 : inline void clear_has_repeat_visit();
8696 : inline void set_has_token();
8697 : inline void clear_has_token();
8698 :
8699 : ::std::string _unknown_fields_;
8700 :
8701 : ::google::protobuf::uint32 _has_bits_[1];
8702 : mutable int _cached_size_;
8703 : int type_;
8704 : int download_verdict_;
8705 : ::std::string* url_;
8706 : ::std::string* page_url_;
8707 : ::std::string* referrer_url_;
8708 : ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource > resources_;
8709 : ::google::protobuf::RepeatedPtrField< ::std::string> client_asn_;
8710 : ::std::string* client_country_;
8711 : ::std::string* token_;
8712 : bool complete_;
8713 : bool did_proceed_;
8714 : bool repeat_visit_;
8715 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8716 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl();
8717 : #else
8718 : friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8719 : #endif
8720 : friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8721 : friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto();
8722 :
8723 : void InitAsDefaultInstance();
8724 : static ClientSafeBrowsingReportRequest* default_instance_;
8725 : };
8726 : // ===================================================================
8727 :
8728 :
8729 : // ===================================================================
8730 :
8731 : // ChromeUserPopulation
8732 :
8733 : // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1;
8734 0 : inline bool ChromeUserPopulation::has_user_population() const {
8735 0 : return (_has_bits_[0] & 0x00000001u) != 0;
8736 : }
8737 0 : inline void ChromeUserPopulation::set_has_user_population() {
8738 0 : _has_bits_[0] |= 0x00000001u;
8739 0 : }
8740 : inline void ChromeUserPopulation::clear_has_user_population() {
8741 : _has_bits_[0] &= ~0x00000001u;
8742 : }
8743 : inline void ChromeUserPopulation::clear_user_population() {
8744 : user_population_ = 0;
8745 : clear_has_user_population();
8746 : }
8747 0 : inline ::safe_browsing::ChromeUserPopulation_UserPopulation ChromeUserPopulation::user_population() const {
8748 : // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.user_population)
8749 0 : return static_cast< ::safe_browsing::ChromeUserPopulation_UserPopulation >(user_population_);
8750 : }
8751 0 : inline void ChromeUserPopulation::set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value) {
8752 0 : assert(::safe_browsing::ChromeUserPopulation_UserPopulation_IsValid(value));
8753 0 : set_has_user_population();
8754 0 : user_population_ = value;
8755 : // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.user_population)
8756 0 : }
8757 :
8758 : // -------------------------------------------------------------------
8759 :
8760 : // ClientPhishingRequest_Feature
8761 :
8762 : // required string name = 1;
8763 0 : inline bool ClientPhishingRequest_Feature::has_name() const {
8764 0 : return (_has_bits_[0] & 0x00000001u) != 0;
8765 : }
8766 0 : inline void ClientPhishingRequest_Feature::set_has_name() {
8767 0 : _has_bits_[0] |= 0x00000001u;
8768 0 : }
8769 : inline void ClientPhishingRequest_Feature::clear_has_name() {
8770 : _has_bits_[0] &= ~0x00000001u;
8771 : }
8772 : inline void ClientPhishingRequest_Feature::clear_name() {
8773 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8774 : name_->clear();
8775 : }
8776 : clear_has_name();
8777 : }
8778 0 : inline const ::std::string& ClientPhishingRequest_Feature::name() const {
8779 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.Feature.name)
8780 0 : return *name_;
8781 : }
8782 0 : inline void ClientPhishingRequest_Feature::set_name(const ::std::string& value) {
8783 0 : set_has_name();
8784 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8785 0 : name_ = new ::std::string;
8786 : }
8787 0 : name_->assign(value);
8788 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.Feature.name)
8789 0 : }
8790 : inline void ClientPhishingRequest_Feature::set_name(const char* value) {
8791 : set_has_name();
8792 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8793 : name_ = new ::std::string;
8794 : }
8795 : name_->assign(value);
8796 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.Feature.name)
8797 : }
8798 : inline void ClientPhishingRequest_Feature::set_name(const char* value, size_t size) {
8799 : set_has_name();
8800 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8801 : name_ = new ::std::string;
8802 : }
8803 : name_->assign(reinterpret_cast<const char*>(value), size);
8804 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.Feature.name)
8805 : }
8806 0 : inline ::std::string* ClientPhishingRequest_Feature::mutable_name() {
8807 0 : set_has_name();
8808 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8809 0 : name_ = new ::std::string;
8810 : }
8811 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.Feature.name)
8812 0 : return name_;
8813 : }
8814 : inline ::std::string* ClientPhishingRequest_Feature::release_name() {
8815 : clear_has_name();
8816 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8817 : return NULL;
8818 : } else {
8819 : ::std::string* temp = name_;
8820 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8821 : return temp;
8822 : }
8823 : }
8824 : inline void ClientPhishingRequest_Feature::set_allocated_name(::std::string* name) {
8825 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8826 : delete name_;
8827 : }
8828 : if (name) {
8829 : set_has_name();
8830 : name_ = name;
8831 : } else {
8832 : clear_has_name();
8833 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8834 : }
8835 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.Feature.name)
8836 : }
8837 :
8838 : // required double value = 2;
8839 0 : inline bool ClientPhishingRequest_Feature::has_value() const {
8840 0 : return (_has_bits_[0] & 0x00000002u) != 0;
8841 : }
8842 0 : inline void ClientPhishingRequest_Feature::set_has_value() {
8843 0 : _has_bits_[0] |= 0x00000002u;
8844 0 : }
8845 : inline void ClientPhishingRequest_Feature::clear_has_value() {
8846 : _has_bits_[0] &= ~0x00000002u;
8847 : }
8848 : inline void ClientPhishingRequest_Feature::clear_value() {
8849 : value_ = 0;
8850 : clear_has_value();
8851 : }
8852 0 : inline double ClientPhishingRequest_Feature::value() const {
8853 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.Feature.value)
8854 0 : return value_;
8855 : }
8856 0 : inline void ClientPhishingRequest_Feature::set_value(double value) {
8857 0 : set_has_value();
8858 0 : value_ = value;
8859 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.Feature.value)
8860 0 : }
8861 :
8862 : // -------------------------------------------------------------------
8863 :
8864 : // ClientPhishingRequest
8865 :
8866 : // optional string url = 1;
8867 0 : inline bool ClientPhishingRequest::has_url() const {
8868 0 : return (_has_bits_[0] & 0x00000001u) != 0;
8869 : }
8870 0 : inline void ClientPhishingRequest::set_has_url() {
8871 0 : _has_bits_[0] |= 0x00000001u;
8872 0 : }
8873 : inline void ClientPhishingRequest::clear_has_url() {
8874 : _has_bits_[0] &= ~0x00000001u;
8875 : }
8876 : inline void ClientPhishingRequest::clear_url() {
8877 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8878 : url_->clear();
8879 : }
8880 : clear_has_url();
8881 : }
8882 0 : inline const ::std::string& ClientPhishingRequest::url() const {
8883 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.url)
8884 0 : return *url_;
8885 : }
8886 0 : inline void ClientPhishingRequest::set_url(const ::std::string& value) {
8887 0 : set_has_url();
8888 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8889 0 : url_ = new ::std::string;
8890 : }
8891 0 : url_->assign(value);
8892 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.url)
8893 0 : }
8894 : inline void ClientPhishingRequest::set_url(const char* value) {
8895 : set_has_url();
8896 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8897 : url_ = new ::std::string;
8898 : }
8899 : url_->assign(value);
8900 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.url)
8901 : }
8902 : inline void ClientPhishingRequest::set_url(const char* value, size_t size) {
8903 : set_has_url();
8904 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8905 : url_ = new ::std::string;
8906 : }
8907 : url_->assign(reinterpret_cast<const char*>(value), size);
8908 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.url)
8909 : }
8910 0 : inline ::std::string* ClientPhishingRequest::mutable_url() {
8911 0 : set_has_url();
8912 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8913 0 : url_ = new ::std::string;
8914 : }
8915 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.url)
8916 0 : return url_;
8917 : }
8918 : inline ::std::string* ClientPhishingRequest::release_url() {
8919 : clear_has_url();
8920 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8921 : return NULL;
8922 : } else {
8923 : ::std::string* temp = url_;
8924 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8925 : return temp;
8926 : }
8927 : }
8928 : inline void ClientPhishingRequest::set_allocated_url(::std::string* url) {
8929 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8930 : delete url_;
8931 : }
8932 : if (url) {
8933 : set_has_url();
8934 : url_ = url;
8935 : } else {
8936 : clear_has_url();
8937 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8938 : }
8939 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.url)
8940 : }
8941 :
8942 : // optional bytes OBSOLETE_hash_prefix = 10;
8943 0 : inline bool ClientPhishingRequest::has_obsolete_hash_prefix() const {
8944 0 : return (_has_bits_[0] & 0x00000002u) != 0;
8945 : }
8946 0 : inline void ClientPhishingRequest::set_has_obsolete_hash_prefix() {
8947 0 : _has_bits_[0] |= 0x00000002u;
8948 0 : }
8949 : inline void ClientPhishingRequest::clear_has_obsolete_hash_prefix() {
8950 : _has_bits_[0] &= ~0x00000002u;
8951 : }
8952 : inline void ClientPhishingRequest::clear_obsolete_hash_prefix() {
8953 : if (obsolete_hash_prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8954 : obsolete_hash_prefix_->clear();
8955 : }
8956 : clear_has_obsolete_hash_prefix();
8957 : }
8958 0 : inline const ::std::string& ClientPhishingRequest::obsolete_hash_prefix() const {
8959 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix)
8960 0 : return *obsolete_hash_prefix_;
8961 : }
8962 0 : inline void ClientPhishingRequest::set_obsolete_hash_prefix(const ::std::string& value) {
8963 0 : set_has_obsolete_hash_prefix();
8964 0 : if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8965 0 : obsolete_hash_prefix_ = new ::std::string;
8966 : }
8967 0 : obsolete_hash_prefix_->assign(value);
8968 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix)
8969 0 : }
8970 : inline void ClientPhishingRequest::set_obsolete_hash_prefix(const char* value) {
8971 : set_has_obsolete_hash_prefix();
8972 : if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8973 : obsolete_hash_prefix_ = new ::std::string;
8974 : }
8975 : obsolete_hash_prefix_->assign(value);
8976 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix)
8977 : }
8978 : inline void ClientPhishingRequest::set_obsolete_hash_prefix(const void* value, size_t size) {
8979 : set_has_obsolete_hash_prefix();
8980 : if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8981 : obsolete_hash_prefix_ = new ::std::string;
8982 : }
8983 : obsolete_hash_prefix_->assign(reinterpret_cast<const char*>(value), size);
8984 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix)
8985 : }
8986 0 : inline ::std::string* ClientPhishingRequest::mutable_obsolete_hash_prefix() {
8987 0 : set_has_obsolete_hash_prefix();
8988 0 : if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8989 0 : obsolete_hash_prefix_ = new ::std::string;
8990 : }
8991 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix)
8992 0 : return obsolete_hash_prefix_;
8993 : }
8994 : inline ::std::string* ClientPhishingRequest::release_obsolete_hash_prefix() {
8995 : clear_has_obsolete_hash_prefix();
8996 : if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8997 : return NULL;
8998 : } else {
8999 : ::std::string* temp = obsolete_hash_prefix_;
9000 : obsolete_hash_prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9001 : return temp;
9002 : }
9003 : }
9004 : inline void ClientPhishingRequest::set_allocated_obsolete_hash_prefix(::std::string* obsolete_hash_prefix) {
9005 : if (obsolete_hash_prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9006 : delete obsolete_hash_prefix_;
9007 : }
9008 : if (obsolete_hash_prefix) {
9009 : set_has_obsolete_hash_prefix();
9010 : obsolete_hash_prefix_ = obsolete_hash_prefix;
9011 : } else {
9012 : clear_has_obsolete_hash_prefix();
9013 : obsolete_hash_prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9014 : }
9015 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix)
9016 : }
9017 :
9018 : // required float client_score = 2;
9019 0 : inline bool ClientPhishingRequest::has_client_score() const {
9020 0 : return (_has_bits_[0] & 0x00000004u) != 0;
9021 : }
9022 0 : inline void ClientPhishingRequest::set_has_client_score() {
9023 0 : _has_bits_[0] |= 0x00000004u;
9024 0 : }
9025 : inline void ClientPhishingRequest::clear_has_client_score() {
9026 : _has_bits_[0] &= ~0x00000004u;
9027 : }
9028 : inline void ClientPhishingRequest::clear_client_score() {
9029 : client_score_ = 0;
9030 : clear_has_client_score();
9031 : }
9032 0 : inline float ClientPhishingRequest::client_score() const {
9033 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.client_score)
9034 0 : return client_score_;
9035 : }
9036 0 : inline void ClientPhishingRequest::set_client_score(float value) {
9037 0 : set_has_client_score();
9038 0 : client_score_ = value;
9039 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.client_score)
9040 0 : }
9041 :
9042 : // optional bool is_phishing = 4;
9043 0 : inline bool ClientPhishingRequest::has_is_phishing() const {
9044 0 : return (_has_bits_[0] & 0x00000008u) != 0;
9045 : }
9046 0 : inline void ClientPhishingRequest::set_has_is_phishing() {
9047 0 : _has_bits_[0] |= 0x00000008u;
9048 0 : }
9049 : inline void ClientPhishingRequest::clear_has_is_phishing() {
9050 : _has_bits_[0] &= ~0x00000008u;
9051 : }
9052 : inline void ClientPhishingRequest::clear_is_phishing() {
9053 : is_phishing_ = false;
9054 : clear_has_is_phishing();
9055 : }
9056 0 : inline bool ClientPhishingRequest::is_phishing() const {
9057 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.is_phishing)
9058 0 : return is_phishing_;
9059 : }
9060 0 : inline void ClientPhishingRequest::set_is_phishing(bool value) {
9061 0 : set_has_is_phishing();
9062 0 : is_phishing_ = value;
9063 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.is_phishing)
9064 0 : }
9065 :
9066 : // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5;
9067 0 : inline int ClientPhishingRequest::feature_map_size() const {
9068 0 : return feature_map_.size();
9069 : }
9070 : inline void ClientPhishingRequest::clear_feature_map() {
9071 : feature_map_.Clear();
9072 : }
9073 0 : inline const ::safe_browsing::ClientPhishingRequest_Feature& ClientPhishingRequest::feature_map(int index) const {
9074 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.feature_map)
9075 0 : return feature_map_.Get(index);
9076 : }
9077 : inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::mutable_feature_map(int index) {
9078 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.feature_map)
9079 : return feature_map_.Mutable(index);
9080 : }
9081 0 : inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::add_feature_map() {
9082 : // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.feature_map)
9083 0 : return feature_map_.Add();
9084 : }
9085 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >&
9086 0 : ClientPhishingRequest::feature_map() const {
9087 : // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.feature_map)
9088 0 : return feature_map_;
9089 : }
9090 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >*
9091 : ClientPhishingRequest::mutable_feature_map() {
9092 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.feature_map)
9093 : return &feature_map_;
9094 : }
9095 :
9096 : // optional int32 model_version = 6;
9097 0 : inline bool ClientPhishingRequest::has_model_version() const {
9098 0 : return (_has_bits_[0] & 0x00000020u) != 0;
9099 : }
9100 0 : inline void ClientPhishingRequest::set_has_model_version() {
9101 0 : _has_bits_[0] |= 0x00000020u;
9102 0 : }
9103 : inline void ClientPhishingRequest::clear_has_model_version() {
9104 : _has_bits_[0] &= ~0x00000020u;
9105 : }
9106 : inline void ClientPhishingRequest::clear_model_version() {
9107 : model_version_ = 0;
9108 : clear_has_model_version();
9109 : }
9110 0 : inline ::google::protobuf::int32 ClientPhishingRequest::model_version() const {
9111 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.model_version)
9112 0 : return model_version_;
9113 : }
9114 0 : inline void ClientPhishingRequest::set_model_version(::google::protobuf::int32 value) {
9115 0 : set_has_model_version();
9116 0 : model_version_ = value;
9117 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.model_version)
9118 0 : }
9119 :
9120 : // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8;
9121 0 : inline int ClientPhishingRequest::non_model_feature_map_size() const {
9122 0 : return non_model_feature_map_.size();
9123 : }
9124 : inline void ClientPhishingRequest::clear_non_model_feature_map() {
9125 : non_model_feature_map_.Clear();
9126 : }
9127 0 : inline const ::safe_browsing::ClientPhishingRequest_Feature& ClientPhishingRequest::non_model_feature_map(int index) const {
9128 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.non_model_feature_map)
9129 0 : return non_model_feature_map_.Get(index);
9130 : }
9131 : inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::mutable_non_model_feature_map(int index) {
9132 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.non_model_feature_map)
9133 : return non_model_feature_map_.Mutable(index);
9134 : }
9135 0 : inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::add_non_model_feature_map() {
9136 : // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.non_model_feature_map)
9137 0 : return non_model_feature_map_.Add();
9138 : }
9139 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >&
9140 0 : ClientPhishingRequest::non_model_feature_map() const {
9141 : // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.non_model_feature_map)
9142 0 : return non_model_feature_map_;
9143 : }
9144 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >*
9145 : ClientPhishingRequest::mutable_non_model_feature_map() {
9146 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.non_model_feature_map)
9147 : return &non_model_feature_map_;
9148 : }
9149 :
9150 : // optional string OBSOLETE_referrer_url = 9;
9151 0 : inline bool ClientPhishingRequest::has_obsolete_referrer_url() const {
9152 0 : return (_has_bits_[0] & 0x00000080u) != 0;
9153 : }
9154 0 : inline void ClientPhishingRequest::set_has_obsolete_referrer_url() {
9155 0 : _has_bits_[0] |= 0x00000080u;
9156 0 : }
9157 : inline void ClientPhishingRequest::clear_has_obsolete_referrer_url() {
9158 : _has_bits_[0] &= ~0x00000080u;
9159 : }
9160 : inline void ClientPhishingRequest::clear_obsolete_referrer_url() {
9161 : if (obsolete_referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9162 : obsolete_referrer_url_->clear();
9163 : }
9164 : clear_has_obsolete_referrer_url();
9165 : }
9166 0 : inline const ::std::string& ClientPhishingRequest::obsolete_referrer_url() const {
9167 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url)
9168 0 : return *obsolete_referrer_url_;
9169 : }
9170 0 : inline void ClientPhishingRequest::set_obsolete_referrer_url(const ::std::string& value) {
9171 0 : set_has_obsolete_referrer_url();
9172 0 : if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9173 0 : obsolete_referrer_url_ = new ::std::string;
9174 : }
9175 0 : obsolete_referrer_url_->assign(value);
9176 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url)
9177 0 : }
9178 : inline void ClientPhishingRequest::set_obsolete_referrer_url(const char* value) {
9179 : set_has_obsolete_referrer_url();
9180 : if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9181 : obsolete_referrer_url_ = new ::std::string;
9182 : }
9183 : obsolete_referrer_url_->assign(value);
9184 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url)
9185 : }
9186 : inline void ClientPhishingRequest::set_obsolete_referrer_url(const char* value, size_t size) {
9187 : set_has_obsolete_referrer_url();
9188 : if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9189 : obsolete_referrer_url_ = new ::std::string;
9190 : }
9191 : obsolete_referrer_url_->assign(reinterpret_cast<const char*>(value), size);
9192 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url)
9193 : }
9194 0 : inline ::std::string* ClientPhishingRequest::mutable_obsolete_referrer_url() {
9195 0 : set_has_obsolete_referrer_url();
9196 0 : if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9197 0 : obsolete_referrer_url_ = new ::std::string;
9198 : }
9199 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url)
9200 0 : return obsolete_referrer_url_;
9201 : }
9202 : inline ::std::string* ClientPhishingRequest::release_obsolete_referrer_url() {
9203 : clear_has_obsolete_referrer_url();
9204 : if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9205 : return NULL;
9206 : } else {
9207 : ::std::string* temp = obsolete_referrer_url_;
9208 : obsolete_referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9209 : return temp;
9210 : }
9211 : }
9212 : inline void ClientPhishingRequest::set_allocated_obsolete_referrer_url(::std::string* obsolete_referrer_url) {
9213 : if (obsolete_referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9214 : delete obsolete_referrer_url_;
9215 : }
9216 : if (obsolete_referrer_url) {
9217 : set_has_obsolete_referrer_url();
9218 : obsolete_referrer_url_ = obsolete_referrer_url;
9219 : } else {
9220 : clear_has_obsolete_referrer_url();
9221 : obsolete_referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9222 : }
9223 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url)
9224 : }
9225 :
9226 : // repeated uint32 shingle_hashes = 12 [packed = true];
9227 0 : inline int ClientPhishingRequest::shingle_hashes_size() const {
9228 0 : return shingle_hashes_.size();
9229 : }
9230 : inline void ClientPhishingRequest::clear_shingle_hashes() {
9231 : shingle_hashes_.Clear();
9232 : }
9233 0 : inline ::google::protobuf::uint32 ClientPhishingRequest::shingle_hashes(int index) const {
9234 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.shingle_hashes)
9235 0 : return shingle_hashes_.Get(index);
9236 : }
9237 : inline void ClientPhishingRequest::set_shingle_hashes(int index, ::google::protobuf::uint32 value) {
9238 : shingle_hashes_.Set(index, value);
9239 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.shingle_hashes)
9240 : }
9241 : inline void ClientPhishingRequest::add_shingle_hashes(::google::protobuf::uint32 value) {
9242 : shingle_hashes_.Add(value);
9243 : // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.shingle_hashes)
9244 : }
9245 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
9246 : ClientPhishingRequest::shingle_hashes() const {
9247 : // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.shingle_hashes)
9248 : return shingle_hashes_;
9249 : }
9250 : inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
9251 0 : ClientPhishingRequest::mutable_shingle_hashes() {
9252 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.shingle_hashes)
9253 0 : return &shingle_hashes_;
9254 : }
9255 :
9256 : // optional string model_filename = 13;
9257 0 : inline bool ClientPhishingRequest::has_model_filename() const {
9258 0 : return (_has_bits_[0] & 0x00000200u) != 0;
9259 : }
9260 0 : inline void ClientPhishingRequest::set_has_model_filename() {
9261 0 : _has_bits_[0] |= 0x00000200u;
9262 0 : }
9263 : inline void ClientPhishingRequest::clear_has_model_filename() {
9264 : _has_bits_[0] &= ~0x00000200u;
9265 : }
9266 : inline void ClientPhishingRequest::clear_model_filename() {
9267 : if (model_filename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9268 : model_filename_->clear();
9269 : }
9270 : clear_has_model_filename();
9271 : }
9272 0 : inline const ::std::string& ClientPhishingRequest::model_filename() const {
9273 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.model_filename)
9274 0 : return *model_filename_;
9275 : }
9276 0 : inline void ClientPhishingRequest::set_model_filename(const ::std::string& value) {
9277 0 : set_has_model_filename();
9278 0 : if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9279 0 : model_filename_ = new ::std::string;
9280 : }
9281 0 : model_filename_->assign(value);
9282 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.model_filename)
9283 0 : }
9284 : inline void ClientPhishingRequest::set_model_filename(const char* value) {
9285 : set_has_model_filename();
9286 : if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9287 : model_filename_ = new ::std::string;
9288 : }
9289 : model_filename_->assign(value);
9290 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.model_filename)
9291 : }
9292 : inline void ClientPhishingRequest::set_model_filename(const char* value, size_t size) {
9293 : set_has_model_filename();
9294 : if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9295 : model_filename_ = new ::std::string;
9296 : }
9297 : model_filename_->assign(reinterpret_cast<const char*>(value), size);
9298 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.model_filename)
9299 : }
9300 0 : inline ::std::string* ClientPhishingRequest::mutable_model_filename() {
9301 0 : set_has_model_filename();
9302 0 : if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9303 0 : model_filename_ = new ::std::string;
9304 : }
9305 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.model_filename)
9306 0 : return model_filename_;
9307 : }
9308 : inline ::std::string* ClientPhishingRequest::release_model_filename() {
9309 : clear_has_model_filename();
9310 : if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9311 : return NULL;
9312 : } else {
9313 : ::std::string* temp = model_filename_;
9314 : model_filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9315 : return temp;
9316 : }
9317 : }
9318 : inline void ClientPhishingRequest::set_allocated_model_filename(::std::string* model_filename) {
9319 : if (model_filename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9320 : delete model_filename_;
9321 : }
9322 : if (model_filename) {
9323 : set_has_model_filename();
9324 : model_filename_ = model_filename;
9325 : } else {
9326 : clear_has_model_filename();
9327 : model_filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9328 : }
9329 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.model_filename)
9330 : }
9331 :
9332 : // optional .safe_browsing.ChromeUserPopulation population = 14;
9333 0 : inline bool ClientPhishingRequest::has_population() const {
9334 0 : return (_has_bits_[0] & 0x00000400u) != 0;
9335 : }
9336 0 : inline void ClientPhishingRequest::set_has_population() {
9337 0 : _has_bits_[0] |= 0x00000400u;
9338 0 : }
9339 : inline void ClientPhishingRequest::clear_has_population() {
9340 : _has_bits_[0] &= ~0x00000400u;
9341 : }
9342 : inline void ClientPhishingRequest::clear_population() {
9343 : if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear();
9344 : clear_has_population();
9345 : }
9346 0 : inline const ::safe_browsing::ChromeUserPopulation& ClientPhishingRequest::population() const {
9347 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.population)
9348 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9349 0 : return population_ != NULL ? *population_ : *default_instance().population_;
9350 : #else
9351 : return population_ != NULL ? *population_ : *default_instance_->population_;
9352 : #endif
9353 : }
9354 0 : inline ::safe_browsing::ChromeUserPopulation* ClientPhishingRequest::mutable_population() {
9355 0 : set_has_population();
9356 0 : if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation;
9357 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.population)
9358 0 : return population_;
9359 : }
9360 : inline ::safe_browsing::ChromeUserPopulation* ClientPhishingRequest::release_population() {
9361 : clear_has_population();
9362 : ::safe_browsing::ChromeUserPopulation* temp = population_;
9363 : population_ = NULL;
9364 : return temp;
9365 : }
9366 : inline void ClientPhishingRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) {
9367 : delete population_;
9368 : population_ = population;
9369 : if (population) {
9370 : set_has_population();
9371 : } else {
9372 : clear_has_population();
9373 : }
9374 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.population)
9375 : }
9376 :
9377 : // -------------------------------------------------------------------
9378 :
9379 : // ClientPhishingResponse
9380 :
9381 : // required bool phishy = 1;
9382 0 : inline bool ClientPhishingResponse::has_phishy() const {
9383 0 : return (_has_bits_[0] & 0x00000001u) != 0;
9384 : }
9385 0 : inline void ClientPhishingResponse::set_has_phishy() {
9386 0 : _has_bits_[0] |= 0x00000001u;
9387 0 : }
9388 : inline void ClientPhishingResponse::clear_has_phishy() {
9389 : _has_bits_[0] &= ~0x00000001u;
9390 : }
9391 : inline void ClientPhishingResponse::clear_phishy() {
9392 : phishy_ = false;
9393 : clear_has_phishy();
9394 : }
9395 0 : inline bool ClientPhishingResponse::phishy() const {
9396 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingResponse.phishy)
9397 0 : return phishy_;
9398 : }
9399 0 : inline void ClientPhishingResponse::set_phishy(bool value) {
9400 0 : set_has_phishy();
9401 0 : phishy_ = value;
9402 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingResponse.phishy)
9403 0 : }
9404 :
9405 : // repeated string OBSOLETE_whitelist_expression = 2;
9406 0 : inline int ClientPhishingResponse::obsolete_whitelist_expression_size() const {
9407 0 : return obsolete_whitelist_expression_.size();
9408 : }
9409 : inline void ClientPhishingResponse::clear_obsolete_whitelist_expression() {
9410 : obsolete_whitelist_expression_.Clear();
9411 : }
9412 0 : inline const ::std::string& ClientPhishingResponse::obsolete_whitelist_expression(int index) const {
9413 : // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9414 0 : return obsolete_whitelist_expression_.Get(index);
9415 : }
9416 : inline ::std::string* ClientPhishingResponse::mutable_obsolete_whitelist_expression(int index) {
9417 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9418 : return obsolete_whitelist_expression_.Mutable(index);
9419 : }
9420 : inline void ClientPhishingResponse::set_obsolete_whitelist_expression(int index, const ::std::string& value) {
9421 : // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9422 : obsolete_whitelist_expression_.Mutable(index)->assign(value);
9423 : }
9424 : inline void ClientPhishingResponse::set_obsolete_whitelist_expression(int index, const char* value) {
9425 : obsolete_whitelist_expression_.Mutable(index)->assign(value);
9426 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9427 : }
9428 : inline void ClientPhishingResponse::set_obsolete_whitelist_expression(int index, const char* value, size_t size) {
9429 : obsolete_whitelist_expression_.Mutable(index)->assign(
9430 : reinterpret_cast<const char*>(value), size);
9431 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9432 : }
9433 0 : inline ::std::string* ClientPhishingResponse::add_obsolete_whitelist_expression() {
9434 0 : return obsolete_whitelist_expression_.Add();
9435 : }
9436 : inline void ClientPhishingResponse::add_obsolete_whitelist_expression(const ::std::string& value) {
9437 : obsolete_whitelist_expression_.Add()->assign(value);
9438 : // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9439 : }
9440 : inline void ClientPhishingResponse::add_obsolete_whitelist_expression(const char* value) {
9441 : obsolete_whitelist_expression_.Add()->assign(value);
9442 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9443 : }
9444 : inline void ClientPhishingResponse::add_obsolete_whitelist_expression(const char* value, size_t size) {
9445 : obsolete_whitelist_expression_.Add()->assign(reinterpret_cast<const char*>(value), size);
9446 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9447 : }
9448 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
9449 : ClientPhishingResponse::obsolete_whitelist_expression() const {
9450 : // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9451 : return obsolete_whitelist_expression_;
9452 : }
9453 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
9454 : ClientPhishingResponse::mutable_obsolete_whitelist_expression() {
9455 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression)
9456 : return &obsolete_whitelist_expression_;
9457 : }
9458 :
9459 : // -------------------------------------------------------------------
9460 :
9461 : // ClientMalwareRequest_UrlInfo
9462 :
9463 : // required string ip = 1;
9464 0 : inline bool ClientMalwareRequest_UrlInfo::has_ip() const {
9465 0 : return (_has_bits_[0] & 0x00000001u) != 0;
9466 : }
9467 0 : inline void ClientMalwareRequest_UrlInfo::set_has_ip() {
9468 0 : _has_bits_[0] |= 0x00000001u;
9469 0 : }
9470 : inline void ClientMalwareRequest_UrlInfo::clear_has_ip() {
9471 : _has_bits_[0] &= ~0x00000001u;
9472 : }
9473 : inline void ClientMalwareRequest_UrlInfo::clear_ip() {
9474 : if (ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9475 : ip_->clear();
9476 : }
9477 : clear_has_ip();
9478 : }
9479 0 : inline const ::std::string& ClientMalwareRequest_UrlInfo::ip() const {
9480 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.ip)
9481 0 : return *ip_;
9482 : }
9483 0 : inline void ClientMalwareRequest_UrlInfo::set_ip(const ::std::string& value) {
9484 0 : set_has_ip();
9485 0 : if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9486 0 : ip_ = new ::std::string;
9487 : }
9488 0 : ip_->assign(value);
9489 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.ip)
9490 0 : }
9491 : inline void ClientMalwareRequest_UrlInfo::set_ip(const char* value) {
9492 : set_has_ip();
9493 : if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9494 : ip_ = new ::std::string;
9495 : }
9496 : ip_->assign(value);
9497 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.ip)
9498 : }
9499 : inline void ClientMalwareRequest_UrlInfo::set_ip(const char* value, size_t size) {
9500 : set_has_ip();
9501 : if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9502 : ip_ = new ::std::string;
9503 : }
9504 : ip_->assign(reinterpret_cast<const char*>(value), size);
9505 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.ip)
9506 : }
9507 0 : inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_ip() {
9508 0 : set_has_ip();
9509 0 : if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9510 0 : ip_ = new ::std::string;
9511 : }
9512 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.ip)
9513 0 : return ip_;
9514 : }
9515 : inline ::std::string* ClientMalwareRequest_UrlInfo::release_ip() {
9516 : clear_has_ip();
9517 : if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9518 : return NULL;
9519 : } else {
9520 : ::std::string* temp = ip_;
9521 : ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9522 : return temp;
9523 : }
9524 : }
9525 : inline void ClientMalwareRequest_UrlInfo::set_allocated_ip(::std::string* ip) {
9526 : if (ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9527 : delete ip_;
9528 : }
9529 : if (ip) {
9530 : set_has_ip();
9531 : ip_ = ip;
9532 : } else {
9533 : clear_has_ip();
9534 : ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9535 : }
9536 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.ip)
9537 : }
9538 :
9539 : // required string url = 2;
9540 0 : inline bool ClientMalwareRequest_UrlInfo::has_url() const {
9541 0 : return (_has_bits_[0] & 0x00000002u) != 0;
9542 : }
9543 0 : inline void ClientMalwareRequest_UrlInfo::set_has_url() {
9544 0 : _has_bits_[0] |= 0x00000002u;
9545 0 : }
9546 : inline void ClientMalwareRequest_UrlInfo::clear_has_url() {
9547 : _has_bits_[0] &= ~0x00000002u;
9548 : }
9549 : inline void ClientMalwareRequest_UrlInfo::clear_url() {
9550 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9551 : url_->clear();
9552 : }
9553 : clear_has_url();
9554 : }
9555 0 : inline const ::std::string& ClientMalwareRequest_UrlInfo::url() const {
9556 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.url)
9557 0 : return *url_;
9558 : }
9559 0 : inline void ClientMalwareRequest_UrlInfo::set_url(const ::std::string& value) {
9560 0 : set_has_url();
9561 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9562 0 : url_ = new ::std::string;
9563 : }
9564 0 : url_->assign(value);
9565 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.url)
9566 0 : }
9567 : inline void ClientMalwareRequest_UrlInfo::set_url(const char* value) {
9568 : set_has_url();
9569 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9570 : url_ = new ::std::string;
9571 : }
9572 : url_->assign(value);
9573 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.url)
9574 : }
9575 : inline void ClientMalwareRequest_UrlInfo::set_url(const char* value, size_t size) {
9576 : set_has_url();
9577 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9578 : url_ = new ::std::string;
9579 : }
9580 : url_->assign(reinterpret_cast<const char*>(value), size);
9581 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.url)
9582 : }
9583 0 : inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_url() {
9584 0 : set_has_url();
9585 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9586 0 : url_ = new ::std::string;
9587 : }
9588 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.url)
9589 0 : return url_;
9590 : }
9591 : inline ::std::string* ClientMalwareRequest_UrlInfo::release_url() {
9592 : clear_has_url();
9593 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9594 : return NULL;
9595 : } else {
9596 : ::std::string* temp = url_;
9597 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9598 : return temp;
9599 : }
9600 : }
9601 : inline void ClientMalwareRequest_UrlInfo::set_allocated_url(::std::string* url) {
9602 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9603 : delete url_;
9604 : }
9605 : if (url) {
9606 : set_has_url();
9607 : url_ = url;
9608 : } else {
9609 : clear_has_url();
9610 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9611 : }
9612 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.url)
9613 : }
9614 :
9615 : // optional string method = 3;
9616 0 : inline bool ClientMalwareRequest_UrlInfo::has_method() const {
9617 0 : return (_has_bits_[0] & 0x00000004u) != 0;
9618 : }
9619 0 : inline void ClientMalwareRequest_UrlInfo::set_has_method() {
9620 0 : _has_bits_[0] |= 0x00000004u;
9621 0 : }
9622 : inline void ClientMalwareRequest_UrlInfo::clear_has_method() {
9623 : _has_bits_[0] &= ~0x00000004u;
9624 : }
9625 : inline void ClientMalwareRequest_UrlInfo::clear_method() {
9626 : if (method_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9627 : method_->clear();
9628 : }
9629 : clear_has_method();
9630 : }
9631 0 : inline const ::std::string& ClientMalwareRequest_UrlInfo::method() const {
9632 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.method)
9633 0 : return *method_;
9634 : }
9635 0 : inline void ClientMalwareRequest_UrlInfo::set_method(const ::std::string& value) {
9636 0 : set_has_method();
9637 0 : if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9638 0 : method_ = new ::std::string;
9639 : }
9640 0 : method_->assign(value);
9641 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.method)
9642 0 : }
9643 : inline void ClientMalwareRequest_UrlInfo::set_method(const char* value) {
9644 : set_has_method();
9645 : if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9646 : method_ = new ::std::string;
9647 : }
9648 : method_->assign(value);
9649 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.method)
9650 : }
9651 : inline void ClientMalwareRequest_UrlInfo::set_method(const char* value, size_t size) {
9652 : set_has_method();
9653 : if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9654 : method_ = new ::std::string;
9655 : }
9656 : method_->assign(reinterpret_cast<const char*>(value), size);
9657 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.method)
9658 : }
9659 0 : inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_method() {
9660 0 : set_has_method();
9661 0 : if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9662 0 : method_ = new ::std::string;
9663 : }
9664 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.method)
9665 0 : return method_;
9666 : }
9667 : inline ::std::string* ClientMalwareRequest_UrlInfo::release_method() {
9668 : clear_has_method();
9669 : if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9670 : return NULL;
9671 : } else {
9672 : ::std::string* temp = method_;
9673 : method_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9674 : return temp;
9675 : }
9676 : }
9677 : inline void ClientMalwareRequest_UrlInfo::set_allocated_method(::std::string* method) {
9678 : if (method_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9679 : delete method_;
9680 : }
9681 : if (method) {
9682 : set_has_method();
9683 : method_ = method;
9684 : } else {
9685 : clear_has_method();
9686 : method_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9687 : }
9688 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.method)
9689 : }
9690 :
9691 : // optional string referrer = 4;
9692 0 : inline bool ClientMalwareRequest_UrlInfo::has_referrer() const {
9693 0 : return (_has_bits_[0] & 0x00000008u) != 0;
9694 : }
9695 0 : inline void ClientMalwareRequest_UrlInfo::set_has_referrer() {
9696 0 : _has_bits_[0] |= 0x00000008u;
9697 0 : }
9698 : inline void ClientMalwareRequest_UrlInfo::clear_has_referrer() {
9699 : _has_bits_[0] &= ~0x00000008u;
9700 : }
9701 : inline void ClientMalwareRequest_UrlInfo::clear_referrer() {
9702 : if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9703 : referrer_->clear();
9704 : }
9705 : clear_has_referrer();
9706 : }
9707 0 : inline const ::std::string& ClientMalwareRequest_UrlInfo::referrer() const {
9708 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.referrer)
9709 0 : return *referrer_;
9710 : }
9711 0 : inline void ClientMalwareRequest_UrlInfo::set_referrer(const ::std::string& value) {
9712 0 : set_has_referrer();
9713 0 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9714 0 : referrer_ = new ::std::string;
9715 : }
9716 0 : referrer_->assign(value);
9717 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.referrer)
9718 0 : }
9719 : inline void ClientMalwareRequest_UrlInfo::set_referrer(const char* value) {
9720 : set_has_referrer();
9721 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9722 : referrer_ = new ::std::string;
9723 : }
9724 : referrer_->assign(value);
9725 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.referrer)
9726 : }
9727 : inline void ClientMalwareRequest_UrlInfo::set_referrer(const char* value, size_t size) {
9728 : set_has_referrer();
9729 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9730 : referrer_ = new ::std::string;
9731 : }
9732 : referrer_->assign(reinterpret_cast<const char*>(value), size);
9733 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.referrer)
9734 : }
9735 0 : inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_referrer() {
9736 0 : set_has_referrer();
9737 0 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9738 0 : referrer_ = new ::std::string;
9739 : }
9740 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.referrer)
9741 0 : return referrer_;
9742 : }
9743 : inline ::std::string* ClientMalwareRequest_UrlInfo::release_referrer() {
9744 : clear_has_referrer();
9745 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9746 : return NULL;
9747 : } else {
9748 : ::std::string* temp = referrer_;
9749 : referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9750 : return temp;
9751 : }
9752 : }
9753 : inline void ClientMalwareRequest_UrlInfo::set_allocated_referrer(::std::string* referrer) {
9754 : if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9755 : delete referrer_;
9756 : }
9757 : if (referrer) {
9758 : set_has_referrer();
9759 : referrer_ = referrer;
9760 : } else {
9761 : clear_has_referrer();
9762 : referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9763 : }
9764 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.referrer)
9765 : }
9766 :
9767 : // optional int32 resource_type = 5;
9768 0 : inline bool ClientMalwareRequest_UrlInfo::has_resource_type() const {
9769 0 : return (_has_bits_[0] & 0x00000010u) != 0;
9770 : }
9771 0 : inline void ClientMalwareRequest_UrlInfo::set_has_resource_type() {
9772 0 : _has_bits_[0] |= 0x00000010u;
9773 0 : }
9774 : inline void ClientMalwareRequest_UrlInfo::clear_has_resource_type() {
9775 : _has_bits_[0] &= ~0x00000010u;
9776 : }
9777 : inline void ClientMalwareRequest_UrlInfo::clear_resource_type() {
9778 : resource_type_ = 0;
9779 : clear_has_resource_type();
9780 : }
9781 0 : inline ::google::protobuf::int32 ClientMalwareRequest_UrlInfo::resource_type() const {
9782 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.resource_type)
9783 0 : return resource_type_;
9784 : }
9785 0 : inline void ClientMalwareRequest_UrlInfo::set_resource_type(::google::protobuf::int32 value) {
9786 0 : set_has_resource_type();
9787 0 : resource_type_ = value;
9788 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.resource_type)
9789 0 : }
9790 :
9791 : // -------------------------------------------------------------------
9792 :
9793 : // ClientMalwareRequest
9794 :
9795 : // required string url = 1;
9796 0 : inline bool ClientMalwareRequest::has_url() const {
9797 0 : return (_has_bits_[0] & 0x00000001u) != 0;
9798 : }
9799 0 : inline void ClientMalwareRequest::set_has_url() {
9800 0 : _has_bits_[0] |= 0x00000001u;
9801 0 : }
9802 : inline void ClientMalwareRequest::clear_has_url() {
9803 : _has_bits_[0] &= ~0x00000001u;
9804 : }
9805 : inline void ClientMalwareRequest::clear_url() {
9806 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9807 : url_->clear();
9808 : }
9809 : clear_has_url();
9810 : }
9811 0 : inline const ::std::string& ClientMalwareRequest::url() const {
9812 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.url)
9813 0 : return *url_;
9814 : }
9815 0 : inline void ClientMalwareRequest::set_url(const ::std::string& value) {
9816 0 : set_has_url();
9817 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9818 0 : url_ = new ::std::string;
9819 : }
9820 0 : url_->assign(value);
9821 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.url)
9822 0 : }
9823 : inline void ClientMalwareRequest::set_url(const char* value) {
9824 : set_has_url();
9825 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9826 : url_ = new ::std::string;
9827 : }
9828 : url_->assign(value);
9829 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.url)
9830 : }
9831 : inline void ClientMalwareRequest::set_url(const char* value, size_t size) {
9832 : set_has_url();
9833 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9834 : url_ = new ::std::string;
9835 : }
9836 : url_->assign(reinterpret_cast<const char*>(value), size);
9837 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.url)
9838 : }
9839 0 : inline ::std::string* ClientMalwareRequest::mutable_url() {
9840 0 : set_has_url();
9841 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9842 0 : url_ = new ::std::string;
9843 : }
9844 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.url)
9845 0 : return url_;
9846 : }
9847 : inline ::std::string* ClientMalwareRequest::release_url() {
9848 : clear_has_url();
9849 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9850 : return NULL;
9851 : } else {
9852 : ::std::string* temp = url_;
9853 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9854 : return temp;
9855 : }
9856 : }
9857 : inline void ClientMalwareRequest::set_allocated_url(::std::string* url) {
9858 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9859 : delete url_;
9860 : }
9861 : if (url) {
9862 : set_has_url();
9863 : url_ = url;
9864 : } else {
9865 : clear_has_url();
9866 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9867 : }
9868 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.url)
9869 : }
9870 :
9871 : // optional string referrer_url = 4;
9872 0 : inline bool ClientMalwareRequest::has_referrer_url() const {
9873 0 : return (_has_bits_[0] & 0x00000002u) != 0;
9874 : }
9875 0 : inline void ClientMalwareRequest::set_has_referrer_url() {
9876 0 : _has_bits_[0] |= 0x00000002u;
9877 0 : }
9878 : inline void ClientMalwareRequest::clear_has_referrer_url() {
9879 : _has_bits_[0] &= ~0x00000002u;
9880 : }
9881 : inline void ClientMalwareRequest::clear_referrer_url() {
9882 : if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9883 : referrer_url_->clear();
9884 : }
9885 : clear_has_referrer_url();
9886 : }
9887 0 : inline const ::std::string& ClientMalwareRequest::referrer_url() const {
9888 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.referrer_url)
9889 0 : return *referrer_url_;
9890 : }
9891 0 : inline void ClientMalwareRequest::set_referrer_url(const ::std::string& value) {
9892 0 : set_has_referrer_url();
9893 0 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9894 0 : referrer_url_ = new ::std::string;
9895 : }
9896 0 : referrer_url_->assign(value);
9897 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.referrer_url)
9898 0 : }
9899 : inline void ClientMalwareRequest::set_referrer_url(const char* value) {
9900 : set_has_referrer_url();
9901 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9902 : referrer_url_ = new ::std::string;
9903 : }
9904 : referrer_url_->assign(value);
9905 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.referrer_url)
9906 : }
9907 : inline void ClientMalwareRequest::set_referrer_url(const char* value, size_t size) {
9908 : set_has_referrer_url();
9909 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9910 : referrer_url_ = new ::std::string;
9911 : }
9912 : referrer_url_->assign(reinterpret_cast<const char*>(value), size);
9913 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.referrer_url)
9914 : }
9915 0 : inline ::std::string* ClientMalwareRequest::mutable_referrer_url() {
9916 0 : set_has_referrer_url();
9917 0 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9918 0 : referrer_url_ = new ::std::string;
9919 : }
9920 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.referrer_url)
9921 0 : return referrer_url_;
9922 : }
9923 : inline ::std::string* ClientMalwareRequest::release_referrer_url() {
9924 : clear_has_referrer_url();
9925 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9926 : return NULL;
9927 : } else {
9928 : ::std::string* temp = referrer_url_;
9929 : referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9930 : return temp;
9931 : }
9932 : }
9933 : inline void ClientMalwareRequest::set_allocated_referrer_url(::std::string* referrer_url) {
9934 : if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
9935 : delete referrer_url_;
9936 : }
9937 : if (referrer_url) {
9938 : set_has_referrer_url();
9939 : referrer_url_ = referrer_url;
9940 : } else {
9941 : clear_has_referrer_url();
9942 : referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9943 : }
9944 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.referrer_url)
9945 : }
9946 :
9947 : // repeated .safe_browsing.ClientMalwareRequest.UrlInfo bad_ip_url_info = 7;
9948 0 : inline int ClientMalwareRequest::bad_ip_url_info_size() const {
9949 0 : return bad_ip_url_info_.size();
9950 : }
9951 : inline void ClientMalwareRequest::clear_bad_ip_url_info() {
9952 : bad_ip_url_info_.Clear();
9953 : }
9954 0 : inline const ::safe_browsing::ClientMalwareRequest_UrlInfo& ClientMalwareRequest::bad_ip_url_info(int index) const {
9955 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.bad_ip_url_info)
9956 0 : return bad_ip_url_info_.Get(index);
9957 : }
9958 : inline ::safe_browsing::ClientMalwareRequest_UrlInfo* ClientMalwareRequest::mutable_bad_ip_url_info(int index) {
9959 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.bad_ip_url_info)
9960 : return bad_ip_url_info_.Mutable(index);
9961 : }
9962 0 : inline ::safe_browsing::ClientMalwareRequest_UrlInfo* ClientMalwareRequest::add_bad_ip_url_info() {
9963 : // @@protoc_insertion_point(field_add:safe_browsing.ClientMalwareRequest.bad_ip_url_info)
9964 0 : return bad_ip_url_info_.Add();
9965 : }
9966 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >&
9967 0 : ClientMalwareRequest::bad_ip_url_info() const {
9968 : // @@protoc_insertion_point(field_list:safe_browsing.ClientMalwareRequest.bad_ip_url_info)
9969 0 : return bad_ip_url_info_;
9970 : }
9971 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >*
9972 : ClientMalwareRequest::mutable_bad_ip_url_info() {
9973 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientMalwareRequest.bad_ip_url_info)
9974 : return &bad_ip_url_info_;
9975 : }
9976 :
9977 : // optional .safe_browsing.ChromeUserPopulation population = 9;
9978 0 : inline bool ClientMalwareRequest::has_population() const {
9979 0 : return (_has_bits_[0] & 0x00000008u) != 0;
9980 : }
9981 0 : inline void ClientMalwareRequest::set_has_population() {
9982 0 : _has_bits_[0] |= 0x00000008u;
9983 0 : }
9984 : inline void ClientMalwareRequest::clear_has_population() {
9985 : _has_bits_[0] &= ~0x00000008u;
9986 : }
9987 : inline void ClientMalwareRequest::clear_population() {
9988 : if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear();
9989 : clear_has_population();
9990 : }
9991 0 : inline const ::safe_browsing::ChromeUserPopulation& ClientMalwareRequest::population() const {
9992 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.population)
9993 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9994 0 : return population_ != NULL ? *population_ : *default_instance().population_;
9995 : #else
9996 : return population_ != NULL ? *population_ : *default_instance_->population_;
9997 : #endif
9998 : }
9999 0 : inline ::safe_browsing::ChromeUserPopulation* ClientMalwareRequest::mutable_population() {
10000 0 : set_has_population();
10001 0 : if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation;
10002 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.population)
10003 0 : return population_;
10004 : }
10005 : inline ::safe_browsing::ChromeUserPopulation* ClientMalwareRequest::release_population() {
10006 : clear_has_population();
10007 : ::safe_browsing::ChromeUserPopulation* temp = population_;
10008 : population_ = NULL;
10009 : return temp;
10010 : }
10011 : inline void ClientMalwareRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) {
10012 : delete population_;
10013 : population_ = population;
10014 : if (population) {
10015 : set_has_population();
10016 : } else {
10017 : clear_has_population();
10018 : }
10019 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.population)
10020 : }
10021 :
10022 : // -------------------------------------------------------------------
10023 :
10024 : // ClientMalwareResponse
10025 :
10026 : // required bool blacklist = 1;
10027 0 : inline bool ClientMalwareResponse::has_blacklist() const {
10028 0 : return (_has_bits_[0] & 0x00000001u) != 0;
10029 : }
10030 0 : inline void ClientMalwareResponse::set_has_blacklist() {
10031 0 : _has_bits_[0] |= 0x00000001u;
10032 0 : }
10033 : inline void ClientMalwareResponse::clear_has_blacklist() {
10034 : _has_bits_[0] &= ~0x00000001u;
10035 : }
10036 : inline void ClientMalwareResponse::clear_blacklist() {
10037 : blacklist_ = false;
10038 : clear_has_blacklist();
10039 : }
10040 0 : inline bool ClientMalwareResponse::blacklist() const {
10041 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.blacklist)
10042 0 : return blacklist_;
10043 : }
10044 0 : inline void ClientMalwareResponse::set_blacklist(bool value) {
10045 0 : set_has_blacklist();
10046 0 : blacklist_ = value;
10047 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.blacklist)
10048 0 : }
10049 :
10050 : // optional string bad_ip = 2;
10051 0 : inline bool ClientMalwareResponse::has_bad_ip() const {
10052 0 : return (_has_bits_[0] & 0x00000002u) != 0;
10053 : }
10054 0 : inline void ClientMalwareResponse::set_has_bad_ip() {
10055 0 : _has_bits_[0] |= 0x00000002u;
10056 0 : }
10057 : inline void ClientMalwareResponse::clear_has_bad_ip() {
10058 : _has_bits_[0] &= ~0x00000002u;
10059 : }
10060 : inline void ClientMalwareResponse::clear_bad_ip() {
10061 : if (bad_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10062 : bad_ip_->clear();
10063 : }
10064 : clear_has_bad_ip();
10065 : }
10066 0 : inline const ::std::string& ClientMalwareResponse::bad_ip() const {
10067 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.bad_ip)
10068 0 : return *bad_ip_;
10069 : }
10070 0 : inline void ClientMalwareResponse::set_bad_ip(const ::std::string& value) {
10071 0 : set_has_bad_ip();
10072 0 : if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10073 0 : bad_ip_ = new ::std::string;
10074 : }
10075 0 : bad_ip_->assign(value);
10076 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.bad_ip)
10077 0 : }
10078 : inline void ClientMalwareResponse::set_bad_ip(const char* value) {
10079 : set_has_bad_ip();
10080 : if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10081 : bad_ip_ = new ::std::string;
10082 : }
10083 : bad_ip_->assign(value);
10084 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareResponse.bad_ip)
10085 : }
10086 : inline void ClientMalwareResponse::set_bad_ip(const char* value, size_t size) {
10087 : set_has_bad_ip();
10088 : if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10089 : bad_ip_ = new ::std::string;
10090 : }
10091 : bad_ip_->assign(reinterpret_cast<const char*>(value), size);
10092 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareResponse.bad_ip)
10093 : }
10094 0 : inline ::std::string* ClientMalwareResponse::mutable_bad_ip() {
10095 0 : set_has_bad_ip();
10096 0 : if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10097 0 : bad_ip_ = new ::std::string;
10098 : }
10099 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareResponse.bad_ip)
10100 0 : return bad_ip_;
10101 : }
10102 : inline ::std::string* ClientMalwareResponse::release_bad_ip() {
10103 : clear_has_bad_ip();
10104 : if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10105 : return NULL;
10106 : } else {
10107 : ::std::string* temp = bad_ip_;
10108 : bad_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10109 : return temp;
10110 : }
10111 : }
10112 : inline void ClientMalwareResponse::set_allocated_bad_ip(::std::string* bad_ip) {
10113 : if (bad_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10114 : delete bad_ip_;
10115 : }
10116 : if (bad_ip) {
10117 : set_has_bad_ip();
10118 : bad_ip_ = bad_ip;
10119 : } else {
10120 : clear_has_bad_ip();
10121 : bad_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10122 : }
10123 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareResponse.bad_ip)
10124 : }
10125 :
10126 : // optional string bad_url = 3;
10127 0 : inline bool ClientMalwareResponse::has_bad_url() const {
10128 0 : return (_has_bits_[0] & 0x00000004u) != 0;
10129 : }
10130 0 : inline void ClientMalwareResponse::set_has_bad_url() {
10131 0 : _has_bits_[0] |= 0x00000004u;
10132 0 : }
10133 : inline void ClientMalwareResponse::clear_has_bad_url() {
10134 : _has_bits_[0] &= ~0x00000004u;
10135 : }
10136 : inline void ClientMalwareResponse::clear_bad_url() {
10137 : if (bad_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10138 : bad_url_->clear();
10139 : }
10140 : clear_has_bad_url();
10141 : }
10142 0 : inline const ::std::string& ClientMalwareResponse::bad_url() const {
10143 : // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.bad_url)
10144 0 : return *bad_url_;
10145 : }
10146 0 : inline void ClientMalwareResponse::set_bad_url(const ::std::string& value) {
10147 0 : set_has_bad_url();
10148 0 : if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10149 0 : bad_url_ = new ::std::string;
10150 : }
10151 0 : bad_url_->assign(value);
10152 : // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.bad_url)
10153 0 : }
10154 : inline void ClientMalwareResponse::set_bad_url(const char* value) {
10155 : set_has_bad_url();
10156 : if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10157 : bad_url_ = new ::std::string;
10158 : }
10159 : bad_url_->assign(value);
10160 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareResponse.bad_url)
10161 : }
10162 : inline void ClientMalwareResponse::set_bad_url(const char* value, size_t size) {
10163 : set_has_bad_url();
10164 : if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10165 : bad_url_ = new ::std::string;
10166 : }
10167 : bad_url_->assign(reinterpret_cast<const char*>(value), size);
10168 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareResponse.bad_url)
10169 : }
10170 0 : inline ::std::string* ClientMalwareResponse::mutable_bad_url() {
10171 0 : set_has_bad_url();
10172 0 : if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10173 0 : bad_url_ = new ::std::string;
10174 : }
10175 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareResponse.bad_url)
10176 0 : return bad_url_;
10177 : }
10178 : inline ::std::string* ClientMalwareResponse::release_bad_url() {
10179 : clear_has_bad_url();
10180 : if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10181 : return NULL;
10182 : } else {
10183 : ::std::string* temp = bad_url_;
10184 : bad_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10185 : return temp;
10186 : }
10187 : }
10188 : inline void ClientMalwareResponse::set_allocated_bad_url(::std::string* bad_url) {
10189 : if (bad_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10190 : delete bad_url_;
10191 : }
10192 : if (bad_url) {
10193 : set_has_bad_url();
10194 : bad_url_ = bad_url;
10195 : } else {
10196 : clear_has_bad_url();
10197 : bad_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10198 : }
10199 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareResponse.bad_url)
10200 : }
10201 :
10202 : // -------------------------------------------------------------------
10203 :
10204 : // ClientDownloadRequest_Digests
10205 :
10206 : // optional bytes sha256 = 1;
10207 0 : inline bool ClientDownloadRequest_Digests::has_sha256() const {
10208 0 : return (_has_bits_[0] & 0x00000001u) != 0;
10209 : }
10210 0 : inline void ClientDownloadRequest_Digests::set_has_sha256() {
10211 0 : _has_bits_[0] |= 0x00000001u;
10212 0 : }
10213 : inline void ClientDownloadRequest_Digests::clear_has_sha256() {
10214 : _has_bits_[0] &= ~0x00000001u;
10215 : }
10216 : inline void ClientDownloadRequest_Digests::clear_sha256() {
10217 : if (sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10218 : sha256_->clear();
10219 : }
10220 : clear_has_sha256();
10221 : }
10222 0 : inline const ::std::string& ClientDownloadRequest_Digests::sha256() const {
10223 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.sha256)
10224 0 : return *sha256_;
10225 : }
10226 0 : inline void ClientDownloadRequest_Digests::set_sha256(const ::std::string& value) {
10227 0 : set_has_sha256();
10228 0 : if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10229 0 : sha256_ = new ::std::string;
10230 : }
10231 0 : sha256_->assign(value);
10232 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.sha256)
10233 0 : }
10234 0 : inline void ClientDownloadRequest_Digests::set_sha256(const char* value) {
10235 0 : set_has_sha256();
10236 0 : if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10237 0 : sha256_ = new ::std::string;
10238 : }
10239 0 : sha256_->assign(value);
10240 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.sha256)
10241 0 : }
10242 : inline void ClientDownloadRequest_Digests::set_sha256(const void* value, size_t size) {
10243 : set_has_sha256();
10244 : if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10245 : sha256_ = new ::std::string;
10246 : }
10247 : sha256_->assign(reinterpret_cast<const char*>(value), size);
10248 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.sha256)
10249 : }
10250 0 : inline ::std::string* ClientDownloadRequest_Digests::mutable_sha256() {
10251 0 : set_has_sha256();
10252 0 : if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10253 0 : sha256_ = new ::std::string;
10254 : }
10255 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.sha256)
10256 0 : return sha256_;
10257 : }
10258 : inline ::std::string* ClientDownloadRequest_Digests::release_sha256() {
10259 : clear_has_sha256();
10260 : if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10261 : return NULL;
10262 : } else {
10263 : ::std::string* temp = sha256_;
10264 : sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10265 : return temp;
10266 : }
10267 : }
10268 : inline void ClientDownloadRequest_Digests::set_allocated_sha256(::std::string* sha256) {
10269 : if (sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10270 : delete sha256_;
10271 : }
10272 : if (sha256) {
10273 : set_has_sha256();
10274 : sha256_ = sha256;
10275 : } else {
10276 : clear_has_sha256();
10277 : sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10278 : }
10279 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.sha256)
10280 : }
10281 :
10282 : // optional bytes sha1 = 2;
10283 0 : inline bool ClientDownloadRequest_Digests::has_sha1() const {
10284 0 : return (_has_bits_[0] & 0x00000002u) != 0;
10285 : }
10286 0 : inline void ClientDownloadRequest_Digests::set_has_sha1() {
10287 0 : _has_bits_[0] |= 0x00000002u;
10288 0 : }
10289 : inline void ClientDownloadRequest_Digests::clear_has_sha1() {
10290 : _has_bits_[0] &= ~0x00000002u;
10291 : }
10292 : inline void ClientDownloadRequest_Digests::clear_sha1() {
10293 : if (sha1_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10294 : sha1_->clear();
10295 : }
10296 : clear_has_sha1();
10297 : }
10298 0 : inline const ::std::string& ClientDownloadRequest_Digests::sha1() const {
10299 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.sha1)
10300 0 : return *sha1_;
10301 : }
10302 0 : inline void ClientDownloadRequest_Digests::set_sha1(const ::std::string& value) {
10303 0 : set_has_sha1();
10304 0 : if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10305 0 : sha1_ = new ::std::string;
10306 : }
10307 0 : sha1_->assign(value);
10308 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.sha1)
10309 0 : }
10310 : inline void ClientDownloadRequest_Digests::set_sha1(const char* value) {
10311 : set_has_sha1();
10312 : if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10313 : sha1_ = new ::std::string;
10314 : }
10315 : sha1_->assign(value);
10316 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.sha1)
10317 : }
10318 : inline void ClientDownloadRequest_Digests::set_sha1(const void* value, size_t size) {
10319 : set_has_sha1();
10320 : if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10321 : sha1_ = new ::std::string;
10322 : }
10323 : sha1_->assign(reinterpret_cast<const char*>(value), size);
10324 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.sha1)
10325 : }
10326 0 : inline ::std::string* ClientDownloadRequest_Digests::mutable_sha1() {
10327 0 : set_has_sha1();
10328 0 : if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10329 0 : sha1_ = new ::std::string;
10330 : }
10331 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.sha1)
10332 0 : return sha1_;
10333 : }
10334 : inline ::std::string* ClientDownloadRequest_Digests::release_sha1() {
10335 : clear_has_sha1();
10336 : if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10337 : return NULL;
10338 : } else {
10339 : ::std::string* temp = sha1_;
10340 : sha1_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10341 : return temp;
10342 : }
10343 : }
10344 : inline void ClientDownloadRequest_Digests::set_allocated_sha1(::std::string* sha1) {
10345 : if (sha1_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10346 : delete sha1_;
10347 : }
10348 : if (sha1) {
10349 : set_has_sha1();
10350 : sha1_ = sha1;
10351 : } else {
10352 : clear_has_sha1();
10353 : sha1_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10354 : }
10355 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.sha1)
10356 : }
10357 :
10358 : // optional bytes md5 = 3;
10359 0 : inline bool ClientDownloadRequest_Digests::has_md5() const {
10360 0 : return (_has_bits_[0] & 0x00000004u) != 0;
10361 : }
10362 0 : inline void ClientDownloadRequest_Digests::set_has_md5() {
10363 0 : _has_bits_[0] |= 0x00000004u;
10364 0 : }
10365 : inline void ClientDownloadRequest_Digests::clear_has_md5() {
10366 : _has_bits_[0] &= ~0x00000004u;
10367 : }
10368 : inline void ClientDownloadRequest_Digests::clear_md5() {
10369 : if (md5_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10370 : md5_->clear();
10371 : }
10372 : clear_has_md5();
10373 : }
10374 0 : inline const ::std::string& ClientDownloadRequest_Digests::md5() const {
10375 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.md5)
10376 0 : return *md5_;
10377 : }
10378 0 : inline void ClientDownloadRequest_Digests::set_md5(const ::std::string& value) {
10379 0 : set_has_md5();
10380 0 : if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10381 0 : md5_ = new ::std::string;
10382 : }
10383 0 : md5_->assign(value);
10384 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.md5)
10385 0 : }
10386 : inline void ClientDownloadRequest_Digests::set_md5(const char* value) {
10387 : set_has_md5();
10388 : if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10389 : md5_ = new ::std::string;
10390 : }
10391 : md5_->assign(value);
10392 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.md5)
10393 : }
10394 : inline void ClientDownloadRequest_Digests::set_md5(const void* value, size_t size) {
10395 : set_has_md5();
10396 : if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10397 : md5_ = new ::std::string;
10398 : }
10399 : md5_->assign(reinterpret_cast<const char*>(value), size);
10400 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.md5)
10401 : }
10402 0 : inline ::std::string* ClientDownloadRequest_Digests::mutable_md5() {
10403 0 : set_has_md5();
10404 0 : if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10405 0 : md5_ = new ::std::string;
10406 : }
10407 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.md5)
10408 0 : return md5_;
10409 : }
10410 : inline ::std::string* ClientDownloadRequest_Digests::release_md5() {
10411 : clear_has_md5();
10412 : if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10413 : return NULL;
10414 : } else {
10415 : ::std::string* temp = md5_;
10416 : md5_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10417 : return temp;
10418 : }
10419 : }
10420 : inline void ClientDownloadRequest_Digests::set_allocated_md5(::std::string* md5) {
10421 : if (md5_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10422 : delete md5_;
10423 : }
10424 : if (md5) {
10425 : set_has_md5();
10426 : md5_ = md5;
10427 : } else {
10428 : clear_has_md5();
10429 : md5_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10430 : }
10431 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.md5)
10432 : }
10433 :
10434 : // -------------------------------------------------------------------
10435 :
10436 : // ClientDownloadRequest_Resource
10437 :
10438 : // required string url = 1;
10439 0 : inline bool ClientDownloadRequest_Resource::has_url() const {
10440 0 : return (_has_bits_[0] & 0x00000001u) != 0;
10441 : }
10442 0 : inline void ClientDownloadRequest_Resource::set_has_url() {
10443 0 : _has_bits_[0] |= 0x00000001u;
10444 0 : }
10445 : inline void ClientDownloadRequest_Resource::clear_has_url() {
10446 : _has_bits_[0] &= ~0x00000001u;
10447 : }
10448 : inline void ClientDownloadRequest_Resource::clear_url() {
10449 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10450 : url_->clear();
10451 : }
10452 : clear_has_url();
10453 : }
10454 0 : inline const ::std::string& ClientDownloadRequest_Resource::url() const {
10455 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.url)
10456 0 : return *url_;
10457 : }
10458 0 : inline void ClientDownloadRequest_Resource::set_url(const ::std::string& value) {
10459 0 : set_has_url();
10460 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10461 0 : url_ = new ::std::string;
10462 : }
10463 0 : url_->assign(value);
10464 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.url)
10465 0 : }
10466 0 : inline void ClientDownloadRequest_Resource::set_url(const char* value) {
10467 0 : set_has_url();
10468 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10469 0 : url_ = new ::std::string;
10470 : }
10471 0 : url_->assign(value);
10472 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.url)
10473 0 : }
10474 : inline void ClientDownloadRequest_Resource::set_url(const char* value, size_t size) {
10475 : set_has_url();
10476 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10477 : url_ = new ::std::string;
10478 : }
10479 : url_->assign(reinterpret_cast<const char*>(value), size);
10480 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.url)
10481 : }
10482 0 : inline ::std::string* ClientDownloadRequest_Resource::mutable_url() {
10483 0 : set_has_url();
10484 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10485 0 : url_ = new ::std::string;
10486 : }
10487 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.url)
10488 0 : return url_;
10489 : }
10490 : inline ::std::string* ClientDownloadRequest_Resource::release_url() {
10491 : clear_has_url();
10492 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10493 : return NULL;
10494 : } else {
10495 : ::std::string* temp = url_;
10496 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10497 : return temp;
10498 : }
10499 : }
10500 : inline void ClientDownloadRequest_Resource::set_allocated_url(::std::string* url) {
10501 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10502 : delete url_;
10503 : }
10504 : if (url) {
10505 : set_has_url();
10506 : url_ = url;
10507 : } else {
10508 : clear_has_url();
10509 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10510 : }
10511 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.url)
10512 : }
10513 :
10514 : // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2;
10515 0 : inline bool ClientDownloadRequest_Resource::has_type() const {
10516 0 : return (_has_bits_[0] & 0x00000002u) != 0;
10517 : }
10518 0 : inline void ClientDownloadRequest_Resource::set_has_type() {
10519 0 : _has_bits_[0] |= 0x00000002u;
10520 0 : }
10521 : inline void ClientDownloadRequest_Resource::clear_has_type() {
10522 : _has_bits_[0] &= ~0x00000002u;
10523 : }
10524 : inline void ClientDownloadRequest_Resource::clear_type() {
10525 : type_ = 0;
10526 : clear_has_type();
10527 : }
10528 0 : inline ::safe_browsing::ClientDownloadRequest_ResourceType ClientDownloadRequest_Resource::type() const {
10529 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.type)
10530 0 : return static_cast< ::safe_browsing::ClientDownloadRequest_ResourceType >(type_);
10531 : }
10532 0 : inline void ClientDownloadRequest_Resource::set_type(::safe_browsing::ClientDownloadRequest_ResourceType value) {
10533 0 : assert(::safe_browsing::ClientDownloadRequest_ResourceType_IsValid(value));
10534 0 : set_has_type();
10535 0 : type_ = value;
10536 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.type)
10537 0 : }
10538 :
10539 : // optional bytes remote_ip = 3;
10540 0 : inline bool ClientDownloadRequest_Resource::has_remote_ip() const {
10541 0 : return (_has_bits_[0] & 0x00000004u) != 0;
10542 : }
10543 0 : inline void ClientDownloadRequest_Resource::set_has_remote_ip() {
10544 0 : _has_bits_[0] |= 0x00000004u;
10545 0 : }
10546 : inline void ClientDownloadRequest_Resource::clear_has_remote_ip() {
10547 : _has_bits_[0] &= ~0x00000004u;
10548 : }
10549 : inline void ClientDownloadRequest_Resource::clear_remote_ip() {
10550 : if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10551 : remote_ip_->clear();
10552 : }
10553 : clear_has_remote_ip();
10554 : }
10555 0 : inline const ::std::string& ClientDownloadRequest_Resource::remote_ip() const {
10556 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.remote_ip)
10557 0 : return *remote_ip_;
10558 : }
10559 0 : inline void ClientDownloadRequest_Resource::set_remote_ip(const ::std::string& value) {
10560 0 : set_has_remote_ip();
10561 0 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10562 0 : remote_ip_ = new ::std::string;
10563 : }
10564 0 : remote_ip_->assign(value);
10565 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.remote_ip)
10566 0 : }
10567 : inline void ClientDownloadRequest_Resource::set_remote_ip(const char* value) {
10568 : set_has_remote_ip();
10569 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10570 : remote_ip_ = new ::std::string;
10571 : }
10572 : remote_ip_->assign(value);
10573 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.remote_ip)
10574 : }
10575 : inline void ClientDownloadRequest_Resource::set_remote_ip(const void* value, size_t size) {
10576 : set_has_remote_ip();
10577 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10578 : remote_ip_ = new ::std::string;
10579 : }
10580 : remote_ip_->assign(reinterpret_cast<const char*>(value), size);
10581 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.remote_ip)
10582 : }
10583 0 : inline ::std::string* ClientDownloadRequest_Resource::mutable_remote_ip() {
10584 0 : set_has_remote_ip();
10585 0 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10586 0 : remote_ip_ = new ::std::string;
10587 : }
10588 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.remote_ip)
10589 0 : return remote_ip_;
10590 : }
10591 : inline ::std::string* ClientDownloadRequest_Resource::release_remote_ip() {
10592 : clear_has_remote_ip();
10593 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10594 : return NULL;
10595 : } else {
10596 : ::std::string* temp = remote_ip_;
10597 : remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10598 : return temp;
10599 : }
10600 : }
10601 : inline void ClientDownloadRequest_Resource::set_allocated_remote_ip(::std::string* remote_ip) {
10602 : if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10603 : delete remote_ip_;
10604 : }
10605 : if (remote_ip) {
10606 : set_has_remote_ip();
10607 : remote_ip_ = remote_ip;
10608 : } else {
10609 : clear_has_remote_ip();
10610 : remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10611 : }
10612 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.remote_ip)
10613 : }
10614 :
10615 : // optional string referrer = 4;
10616 0 : inline bool ClientDownloadRequest_Resource::has_referrer() const {
10617 0 : return (_has_bits_[0] & 0x00000008u) != 0;
10618 : }
10619 0 : inline void ClientDownloadRequest_Resource::set_has_referrer() {
10620 0 : _has_bits_[0] |= 0x00000008u;
10621 0 : }
10622 : inline void ClientDownloadRequest_Resource::clear_has_referrer() {
10623 : _has_bits_[0] &= ~0x00000008u;
10624 : }
10625 : inline void ClientDownloadRequest_Resource::clear_referrer() {
10626 : if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10627 : referrer_->clear();
10628 : }
10629 : clear_has_referrer();
10630 : }
10631 0 : inline const ::std::string& ClientDownloadRequest_Resource::referrer() const {
10632 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.referrer)
10633 0 : return *referrer_;
10634 : }
10635 0 : inline void ClientDownloadRequest_Resource::set_referrer(const ::std::string& value) {
10636 0 : set_has_referrer();
10637 0 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10638 0 : referrer_ = new ::std::string;
10639 : }
10640 0 : referrer_->assign(value);
10641 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.referrer)
10642 0 : }
10643 0 : inline void ClientDownloadRequest_Resource::set_referrer(const char* value) {
10644 0 : set_has_referrer();
10645 0 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10646 0 : referrer_ = new ::std::string;
10647 : }
10648 0 : referrer_->assign(value);
10649 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.referrer)
10650 0 : }
10651 : inline void ClientDownloadRequest_Resource::set_referrer(const char* value, size_t size) {
10652 : set_has_referrer();
10653 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10654 : referrer_ = new ::std::string;
10655 : }
10656 : referrer_->assign(reinterpret_cast<const char*>(value), size);
10657 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.referrer)
10658 : }
10659 0 : inline ::std::string* ClientDownloadRequest_Resource::mutable_referrer() {
10660 0 : set_has_referrer();
10661 0 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10662 0 : referrer_ = new ::std::string;
10663 : }
10664 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.referrer)
10665 0 : return referrer_;
10666 : }
10667 : inline ::std::string* ClientDownloadRequest_Resource::release_referrer() {
10668 : clear_has_referrer();
10669 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10670 : return NULL;
10671 : } else {
10672 : ::std::string* temp = referrer_;
10673 : referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10674 : return temp;
10675 : }
10676 : }
10677 : inline void ClientDownloadRequest_Resource::set_allocated_referrer(::std::string* referrer) {
10678 : if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10679 : delete referrer_;
10680 : }
10681 : if (referrer) {
10682 : set_has_referrer();
10683 : referrer_ = referrer;
10684 : } else {
10685 : clear_has_referrer();
10686 : referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10687 : }
10688 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.referrer)
10689 : }
10690 :
10691 : // -------------------------------------------------------------------
10692 :
10693 : // ClientDownloadRequest_CertificateChain_Element
10694 :
10695 : // optional bytes certificate = 1;
10696 0 : inline bool ClientDownloadRequest_CertificateChain_Element::has_certificate() const {
10697 0 : return (_has_bits_[0] & 0x00000001u) != 0;
10698 : }
10699 0 : inline void ClientDownloadRequest_CertificateChain_Element::set_has_certificate() {
10700 0 : _has_bits_[0] |= 0x00000001u;
10701 0 : }
10702 : inline void ClientDownloadRequest_CertificateChain_Element::clear_has_certificate() {
10703 : _has_bits_[0] &= ~0x00000001u;
10704 : }
10705 : inline void ClientDownloadRequest_CertificateChain_Element::clear_certificate() {
10706 : if (certificate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10707 : certificate_->clear();
10708 : }
10709 : clear_has_certificate();
10710 : }
10711 0 : inline const ::std::string& ClientDownloadRequest_CertificateChain_Element::certificate() const {
10712 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate)
10713 0 : return *certificate_;
10714 : }
10715 0 : inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const ::std::string& value) {
10716 0 : set_has_certificate();
10717 0 : if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10718 0 : certificate_ = new ::std::string;
10719 : }
10720 0 : certificate_->assign(value);
10721 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate)
10722 0 : }
10723 : inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const char* value) {
10724 : set_has_certificate();
10725 : if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10726 : certificate_ = new ::std::string;
10727 : }
10728 : certificate_->assign(value);
10729 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate)
10730 : }
10731 0 : inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const void* value, size_t size) {
10732 0 : set_has_certificate();
10733 0 : if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10734 0 : certificate_ = new ::std::string;
10735 : }
10736 0 : certificate_->assign(reinterpret_cast<const char*>(value), size);
10737 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate)
10738 0 : }
10739 0 : inline ::std::string* ClientDownloadRequest_CertificateChain_Element::mutable_certificate() {
10740 0 : set_has_certificate();
10741 0 : if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10742 0 : certificate_ = new ::std::string;
10743 : }
10744 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate)
10745 0 : return certificate_;
10746 : }
10747 : inline ::std::string* ClientDownloadRequest_CertificateChain_Element::release_certificate() {
10748 : clear_has_certificate();
10749 : if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10750 : return NULL;
10751 : } else {
10752 : ::std::string* temp = certificate_;
10753 : certificate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10754 : return temp;
10755 : }
10756 : }
10757 : inline void ClientDownloadRequest_CertificateChain_Element::set_allocated_certificate(::std::string* certificate) {
10758 : if (certificate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10759 : delete certificate_;
10760 : }
10761 : if (certificate) {
10762 : set_has_certificate();
10763 : certificate_ = certificate;
10764 : } else {
10765 : clear_has_certificate();
10766 : certificate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10767 : }
10768 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate)
10769 : }
10770 :
10771 : // -------------------------------------------------------------------
10772 :
10773 : // ClientDownloadRequest_CertificateChain
10774 :
10775 : // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1;
10776 0 : inline int ClientDownloadRequest_CertificateChain::element_size() const {
10777 0 : return element_.size();
10778 : }
10779 : inline void ClientDownloadRequest_CertificateChain::clear_element() {
10780 : element_.Clear();
10781 : }
10782 0 : inline const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& ClientDownloadRequest_CertificateChain::element(int index) const {
10783 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.CertificateChain.element)
10784 0 : return element_.Get(index);
10785 : }
10786 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain::mutable_element(int index) {
10787 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.CertificateChain.element)
10788 : return element_.Mutable(index);
10789 : }
10790 0 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain::add_element() {
10791 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.CertificateChain.element)
10792 0 : return element_.Add();
10793 : }
10794 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >&
10795 : ClientDownloadRequest_CertificateChain::element() const {
10796 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.CertificateChain.element)
10797 : return element_;
10798 : }
10799 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >*
10800 : ClientDownloadRequest_CertificateChain::mutable_element() {
10801 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.CertificateChain.element)
10802 : return &element_;
10803 : }
10804 :
10805 : // -------------------------------------------------------------------
10806 :
10807 : // ClientDownloadRequest_ExtendedAttr
10808 :
10809 : // required string key = 1;
10810 0 : inline bool ClientDownloadRequest_ExtendedAttr::has_key() const {
10811 0 : return (_has_bits_[0] & 0x00000001u) != 0;
10812 : }
10813 0 : inline void ClientDownloadRequest_ExtendedAttr::set_has_key() {
10814 0 : _has_bits_[0] |= 0x00000001u;
10815 0 : }
10816 : inline void ClientDownloadRequest_ExtendedAttr::clear_has_key() {
10817 : _has_bits_[0] &= ~0x00000001u;
10818 : }
10819 : inline void ClientDownloadRequest_ExtendedAttr::clear_key() {
10820 : if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10821 : key_->clear();
10822 : }
10823 : clear_has_key();
10824 : }
10825 0 : inline const ::std::string& ClientDownloadRequest_ExtendedAttr::key() const {
10826 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ExtendedAttr.key)
10827 0 : return *key_;
10828 : }
10829 0 : inline void ClientDownloadRequest_ExtendedAttr::set_key(const ::std::string& value) {
10830 0 : set_has_key();
10831 0 : if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10832 0 : key_ = new ::std::string;
10833 : }
10834 0 : key_->assign(value);
10835 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ExtendedAttr.key)
10836 0 : }
10837 : inline void ClientDownloadRequest_ExtendedAttr::set_key(const char* value) {
10838 : set_has_key();
10839 : if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10840 : key_ = new ::std::string;
10841 : }
10842 : key_->assign(value);
10843 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ExtendedAttr.key)
10844 : }
10845 : inline void ClientDownloadRequest_ExtendedAttr::set_key(const char* value, size_t size) {
10846 : set_has_key();
10847 : if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10848 : key_ = new ::std::string;
10849 : }
10850 : key_->assign(reinterpret_cast<const char*>(value), size);
10851 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ExtendedAttr.key)
10852 : }
10853 0 : inline ::std::string* ClientDownloadRequest_ExtendedAttr::mutable_key() {
10854 0 : set_has_key();
10855 0 : if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10856 0 : key_ = new ::std::string;
10857 : }
10858 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ExtendedAttr.key)
10859 0 : return key_;
10860 : }
10861 : inline ::std::string* ClientDownloadRequest_ExtendedAttr::release_key() {
10862 : clear_has_key();
10863 : if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10864 : return NULL;
10865 : } else {
10866 : ::std::string* temp = key_;
10867 : key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10868 : return temp;
10869 : }
10870 : }
10871 : inline void ClientDownloadRequest_ExtendedAttr::set_allocated_key(::std::string* key) {
10872 : if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10873 : delete key_;
10874 : }
10875 : if (key) {
10876 : set_has_key();
10877 : key_ = key;
10878 : } else {
10879 : clear_has_key();
10880 : key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10881 : }
10882 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ExtendedAttr.key)
10883 : }
10884 :
10885 : // optional bytes value = 2;
10886 0 : inline bool ClientDownloadRequest_ExtendedAttr::has_value() const {
10887 0 : return (_has_bits_[0] & 0x00000002u) != 0;
10888 : }
10889 0 : inline void ClientDownloadRequest_ExtendedAttr::set_has_value() {
10890 0 : _has_bits_[0] |= 0x00000002u;
10891 0 : }
10892 : inline void ClientDownloadRequest_ExtendedAttr::clear_has_value() {
10893 : _has_bits_[0] &= ~0x00000002u;
10894 : }
10895 : inline void ClientDownloadRequest_ExtendedAttr::clear_value() {
10896 : if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10897 : value_->clear();
10898 : }
10899 : clear_has_value();
10900 : }
10901 0 : inline const ::std::string& ClientDownloadRequest_ExtendedAttr::value() const {
10902 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ExtendedAttr.value)
10903 0 : return *value_;
10904 : }
10905 0 : inline void ClientDownloadRequest_ExtendedAttr::set_value(const ::std::string& value) {
10906 0 : set_has_value();
10907 0 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10908 0 : value_ = new ::std::string;
10909 : }
10910 0 : value_->assign(value);
10911 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ExtendedAttr.value)
10912 0 : }
10913 : inline void ClientDownloadRequest_ExtendedAttr::set_value(const char* value) {
10914 : set_has_value();
10915 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10916 : value_ = new ::std::string;
10917 : }
10918 : value_->assign(value);
10919 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ExtendedAttr.value)
10920 : }
10921 : inline void ClientDownloadRequest_ExtendedAttr::set_value(const void* value, size_t size) {
10922 : set_has_value();
10923 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10924 : value_ = new ::std::string;
10925 : }
10926 : value_->assign(reinterpret_cast<const char*>(value), size);
10927 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ExtendedAttr.value)
10928 : }
10929 0 : inline ::std::string* ClientDownloadRequest_ExtendedAttr::mutable_value() {
10930 0 : set_has_value();
10931 0 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10932 0 : value_ = new ::std::string;
10933 : }
10934 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ExtendedAttr.value)
10935 0 : return value_;
10936 : }
10937 : inline ::std::string* ClientDownloadRequest_ExtendedAttr::release_value() {
10938 : clear_has_value();
10939 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10940 : return NULL;
10941 : } else {
10942 : ::std::string* temp = value_;
10943 : value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10944 : return temp;
10945 : }
10946 : }
10947 : inline void ClientDownloadRequest_ExtendedAttr::set_allocated_value(::std::string* value) {
10948 : if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
10949 : delete value_;
10950 : }
10951 : if (value) {
10952 : set_has_value();
10953 : value_ = value;
10954 : } else {
10955 : clear_has_value();
10956 : value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10957 : }
10958 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ExtendedAttr.value)
10959 : }
10960 :
10961 : // -------------------------------------------------------------------
10962 :
10963 : // ClientDownloadRequest_SignatureInfo
10964 :
10965 : // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1;
10966 0 : inline int ClientDownloadRequest_SignatureInfo::certificate_chain_size() const {
10967 0 : return certificate_chain_.size();
10968 : }
10969 : inline void ClientDownloadRequest_SignatureInfo::clear_certificate_chain() {
10970 : certificate_chain_.Clear();
10971 : }
10972 0 : inline const ::safe_browsing::ClientDownloadRequest_CertificateChain& ClientDownloadRequest_SignatureInfo::certificate_chain(int index) const {
10973 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain)
10974 0 : return certificate_chain_.Get(index);
10975 : }
10976 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain* ClientDownloadRequest_SignatureInfo::mutable_certificate_chain(int index) {
10977 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain)
10978 : return certificate_chain_.Mutable(index);
10979 : }
10980 0 : inline ::safe_browsing::ClientDownloadRequest_CertificateChain* ClientDownloadRequest_SignatureInfo::add_certificate_chain() {
10981 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain)
10982 0 : return certificate_chain_.Add();
10983 : }
10984 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >&
10985 : ClientDownloadRequest_SignatureInfo::certificate_chain() const {
10986 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain)
10987 : return certificate_chain_;
10988 : }
10989 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >*
10990 : ClientDownloadRequest_SignatureInfo::mutable_certificate_chain() {
10991 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain)
10992 : return &certificate_chain_;
10993 : }
10994 :
10995 : // optional bool trusted = 2;
10996 0 : inline bool ClientDownloadRequest_SignatureInfo::has_trusted() const {
10997 0 : return (_has_bits_[0] & 0x00000002u) != 0;
10998 : }
10999 0 : inline void ClientDownloadRequest_SignatureInfo::set_has_trusted() {
11000 0 : _has_bits_[0] |= 0x00000002u;
11001 0 : }
11002 : inline void ClientDownloadRequest_SignatureInfo::clear_has_trusted() {
11003 : _has_bits_[0] &= ~0x00000002u;
11004 : }
11005 : inline void ClientDownloadRequest_SignatureInfo::clear_trusted() {
11006 : trusted_ = false;
11007 : clear_has_trusted();
11008 : }
11009 0 : inline bool ClientDownloadRequest_SignatureInfo::trusted() const {
11010 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.trusted)
11011 0 : return trusted_;
11012 : }
11013 0 : inline void ClientDownloadRequest_SignatureInfo::set_trusted(bool value) {
11014 0 : set_has_trusted();
11015 0 : trusted_ = value;
11016 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.SignatureInfo.trusted)
11017 0 : }
11018 :
11019 : // repeated bytes signed_data = 3;
11020 0 : inline int ClientDownloadRequest_SignatureInfo::signed_data_size() const {
11021 0 : return signed_data_.size();
11022 : }
11023 : inline void ClientDownloadRequest_SignatureInfo::clear_signed_data() {
11024 : signed_data_.Clear();
11025 : }
11026 0 : inline const ::std::string& ClientDownloadRequest_SignatureInfo::signed_data(int index) const {
11027 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11028 0 : return signed_data_.Get(index);
11029 : }
11030 : inline ::std::string* ClientDownloadRequest_SignatureInfo::mutable_signed_data(int index) {
11031 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11032 : return signed_data_.Mutable(index);
11033 : }
11034 : inline void ClientDownloadRequest_SignatureInfo::set_signed_data(int index, const ::std::string& value) {
11035 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11036 : signed_data_.Mutable(index)->assign(value);
11037 : }
11038 : inline void ClientDownloadRequest_SignatureInfo::set_signed_data(int index, const char* value) {
11039 : signed_data_.Mutable(index)->assign(value);
11040 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11041 : }
11042 : inline void ClientDownloadRequest_SignatureInfo::set_signed_data(int index, const void* value, size_t size) {
11043 : signed_data_.Mutable(index)->assign(
11044 : reinterpret_cast<const char*>(value), size);
11045 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11046 : }
11047 0 : inline ::std::string* ClientDownloadRequest_SignatureInfo::add_signed_data() {
11048 0 : return signed_data_.Add();
11049 : }
11050 : inline void ClientDownloadRequest_SignatureInfo::add_signed_data(const ::std::string& value) {
11051 : signed_data_.Add()->assign(value);
11052 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11053 : }
11054 : inline void ClientDownloadRequest_SignatureInfo::add_signed_data(const char* value) {
11055 : signed_data_.Add()->assign(value);
11056 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11057 : }
11058 : inline void ClientDownloadRequest_SignatureInfo::add_signed_data(const void* value, size_t size) {
11059 : signed_data_.Add()->assign(reinterpret_cast<const char*>(value), size);
11060 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11061 : }
11062 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
11063 : ClientDownloadRequest_SignatureInfo::signed_data() const {
11064 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11065 : return signed_data_;
11066 : }
11067 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
11068 : ClientDownloadRequest_SignatureInfo::mutable_signed_data() {
11069 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data)
11070 : return &signed_data_;
11071 : }
11072 :
11073 : // repeated .safe_browsing.ClientDownloadRequest.ExtendedAttr xattr = 4;
11074 0 : inline int ClientDownloadRequest_SignatureInfo::xattr_size() const {
11075 0 : return xattr_.size();
11076 : }
11077 : inline void ClientDownloadRequest_SignatureInfo::clear_xattr() {
11078 : xattr_.Clear();
11079 : }
11080 0 : inline const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& ClientDownloadRequest_SignatureInfo::xattr(int index) const {
11081 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr)
11082 0 : return xattr_.Get(index);
11083 : }
11084 : inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* ClientDownloadRequest_SignatureInfo::mutable_xattr(int index) {
11085 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr)
11086 : return xattr_.Mutable(index);
11087 : }
11088 0 : inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* ClientDownloadRequest_SignatureInfo::add_xattr() {
11089 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr)
11090 0 : return xattr_.Add();
11091 : }
11092 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >&
11093 0 : ClientDownloadRequest_SignatureInfo::xattr() const {
11094 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr)
11095 0 : return xattr_;
11096 : }
11097 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >*
11098 : ClientDownloadRequest_SignatureInfo::mutable_xattr() {
11099 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr)
11100 : return &xattr_;
11101 : }
11102 :
11103 : // -------------------------------------------------------------------
11104 :
11105 : // ClientDownloadRequest_PEImageHeaders_DebugData
11106 :
11107 : // optional bytes directory_entry = 1;
11108 0 : inline bool ClientDownloadRequest_PEImageHeaders_DebugData::has_directory_entry() const {
11109 0 : return (_has_bits_[0] & 0x00000001u) != 0;
11110 : }
11111 0 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_has_directory_entry() {
11112 0 : _has_bits_[0] |= 0x00000001u;
11113 0 : }
11114 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_has_directory_entry() {
11115 : _has_bits_[0] &= ~0x00000001u;
11116 : }
11117 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_directory_entry() {
11118 : if (directory_entry_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11119 : directory_entry_->clear();
11120 : }
11121 : clear_has_directory_entry();
11122 : }
11123 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders_DebugData::directory_entry() const {
11124 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry)
11125 0 : return *directory_entry_;
11126 : }
11127 0 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const ::std::string& value) {
11128 0 : set_has_directory_entry();
11129 0 : if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11130 0 : directory_entry_ = new ::std::string;
11131 : }
11132 0 : directory_entry_->assign(value);
11133 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry)
11134 0 : }
11135 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const char* value) {
11136 : set_has_directory_entry();
11137 : if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11138 : directory_entry_ = new ::std::string;
11139 : }
11140 : directory_entry_->assign(value);
11141 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry)
11142 : }
11143 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const void* value, size_t size) {
11144 : set_has_directory_entry();
11145 : if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11146 : directory_entry_ = new ::std::string;
11147 : }
11148 : directory_entry_->assign(reinterpret_cast<const char*>(value), size);
11149 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry)
11150 : }
11151 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::mutable_directory_entry() {
11152 0 : set_has_directory_entry();
11153 0 : if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11154 0 : directory_entry_ = new ::std::string;
11155 : }
11156 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry)
11157 0 : return directory_entry_;
11158 : }
11159 : inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::release_directory_entry() {
11160 : clear_has_directory_entry();
11161 : if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11162 : return NULL;
11163 : } else {
11164 : ::std::string* temp = directory_entry_;
11165 : directory_entry_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11166 : return temp;
11167 : }
11168 : }
11169 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_allocated_directory_entry(::std::string* directory_entry) {
11170 : if (directory_entry_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11171 : delete directory_entry_;
11172 : }
11173 : if (directory_entry) {
11174 : set_has_directory_entry();
11175 : directory_entry_ = directory_entry;
11176 : } else {
11177 : clear_has_directory_entry();
11178 : directory_entry_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11179 : }
11180 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry)
11181 : }
11182 :
11183 : // optional bytes raw_data = 2;
11184 0 : inline bool ClientDownloadRequest_PEImageHeaders_DebugData::has_raw_data() const {
11185 0 : return (_has_bits_[0] & 0x00000002u) != 0;
11186 : }
11187 0 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_has_raw_data() {
11188 0 : _has_bits_[0] |= 0x00000002u;
11189 0 : }
11190 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_has_raw_data() {
11191 : _has_bits_[0] &= ~0x00000002u;
11192 : }
11193 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_raw_data() {
11194 : if (raw_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11195 : raw_data_->clear();
11196 : }
11197 : clear_has_raw_data();
11198 : }
11199 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders_DebugData::raw_data() const {
11200 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data)
11201 0 : return *raw_data_;
11202 : }
11203 0 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const ::std::string& value) {
11204 0 : set_has_raw_data();
11205 0 : if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11206 0 : raw_data_ = new ::std::string;
11207 : }
11208 0 : raw_data_->assign(value);
11209 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data)
11210 0 : }
11211 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const char* value) {
11212 : set_has_raw_data();
11213 : if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11214 : raw_data_ = new ::std::string;
11215 : }
11216 : raw_data_->assign(value);
11217 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data)
11218 : }
11219 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const void* value, size_t size) {
11220 : set_has_raw_data();
11221 : if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11222 : raw_data_ = new ::std::string;
11223 : }
11224 : raw_data_->assign(reinterpret_cast<const char*>(value), size);
11225 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data)
11226 : }
11227 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::mutable_raw_data() {
11228 0 : set_has_raw_data();
11229 0 : if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11230 0 : raw_data_ = new ::std::string;
11231 : }
11232 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data)
11233 0 : return raw_data_;
11234 : }
11235 : inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::release_raw_data() {
11236 : clear_has_raw_data();
11237 : if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11238 : return NULL;
11239 : } else {
11240 : ::std::string* temp = raw_data_;
11241 : raw_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11242 : return temp;
11243 : }
11244 : }
11245 : inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_allocated_raw_data(::std::string* raw_data) {
11246 : if (raw_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11247 : delete raw_data_;
11248 : }
11249 : if (raw_data) {
11250 : set_has_raw_data();
11251 : raw_data_ = raw_data;
11252 : } else {
11253 : clear_has_raw_data();
11254 : raw_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11255 : }
11256 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data)
11257 : }
11258 :
11259 : // -------------------------------------------------------------------
11260 :
11261 : // ClientDownloadRequest_PEImageHeaders
11262 :
11263 : // optional bytes dos_header = 1;
11264 0 : inline bool ClientDownloadRequest_PEImageHeaders::has_dos_header() const {
11265 0 : return (_has_bits_[0] & 0x00000001u) != 0;
11266 : }
11267 0 : inline void ClientDownloadRequest_PEImageHeaders::set_has_dos_header() {
11268 0 : _has_bits_[0] |= 0x00000001u;
11269 0 : }
11270 : inline void ClientDownloadRequest_PEImageHeaders::clear_has_dos_header() {
11271 : _has_bits_[0] &= ~0x00000001u;
11272 : }
11273 : inline void ClientDownloadRequest_PEImageHeaders::clear_dos_header() {
11274 : if (dos_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11275 : dos_header_->clear();
11276 : }
11277 : clear_has_dos_header();
11278 : }
11279 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders::dos_header() const {
11280 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header)
11281 0 : return *dos_header_;
11282 : }
11283 0 : inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const ::std::string& value) {
11284 0 : set_has_dos_header();
11285 0 : if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11286 0 : dos_header_ = new ::std::string;
11287 : }
11288 0 : dos_header_->assign(value);
11289 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header)
11290 0 : }
11291 : inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const char* value) {
11292 : set_has_dos_header();
11293 : if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11294 : dos_header_ = new ::std::string;
11295 : }
11296 : dos_header_->assign(value);
11297 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header)
11298 : }
11299 : inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const void* value, size_t size) {
11300 : set_has_dos_header();
11301 : if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11302 : dos_header_ = new ::std::string;
11303 : }
11304 : dos_header_->assign(reinterpret_cast<const char*>(value), size);
11305 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header)
11306 : }
11307 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_dos_header() {
11308 0 : set_has_dos_header();
11309 0 : if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11310 0 : dos_header_ = new ::std::string;
11311 : }
11312 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header)
11313 0 : return dos_header_;
11314 : }
11315 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_dos_header() {
11316 : clear_has_dos_header();
11317 : if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11318 : return NULL;
11319 : } else {
11320 : ::std::string* temp = dos_header_;
11321 : dos_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11322 : return temp;
11323 : }
11324 : }
11325 : inline void ClientDownloadRequest_PEImageHeaders::set_allocated_dos_header(::std::string* dos_header) {
11326 : if (dos_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11327 : delete dos_header_;
11328 : }
11329 : if (dos_header) {
11330 : set_has_dos_header();
11331 : dos_header_ = dos_header;
11332 : } else {
11333 : clear_has_dos_header();
11334 : dos_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11335 : }
11336 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header)
11337 : }
11338 :
11339 : // optional bytes file_header = 2;
11340 0 : inline bool ClientDownloadRequest_PEImageHeaders::has_file_header() const {
11341 0 : return (_has_bits_[0] & 0x00000002u) != 0;
11342 : }
11343 0 : inline void ClientDownloadRequest_PEImageHeaders::set_has_file_header() {
11344 0 : _has_bits_[0] |= 0x00000002u;
11345 0 : }
11346 : inline void ClientDownloadRequest_PEImageHeaders::clear_has_file_header() {
11347 : _has_bits_[0] &= ~0x00000002u;
11348 : }
11349 : inline void ClientDownloadRequest_PEImageHeaders::clear_file_header() {
11350 : if (file_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11351 : file_header_->clear();
11352 : }
11353 : clear_has_file_header();
11354 : }
11355 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders::file_header() const {
11356 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header)
11357 0 : return *file_header_;
11358 : }
11359 0 : inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const ::std::string& value) {
11360 0 : set_has_file_header();
11361 0 : if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11362 0 : file_header_ = new ::std::string;
11363 : }
11364 0 : file_header_->assign(value);
11365 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header)
11366 0 : }
11367 : inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const char* value) {
11368 : set_has_file_header();
11369 : if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11370 : file_header_ = new ::std::string;
11371 : }
11372 : file_header_->assign(value);
11373 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header)
11374 : }
11375 : inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const void* value, size_t size) {
11376 : set_has_file_header();
11377 : if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11378 : file_header_ = new ::std::string;
11379 : }
11380 : file_header_->assign(reinterpret_cast<const char*>(value), size);
11381 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header)
11382 : }
11383 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_file_header() {
11384 0 : set_has_file_header();
11385 0 : if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11386 0 : file_header_ = new ::std::string;
11387 : }
11388 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header)
11389 0 : return file_header_;
11390 : }
11391 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_file_header() {
11392 : clear_has_file_header();
11393 : if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11394 : return NULL;
11395 : } else {
11396 : ::std::string* temp = file_header_;
11397 : file_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11398 : return temp;
11399 : }
11400 : }
11401 : inline void ClientDownloadRequest_PEImageHeaders::set_allocated_file_header(::std::string* file_header) {
11402 : if (file_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11403 : delete file_header_;
11404 : }
11405 : if (file_header) {
11406 : set_has_file_header();
11407 : file_header_ = file_header;
11408 : } else {
11409 : clear_has_file_header();
11410 : file_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11411 : }
11412 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header)
11413 : }
11414 :
11415 : // optional bytes optional_headers32 = 3;
11416 0 : inline bool ClientDownloadRequest_PEImageHeaders::has_optional_headers32() const {
11417 0 : return (_has_bits_[0] & 0x00000004u) != 0;
11418 : }
11419 0 : inline void ClientDownloadRequest_PEImageHeaders::set_has_optional_headers32() {
11420 0 : _has_bits_[0] |= 0x00000004u;
11421 0 : }
11422 : inline void ClientDownloadRequest_PEImageHeaders::clear_has_optional_headers32() {
11423 : _has_bits_[0] &= ~0x00000004u;
11424 : }
11425 : inline void ClientDownloadRequest_PEImageHeaders::clear_optional_headers32() {
11426 : if (optional_headers32_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11427 : optional_headers32_->clear();
11428 : }
11429 : clear_has_optional_headers32();
11430 : }
11431 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders::optional_headers32() const {
11432 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32)
11433 0 : return *optional_headers32_;
11434 : }
11435 0 : inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const ::std::string& value) {
11436 0 : set_has_optional_headers32();
11437 0 : if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11438 0 : optional_headers32_ = new ::std::string;
11439 : }
11440 0 : optional_headers32_->assign(value);
11441 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32)
11442 0 : }
11443 : inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const char* value) {
11444 : set_has_optional_headers32();
11445 : if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11446 : optional_headers32_ = new ::std::string;
11447 : }
11448 : optional_headers32_->assign(value);
11449 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32)
11450 : }
11451 : inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const void* value, size_t size) {
11452 : set_has_optional_headers32();
11453 : if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11454 : optional_headers32_ = new ::std::string;
11455 : }
11456 : optional_headers32_->assign(reinterpret_cast<const char*>(value), size);
11457 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32)
11458 : }
11459 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_optional_headers32() {
11460 0 : set_has_optional_headers32();
11461 0 : if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11462 0 : optional_headers32_ = new ::std::string;
11463 : }
11464 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32)
11465 0 : return optional_headers32_;
11466 : }
11467 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_optional_headers32() {
11468 : clear_has_optional_headers32();
11469 : if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11470 : return NULL;
11471 : } else {
11472 : ::std::string* temp = optional_headers32_;
11473 : optional_headers32_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11474 : return temp;
11475 : }
11476 : }
11477 : inline void ClientDownloadRequest_PEImageHeaders::set_allocated_optional_headers32(::std::string* optional_headers32) {
11478 : if (optional_headers32_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11479 : delete optional_headers32_;
11480 : }
11481 : if (optional_headers32) {
11482 : set_has_optional_headers32();
11483 : optional_headers32_ = optional_headers32;
11484 : } else {
11485 : clear_has_optional_headers32();
11486 : optional_headers32_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11487 : }
11488 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32)
11489 : }
11490 :
11491 : // optional bytes optional_headers64 = 4;
11492 0 : inline bool ClientDownloadRequest_PEImageHeaders::has_optional_headers64() const {
11493 0 : return (_has_bits_[0] & 0x00000008u) != 0;
11494 : }
11495 0 : inline void ClientDownloadRequest_PEImageHeaders::set_has_optional_headers64() {
11496 0 : _has_bits_[0] |= 0x00000008u;
11497 0 : }
11498 : inline void ClientDownloadRequest_PEImageHeaders::clear_has_optional_headers64() {
11499 : _has_bits_[0] &= ~0x00000008u;
11500 : }
11501 : inline void ClientDownloadRequest_PEImageHeaders::clear_optional_headers64() {
11502 : if (optional_headers64_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11503 : optional_headers64_->clear();
11504 : }
11505 : clear_has_optional_headers64();
11506 : }
11507 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders::optional_headers64() const {
11508 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64)
11509 0 : return *optional_headers64_;
11510 : }
11511 0 : inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const ::std::string& value) {
11512 0 : set_has_optional_headers64();
11513 0 : if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11514 0 : optional_headers64_ = new ::std::string;
11515 : }
11516 0 : optional_headers64_->assign(value);
11517 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64)
11518 0 : }
11519 : inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const char* value) {
11520 : set_has_optional_headers64();
11521 : if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11522 : optional_headers64_ = new ::std::string;
11523 : }
11524 : optional_headers64_->assign(value);
11525 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64)
11526 : }
11527 : inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const void* value, size_t size) {
11528 : set_has_optional_headers64();
11529 : if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11530 : optional_headers64_ = new ::std::string;
11531 : }
11532 : optional_headers64_->assign(reinterpret_cast<const char*>(value), size);
11533 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64)
11534 : }
11535 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_optional_headers64() {
11536 0 : set_has_optional_headers64();
11537 0 : if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11538 0 : optional_headers64_ = new ::std::string;
11539 : }
11540 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64)
11541 0 : return optional_headers64_;
11542 : }
11543 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_optional_headers64() {
11544 : clear_has_optional_headers64();
11545 : if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11546 : return NULL;
11547 : } else {
11548 : ::std::string* temp = optional_headers64_;
11549 : optional_headers64_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11550 : return temp;
11551 : }
11552 : }
11553 : inline void ClientDownloadRequest_PEImageHeaders::set_allocated_optional_headers64(::std::string* optional_headers64) {
11554 : if (optional_headers64_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11555 : delete optional_headers64_;
11556 : }
11557 : if (optional_headers64) {
11558 : set_has_optional_headers64();
11559 : optional_headers64_ = optional_headers64;
11560 : } else {
11561 : clear_has_optional_headers64();
11562 : optional_headers64_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11563 : }
11564 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64)
11565 : }
11566 :
11567 : // repeated bytes section_header = 5;
11568 0 : inline int ClientDownloadRequest_PEImageHeaders::section_header_size() const {
11569 0 : return section_header_.size();
11570 : }
11571 : inline void ClientDownloadRequest_PEImageHeaders::clear_section_header() {
11572 : section_header_.Clear();
11573 : }
11574 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders::section_header(int index) const {
11575 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11576 0 : return section_header_.Get(index);
11577 : }
11578 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_section_header(int index) {
11579 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11580 : return section_header_.Mutable(index);
11581 : }
11582 : inline void ClientDownloadRequest_PEImageHeaders::set_section_header(int index, const ::std::string& value) {
11583 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11584 : section_header_.Mutable(index)->assign(value);
11585 : }
11586 : inline void ClientDownloadRequest_PEImageHeaders::set_section_header(int index, const char* value) {
11587 : section_header_.Mutable(index)->assign(value);
11588 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11589 : }
11590 : inline void ClientDownloadRequest_PEImageHeaders::set_section_header(int index, const void* value, size_t size) {
11591 : section_header_.Mutable(index)->assign(
11592 : reinterpret_cast<const char*>(value), size);
11593 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11594 : }
11595 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::add_section_header() {
11596 0 : return section_header_.Add();
11597 : }
11598 : inline void ClientDownloadRequest_PEImageHeaders::add_section_header(const ::std::string& value) {
11599 : section_header_.Add()->assign(value);
11600 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11601 : }
11602 : inline void ClientDownloadRequest_PEImageHeaders::add_section_header(const char* value) {
11603 : section_header_.Add()->assign(value);
11604 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11605 : }
11606 : inline void ClientDownloadRequest_PEImageHeaders::add_section_header(const void* value, size_t size) {
11607 : section_header_.Add()->assign(reinterpret_cast<const char*>(value), size);
11608 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11609 : }
11610 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
11611 : ClientDownloadRequest_PEImageHeaders::section_header() const {
11612 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11613 : return section_header_;
11614 : }
11615 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
11616 : ClientDownloadRequest_PEImageHeaders::mutable_section_header() {
11617 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header)
11618 : return §ion_header_;
11619 : }
11620 :
11621 : // optional bytes export_section_data = 6;
11622 0 : inline bool ClientDownloadRequest_PEImageHeaders::has_export_section_data() const {
11623 0 : return (_has_bits_[0] & 0x00000020u) != 0;
11624 : }
11625 0 : inline void ClientDownloadRequest_PEImageHeaders::set_has_export_section_data() {
11626 0 : _has_bits_[0] |= 0x00000020u;
11627 0 : }
11628 : inline void ClientDownloadRequest_PEImageHeaders::clear_has_export_section_data() {
11629 : _has_bits_[0] &= ~0x00000020u;
11630 : }
11631 : inline void ClientDownloadRequest_PEImageHeaders::clear_export_section_data() {
11632 : if (export_section_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11633 : export_section_data_->clear();
11634 : }
11635 : clear_has_export_section_data();
11636 : }
11637 0 : inline const ::std::string& ClientDownloadRequest_PEImageHeaders::export_section_data() const {
11638 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data)
11639 0 : return *export_section_data_;
11640 : }
11641 0 : inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const ::std::string& value) {
11642 0 : set_has_export_section_data();
11643 0 : if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11644 0 : export_section_data_ = new ::std::string;
11645 : }
11646 0 : export_section_data_->assign(value);
11647 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data)
11648 0 : }
11649 : inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const char* value) {
11650 : set_has_export_section_data();
11651 : if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11652 : export_section_data_ = new ::std::string;
11653 : }
11654 : export_section_data_->assign(value);
11655 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data)
11656 : }
11657 : inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const void* value, size_t size) {
11658 : set_has_export_section_data();
11659 : if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11660 : export_section_data_ = new ::std::string;
11661 : }
11662 : export_section_data_->assign(reinterpret_cast<const char*>(value), size);
11663 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data)
11664 : }
11665 0 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_export_section_data() {
11666 0 : set_has_export_section_data();
11667 0 : if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11668 0 : export_section_data_ = new ::std::string;
11669 : }
11670 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data)
11671 0 : return export_section_data_;
11672 : }
11673 : inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_export_section_data() {
11674 : clear_has_export_section_data();
11675 : if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11676 : return NULL;
11677 : } else {
11678 : ::std::string* temp = export_section_data_;
11679 : export_section_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11680 : return temp;
11681 : }
11682 : }
11683 : inline void ClientDownloadRequest_PEImageHeaders::set_allocated_export_section_data(::std::string* export_section_data) {
11684 : if (export_section_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11685 : delete export_section_data_;
11686 : }
11687 : if (export_section_data) {
11688 : set_has_export_section_data();
11689 : export_section_data_ = export_section_data;
11690 : } else {
11691 : clear_has_export_section_data();
11692 : export_section_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11693 : }
11694 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data)
11695 : }
11696 :
11697 : // repeated .safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData debug_data = 7;
11698 0 : inline int ClientDownloadRequest_PEImageHeaders::debug_data_size() const {
11699 0 : return debug_data_.size();
11700 : }
11701 : inline void ClientDownloadRequest_PEImageHeaders::clear_debug_data() {
11702 : debug_data_.Clear();
11703 : }
11704 0 : inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& ClientDownloadRequest_PEImageHeaders::debug_data(int index) const {
11705 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data)
11706 0 : return debug_data_.Get(index);
11707 : }
11708 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* ClientDownloadRequest_PEImageHeaders::mutable_debug_data(int index) {
11709 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data)
11710 : return debug_data_.Mutable(index);
11711 : }
11712 0 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* ClientDownloadRequest_PEImageHeaders::add_debug_data() {
11713 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data)
11714 0 : return debug_data_.Add();
11715 : }
11716 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >&
11717 : ClientDownloadRequest_PEImageHeaders::debug_data() const {
11718 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data)
11719 : return debug_data_;
11720 : }
11721 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >*
11722 : ClientDownloadRequest_PEImageHeaders::mutable_debug_data() {
11723 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data)
11724 : return &debug_data_;
11725 : }
11726 :
11727 : // -------------------------------------------------------------------
11728 :
11729 : // ClientDownloadRequest_MachOHeaders_LoadCommand
11730 :
11731 : // required uint32 command_id = 1;
11732 0 : inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::has_command_id() const {
11733 0 : return (_has_bits_[0] & 0x00000001u) != 0;
11734 : }
11735 0 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_has_command_id() {
11736 0 : _has_bits_[0] |= 0x00000001u;
11737 0 : }
11738 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_has_command_id() {
11739 : _has_bits_[0] &= ~0x00000001u;
11740 : }
11741 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_command_id() {
11742 : command_id_ = 0u;
11743 : clear_has_command_id();
11744 : }
11745 0 : inline ::google::protobuf::uint32 ClientDownloadRequest_MachOHeaders_LoadCommand::command_id() const {
11746 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command_id)
11747 0 : return command_id_;
11748 : }
11749 0 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command_id(::google::protobuf::uint32 value) {
11750 0 : set_has_command_id();
11751 0 : command_id_ = value;
11752 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command_id)
11753 0 : }
11754 :
11755 : // required bytes command = 2;
11756 0 : inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::has_command() const {
11757 0 : return (_has_bits_[0] & 0x00000002u) != 0;
11758 : }
11759 0 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_has_command() {
11760 0 : _has_bits_[0] |= 0x00000002u;
11761 0 : }
11762 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_has_command() {
11763 : _has_bits_[0] &= ~0x00000002u;
11764 : }
11765 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_command() {
11766 : if (command_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11767 : command_->clear();
11768 : }
11769 : clear_has_command();
11770 : }
11771 0 : inline const ::std::string& ClientDownloadRequest_MachOHeaders_LoadCommand::command() const {
11772 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command)
11773 0 : return *command_;
11774 : }
11775 0 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const ::std::string& value) {
11776 0 : set_has_command();
11777 0 : if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11778 0 : command_ = new ::std::string;
11779 : }
11780 0 : command_->assign(value);
11781 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command)
11782 0 : }
11783 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const char* value) {
11784 : set_has_command();
11785 : if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11786 : command_ = new ::std::string;
11787 : }
11788 : command_->assign(value);
11789 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command)
11790 : }
11791 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const void* value, size_t size) {
11792 : set_has_command();
11793 : if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11794 : command_ = new ::std::string;
11795 : }
11796 : command_->assign(reinterpret_cast<const char*>(value), size);
11797 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command)
11798 : }
11799 0 : inline ::std::string* ClientDownloadRequest_MachOHeaders_LoadCommand::mutable_command() {
11800 0 : set_has_command();
11801 0 : if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11802 0 : command_ = new ::std::string;
11803 : }
11804 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command)
11805 0 : return command_;
11806 : }
11807 : inline ::std::string* ClientDownloadRequest_MachOHeaders_LoadCommand::release_command() {
11808 : clear_has_command();
11809 : if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11810 : return NULL;
11811 : } else {
11812 : ::std::string* temp = command_;
11813 : command_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11814 : return temp;
11815 : }
11816 : }
11817 : inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_allocated_command(::std::string* command) {
11818 : if (command_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11819 : delete command_;
11820 : }
11821 : if (command) {
11822 : set_has_command();
11823 : command_ = command;
11824 : } else {
11825 : clear_has_command();
11826 : command_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11827 : }
11828 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command)
11829 : }
11830 :
11831 : // -------------------------------------------------------------------
11832 :
11833 : // ClientDownloadRequest_MachOHeaders
11834 :
11835 : // required bytes mach_header = 1;
11836 0 : inline bool ClientDownloadRequest_MachOHeaders::has_mach_header() const {
11837 0 : return (_has_bits_[0] & 0x00000001u) != 0;
11838 : }
11839 0 : inline void ClientDownloadRequest_MachOHeaders::set_has_mach_header() {
11840 0 : _has_bits_[0] |= 0x00000001u;
11841 0 : }
11842 : inline void ClientDownloadRequest_MachOHeaders::clear_has_mach_header() {
11843 : _has_bits_[0] &= ~0x00000001u;
11844 : }
11845 : inline void ClientDownloadRequest_MachOHeaders::clear_mach_header() {
11846 : if (mach_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11847 : mach_header_->clear();
11848 : }
11849 : clear_has_mach_header();
11850 : }
11851 0 : inline const ::std::string& ClientDownloadRequest_MachOHeaders::mach_header() const {
11852 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header)
11853 0 : return *mach_header_;
11854 : }
11855 0 : inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const ::std::string& value) {
11856 0 : set_has_mach_header();
11857 0 : if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11858 0 : mach_header_ = new ::std::string;
11859 : }
11860 0 : mach_header_->assign(value);
11861 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header)
11862 0 : }
11863 : inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const char* value) {
11864 : set_has_mach_header();
11865 : if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11866 : mach_header_ = new ::std::string;
11867 : }
11868 : mach_header_->assign(value);
11869 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header)
11870 : }
11871 : inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const void* value, size_t size) {
11872 : set_has_mach_header();
11873 : if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11874 : mach_header_ = new ::std::string;
11875 : }
11876 : mach_header_->assign(reinterpret_cast<const char*>(value), size);
11877 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header)
11878 : }
11879 0 : inline ::std::string* ClientDownloadRequest_MachOHeaders::mutable_mach_header() {
11880 0 : set_has_mach_header();
11881 0 : if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11882 0 : mach_header_ = new ::std::string;
11883 : }
11884 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header)
11885 0 : return mach_header_;
11886 : }
11887 : inline ::std::string* ClientDownloadRequest_MachOHeaders::release_mach_header() {
11888 : clear_has_mach_header();
11889 : if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11890 : return NULL;
11891 : } else {
11892 : ::std::string* temp = mach_header_;
11893 : mach_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11894 : return temp;
11895 : }
11896 : }
11897 : inline void ClientDownloadRequest_MachOHeaders::set_allocated_mach_header(::std::string* mach_header) {
11898 : if (mach_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
11899 : delete mach_header_;
11900 : }
11901 : if (mach_header) {
11902 : set_has_mach_header();
11903 : mach_header_ = mach_header;
11904 : } else {
11905 : clear_has_mach_header();
11906 : mach_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11907 : }
11908 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header)
11909 : }
11910 :
11911 : // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand load_commands = 2;
11912 0 : inline int ClientDownloadRequest_MachOHeaders::load_commands_size() const {
11913 0 : return load_commands_.size();
11914 : }
11915 : inline void ClientDownloadRequest_MachOHeaders::clear_load_commands() {
11916 : load_commands_.Clear();
11917 : }
11918 0 : inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& ClientDownloadRequest_MachOHeaders::load_commands(int index) const {
11919 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands)
11920 0 : return load_commands_.Get(index);
11921 : }
11922 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* ClientDownloadRequest_MachOHeaders::mutable_load_commands(int index) {
11923 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands)
11924 : return load_commands_.Mutable(index);
11925 : }
11926 0 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* ClientDownloadRequest_MachOHeaders::add_load_commands() {
11927 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands)
11928 0 : return load_commands_.Add();
11929 : }
11930 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >&
11931 0 : ClientDownloadRequest_MachOHeaders::load_commands() const {
11932 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands)
11933 0 : return load_commands_;
11934 : }
11935 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >*
11936 : ClientDownloadRequest_MachOHeaders::mutable_load_commands() {
11937 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands)
11938 : return &load_commands_;
11939 : }
11940 :
11941 : // -------------------------------------------------------------------
11942 :
11943 : // ClientDownloadRequest_ImageHeaders
11944 :
11945 : // optional .safe_browsing.ClientDownloadRequest.PEImageHeaders pe_headers = 1;
11946 0 : inline bool ClientDownloadRequest_ImageHeaders::has_pe_headers() const {
11947 0 : return (_has_bits_[0] & 0x00000001u) != 0;
11948 : }
11949 0 : inline void ClientDownloadRequest_ImageHeaders::set_has_pe_headers() {
11950 0 : _has_bits_[0] |= 0x00000001u;
11951 0 : }
11952 : inline void ClientDownloadRequest_ImageHeaders::clear_has_pe_headers() {
11953 : _has_bits_[0] &= ~0x00000001u;
11954 : }
11955 : inline void ClientDownloadRequest_ImageHeaders::clear_pe_headers() {
11956 : if (pe_headers_ != NULL) pe_headers_->::safe_browsing::ClientDownloadRequest_PEImageHeaders::Clear();
11957 : clear_has_pe_headers();
11958 : }
11959 0 : inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& ClientDownloadRequest_ImageHeaders::pe_headers() const {
11960 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers)
11961 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11962 0 : return pe_headers_ != NULL ? *pe_headers_ : *default_instance().pe_headers_;
11963 : #else
11964 : return pe_headers_ != NULL ? *pe_headers_ : *default_instance_->pe_headers_;
11965 : #endif
11966 : }
11967 0 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* ClientDownloadRequest_ImageHeaders::mutable_pe_headers() {
11968 0 : set_has_pe_headers();
11969 0 : if (pe_headers_ == NULL) pe_headers_ = new ::safe_browsing::ClientDownloadRequest_PEImageHeaders;
11970 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers)
11971 0 : return pe_headers_;
11972 : }
11973 : inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* ClientDownloadRequest_ImageHeaders::release_pe_headers() {
11974 : clear_has_pe_headers();
11975 : ::safe_browsing::ClientDownloadRequest_PEImageHeaders* temp = pe_headers_;
11976 : pe_headers_ = NULL;
11977 : return temp;
11978 : }
11979 : inline void ClientDownloadRequest_ImageHeaders::set_allocated_pe_headers(::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers) {
11980 : delete pe_headers_;
11981 : pe_headers_ = pe_headers;
11982 : if (pe_headers) {
11983 : set_has_pe_headers();
11984 : } else {
11985 : clear_has_pe_headers();
11986 : }
11987 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers)
11988 : }
11989 :
11990 : // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders mach_o_headers = 2;
11991 0 : inline int ClientDownloadRequest_ImageHeaders::mach_o_headers_size() const {
11992 0 : return mach_o_headers_.size();
11993 : }
11994 : inline void ClientDownloadRequest_ImageHeaders::clear_mach_o_headers() {
11995 : mach_o_headers_.Clear();
11996 : }
11997 0 : inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders& ClientDownloadRequest_ImageHeaders::mach_o_headers(int index) const {
11998 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers)
11999 0 : return mach_o_headers_.Get(index);
12000 : }
12001 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* ClientDownloadRequest_ImageHeaders::mutable_mach_o_headers(int index) {
12002 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers)
12003 : return mach_o_headers_.Mutable(index);
12004 : }
12005 0 : inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* ClientDownloadRequest_ImageHeaders::add_mach_o_headers() {
12006 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers)
12007 0 : return mach_o_headers_.Add();
12008 : }
12009 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >&
12010 0 : ClientDownloadRequest_ImageHeaders::mach_o_headers() const {
12011 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers)
12012 0 : return mach_o_headers_;
12013 : }
12014 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >*
12015 : ClientDownloadRequest_ImageHeaders::mutable_mach_o_headers() {
12016 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers)
12017 : return &mach_o_headers_;
12018 : }
12019 :
12020 : // -------------------------------------------------------------------
12021 :
12022 : // ClientDownloadRequest_ArchivedBinary
12023 :
12024 : // optional string file_basename = 1;
12025 0 : inline bool ClientDownloadRequest_ArchivedBinary::has_file_basename() const {
12026 0 : return (_has_bits_[0] & 0x00000001u) != 0;
12027 : }
12028 0 : inline void ClientDownloadRequest_ArchivedBinary::set_has_file_basename() {
12029 0 : _has_bits_[0] |= 0x00000001u;
12030 0 : }
12031 : inline void ClientDownloadRequest_ArchivedBinary::clear_has_file_basename() {
12032 : _has_bits_[0] &= ~0x00000001u;
12033 : }
12034 : inline void ClientDownloadRequest_ArchivedBinary::clear_file_basename() {
12035 : if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12036 : file_basename_->clear();
12037 : }
12038 : clear_has_file_basename();
12039 : }
12040 0 : inline const ::std::string& ClientDownloadRequest_ArchivedBinary::file_basename() const {
12041 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename)
12042 0 : return *file_basename_;
12043 : }
12044 0 : inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const ::std::string& value) {
12045 0 : set_has_file_basename();
12046 0 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12047 0 : file_basename_ = new ::std::string;
12048 : }
12049 0 : file_basename_->assign(value);
12050 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename)
12051 0 : }
12052 : inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const char* value) {
12053 : set_has_file_basename();
12054 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12055 : file_basename_ = new ::std::string;
12056 : }
12057 : file_basename_->assign(value);
12058 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename)
12059 : }
12060 : inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const char* value, size_t size) {
12061 : set_has_file_basename();
12062 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12063 : file_basename_ = new ::std::string;
12064 : }
12065 : file_basename_->assign(reinterpret_cast<const char*>(value), size);
12066 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename)
12067 : }
12068 0 : inline ::std::string* ClientDownloadRequest_ArchivedBinary::mutable_file_basename() {
12069 0 : set_has_file_basename();
12070 0 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12071 0 : file_basename_ = new ::std::string;
12072 : }
12073 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename)
12074 0 : return file_basename_;
12075 : }
12076 : inline ::std::string* ClientDownloadRequest_ArchivedBinary::release_file_basename() {
12077 : clear_has_file_basename();
12078 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12079 : return NULL;
12080 : } else {
12081 : ::std::string* temp = file_basename_;
12082 : file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12083 : return temp;
12084 : }
12085 : }
12086 : inline void ClientDownloadRequest_ArchivedBinary::set_allocated_file_basename(::std::string* file_basename) {
12087 : if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12088 : delete file_basename_;
12089 : }
12090 : if (file_basename) {
12091 : set_has_file_basename();
12092 : file_basename_ = file_basename;
12093 : } else {
12094 : clear_has_file_basename();
12095 : file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12096 : }
12097 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename)
12098 : }
12099 :
12100 : // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 2;
12101 0 : inline bool ClientDownloadRequest_ArchivedBinary::has_download_type() const {
12102 0 : return (_has_bits_[0] & 0x00000002u) != 0;
12103 : }
12104 0 : inline void ClientDownloadRequest_ArchivedBinary::set_has_download_type() {
12105 0 : _has_bits_[0] |= 0x00000002u;
12106 0 : }
12107 : inline void ClientDownloadRequest_ArchivedBinary::clear_has_download_type() {
12108 : _has_bits_[0] &= ~0x00000002u;
12109 : }
12110 : inline void ClientDownloadRequest_ArchivedBinary::clear_download_type() {
12111 : download_type_ = 0;
12112 : clear_has_download_type();
12113 : }
12114 0 : inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest_ArchivedBinary::download_type() const {
12115 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.download_type)
12116 0 : return static_cast< ::safe_browsing::ClientDownloadRequest_DownloadType >(download_type_);
12117 : }
12118 0 : inline void ClientDownloadRequest_ArchivedBinary::set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) {
12119 0 : assert(::safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value));
12120 0 : set_has_download_type();
12121 0 : download_type_ = value;
12122 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.download_type)
12123 0 : }
12124 :
12125 : // optional .safe_browsing.ClientDownloadRequest.Digests digests = 3;
12126 0 : inline bool ClientDownloadRequest_ArchivedBinary::has_digests() const {
12127 0 : return (_has_bits_[0] & 0x00000004u) != 0;
12128 : }
12129 0 : inline void ClientDownloadRequest_ArchivedBinary::set_has_digests() {
12130 0 : _has_bits_[0] |= 0x00000004u;
12131 0 : }
12132 : inline void ClientDownloadRequest_ArchivedBinary::clear_has_digests() {
12133 : _has_bits_[0] &= ~0x00000004u;
12134 : }
12135 : inline void ClientDownloadRequest_ArchivedBinary::clear_digests() {
12136 : if (digests_ != NULL) digests_->::safe_browsing::ClientDownloadRequest_Digests::Clear();
12137 : clear_has_digests();
12138 : }
12139 0 : inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest_ArchivedBinary::digests() const {
12140 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests)
12141 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12142 0 : return digests_ != NULL ? *digests_ : *default_instance().digests_;
12143 : #else
12144 : return digests_ != NULL ? *digests_ : *default_instance_->digests_;
12145 : #endif
12146 : }
12147 0 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest_ArchivedBinary::mutable_digests() {
12148 0 : set_has_digests();
12149 0 : if (digests_ == NULL) digests_ = new ::safe_browsing::ClientDownloadRequest_Digests;
12150 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests)
12151 0 : return digests_;
12152 : }
12153 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest_ArchivedBinary::release_digests() {
12154 : clear_has_digests();
12155 : ::safe_browsing::ClientDownloadRequest_Digests* temp = digests_;
12156 : digests_ = NULL;
12157 : return temp;
12158 : }
12159 : inline void ClientDownloadRequest_ArchivedBinary::set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests) {
12160 : delete digests_;
12161 : digests_ = digests;
12162 : if (digests) {
12163 : set_has_digests();
12164 : } else {
12165 : clear_has_digests();
12166 : }
12167 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests)
12168 : }
12169 :
12170 : // optional int64 length = 4;
12171 0 : inline bool ClientDownloadRequest_ArchivedBinary::has_length() const {
12172 0 : return (_has_bits_[0] & 0x00000008u) != 0;
12173 : }
12174 0 : inline void ClientDownloadRequest_ArchivedBinary::set_has_length() {
12175 0 : _has_bits_[0] |= 0x00000008u;
12176 0 : }
12177 : inline void ClientDownloadRequest_ArchivedBinary::clear_has_length() {
12178 : _has_bits_[0] &= ~0x00000008u;
12179 : }
12180 : inline void ClientDownloadRequest_ArchivedBinary::clear_length() {
12181 : length_ = GOOGLE_LONGLONG(0);
12182 : clear_has_length();
12183 : }
12184 0 : inline ::google::protobuf::int64 ClientDownloadRequest_ArchivedBinary::length() const {
12185 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.length)
12186 0 : return length_;
12187 : }
12188 0 : inline void ClientDownloadRequest_ArchivedBinary::set_length(::google::protobuf::int64 value) {
12189 0 : set_has_length();
12190 0 : length_ = value;
12191 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.length)
12192 0 : }
12193 :
12194 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
12195 0 : inline bool ClientDownloadRequest_ArchivedBinary::has_signature() const {
12196 0 : return (_has_bits_[0] & 0x00000010u) != 0;
12197 : }
12198 0 : inline void ClientDownloadRequest_ArchivedBinary::set_has_signature() {
12199 0 : _has_bits_[0] |= 0x00000010u;
12200 0 : }
12201 : inline void ClientDownloadRequest_ArchivedBinary::clear_has_signature() {
12202 : _has_bits_[0] &= ~0x00000010u;
12203 : }
12204 : inline void ClientDownloadRequest_ArchivedBinary::clear_signature() {
12205 : if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear();
12206 : clear_has_signature();
12207 : }
12208 0 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest_ArchivedBinary::signature() const {
12209 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature)
12210 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12211 0 : return signature_ != NULL ? *signature_ : *default_instance().signature_;
12212 : #else
12213 : return signature_ != NULL ? *signature_ : *default_instance_->signature_;
12214 : #endif
12215 : }
12216 0 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_ArchivedBinary::mutable_signature() {
12217 0 : set_has_signature();
12218 0 : if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo;
12219 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature)
12220 0 : return signature_;
12221 : }
12222 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_ArchivedBinary::release_signature() {
12223 : clear_has_signature();
12224 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_;
12225 : signature_ = NULL;
12226 : return temp;
12227 : }
12228 : inline void ClientDownloadRequest_ArchivedBinary::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) {
12229 : delete signature_;
12230 : signature_ = signature;
12231 : if (signature) {
12232 : set_has_signature();
12233 : } else {
12234 : clear_has_signature();
12235 : }
12236 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature)
12237 : }
12238 :
12239 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6;
12240 0 : inline bool ClientDownloadRequest_ArchivedBinary::has_image_headers() const {
12241 0 : return (_has_bits_[0] & 0x00000020u) != 0;
12242 : }
12243 0 : inline void ClientDownloadRequest_ArchivedBinary::set_has_image_headers() {
12244 0 : _has_bits_[0] |= 0x00000020u;
12245 0 : }
12246 : inline void ClientDownloadRequest_ArchivedBinary::clear_has_image_headers() {
12247 : _has_bits_[0] &= ~0x00000020u;
12248 : }
12249 : inline void ClientDownloadRequest_ArchivedBinary::clear_image_headers() {
12250 : if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear();
12251 : clear_has_image_headers();
12252 : }
12253 0 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest_ArchivedBinary::image_headers() const {
12254 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers)
12255 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12256 0 : return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_;
12257 : #else
12258 : return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_;
12259 : #endif
12260 : }
12261 0 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest_ArchivedBinary::mutable_image_headers() {
12262 0 : set_has_image_headers();
12263 0 : if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders;
12264 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers)
12265 0 : return image_headers_;
12266 : }
12267 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest_ArchivedBinary::release_image_headers() {
12268 : clear_has_image_headers();
12269 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_;
12270 : image_headers_ = NULL;
12271 : return temp;
12272 : }
12273 : inline void ClientDownloadRequest_ArchivedBinary::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) {
12274 : delete image_headers_;
12275 : image_headers_ = image_headers;
12276 : if (image_headers) {
12277 : set_has_image_headers();
12278 : } else {
12279 : clear_has_image_headers();
12280 : }
12281 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers)
12282 : }
12283 :
12284 : // -------------------------------------------------------------------
12285 :
12286 : // ClientDownloadRequest_URLChainEntry
12287 :
12288 : // optional string url = 1;
12289 0 : inline bool ClientDownloadRequest_URLChainEntry::has_url() const {
12290 0 : return (_has_bits_[0] & 0x00000001u) != 0;
12291 : }
12292 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_url() {
12293 0 : _has_bits_[0] |= 0x00000001u;
12294 0 : }
12295 : inline void ClientDownloadRequest_URLChainEntry::clear_has_url() {
12296 : _has_bits_[0] &= ~0x00000001u;
12297 : }
12298 : inline void ClientDownloadRequest_URLChainEntry::clear_url() {
12299 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12300 : url_->clear();
12301 : }
12302 : clear_has_url();
12303 : }
12304 0 : inline const ::std::string& ClientDownloadRequest_URLChainEntry::url() const {
12305 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.url)
12306 0 : return *url_;
12307 : }
12308 0 : inline void ClientDownloadRequest_URLChainEntry::set_url(const ::std::string& value) {
12309 0 : set_has_url();
12310 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12311 0 : url_ = new ::std::string;
12312 : }
12313 0 : url_->assign(value);
12314 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.url)
12315 0 : }
12316 : inline void ClientDownloadRequest_URLChainEntry::set_url(const char* value) {
12317 : set_has_url();
12318 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12319 : url_ = new ::std::string;
12320 : }
12321 : url_->assign(value);
12322 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.url)
12323 : }
12324 : inline void ClientDownloadRequest_URLChainEntry::set_url(const char* value, size_t size) {
12325 : set_has_url();
12326 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12327 : url_ = new ::std::string;
12328 : }
12329 : url_->assign(reinterpret_cast<const char*>(value), size);
12330 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.url)
12331 : }
12332 0 : inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_url() {
12333 0 : set_has_url();
12334 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12335 0 : url_ = new ::std::string;
12336 : }
12337 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.url)
12338 0 : return url_;
12339 : }
12340 : inline ::std::string* ClientDownloadRequest_URLChainEntry::release_url() {
12341 : clear_has_url();
12342 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12343 : return NULL;
12344 : } else {
12345 : ::std::string* temp = url_;
12346 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12347 : return temp;
12348 : }
12349 : }
12350 : inline void ClientDownloadRequest_URLChainEntry::set_allocated_url(::std::string* url) {
12351 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12352 : delete url_;
12353 : }
12354 : if (url) {
12355 : set_has_url();
12356 : url_ = url;
12357 : } else {
12358 : clear_has_url();
12359 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12360 : }
12361 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.url)
12362 : }
12363 :
12364 : // optional .safe_browsing.ClientDownloadRequest.URLChainEntry.URLType type = 2;
12365 0 : inline bool ClientDownloadRequest_URLChainEntry::has_type() const {
12366 0 : return (_has_bits_[0] & 0x00000002u) != 0;
12367 : }
12368 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_type() {
12369 0 : _has_bits_[0] |= 0x00000002u;
12370 0 : }
12371 : inline void ClientDownloadRequest_URLChainEntry::clear_has_type() {
12372 : _has_bits_[0] &= ~0x00000002u;
12373 : }
12374 : inline void ClientDownloadRequest_URLChainEntry::clear_type() {
12375 : type_ = 1;
12376 : clear_has_type();
12377 : }
12378 0 : inline ::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType ClientDownloadRequest_URLChainEntry::type() const {
12379 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.type)
12380 0 : return static_cast< ::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType >(type_);
12381 : }
12382 0 : inline void ClientDownloadRequest_URLChainEntry::set_type(::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType value) {
12383 0 : assert(::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType_IsValid(value));
12384 0 : set_has_type();
12385 0 : type_ = value;
12386 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.type)
12387 0 : }
12388 :
12389 : // optional string ip_address = 3;
12390 0 : inline bool ClientDownloadRequest_URLChainEntry::has_ip_address() const {
12391 0 : return (_has_bits_[0] & 0x00000004u) != 0;
12392 : }
12393 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_ip_address() {
12394 0 : _has_bits_[0] |= 0x00000004u;
12395 0 : }
12396 : inline void ClientDownloadRequest_URLChainEntry::clear_has_ip_address() {
12397 : _has_bits_[0] &= ~0x00000004u;
12398 : }
12399 : inline void ClientDownloadRequest_URLChainEntry::clear_ip_address() {
12400 : if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12401 : ip_address_->clear();
12402 : }
12403 : clear_has_ip_address();
12404 : }
12405 0 : inline const ::std::string& ClientDownloadRequest_URLChainEntry::ip_address() const {
12406 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address)
12407 0 : return *ip_address_;
12408 : }
12409 0 : inline void ClientDownloadRequest_URLChainEntry::set_ip_address(const ::std::string& value) {
12410 0 : set_has_ip_address();
12411 0 : if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12412 0 : ip_address_ = new ::std::string;
12413 : }
12414 0 : ip_address_->assign(value);
12415 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address)
12416 0 : }
12417 : inline void ClientDownloadRequest_URLChainEntry::set_ip_address(const char* value) {
12418 : set_has_ip_address();
12419 : if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12420 : ip_address_ = new ::std::string;
12421 : }
12422 : ip_address_->assign(value);
12423 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address)
12424 : }
12425 : inline void ClientDownloadRequest_URLChainEntry::set_ip_address(const char* value, size_t size) {
12426 : set_has_ip_address();
12427 : if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12428 : ip_address_ = new ::std::string;
12429 : }
12430 : ip_address_->assign(reinterpret_cast<const char*>(value), size);
12431 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address)
12432 : }
12433 0 : inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_ip_address() {
12434 0 : set_has_ip_address();
12435 0 : if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12436 0 : ip_address_ = new ::std::string;
12437 : }
12438 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address)
12439 0 : return ip_address_;
12440 : }
12441 : inline ::std::string* ClientDownloadRequest_URLChainEntry::release_ip_address() {
12442 : clear_has_ip_address();
12443 : if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12444 : return NULL;
12445 : } else {
12446 : ::std::string* temp = ip_address_;
12447 : ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12448 : return temp;
12449 : }
12450 : }
12451 : inline void ClientDownloadRequest_URLChainEntry::set_allocated_ip_address(::std::string* ip_address) {
12452 : if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12453 : delete ip_address_;
12454 : }
12455 : if (ip_address) {
12456 : set_has_ip_address();
12457 : ip_address_ = ip_address;
12458 : } else {
12459 : clear_has_ip_address();
12460 : ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12461 : }
12462 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address)
12463 : }
12464 :
12465 : // optional string referrer = 4;
12466 0 : inline bool ClientDownloadRequest_URLChainEntry::has_referrer() const {
12467 0 : return (_has_bits_[0] & 0x00000008u) != 0;
12468 : }
12469 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_referrer() {
12470 0 : _has_bits_[0] |= 0x00000008u;
12471 0 : }
12472 : inline void ClientDownloadRequest_URLChainEntry::clear_has_referrer() {
12473 : _has_bits_[0] &= ~0x00000008u;
12474 : }
12475 : inline void ClientDownloadRequest_URLChainEntry::clear_referrer() {
12476 : if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12477 : referrer_->clear();
12478 : }
12479 : clear_has_referrer();
12480 : }
12481 0 : inline const ::std::string& ClientDownloadRequest_URLChainEntry::referrer() const {
12482 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer)
12483 0 : return *referrer_;
12484 : }
12485 0 : inline void ClientDownloadRequest_URLChainEntry::set_referrer(const ::std::string& value) {
12486 0 : set_has_referrer();
12487 0 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12488 0 : referrer_ = new ::std::string;
12489 : }
12490 0 : referrer_->assign(value);
12491 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer)
12492 0 : }
12493 : inline void ClientDownloadRequest_URLChainEntry::set_referrer(const char* value) {
12494 : set_has_referrer();
12495 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12496 : referrer_ = new ::std::string;
12497 : }
12498 : referrer_->assign(value);
12499 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer)
12500 : }
12501 : inline void ClientDownloadRequest_URLChainEntry::set_referrer(const char* value, size_t size) {
12502 : set_has_referrer();
12503 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12504 : referrer_ = new ::std::string;
12505 : }
12506 : referrer_->assign(reinterpret_cast<const char*>(value), size);
12507 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer)
12508 : }
12509 0 : inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_referrer() {
12510 0 : set_has_referrer();
12511 0 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12512 0 : referrer_ = new ::std::string;
12513 : }
12514 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer)
12515 0 : return referrer_;
12516 : }
12517 : inline ::std::string* ClientDownloadRequest_URLChainEntry::release_referrer() {
12518 : clear_has_referrer();
12519 : if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12520 : return NULL;
12521 : } else {
12522 : ::std::string* temp = referrer_;
12523 : referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12524 : return temp;
12525 : }
12526 : }
12527 : inline void ClientDownloadRequest_URLChainEntry::set_allocated_referrer(::std::string* referrer) {
12528 : if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12529 : delete referrer_;
12530 : }
12531 : if (referrer) {
12532 : set_has_referrer();
12533 : referrer_ = referrer;
12534 : } else {
12535 : clear_has_referrer();
12536 : referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12537 : }
12538 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer)
12539 : }
12540 :
12541 : // optional string main_frame_referrer = 5;
12542 0 : inline bool ClientDownloadRequest_URLChainEntry::has_main_frame_referrer() const {
12543 0 : return (_has_bits_[0] & 0x00000010u) != 0;
12544 : }
12545 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_main_frame_referrer() {
12546 0 : _has_bits_[0] |= 0x00000010u;
12547 0 : }
12548 : inline void ClientDownloadRequest_URLChainEntry::clear_has_main_frame_referrer() {
12549 : _has_bits_[0] &= ~0x00000010u;
12550 : }
12551 : inline void ClientDownloadRequest_URLChainEntry::clear_main_frame_referrer() {
12552 : if (main_frame_referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12553 : main_frame_referrer_->clear();
12554 : }
12555 : clear_has_main_frame_referrer();
12556 : }
12557 0 : inline const ::std::string& ClientDownloadRequest_URLChainEntry::main_frame_referrer() const {
12558 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer)
12559 0 : return *main_frame_referrer_;
12560 : }
12561 0 : inline void ClientDownloadRequest_URLChainEntry::set_main_frame_referrer(const ::std::string& value) {
12562 0 : set_has_main_frame_referrer();
12563 0 : if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12564 0 : main_frame_referrer_ = new ::std::string;
12565 : }
12566 0 : main_frame_referrer_->assign(value);
12567 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer)
12568 0 : }
12569 : inline void ClientDownloadRequest_URLChainEntry::set_main_frame_referrer(const char* value) {
12570 : set_has_main_frame_referrer();
12571 : if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12572 : main_frame_referrer_ = new ::std::string;
12573 : }
12574 : main_frame_referrer_->assign(value);
12575 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer)
12576 : }
12577 : inline void ClientDownloadRequest_URLChainEntry::set_main_frame_referrer(const char* value, size_t size) {
12578 : set_has_main_frame_referrer();
12579 : if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12580 : main_frame_referrer_ = new ::std::string;
12581 : }
12582 : main_frame_referrer_->assign(reinterpret_cast<const char*>(value), size);
12583 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer)
12584 : }
12585 0 : inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_main_frame_referrer() {
12586 0 : set_has_main_frame_referrer();
12587 0 : if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12588 0 : main_frame_referrer_ = new ::std::string;
12589 : }
12590 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer)
12591 0 : return main_frame_referrer_;
12592 : }
12593 : inline ::std::string* ClientDownloadRequest_URLChainEntry::release_main_frame_referrer() {
12594 : clear_has_main_frame_referrer();
12595 : if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12596 : return NULL;
12597 : } else {
12598 : ::std::string* temp = main_frame_referrer_;
12599 : main_frame_referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12600 : return temp;
12601 : }
12602 : }
12603 : inline void ClientDownloadRequest_URLChainEntry::set_allocated_main_frame_referrer(::std::string* main_frame_referrer) {
12604 : if (main_frame_referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12605 : delete main_frame_referrer_;
12606 : }
12607 : if (main_frame_referrer) {
12608 : set_has_main_frame_referrer();
12609 : main_frame_referrer_ = main_frame_referrer;
12610 : } else {
12611 : clear_has_main_frame_referrer();
12612 : main_frame_referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12613 : }
12614 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer)
12615 : }
12616 :
12617 : // optional bool is_retargeting = 6;
12618 0 : inline bool ClientDownloadRequest_URLChainEntry::has_is_retargeting() const {
12619 0 : return (_has_bits_[0] & 0x00000020u) != 0;
12620 : }
12621 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_is_retargeting() {
12622 0 : _has_bits_[0] |= 0x00000020u;
12623 0 : }
12624 : inline void ClientDownloadRequest_URLChainEntry::clear_has_is_retargeting() {
12625 : _has_bits_[0] &= ~0x00000020u;
12626 : }
12627 : inline void ClientDownloadRequest_URLChainEntry::clear_is_retargeting() {
12628 : is_retargeting_ = false;
12629 : clear_has_is_retargeting();
12630 : }
12631 0 : inline bool ClientDownloadRequest_URLChainEntry::is_retargeting() const {
12632 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.is_retargeting)
12633 0 : return is_retargeting_;
12634 : }
12635 0 : inline void ClientDownloadRequest_URLChainEntry::set_is_retargeting(bool value) {
12636 0 : set_has_is_retargeting();
12637 0 : is_retargeting_ = value;
12638 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.is_retargeting)
12639 0 : }
12640 :
12641 : // optional bool is_user_initiated = 7;
12642 0 : inline bool ClientDownloadRequest_URLChainEntry::has_is_user_initiated() const {
12643 0 : return (_has_bits_[0] & 0x00000040u) != 0;
12644 : }
12645 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_is_user_initiated() {
12646 0 : _has_bits_[0] |= 0x00000040u;
12647 0 : }
12648 : inline void ClientDownloadRequest_URLChainEntry::clear_has_is_user_initiated() {
12649 : _has_bits_[0] &= ~0x00000040u;
12650 : }
12651 : inline void ClientDownloadRequest_URLChainEntry::clear_is_user_initiated() {
12652 : is_user_initiated_ = false;
12653 : clear_has_is_user_initiated();
12654 : }
12655 0 : inline bool ClientDownloadRequest_URLChainEntry::is_user_initiated() const {
12656 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.is_user_initiated)
12657 0 : return is_user_initiated_;
12658 : }
12659 0 : inline void ClientDownloadRequest_URLChainEntry::set_is_user_initiated(bool value) {
12660 0 : set_has_is_user_initiated();
12661 0 : is_user_initiated_ = value;
12662 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.is_user_initiated)
12663 0 : }
12664 :
12665 : // optional double timestamp_in_millisec = 8;
12666 0 : inline bool ClientDownloadRequest_URLChainEntry::has_timestamp_in_millisec() const {
12667 0 : return (_has_bits_[0] & 0x00000080u) != 0;
12668 : }
12669 0 : inline void ClientDownloadRequest_URLChainEntry::set_has_timestamp_in_millisec() {
12670 0 : _has_bits_[0] |= 0x00000080u;
12671 0 : }
12672 : inline void ClientDownloadRequest_URLChainEntry::clear_has_timestamp_in_millisec() {
12673 : _has_bits_[0] &= ~0x00000080u;
12674 : }
12675 : inline void ClientDownloadRequest_URLChainEntry::clear_timestamp_in_millisec() {
12676 : timestamp_in_millisec_ = 0;
12677 : clear_has_timestamp_in_millisec();
12678 : }
12679 0 : inline double ClientDownloadRequest_URLChainEntry::timestamp_in_millisec() const {
12680 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.timestamp_in_millisec)
12681 0 : return timestamp_in_millisec_;
12682 : }
12683 0 : inline void ClientDownloadRequest_URLChainEntry::set_timestamp_in_millisec(double value) {
12684 0 : set_has_timestamp_in_millisec();
12685 0 : timestamp_in_millisec_ = value;
12686 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.timestamp_in_millisec)
12687 0 : }
12688 :
12689 : // -------------------------------------------------------------------
12690 :
12691 : // ClientDownloadRequest
12692 :
12693 : // required string url = 1;
12694 0 : inline bool ClientDownloadRequest::has_url() const {
12695 0 : return (_has_bits_[0] & 0x00000001u) != 0;
12696 : }
12697 0 : inline void ClientDownloadRequest::set_has_url() {
12698 0 : _has_bits_[0] |= 0x00000001u;
12699 0 : }
12700 : inline void ClientDownloadRequest::clear_has_url() {
12701 : _has_bits_[0] &= ~0x00000001u;
12702 : }
12703 : inline void ClientDownloadRequest::clear_url() {
12704 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12705 : url_->clear();
12706 : }
12707 : clear_has_url();
12708 : }
12709 0 : inline const ::std::string& ClientDownloadRequest::url() const {
12710 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.url)
12711 0 : return *url_;
12712 : }
12713 0 : inline void ClientDownloadRequest::set_url(const ::std::string& value) {
12714 0 : set_has_url();
12715 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12716 0 : url_ = new ::std::string;
12717 : }
12718 0 : url_->assign(value);
12719 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.url)
12720 0 : }
12721 0 : inline void ClientDownloadRequest::set_url(const char* value) {
12722 0 : set_has_url();
12723 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12724 0 : url_ = new ::std::string;
12725 : }
12726 0 : url_->assign(value);
12727 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.url)
12728 0 : }
12729 : inline void ClientDownloadRequest::set_url(const char* value, size_t size) {
12730 : set_has_url();
12731 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12732 : url_ = new ::std::string;
12733 : }
12734 : url_->assign(reinterpret_cast<const char*>(value), size);
12735 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.url)
12736 : }
12737 0 : inline ::std::string* ClientDownloadRequest::mutable_url() {
12738 0 : set_has_url();
12739 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12740 0 : url_ = new ::std::string;
12741 : }
12742 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.url)
12743 0 : return url_;
12744 : }
12745 : inline ::std::string* ClientDownloadRequest::release_url() {
12746 : clear_has_url();
12747 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12748 : return NULL;
12749 : } else {
12750 : ::std::string* temp = url_;
12751 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12752 : return temp;
12753 : }
12754 : }
12755 : inline void ClientDownloadRequest::set_allocated_url(::std::string* url) {
12756 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12757 : delete url_;
12758 : }
12759 : if (url) {
12760 : set_has_url();
12761 : url_ = url;
12762 : } else {
12763 : clear_has_url();
12764 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12765 : }
12766 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.url)
12767 : }
12768 :
12769 : // required .safe_browsing.ClientDownloadRequest.Digests digests = 2;
12770 0 : inline bool ClientDownloadRequest::has_digests() const {
12771 0 : return (_has_bits_[0] & 0x00000002u) != 0;
12772 : }
12773 0 : inline void ClientDownloadRequest::set_has_digests() {
12774 0 : _has_bits_[0] |= 0x00000002u;
12775 0 : }
12776 : inline void ClientDownloadRequest::clear_has_digests() {
12777 : _has_bits_[0] &= ~0x00000002u;
12778 : }
12779 : inline void ClientDownloadRequest::clear_digests() {
12780 : if (digests_ != NULL) digests_->::safe_browsing::ClientDownloadRequest_Digests::Clear();
12781 : clear_has_digests();
12782 : }
12783 0 : inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest::digests() const {
12784 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.digests)
12785 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12786 0 : return digests_ != NULL ? *digests_ : *default_instance().digests_;
12787 : #else
12788 : return digests_ != NULL ? *digests_ : *default_instance_->digests_;
12789 : #endif
12790 : }
12791 0 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest::mutable_digests() {
12792 0 : set_has_digests();
12793 0 : if (digests_ == NULL) digests_ = new ::safe_browsing::ClientDownloadRequest_Digests;
12794 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.digests)
12795 0 : return digests_;
12796 : }
12797 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest::release_digests() {
12798 : clear_has_digests();
12799 : ::safe_browsing::ClientDownloadRequest_Digests* temp = digests_;
12800 : digests_ = NULL;
12801 : return temp;
12802 : }
12803 : inline void ClientDownloadRequest::set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests) {
12804 : delete digests_;
12805 : digests_ = digests;
12806 : if (digests) {
12807 : set_has_digests();
12808 : } else {
12809 : clear_has_digests();
12810 : }
12811 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.digests)
12812 : }
12813 :
12814 : // required int64 length = 3;
12815 0 : inline bool ClientDownloadRequest::has_length() const {
12816 0 : return (_has_bits_[0] & 0x00000004u) != 0;
12817 : }
12818 0 : inline void ClientDownloadRequest::set_has_length() {
12819 0 : _has_bits_[0] |= 0x00000004u;
12820 0 : }
12821 : inline void ClientDownloadRequest::clear_has_length() {
12822 : _has_bits_[0] &= ~0x00000004u;
12823 : }
12824 : inline void ClientDownloadRequest::clear_length() {
12825 : length_ = GOOGLE_LONGLONG(0);
12826 : clear_has_length();
12827 : }
12828 0 : inline ::google::protobuf::int64 ClientDownloadRequest::length() const {
12829 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.length)
12830 0 : return length_;
12831 : }
12832 0 : inline void ClientDownloadRequest::set_length(::google::protobuf::int64 value) {
12833 0 : set_has_length();
12834 0 : length_ = value;
12835 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.length)
12836 0 : }
12837 :
12838 : // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4;
12839 0 : inline int ClientDownloadRequest::resources_size() const {
12840 0 : return resources_.size();
12841 : }
12842 : inline void ClientDownloadRequest::clear_resources() {
12843 : resources_.Clear();
12844 : }
12845 0 : inline const ::safe_browsing::ClientDownloadRequest_Resource& ClientDownloadRequest::resources(int index) const {
12846 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.resources)
12847 0 : return resources_.Get(index);
12848 : }
12849 : inline ::safe_browsing::ClientDownloadRequest_Resource* ClientDownloadRequest::mutable_resources(int index) {
12850 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.resources)
12851 : return resources_.Mutable(index);
12852 : }
12853 0 : inline ::safe_browsing::ClientDownloadRequest_Resource* ClientDownloadRequest::add_resources() {
12854 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.resources)
12855 0 : return resources_.Add();
12856 : }
12857 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >&
12858 0 : ClientDownloadRequest::resources() const {
12859 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.resources)
12860 0 : return resources_;
12861 : }
12862 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >*
12863 : ClientDownloadRequest::mutable_resources() {
12864 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.resources)
12865 : return &resources_;
12866 : }
12867 :
12868 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
12869 0 : inline bool ClientDownloadRequest::has_signature() const {
12870 0 : return (_has_bits_[0] & 0x00000010u) != 0;
12871 : }
12872 0 : inline void ClientDownloadRequest::set_has_signature() {
12873 0 : _has_bits_[0] |= 0x00000010u;
12874 0 : }
12875 : inline void ClientDownloadRequest::clear_has_signature() {
12876 : _has_bits_[0] &= ~0x00000010u;
12877 : }
12878 : inline void ClientDownloadRequest::clear_signature() {
12879 : if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear();
12880 : clear_has_signature();
12881 : }
12882 0 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest::signature() const {
12883 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.signature)
12884 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12885 0 : return signature_ != NULL ? *signature_ : *default_instance().signature_;
12886 : #else
12887 : return signature_ != NULL ? *signature_ : *default_instance_->signature_;
12888 : #endif
12889 : }
12890 0 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest::mutable_signature() {
12891 0 : set_has_signature();
12892 0 : if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo;
12893 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.signature)
12894 0 : return signature_;
12895 : }
12896 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest::release_signature() {
12897 : clear_has_signature();
12898 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_;
12899 : signature_ = NULL;
12900 : return temp;
12901 : }
12902 : inline void ClientDownloadRequest::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) {
12903 : delete signature_;
12904 : signature_ = signature;
12905 : if (signature) {
12906 : set_has_signature();
12907 : } else {
12908 : clear_has_signature();
12909 : }
12910 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.signature)
12911 : }
12912 :
12913 : // optional bool user_initiated = 6;
12914 0 : inline bool ClientDownloadRequest::has_user_initiated() const {
12915 0 : return (_has_bits_[0] & 0x00000020u) != 0;
12916 : }
12917 0 : inline void ClientDownloadRequest::set_has_user_initiated() {
12918 0 : _has_bits_[0] |= 0x00000020u;
12919 0 : }
12920 : inline void ClientDownloadRequest::clear_has_user_initiated() {
12921 : _has_bits_[0] &= ~0x00000020u;
12922 : }
12923 : inline void ClientDownloadRequest::clear_user_initiated() {
12924 : user_initiated_ = false;
12925 : clear_has_user_initiated();
12926 : }
12927 0 : inline bool ClientDownloadRequest::user_initiated() const {
12928 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.user_initiated)
12929 0 : return user_initiated_;
12930 : }
12931 0 : inline void ClientDownloadRequest::set_user_initiated(bool value) {
12932 0 : set_has_user_initiated();
12933 0 : user_initiated_ = value;
12934 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.user_initiated)
12935 0 : }
12936 :
12937 : // optional string file_basename = 9;
12938 0 : inline bool ClientDownloadRequest::has_file_basename() const {
12939 0 : return (_has_bits_[0] & 0x00000040u) != 0;
12940 : }
12941 0 : inline void ClientDownloadRequest::set_has_file_basename() {
12942 0 : _has_bits_[0] |= 0x00000040u;
12943 0 : }
12944 : inline void ClientDownloadRequest::clear_has_file_basename() {
12945 : _has_bits_[0] &= ~0x00000040u;
12946 : }
12947 : inline void ClientDownloadRequest::clear_file_basename() {
12948 : if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12949 : file_basename_->clear();
12950 : }
12951 : clear_has_file_basename();
12952 : }
12953 0 : inline const ::std::string& ClientDownloadRequest::file_basename() const {
12954 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.file_basename)
12955 0 : return *file_basename_;
12956 : }
12957 0 : inline void ClientDownloadRequest::set_file_basename(const ::std::string& value) {
12958 0 : set_has_file_basename();
12959 0 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12960 0 : file_basename_ = new ::std::string;
12961 : }
12962 0 : file_basename_->assign(value);
12963 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.file_basename)
12964 0 : }
12965 0 : inline void ClientDownloadRequest::set_file_basename(const char* value) {
12966 0 : set_has_file_basename();
12967 0 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12968 0 : file_basename_ = new ::std::string;
12969 : }
12970 0 : file_basename_->assign(value);
12971 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.file_basename)
12972 0 : }
12973 : inline void ClientDownloadRequest::set_file_basename(const char* value, size_t size) {
12974 : set_has_file_basename();
12975 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12976 : file_basename_ = new ::std::string;
12977 : }
12978 : file_basename_->assign(reinterpret_cast<const char*>(value), size);
12979 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.file_basename)
12980 : }
12981 0 : inline ::std::string* ClientDownloadRequest::mutable_file_basename() {
12982 0 : set_has_file_basename();
12983 0 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12984 0 : file_basename_ = new ::std::string;
12985 : }
12986 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.file_basename)
12987 0 : return file_basename_;
12988 : }
12989 : inline ::std::string* ClientDownloadRequest::release_file_basename() {
12990 : clear_has_file_basename();
12991 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
12992 : return NULL;
12993 : } else {
12994 : ::std::string* temp = file_basename_;
12995 : file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12996 : return temp;
12997 : }
12998 : }
12999 : inline void ClientDownloadRequest::set_allocated_file_basename(::std::string* file_basename) {
13000 : if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13001 : delete file_basename_;
13002 : }
13003 : if (file_basename) {
13004 : set_has_file_basename();
13005 : file_basename_ = file_basename;
13006 : } else {
13007 : clear_has_file_basename();
13008 : file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13009 : }
13010 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.file_basename)
13011 : }
13012 :
13013 : // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE];
13014 0 : inline bool ClientDownloadRequest::has_download_type() const {
13015 0 : return (_has_bits_[0] & 0x00000080u) != 0;
13016 : }
13017 0 : inline void ClientDownloadRequest::set_has_download_type() {
13018 0 : _has_bits_[0] |= 0x00000080u;
13019 0 : }
13020 : inline void ClientDownloadRequest::clear_has_download_type() {
13021 : _has_bits_[0] &= ~0x00000080u;
13022 : }
13023 : inline void ClientDownloadRequest::clear_download_type() {
13024 : download_type_ = 0;
13025 : clear_has_download_type();
13026 : }
13027 0 : inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest::download_type() const {
13028 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.download_type)
13029 0 : return static_cast< ::safe_browsing::ClientDownloadRequest_DownloadType >(download_type_);
13030 : }
13031 0 : inline void ClientDownloadRequest::set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) {
13032 0 : assert(::safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value));
13033 0 : set_has_download_type();
13034 0 : download_type_ = value;
13035 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.download_type)
13036 0 : }
13037 :
13038 : // optional string locale = 11;
13039 0 : inline bool ClientDownloadRequest::has_locale() const {
13040 0 : return (_has_bits_[0] & 0x00000100u) != 0;
13041 : }
13042 0 : inline void ClientDownloadRequest::set_has_locale() {
13043 0 : _has_bits_[0] |= 0x00000100u;
13044 0 : }
13045 : inline void ClientDownloadRequest::clear_has_locale() {
13046 : _has_bits_[0] &= ~0x00000100u;
13047 : }
13048 : inline void ClientDownloadRequest::clear_locale() {
13049 : if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13050 : locale_->clear();
13051 : }
13052 : clear_has_locale();
13053 : }
13054 0 : inline const ::std::string& ClientDownloadRequest::locale() const {
13055 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.locale)
13056 0 : return *locale_;
13057 : }
13058 0 : inline void ClientDownloadRequest::set_locale(const ::std::string& value) {
13059 0 : set_has_locale();
13060 0 : if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13061 0 : locale_ = new ::std::string;
13062 : }
13063 0 : locale_->assign(value);
13064 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.locale)
13065 0 : }
13066 0 : inline void ClientDownloadRequest::set_locale(const char* value) {
13067 0 : set_has_locale();
13068 0 : if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13069 0 : locale_ = new ::std::string;
13070 : }
13071 0 : locale_->assign(value);
13072 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.locale)
13073 0 : }
13074 : inline void ClientDownloadRequest::set_locale(const char* value, size_t size) {
13075 : set_has_locale();
13076 : if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13077 : locale_ = new ::std::string;
13078 : }
13079 : locale_->assign(reinterpret_cast<const char*>(value), size);
13080 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.locale)
13081 : }
13082 0 : inline ::std::string* ClientDownloadRequest::mutable_locale() {
13083 0 : set_has_locale();
13084 0 : if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13085 0 : locale_ = new ::std::string;
13086 : }
13087 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.locale)
13088 0 : return locale_;
13089 : }
13090 : inline ::std::string* ClientDownloadRequest::release_locale() {
13091 : clear_has_locale();
13092 : if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13093 : return NULL;
13094 : } else {
13095 : ::std::string* temp = locale_;
13096 : locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13097 : return temp;
13098 : }
13099 : }
13100 : inline void ClientDownloadRequest::set_allocated_locale(::std::string* locale) {
13101 : if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13102 : delete locale_;
13103 : }
13104 : if (locale) {
13105 : set_has_locale();
13106 : locale_ = locale;
13107 : } else {
13108 : clear_has_locale();
13109 : locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13110 : }
13111 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.locale)
13112 : }
13113 :
13114 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 18;
13115 0 : inline bool ClientDownloadRequest::has_image_headers() const {
13116 0 : return (_has_bits_[0] & 0x00000200u) != 0;
13117 : }
13118 0 : inline void ClientDownloadRequest::set_has_image_headers() {
13119 0 : _has_bits_[0] |= 0x00000200u;
13120 0 : }
13121 : inline void ClientDownloadRequest::clear_has_image_headers() {
13122 : _has_bits_[0] &= ~0x00000200u;
13123 : }
13124 : inline void ClientDownloadRequest::clear_image_headers() {
13125 : if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear();
13126 : clear_has_image_headers();
13127 : }
13128 0 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest::image_headers() const {
13129 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.image_headers)
13130 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13131 0 : return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_;
13132 : #else
13133 : return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_;
13134 : #endif
13135 : }
13136 0 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest::mutable_image_headers() {
13137 0 : set_has_image_headers();
13138 0 : if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders;
13139 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.image_headers)
13140 0 : return image_headers_;
13141 : }
13142 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest::release_image_headers() {
13143 : clear_has_image_headers();
13144 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_;
13145 : image_headers_ = NULL;
13146 : return temp;
13147 : }
13148 : inline void ClientDownloadRequest::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) {
13149 : delete image_headers_;
13150 : image_headers_ = image_headers;
13151 : if (image_headers) {
13152 : set_has_image_headers();
13153 : } else {
13154 : clear_has_image_headers();
13155 : }
13156 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.image_headers)
13157 : }
13158 :
13159 : // repeated .safe_browsing.ClientDownloadRequest.ArchivedBinary archived_binary = 22;
13160 0 : inline int ClientDownloadRequest::archived_binary_size() const {
13161 0 : return archived_binary_.size();
13162 : }
13163 : inline void ClientDownloadRequest::clear_archived_binary() {
13164 : archived_binary_.Clear();
13165 : }
13166 0 : inline const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& ClientDownloadRequest::archived_binary(int index) const {
13167 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.archived_binary)
13168 0 : return archived_binary_.Get(index);
13169 : }
13170 : inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* ClientDownloadRequest::mutable_archived_binary(int index) {
13171 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.archived_binary)
13172 : return archived_binary_.Mutable(index);
13173 : }
13174 0 : inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* ClientDownloadRequest::add_archived_binary() {
13175 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.archived_binary)
13176 0 : return archived_binary_.Add();
13177 : }
13178 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >&
13179 0 : ClientDownloadRequest::archived_binary() const {
13180 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.archived_binary)
13181 0 : return archived_binary_;
13182 : }
13183 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >*
13184 : ClientDownloadRequest::mutable_archived_binary() {
13185 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.archived_binary)
13186 : return &archived_binary_;
13187 : }
13188 :
13189 : // optional .safe_browsing.ChromeUserPopulation population = 24;
13190 0 : inline bool ClientDownloadRequest::has_population() const {
13191 0 : return (_has_bits_[0] & 0x00000800u) != 0;
13192 : }
13193 0 : inline void ClientDownloadRequest::set_has_population() {
13194 0 : _has_bits_[0] |= 0x00000800u;
13195 0 : }
13196 : inline void ClientDownloadRequest::clear_has_population() {
13197 : _has_bits_[0] &= ~0x00000800u;
13198 : }
13199 : inline void ClientDownloadRequest::clear_population() {
13200 : if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear();
13201 : clear_has_population();
13202 : }
13203 0 : inline const ::safe_browsing::ChromeUserPopulation& ClientDownloadRequest::population() const {
13204 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.population)
13205 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13206 0 : return population_ != NULL ? *population_ : *default_instance().population_;
13207 : #else
13208 : return population_ != NULL ? *population_ : *default_instance_->population_;
13209 : #endif
13210 : }
13211 0 : inline ::safe_browsing::ChromeUserPopulation* ClientDownloadRequest::mutable_population() {
13212 0 : set_has_population();
13213 0 : if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation;
13214 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.population)
13215 0 : return population_;
13216 : }
13217 : inline ::safe_browsing::ChromeUserPopulation* ClientDownloadRequest::release_population() {
13218 : clear_has_population();
13219 : ::safe_browsing::ChromeUserPopulation* temp = population_;
13220 : population_ = NULL;
13221 : return temp;
13222 : }
13223 : inline void ClientDownloadRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) {
13224 : delete population_;
13225 : population_ = population;
13226 : if (population) {
13227 : set_has_population();
13228 : } else {
13229 : clear_has_population();
13230 : }
13231 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.population)
13232 : }
13233 :
13234 : // optional bool archive_valid = 26;
13235 0 : inline bool ClientDownloadRequest::has_archive_valid() const {
13236 0 : return (_has_bits_[0] & 0x00001000u) != 0;
13237 : }
13238 0 : inline void ClientDownloadRequest::set_has_archive_valid() {
13239 0 : _has_bits_[0] |= 0x00001000u;
13240 0 : }
13241 : inline void ClientDownloadRequest::clear_has_archive_valid() {
13242 : _has_bits_[0] &= ~0x00001000u;
13243 : }
13244 : inline void ClientDownloadRequest::clear_archive_valid() {
13245 : archive_valid_ = false;
13246 : clear_has_archive_valid();
13247 : }
13248 0 : inline bool ClientDownloadRequest::archive_valid() const {
13249 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.archive_valid)
13250 0 : return archive_valid_;
13251 : }
13252 0 : inline void ClientDownloadRequest::set_archive_valid(bool value) {
13253 0 : set_has_archive_valid();
13254 0 : archive_valid_ = value;
13255 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.archive_valid)
13256 0 : }
13257 :
13258 : // optional bool skipped_url_whitelist = 28;
13259 0 : inline bool ClientDownloadRequest::has_skipped_url_whitelist() const {
13260 0 : return (_has_bits_[0] & 0x00002000u) != 0;
13261 : }
13262 0 : inline void ClientDownloadRequest::set_has_skipped_url_whitelist() {
13263 0 : _has_bits_[0] |= 0x00002000u;
13264 0 : }
13265 : inline void ClientDownloadRequest::clear_has_skipped_url_whitelist() {
13266 : _has_bits_[0] &= ~0x00002000u;
13267 : }
13268 : inline void ClientDownloadRequest::clear_skipped_url_whitelist() {
13269 : skipped_url_whitelist_ = false;
13270 : clear_has_skipped_url_whitelist();
13271 : }
13272 0 : inline bool ClientDownloadRequest::skipped_url_whitelist() const {
13273 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.skipped_url_whitelist)
13274 0 : return skipped_url_whitelist_;
13275 : }
13276 0 : inline void ClientDownloadRequest::set_skipped_url_whitelist(bool value) {
13277 0 : set_has_skipped_url_whitelist();
13278 0 : skipped_url_whitelist_ = value;
13279 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.skipped_url_whitelist)
13280 0 : }
13281 :
13282 : // optional bool skipped_certificate_whitelist = 31;
13283 0 : inline bool ClientDownloadRequest::has_skipped_certificate_whitelist() const {
13284 0 : return (_has_bits_[0] & 0x00004000u) != 0;
13285 : }
13286 0 : inline void ClientDownloadRequest::set_has_skipped_certificate_whitelist() {
13287 0 : _has_bits_[0] |= 0x00004000u;
13288 0 : }
13289 : inline void ClientDownloadRequest::clear_has_skipped_certificate_whitelist() {
13290 : _has_bits_[0] &= ~0x00004000u;
13291 : }
13292 : inline void ClientDownloadRequest::clear_skipped_certificate_whitelist() {
13293 : skipped_certificate_whitelist_ = false;
13294 : clear_has_skipped_certificate_whitelist();
13295 : }
13296 0 : inline bool ClientDownloadRequest::skipped_certificate_whitelist() const {
13297 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.skipped_certificate_whitelist)
13298 0 : return skipped_certificate_whitelist_;
13299 : }
13300 0 : inline void ClientDownloadRequest::set_skipped_certificate_whitelist(bool value) {
13301 0 : set_has_skipped_certificate_whitelist();
13302 0 : skipped_certificate_whitelist_ = value;
13303 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.skipped_certificate_whitelist)
13304 0 : }
13305 :
13306 : // repeated string alternate_extensions = 35;
13307 0 : inline int ClientDownloadRequest::alternate_extensions_size() const {
13308 0 : return alternate_extensions_.size();
13309 : }
13310 : inline void ClientDownloadRequest::clear_alternate_extensions() {
13311 : alternate_extensions_.Clear();
13312 : }
13313 0 : inline const ::std::string& ClientDownloadRequest::alternate_extensions(int index) const {
13314 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.alternate_extensions)
13315 0 : return alternate_extensions_.Get(index);
13316 : }
13317 : inline ::std::string* ClientDownloadRequest::mutable_alternate_extensions(int index) {
13318 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.alternate_extensions)
13319 : return alternate_extensions_.Mutable(index);
13320 : }
13321 : inline void ClientDownloadRequest::set_alternate_extensions(int index, const ::std::string& value) {
13322 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.alternate_extensions)
13323 : alternate_extensions_.Mutable(index)->assign(value);
13324 : }
13325 : inline void ClientDownloadRequest::set_alternate_extensions(int index, const char* value) {
13326 : alternate_extensions_.Mutable(index)->assign(value);
13327 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.alternate_extensions)
13328 : }
13329 : inline void ClientDownloadRequest::set_alternate_extensions(int index, const char* value, size_t size) {
13330 : alternate_extensions_.Mutable(index)->assign(
13331 : reinterpret_cast<const char*>(value), size);
13332 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.alternate_extensions)
13333 : }
13334 0 : inline ::std::string* ClientDownloadRequest::add_alternate_extensions() {
13335 0 : return alternate_extensions_.Add();
13336 : }
13337 : inline void ClientDownloadRequest::add_alternate_extensions(const ::std::string& value) {
13338 : alternate_extensions_.Add()->assign(value);
13339 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.alternate_extensions)
13340 : }
13341 : inline void ClientDownloadRequest::add_alternate_extensions(const char* value) {
13342 : alternate_extensions_.Add()->assign(value);
13343 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientDownloadRequest.alternate_extensions)
13344 : }
13345 : inline void ClientDownloadRequest::add_alternate_extensions(const char* value, size_t size) {
13346 : alternate_extensions_.Add()->assign(reinterpret_cast<const char*>(value), size);
13347 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientDownloadRequest.alternate_extensions)
13348 : }
13349 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
13350 : ClientDownloadRequest::alternate_extensions() const {
13351 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.alternate_extensions)
13352 : return alternate_extensions_;
13353 : }
13354 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
13355 : ClientDownloadRequest::mutable_alternate_extensions() {
13356 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.alternate_extensions)
13357 : return &alternate_extensions_;
13358 : }
13359 :
13360 : // repeated .safe_browsing.ClientDownloadRequest.URLChainEntry url_chain = 36;
13361 0 : inline int ClientDownloadRequest::url_chain_size() const {
13362 0 : return url_chain_.size();
13363 : }
13364 : inline void ClientDownloadRequest::clear_url_chain() {
13365 : url_chain_.Clear();
13366 : }
13367 0 : inline const ::safe_browsing::ClientDownloadRequest_URLChainEntry& ClientDownloadRequest::url_chain(int index) const {
13368 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.url_chain)
13369 0 : return url_chain_.Get(index);
13370 : }
13371 : inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* ClientDownloadRequest::mutable_url_chain(int index) {
13372 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.url_chain)
13373 : return url_chain_.Mutable(index);
13374 : }
13375 0 : inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* ClientDownloadRequest::add_url_chain() {
13376 : // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.url_chain)
13377 0 : return url_chain_.Add();
13378 : }
13379 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >&
13380 : ClientDownloadRequest::url_chain() const {
13381 : // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.url_chain)
13382 : return url_chain_;
13383 : }
13384 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >*
13385 : ClientDownloadRequest::mutable_url_chain() {
13386 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.url_chain)
13387 : return &url_chain_;
13388 : }
13389 :
13390 : // -------------------------------------------------------------------
13391 :
13392 : // ClientDownloadResponse_MoreInfo
13393 :
13394 : // optional string description = 1;
13395 0 : inline bool ClientDownloadResponse_MoreInfo::has_description() const {
13396 0 : return (_has_bits_[0] & 0x00000001u) != 0;
13397 : }
13398 0 : inline void ClientDownloadResponse_MoreInfo::set_has_description() {
13399 0 : _has_bits_[0] |= 0x00000001u;
13400 0 : }
13401 : inline void ClientDownloadResponse_MoreInfo::clear_has_description() {
13402 : _has_bits_[0] &= ~0x00000001u;
13403 : }
13404 : inline void ClientDownloadResponse_MoreInfo::clear_description() {
13405 : if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13406 : description_->clear();
13407 : }
13408 : clear_has_description();
13409 : }
13410 0 : inline const ::std::string& ClientDownloadResponse_MoreInfo::description() const {
13411 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.MoreInfo.description)
13412 0 : return *description_;
13413 : }
13414 0 : inline void ClientDownloadResponse_MoreInfo::set_description(const ::std::string& value) {
13415 0 : set_has_description();
13416 0 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13417 0 : description_ = new ::std::string;
13418 : }
13419 0 : description_->assign(value);
13420 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.MoreInfo.description)
13421 0 : }
13422 : inline void ClientDownloadResponse_MoreInfo::set_description(const char* value) {
13423 : set_has_description();
13424 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13425 : description_ = new ::std::string;
13426 : }
13427 : description_->assign(value);
13428 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.MoreInfo.description)
13429 : }
13430 : inline void ClientDownloadResponse_MoreInfo::set_description(const char* value, size_t size) {
13431 : set_has_description();
13432 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13433 : description_ = new ::std::string;
13434 : }
13435 : description_->assign(reinterpret_cast<const char*>(value), size);
13436 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.MoreInfo.description)
13437 : }
13438 0 : inline ::std::string* ClientDownloadResponse_MoreInfo::mutable_description() {
13439 0 : set_has_description();
13440 0 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13441 0 : description_ = new ::std::string;
13442 : }
13443 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.MoreInfo.description)
13444 0 : return description_;
13445 : }
13446 : inline ::std::string* ClientDownloadResponse_MoreInfo::release_description() {
13447 : clear_has_description();
13448 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13449 : return NULL;
13450 : } else {
13451 : ::std::string* temp = description_;
13452 : description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13453 : return temp;
13454 : }
13455 : }
13456 : inline void ClientDownloadResponse_MoreInfo::set_allocated_description(::std::string* description) {
13457 : if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13458 : delete description_;
13459 : }
13460 : if (description) {
13461 : set_has_description();
13462 : description_ = description;
13463 : } else {
13464 : clear_has_description();
13465 : description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13466 : }
13467 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.MoreInfo.description)
13468 : }
13469 :
13470 : // optional string url = 2;
13471 0 : inline bool ClientDownloadResponse_MoreInfo::has_url() const {
13472 0 : return (_has_bits_[0] & 0x00000002u) != 0;
13473 : }
13474 0 : inline void ClientDownloadResponse_MoreInfo::set_has_url() {
13475 0 : _has_bits_[0] |= 0x00000002u;
13476 0 : }
13477 : inline void ClientDownloadResponse_MoreInfo::clear_has_url() {
13478 : _has_bits_[0] &= ~0x00000002u;
13479 : }
13480 : inline void ClientDownloadResponse_MoreInfo::clear_url() {
13481 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13482 : url_->clear();
13483 : }
13484 : clear_has_url();
13485 : }
13486 0 : inline const ::std::string& ClientDownloadResponse_MoreInfo::url() const {
13487 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.MoreInfo.url)
13488 0 : return *url_;
13489 : }
13490 0 : inline void ClientDownloadResponse_MoreInfo::set_url(const ::std::string& value) {
13491 0 : set_has_url();
13492 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13493 0 : url_ = new ::std::string;
13494 : }
13495 0 : url_->assign(value);
13496 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.MoreInfo.url)
13497 0 : }
13498 : inline void ClientDownloadResponse_MoreInfo::set_url(const char* value) {
13499 : set_has_url();
13500 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13501 : url_ = new ::std::string;
13502 : }
13503 : url_->assign(value);
13504 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.MoreInfo.url)
13505 : }
13506 : inline void ClientDownloadResponse_MoreInfo::set_url(const char* value, size_t size) {
13507 : set_has_url();
13508 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13509 : url_ = new ::std::string;
13510 : }
13511 : url_->assign(reinterpret_cast<const char*>(value), size);
13512 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.MoreInfo.url)
13513 : }
13514 0 : inline ::std::string* ClientDownloadResponse_MoreInfo::mutable_url() {
13515 0 : set_has_url();
13516 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13517 0 : url_ = new ::std::string;
13518 : }
13519 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.MoreInfo.url)
13520 0 : return url_;
13521 : }
13522 : inline ::std::string* ClientDownloadResponse_MoreInfo::release_url() {
13523 : clear_has_url();
13524 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13525 : return NULL;
13526 : } else {
13527 : ::std::string* temp = url_;
13528 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13529 : return temp;
13530 : }
13531 : }
13532 : inline void ClientDownloadResponse_MoreInfo::set_allocated_url(::std::string* url) {
13533 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13534 : delete url_;
13535 : }
13536 : if (url) {
13537 : set_has_url();
13538 : url_ = url;
13539 : } else {
13540 : clear_has_url();
13541 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13542 : }
13543 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.MoreInfo.url)
13544 : }
13545 :
13546 : // -------------------------------------------------------------------
13547 :
13548 : // ClientDownloadResponse
13549 :
13550 : // optional .safe_browsing.ClientDownloadResponse.Verdict verdict = 1 [default = SAFE];
13551 0 : inline bool ClientDownloadResponse::has_verdict() const {
13552 0 : return (_has_bits_[0] & 0x00000001u) != 0;
13553 : }
13554 0 : inline void ClientDownloadResponse::set_has_verdict() {
13555 0 : _has_bits_[0] |= 0x00000001u;
13556 0 : }
13557 : inline void ClientDownloadResponse::clear_has_verdict() {
13558 : _has_bits_[0] &= ~0x00000001u;
13559 : }
13560 : inline void ClientDownloadResponse::clear_verdict() {
13561 : verdict_ = 0;
13562 : clear_has_verdict();
13563 : }
13564 0 : inline ::safe_browsing::ClientDownloadResponse_Verdict ClientDownloadResponse::verdict() const {
13565 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.verdict)
13566 0 : return static_cast< ::safe_browsing::ClientDownloadResponse_Verdict >(verdict_);
13567 : }
13568 0 : inline void ClientDownloadResponse::set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) {
13569 0 : assert(::safe_browsing::ClientDownloadResponse_Verdict_IsValid(value));
13570 0 : set_has_verdict();
13571 0 : verdict_ = value;
13572 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.verdict)
13573 0 : }
13574 :
13575 : // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2;
13576 0 : inline bool ClientDownloadResponse::has_more_info() const {
13577 0 : return (_has_bits_[0] & 0x00000002u) != 0;
13578 : }
13579 0 : inline void ClientDownloadResponse::set_has_more_info() {
13580 0 : _has_bits_[0] |= 0x00000002u;
13581 0 : }
13582 : inline void ClientDownloadResponse::clear_has_more_info() {
13583 : _has_bits_[0] &= ~0x00000002u;
13584 : }
13585 : inline void ClientDownloadResponse::clear_more_info() {
13586 : if (more_info_ != NULL) more_info_->::safe_browsing::ClientDownloadResponse_MoreInfo::Clear();
13587 : clear_has_more_info();
13588 : }
13589 0 : inline const ::safe_browsing::ClientDownloadResponse_MoreInfo& ClientDownloadResponse::more_info() const {
13590 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.more_info)
13591 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13592 0 : return more_info_ != NULL ? *more_info_ : *default_instance().more_info_;
13593 : #else
13594 : return more_info_ != NULL ? *more_info_ : *default_instance_->more_info_;
13595 : #endif
13596 : }
13597 0 : inline ::safe_browsing::ClientDownloadResponse_MoreInfo* ClientDownloadResponse::mutable_more_info() {
13598 0 : set_has_more_info();
13599 0 : if (more_info_ == NULL) more_info_ = new ::safe_browsing::ClientDownloadResponse_MoreInfo;
13600 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.more_info)
13601 0 : return more_info_;
13602 : }
13603 : inline ::safe_browsing::ClientDownloadResponse_MoreInfo* ClientDownloadResponse::release_more_info() {
13604 : clear_has_more_info();
13605 : ::safe_browsing::ClientDownloadResponse_MoreInfo* temp = more_info_;
13606 : more_info_ = NULL;
13607 : return temp;
13608 : }
13609 : inline void ClientDownloadResponse::set_allocated_more_info(::safe_browsing::ClientDownloadResponse_MoreInfo* more_info) {
13610 : delete more_info_;
13611 : more_info_ = more_info;
13612 : if (more_info) {
13613 : set_has_more_info();
13614 : } else {
13615 : clear_has_more_info();
13616 : }
13617 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.more_info)
13618 : }
13619 :
13620 : // optional bytes token = 3;
13621 0 : inline bool ClientDownloadResponse::has_token() const {
13622 0 : return (_has_bits_[0] & 0x00000004u) != 0;
13623 : }
13624 0 : inline void ClientDownloadResponse::set_has_token() {
13625 0 : _has_bits_[0] |= 0x00000004u;
13626 0 : }
13627 : inline void ClientDownloadResponse::clear_has_token() {
13628 : _has_bits_[0] &= ~0x00000004u;
13629 : }
13630 : inline void ClientDownloadResponse::clear_token() {
13631 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13632 : token_->clear();
13633 : }
13634 : clear_has_token();
13635 : }
13636 0 : inline const ::std::string& ClientDownloadResponse::token() const {
13637 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.token)
13638 0 : return *token_;
13639 : }
13640 0 : inline void ClientDownloadResponse::set_token(const ::std::string& value) {
13641 0 : set_has_token();
13642 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13643 0 : token_ = new ::std::string;
13644 : }
13645 0 : token_->assign(value);
13646 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.token)
13647 0 : }
13648 : inline void ClientDownloadResponse::set_token(const char* value) {
13649 : set_has_token();
13650 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13651 : token_ = new ::std::string;
13652 : }
13653 : token_->assign(value);
13654 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.token)
13655 : }
13656 : inline void ClientDownloadResponse::set_token(const void* value, size_t size) {
13657 : set_has_token();
13658 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13659 : token_ = new ::std::string;
13660 : }
13661 : token_->assign(reinterpret_cast<const char*>(value), size);
13662 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.token)
13663 : }
13664 0 : inline ::std::string* ClientDownloadResponse::mutable_token() {
13665 0 : set_has_token();
13666 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13667 0 : token_ = new ::std::string;
13668 : }
13669 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.token)
13670 0 : return token_;
13671 : }
13672 : inline ::std::string* ClientDownloadResponse::release_token() {
13673 : clear_has_token();
13674 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13675 : return NULL;
13676 : } else {
13677 : ::std::string* temp = token_;
13678 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13679 : return temp;
13680 : }
13681 : }
13682 : inline void ClientDownloadResponse::set_allocated_token(::std::string* token) {
13683 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13684 : delete token_;
13685 : }
13686 : if (token) {
13687 : set_has_token();
13688 : token_ = token;
13689 : } else {
13690 : clear_has_token();
13691 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13692 : }
13693 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.token)
13694 : }
13695 :
13696 : // -------------------------------------------------------------------
13697 :
13698 : // ClientDownloadReport_UserInformation
13699 :
13700 : // optional string email = 1;
13701 0 : inline bool ClientDownloadReport_UserInformation::has_email() const {
13702 0 : return (_has_bits_[0] & 0x00000001u) != 0;
13703 : }
13704 0 : inline void ClientDownloadReport_UserInformation::set_has_email() {
13705 0 : _has_bits_[0] |= 0x00000001u;
13706 0 : }
13707 : inline void ClientDownloadReport_UserInformation::clear_has_email() {
13708 : _has_bits_[0] &= ~0x00000001u;
13709 : }
13710 : inline void ClientDownloadReport_UserInformation::clear_email() {
13711 : if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13712 : email_->clear();
13713 : }
13714 : clear_has_email();
13715 : }
13716 0 : inline const ::std::string& ClientDownloadReport_UserInformation::email() const {
13717 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.UserInformation.email)
13718 0 : return *email_;
13719 : }
13720 0 : inline void ClientDownloadReport_UserInformation::set_email(const ::std::string& value) {
13721 0 : set_has_email();
13722 0 : if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13723 0 : email_ = new ::std::string;
13724 : }
13725 0 : email_->assign(value);
13726 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.UserInformation.email)
13727 0 : }
13728 : inline void ClientDownloadReport_UserInformation::set_email(const char* value) {
13729 : set_has_email();
13730 : if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13731 : email_ = new ::std::string;
13732 : }
13733 : email_->assign(value);
13734 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadReport.UserInformation.email)
13735 : }
13736 : inline void ClientDownloadReport_UserInformation::set_email(const char* value, size_t size) {
13737 : set_has_email();
13738 : if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13739 : email_ = new ::std::string;
13740 : }
13741 : email_->assign(reinterpret_cast<const char*>(value), size);
13742 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadReport.UserInformation.email)
13743 : }
13744 0 : inline ::std::string* ClientDownloadReport_UserInformation::mutable_email() {
13745 0 : set_has_email();
13746 0 : if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13747 0 : email_ = new ::std::string;
13748 : }
13749 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.UserInformation.email)
13750 0 : return email_;
13751 : }
13752 : inline ::std::string* ClientDownloadReport_UserInformation::release_email() {
13753 : clear_has_email();
13754 : if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13755 : return NULL;
13756 : } else {
13757 : ::std::string* temp = email_;
13758 : email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13759 : return temp;
13760 : }
13761 : }
13762 : inline void ClientDownloadReport_UserInformation::set_allocated_email(::std::string* email) {
13763 : if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13764 : delete email_;
13765 : }
13766 : if (email) {
13767 : set_has_email();
13768 : email_ = email;
13769 : } else {
13770 : clear_has_email();
13771 : email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13772 : }
13773 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.UserInformation.email)
13774 : }
13775 :
13776 : // -------------------------------------------------------------------
13777 :
13778 : // ClientDownloadReport
13779 :
13780 : // optional .safe_browsing.ClientDownloadReport.Reason reason = 1;
13781 0 : inline bool ClientDownloadReport::has_reason() const {
13782 0 : return (_has_bits_[0] & 0x00000001u) != 0;
13783 : }
13784 0 : inline void ClientDownloadReport::set_has_reason() {
13785 0 : _has_bits_[0] |= 0x00000001u;
13786 0 : }
13787 : inline void ClientDownloadReport::clear_has_reason() {
13788 : _has_bits_[0] &= ~0x00000001u;
13789 : }
13790 : inline void ClientDownloadReport::clear_reason() {
13791 : reason_ = 0;
13792 : clear_has_reason();
13793 : }
13794 0 : inline ::safe_browsing::ClientDownloadReport_Reason ClientDownloadReport::reason() const {
13795 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.reason)
13796 0 : return static_cast< ::safe_browsing::ClientDownloadReport_Reason >(reason_);
13797 : }
13798 0 : inline void ClientDownloadReport::set_reason(::safe_browsing::ClientDownloadReport_Reason value) {
13799 0 : assert(::safe_browsing::ClientDownloadReport_Reason_IsValid(value));
13800 0 : set_has_reason();
13801 0 : reason_ = value;
13802 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.reason)
13803 0 : }
13804 :
13805 : // optional .safe_browsing.ClientDownloadRequest download_request = 2;
13806 0 : inline bool ClientDownloadReport::has_download_request() const {
13807 0 : return (_has_bits_[0] & 0x00000002u) != 0;
13808 : }
13809 0 : inline void ClientDownloadReport::set_has_download_request() {
13810 0 : _has_bits_[0] |= 0x00000002u;
13811 0 : }
13812 : inline void ClientDownloadReport::clear_has_download_request() {
13813 : _has_bits_[0] &= ~0x00000002u;
13814 : }
13815 : inline void ClientDownloadReport::clear_download_request() {
13816 : if (download_request_ != NULL) download_request_->::safe_browsing::ClientDownloadRequest::Clear();
13817 : clear_has_download_request();
13818 : }
13819 0 : inline const ::safe_browsing::ClientDownloadRequest& ClientDownloadReport::download_request() const {
13820 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.download_request)
13821 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13822 0 : return download_request_ != NULL ? *download_request_ : *default_instance().download_request_;
13823 : #else
13824 : return download_request_ != NULL ? *download_request_ : *default_instance_->download_request_;
13825 : #endif
13826 : }
13827 0 : inline ::safe_browsing::ClientDownloadRequest* ClientDownloadReport::mutable_download_request() {
13828 0 : set_has_download_request();
13829 0 : if (download_request_ == NULL) download_request_ = new ::safe_browsing::ClientDownloadRequest;
13830 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.download_request)
13831 0 : return download_request_;
13832 : }
13833 : inline ::safe_browsing::ClientDownloadRequest* ClientDownloadReport::release_download_request() {
13834 : clear_has_download_request();
13835 : ::safe_browsing::ClientDownloadRequest* temp = download_request_;
13836 : download_request_ = NULL;
13837 : return temp;
13838 : }
13839 : inline void ClientDownloadReport::set_allocated_download_request(::safe_browsing::ClientDownloadRequest* download_request) {
13840 : delete download_request_;
13841 : download_request_ = download_request;
13842 : if (download_request) {
13843 : set_has_download_request();
13844 : } else {
13845 : clear_has_download_request();
13846 : }
13847 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.download_request)
13848 : }
13849 :
13850 : // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3;
13851 0 : inline bool ClientDownloadReport::has_user_information() const {
13852 0 : return (_has_bits_[0] & 0x00000004u) != 0;
13853 : }
13854 0 : inline void ClientDownloadReport::set_has_user_information() {
13855 0 : _has_bits_[0] |= 0x00000004u;
13856 0 : }
13857 : inline void ClientDownloadReport::clear_has_user_information() {
13858 : _has_bits_[0] &= ~0x00000004u;
13859 : }
13860 : inline void ClientDownloadReport::clear_user_information() {
13861 : if (user_information_ != NULL) user_information_->::safe_browsing::ClientDownloadReport_UserInformation::Clear();
13862 : clear_has_user_information();
13863 : }
13864 0 : inline const ::safe_browsing::ClientDownloadReport_UserInformation& ClientDownloadReport::user_information() const {
13865 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.user_information)
13866 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13867 0 : return user_information_ != NULL ? *user_information_ : *default_instance().user_information_;
13868 : #else
13869 : return user_information_ != NULL ? *user_information_ : *default_instance_->user_information_;
13870 : #endif
13871 : }
13872 0 : inline ::safe_browsing::ClientDownloadReport_UserInformation* ClientDownloadReport::mutable_user_information() {
13873 0 : set_has_user_information();
13874 0 : if (user_information_ == NULL) user_information_ = new ::safe_browsing::ClientDownloadReport_UserInformation;
13875 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.user_information)
13876 0 : return user_information_;
13877 : }
13878 : inline ::safe_browsing::ClientDownloadReport_UserInformation* ClientDownloadReport::release_user_information() {
13879 : clear_has_user_information();
13880 : ::safe_browsing::ClientDownloadReport_UserInformation* temp = user_information_;
13881 : user_information_ = NULL;
13882 : return temp;
13883 : }
13884 : inline void ClientDownloadReport::set_allocated_user_information(::safe_browsing::ClientDownloadReport_UserInformation* user_information) {
13885 : delete user_information_;
13886 : user_information_ = user_information;
13887 : if (user_information) {
13888 : set_has_user_information();
13889 : } else {
13890 : clear_has_user_information();
13891 : }
13892 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.user_information)
13893 : }
13894 :
13895 : // optional bytes comment = 4;
13896 0 : inline bool ClientDownloadReport::has_comment() const {
13897 0 : return (_has_bits_[0] & 0x00000008u) != 0;
13898 : }
13899 0 : inline void ClientDownloadReport::set_has_comment() {
13900 0 : _has_bits_[0] |= 0x00000008u;
13901 0 : }
13902 : inline void ClientDownloadReport::clear_has_comment() {
13903 : _has_bits_[0] &= ~0x00000008u;
13904 : }
13905 : inline void ClientDownloadReport::clear_comment() {
13906 : if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13907 : comment_->clear();
13908 : }
13909 : clear_has_comment();
13910 : }
13911 0 : inline const ::std::string& ClientDownloadReport::comment() const {
13912 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.comment)
13913 0 : return *comment_;
13914 : }
13915 0 : inline void ClientDownloadReport::set_comment(const ::std::string& value) {
13916 0 : set_has_comment();
13917 0 : if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13918 0 : comment_ = new ::std::string;
13919 : }
13920 0 : comment_->assign(value);
13921 : // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.comment)
13922 0 : }
13923 : inline void ClientDownloadReport::set_comment(const char* value) {
13924 : set_has_comment();
13925 : if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13926 : comment_ = new ::std::string;
13927 : }
13928 : comment_->assign(value);
13929 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadReport.comment)
13930 : }
13931 : inline void ClientDownloadReport::set_comment(const void* value, size_t size) {
13932 : set_has_comment();
13933 : if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13934 : comment_ = new ::std::string;
13935 : }
13936 : comment_->assign(reinterpret_cast<const char*>(value), size);
13937 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadReport.comment)
13938 : }
13939 0 : inline ::std::string* ClientDownloadReport::mutable_comment() {
13940 0 : set_has_comment();
13941 0 : if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13942 0 : comment_ = new ::std::string;
13943 : }
13944 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.comment)
13945 0 : return comment_;
13946 : }
13947 : inline ::std::string* ClientDownloadReport::release_comment() {
13948 : clear_has_comment();
13949 : if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13950 : return NULL;
13951 : } else {
13952 : ::std::string* temp = comment_;
13953 : comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13954 : return temp;
13955 : }
13956 : }
13957 : inline void ClientDownloadReport::set_allocated_comment(::std::string* comment) {
13958 : if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
13959 : delete comment_;
13960 : }
13961 : if (comment) {
13962 : set_has_comment();
13963 : comment_ = comment;
13964 : } else {
13965 : clear_has_comment();
13966 : comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13967 : }
13968 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.comment)
13969 : }
13970 :
13971 : // optional .safe_browsing.ClientDownloadResponse download_response = 5;
13972 0 : inline bool ClientDownloadReport::has_download_response() const {
13973 0 : return (_has_bits_[0] & 0x00000010u) != 0;
13974 : }
13975 0 : inline void ClientDownloadReport::set_has_download_response() {
13976 0 : _has_bits_[0] |= 0x00000010u;
13977 0 : }
13978 : inline void ClientDownloadReport::clear_has_download_response() {
13979 : _has_bits_[0] &= ~0x00000010u;
13980 : }
13981 : inline void ClientDownloadReport::clear_download_response() {
13982 : if (download_response_ != NULL) download_response_->::safe_browsing::ClientDownloadResponse::Clear();
13983 : clear_has_download_response();
13984 : }
13985 0 : inline const ::safe_browsing::ClientDownloadResponse& ClientDownloadReport::download_response() const {
13986 : // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.download_response)
13987 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13988 0 : return download_response_ != NULL ? *download_response_ : *default_instance().download_response_;
13989 : #else
13990 : return download_response_ != NULL ? *download_response_ : *default_instance_->download_response_;
13991 : #endif
13992 : }
13993 0 : inline ::safe_browsing::ClientDownloadResponse* ClientDownloadReport::mutable_download_response() {
13994 0 : set_has_download_response();
13995 0 : if (download_response_ == NULL) download_response_ = new ::safe_browsing::ClientDownloadResponse;
13996 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.download_response)
13997 0 : return download_response_;
13998 : }
13999 : inline ::safe_browsing::ClientDownloadResponse* ClientDownloadReport::release_download_response() {
14000 : clear_has_download_response();
14001 : ::safe_browsing::ClientDownloadResponse* temp = download_response_;
14002 : download_response_ = NULL;
14003 : return temp;
14004 : }
14005 : inline void ClientDownloadReport::set_allocated_download_response(::safe_browsing::ClientDownloadResponse* download_response) {
14006 : delete download_response_;
14007 : download_response_ = download_response;
14008 : if (download_response) {
14009 : set_has_download_response();
14010 : } else {
14011 : clear_has_download_response();
14012 : }
14013 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.download_response)
14014 : }
14015 :
14016 : // -------------------------------------------------------------------
14017 :
14018 : // ClientUploadResponse
14019 :
14020 : // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1;
14021 0 : inline bool ClientUploadResponse::has_status() const {
14022 0 : return (_has_bits_[0] & 0x00000001u) != 0;
14023 : }
14024 0 : inline void ClientUploadResponse::set_has_status() {
14025 0 : _has_bits_[0] |= 0x00000001u;
14026 0 : }
14027 : inline void ClientUploadResponse::clear_has_status() {
14028 : _has_bits_[0] &= ~0x00000001u;
14029 : }
14030 : inline void ClientUploadResponse::clear_status() {
14031 : status_ = 0;
14032 : clear_has_status();
14033 : }
14034 0 : inline ::safe_browsing::ClientUploadResponse_UploadStatus ClientUploadResponse::status() const {
14035 : // @@protoc_insertion_point(field_get:safe_browsing.ClientUploadResponse.status)
14036 0 : return static_cast< ::safe_browsing::ClientUploadResponse_UploadStatus >(status_);
14037 : }
14038 0 : inline void ClientUploadResponse::set_status(::safe_browsing::ClientUploadResponse_UploadStatus value) {
14039 0 : assert(::safe_browsing::ClientUploadResponse_UploadStatus_IsValid(value));
14040 0 : set_has_status();
14041 0 : status_ = value;
14042 : // @@protoc_insertion_point(field_set:safe_browsing.ClientUploadResponse.status)
14043 0 : }
14044 :
14045 : // optional string permalink = 2;
14046 0 : inline bool ClientUploadResponse::has_permalink() const {
14047 0 : return (_has_bits_[0] & 0x00000002u) != 0;
14048 : }
14049 0 : inline void ClientUploadResponse::set_has_permalink() {
14050 0 : _has_bits_[0] |= 0x00000002u;
14051 0 : }
14052 : inline void ClientUploadResponse::clear_has_permalink() {
14053 : _has_bits_[0] &= ~0x00000002u;
14054 : }
14055 : inline void ClientUploadResponse::clear_permalink() {
14056 : if (permalink_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14057 : permalink_->clear();
14058 : }
14059 : clear_has_permalink();
14060 : }
14061 0 : inline const ::std::string& ClientUploadResponse::permalink() const {
14062 : // @@protoc_insertion_point(field_get:safe_browsing.ClientUploadResponse.permalink)
14063 0 : return *permalink_;
14064 : }
14065 0 : inline void ClientUploadResponse::set_permalink(const ::std::string& value) {
14066 0 : set_has_permalink();
14067 0 : if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14068 0 : permalink_ = new ::std::string;
14069 : }
14070 0 : permalink_->assign(value);
14071 : // @@protoc_insertion_point(field_set:safe_browsing.ClientUploadResponse.permalink)
14072 0 : }
14073 : inline void ClientUploadResponse::set_permalink(const char* value) {
14074 : set_has_permalink();
14075 : if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14076 : permalink_ = new ::std::string;
14077 : }
14078 : permalink_->assign(value);
14079 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientUploadResponse.permalink)
14080 : }
14081 : inline void ClientUploadResponse::set_permalink(const char* value, size_t size) {
14082 : set_has_permalink();
14083 : if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14084 : permalink_ = new ::std::string;
14085 : }
14086 : permalink_->assign(reinterpret_cast<const char*>(value), size);
14087 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientUploadResponse.permalink)
14088 : }
14089 0 : inline ::std::string* ClientUploadResponse::mutable_permalink() {
14090 0 : set_has_permalink();
14091 0 : if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14092 0 : permalink_ = new ::std::string;
14093 : }
14094 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientUploadResponse.permalink)
14095 0 : return permalink_;
14096 : }
14097 : inline ::std::string* ClientUploadResponse::release_permalink() {
14098 : clear_has_permalink();
14099 : if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14100 : return NULL;
14101 : } else {
14102 : ::std::string* temp = permalink_;
14103 : permalink_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14104 : return temp;
14105 : }
14106 : }
14107 : inline void ClientUploadResponse::set_allocated_permalink(::std::string* permalink) {
14108 : if (permalink_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14109 : delete permalink_;
14110 : }
14111 : if (permalink) {
14112 : set_has_permalink();
14113 : permalink_ = permalink;
14114 : } else {
14115 : clear_has_permalink();
14116 : permalink_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14117 : }
14118 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientUploadResponse.permalink)
14119 : }
14120 :
14121 : // -------------------------------------------------------------------
14122 :
14123 : // ClientIncidentReport_IncidentData_TrackedPreferenceIncident
14124 :
14125 : // optional string path = 1;
14126 0 : inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_path() const {
14127 0 : return (_has_bits_[0] & 0x00000001u) != 0;
14128 : }
14129 0 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_has_path() {
14130 0 : _has_bits_[0] |= 0x00000001u;
14131 0 : }
14132 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_has_path() {
14133 : _has_bits_[0] &= ~0x00000001u;
14134 : }
14135 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_path() {
14136 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14137 : path_->clear();
14138 : }
14139 : clear_has_path();
14140 : }
14141 0 : inline const ::std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::path() const {
14142 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path)
14143 0 : return *path_;
14144 : }
14145 0 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const ::std::string& value) {
14146 0 : set_has_path();
14147 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14148 0 : path_ = new ::std::string;
14149 : }
14150 0 : path_->assign(value);
14151 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path)
14152 0 : }
14153 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const char* value) {
14154 : set_has_path();
14155 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14156 : path_ = new ::std::string;
14157 : }
14158 : path_->assign(value);
14159 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path)
14160 : }
14161 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const char* value, size_t size) {
14162 : set_has_path();
14163 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14164 : path_ = new ::std::string;
14165 : }
14166 : path_->assign(reinterpret_cast<const char*>(value), size);
14167 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path)
14168 : }
14169 0 : inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_path() {
14170 0 : set_has_path();
14171 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14172 0 : path_ = new ::std::string;
14173 : }
14174 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path)
14175 0 : return path_;
14176 : }
14177 : inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::release_path() {
14178 : clear_has_path();
14179 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14180 : return NULL;
14181 : } else {
14182 : ::std::string* temp = path_;
14183 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14184 : return temp;
14185 : }
14186 : }
14187 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_allocated_path(::std::string* path) {
14188 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14189 : delete path_;
14190 : }
14191 : if (path) {
14192 : set_has_path();
14193 : path_ = path;
14194 : } else {
14195 : clear_has_path();
14196 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14197 : }
14198 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path)
14199 : }
14200 :
14201 : // optional string atomic_value = 2;
14202 0 : inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_atomic_value() const {
14203 0 : return (_has_bits_[0] & 0x00000002u) != 0;
14204 : }
14205 0 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_has_atomic_value() {
14206 0 : _has_bits_[0] |= 0x00000002u;
14207 0 : }
14208 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_has_atomic_value() {
14209 : _has_bits_[0] &= ~0x00000002u;
14210 : }
14211 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_atomic_value() {
14212 : if (atomic_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14213 : atomic_value_->clear();
14214 : }
14215 : clear_has_atomic_value();
14216 : }
14217 0 : inline const ::std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::atomic_value() const {
14218 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value)
14219 0 : return *atomic_value_;
14220 : }
14221 0 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const ::std::string& value) {
14222 0 : set_has_atomic_value();
14223 0 : if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14224 0 : atomic_value_ = new ::std::string;
14225 : }
14226 0 : atomic_value_->assign(value);
14227 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value)
14228 0 : }
14229 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const char* value) {
14230 : set_has_atomic_value();
14231 : if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14232 : atomic_value_ = new ::std::string;
14233 : }
14234 : atomic_value_->assign(value);
14235 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value)
14236 : }
14237 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const char* value, size_t size) {
14238 : set_has_atomic_value();
14239 : if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14240 : atomic_value_ = new ::std::string;
14241 : }
14242 : atomic_value_->assign(reinterpret_cast<const char*>(value), size);
14243 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value)
14244 : }
14245 0 : inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_atomic_value() {
14246 0 : set_has_atomic_value();
14247 0 : if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14248 0 : atomic_value_ = new ::std::string;
14249 : }
14250 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value)
14251 0 : return atomic_value_;
14252 : }
14253 : inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::release_atomic_value() {
14254 : clear_has_atomic_value();
14255 : if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14256 : return NULL;
14257 : } else {
14258 : ::std::string* temp = atomic_value_;
14259 : atomic_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14260 : return temp;
14261 : }
14262 : }
14263 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_allocated_atomic_value(::std::string* atomic_value) {
14264 : if (atomic_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14265 : delete atomic_value_;
14266 : }
14267 : if (atomic_value) {
14268 : set_has_atomic_value();
14269 : atomic_value_ = atomic_value;
14270 : } else {
14271 : clear_has_atomic_value();
14272 : atomic_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14273 : }
14274 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value)
14275 : }
14276 :
14277 : // repeated string split_key = 3;
14278 0 : inline int ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key_size() const {
14279 0 : return split_key_.size();
14280 : }
14281 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_split_key() {
14282 : split_key_.Clear();
14283 : }
14284 0 : inline const ::std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key(int index) const {
14285 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14286 0 : return split_key_.Get(index);
14287 : }
14288 : inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_split_key(int index) {
14289 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14290 : return split_key_.Mutable(index);
14291 : }
14292 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_split_key(int index, const ::std::string& value) {
14293 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14294 : split_key_.Mutable(index)->assign(value);
14295 : }
14296 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_split_key(int index, const char* value) {
14297 : split_key_.Mutable(index)->assign(value);
14298 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14299 : }
14300 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_split_key(int index, const char* value, size_t size) {
14301 : split_key_.Mutable(index)->assign(
14302 : reinterpret_cast<const char*>(value), size);
14303 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14304 : }
14305 0 : inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key() {
14306 0 : return split_key_.Add();
14307 : }
14308 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key(const ::std::string& value) {
14309 : split_key_.Add()->assign(value);
14310 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14311 : }
14312 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key(const char* value) {
14313 : split_key_.Add()->assign(value);
14314 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14315 : }
14316 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key(const char* value, size_t size) {
14317 : split_key_.Add()->assign(reinterpret_cast<const char*>(value), size);
14318 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14319 : }
14320 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
14321 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key() const {
14322 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14323 : return split_key_;
14324 : }
14325 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
14326 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_split_key() {
14327 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key)
14328 : return &split_key_;
14329 : }
14330 :
14331 : // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.ValueState value_state = 4;
14332 0 : inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_value_state() const {
14333 0 : return (_has_bits_[0] & 0x00000008u) != 0;
14334 : }
14335 0 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_has_value_state() {
14336 0 : _has_bits_[0] |= 0x00000008u;
14337 0 : }
14338 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_has_value_state() {
14339 : _has_bits_[0] &= ~0x00000008u;
14340 : }
14341 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_value_state() {
14342 : value_state_ = 0;
14343 : clear_has_value_state();
14344 : }
14345 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident::value_state() const {
14346 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.value_state)
14347 0 : return static_cast< ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState >(value_state_);
14348 : }
14349 0 : inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value) {
14350 0 : assert(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(value));
14351 0 : set_has_value_state();
14352 0 : value_state_ = value;
14353 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.value_state)
14354 0 : }
14355 :
14356 : // -------------------------------------------------------------------
14357 :
14358 : // ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile
14359 :
14360 : // optional string relative_path = 1;
14361 0 : inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::has_relative_path() const {
14362 0 : return (_has_bits_[0] & 0x00000001u) != 0;
14363 : }
14364 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_has_relative_path() {
14365 0 : _has_bits_[0] |= 0x00000001u;
14366 0 : }
14367 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_has_relative_path() {
14368 : _has_bits_[0] &= ~0x00000001u;
14369 : }
14370 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_relative_path() {
14371 : if (relative_path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14372 : relative_path_->clear();
14373 : }
14374 : clear_has_relative_path();
14375 : }
14376 0 : inline const ::std::string& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::relative_path() const {
14377 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path)
14378 0 : return *relative_path_;
14379 : }
14380 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const ::std::string& value) {
14381 0 : set_has_relative_path();
14382 0 : if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14383 0 : relative_path_ = new ::std::string;
14384 : }
14385 0 : relative_path_->assign(value);
14386 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path)
14387 0 : }
14388 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const char* value) {
14389 : set_has_relative_path();
14390 : if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14391 : relative_path_ = new ::std::string;
14392 : }
14393 : relative_path_->assign(value);
14394 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path)
14395 : }
14396 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const char* value, size_t size) {
14397 : set_has_relative_path();
14398 : if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14399 : relative_path_ = new ::std::string;
14400 : }
14401 : relative_path_->assign(reinterpret_cast<const char*>(value), size);
14402 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path)
14403 : }
14404 0 : inline ::std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_relative_path() {
14405 0 : set_has_relative_path();
14406 0 : if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14407 0 : relative_path_ = new ::std::string;
14408 : }
14409 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path)
14410 0 : return relative_path_;
14411 : }
14412 : inline ::std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_relative_path() {
14413 : clear_has_relative_path();
14414 : if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14415 : return NULL;
14416 : } else {
14417 : ::std::string* temp = relative_path_;
14418 : relative_path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14419 : return temp;
14420 : }
14421 : }
14422 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_relative_path(::std::string* relative_path) {
14423 : if (relative_path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14424 : delete relative_path_;
14425 : }
14426 : if (relative_path) {
14427 : set_has_relative_path();
14428 : relative_path_ = relative_path;
14429 : } else {
14430 : clear_has_relative_path();
14431 : relative_path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14432 : }
14433 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path)
14434 : }
14435 :
14436 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2;
14437 0 : inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::has_signature() const {
14438 0 : return (_has_bits_[0] & 0x00000002u) != 0;
14439 : }
14440 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_has_signature() {
14441 0 : _has_bits_[0] |= 0x00000002u;
14442 0 : }
14443 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_has_signature() {
14444 : _has_bits_[0] &= ~0x00000002u;
14445 : }
14446 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_signature() {
14447 : if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear();
14448 : clear_has_signature();
14449 : }
14450 0 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::signature() const {
14451 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature)
14452 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14453 0 : return signature_ != NULL ? *signature_ : *default_instance().signature_;
14454 : #else
14455 : return signature_ != NULL ? *signature_ : *default_instance_->signature_;
14456 : #endif
14457 : }
14458 0 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_signature() {
14459 0 : set_has_signature();
14460 0 : if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo;
14461 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature)
14462 0 : return signature_;
14463 : }
14464 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_signature() {
14465 : clear_has_signature();
14466 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_;
14467 : signature_ = NULL;
14468 : return temp;
14469 : }
14470 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) {
14471 : delete signature_;
14472 : signature_ = signature;
14473 : if (signature) {
14474 : set_has_signature();
14475 : } else {
14476 : clear_has_signature();
14477 : }
14478 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature)
14479 : }
14480 :
14481 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3;
14482 0 : inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::has_image_headers() const {
14483 0 : return (_has_bits_[0] & 0x00000004u) != 0;
14484 : }
14485 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_has_image_headers() {
14486 0 : _has_bits_[0] |= 0x00000004u;
14487 0 : }
14488 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_has_image_headers() {
14489 : _has_bits_[0] &= ~0x00000004u;
14490 : }
14491 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_image_headers() {
14492 : if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear();
14493 : clear_has_image_headers();
14494 : }
14495 0 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::image_headers() const {
14496 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers)
14497 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14498 0 : return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_;
14499 : #else
14500 : return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_;
14501 : #endif
14502 : }
14503 0 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_image_headers() {
14504 0 : set_has_image_headers();
14505 0 : if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders;
14506 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers)
14507 0 : return image_headers_;
14508 : }
14509 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_image_headers() {
14510 : clear_has_image_headers();
14511 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_;
14512 : image_headers_ = NULL;
14513 : return temp;
14514 : }
14515 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) {
14516 : delete image_headers_;
14517 : image_headers_ = image_headers;
14518 : if (image_headers) {
14519 : set_has_image_headers();
14520 : } else {
14521 : clear_has_image_headers();
14522 : }
14523 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers)
14524 : }
14525 :
14526 : // -------------------------------------------------------------------
14527 :
14528 : // ClientIncidentReport_IncidentData_BinaryIntegrityIncident
14529 :
14530 : // optional string file_basename = 1;
14531 0 : inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_file_basename() const {
14532 0 : return (_has_bits_[0] & 0x00000001u) != 0;
14533 : }
14534 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_file_basename() {
14535 0 : _has_bits_[0] |= 0x00000001u;
14536 0 : }
14537 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_file_basename() {
14538 : _has_bits_[0] &= ~0x00000001u;
14539 : }
14540 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_file_basename() {
14541 : if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14542 : file_basename_->clear();
14543 : }
14544 : clear_has_file_basename();
14545 : }
14546 0 : inline const ::std::string& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::file_basename() const {
14547 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename)
14548 0 : return *file_basename_;
14549 : }
14550 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const ::std::string& value) {
14551 0 : set_has_file_basename();
14552 0 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14553 0 : file_basename_ = new ::std::string;
14554 : }
14555 0 : file_basename_->assign(value);
14556 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename)
14557 0 : }
14558 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const char* value) {
14559 : set_has_file_basename();
14560 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14561 : file_basename_ = new ::std::string;
14562 : }
14563 : file_basename_->assign(value);
14564 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename)
14565 : }
14566 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const char* value, size_t size) {
14567 : set_has_file_basename();
14568 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14569 : file_basename_ = new ::std::string;
14570 : }
14571 : file_basename_->assign(reinterpret_cast<const char*>(value), size);
14572 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename)
14573 : }
14574 0 : inline ::std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_file_basename() {
14575 0 : set_has_file_basename();
14576 0 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14577 0 : file_basename_ = new ::std::string;
14578 : }
14579 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename)
14580 0 : return file_basename_;
14581 : }
14582 : inline ::std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_file_basename() {
14583 : clear_has_file_basename();
14584 : if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14585 : return NULL;
14586 : } else {
14587 : ::std::string* temp = file_basename_;
14588 : file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14589 : return temp;
14590 : }
14591 : }
14592 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_file_basename(::std::string* file_basename) {
14593 : if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14594 : delete file_basename_;
14595 : }
14596 : if (file_basename) {
14597 : set_has_file_basename();
14598 : file_basename_ = file_basename;
14599 : } else {
14600 : clear_has_file_basename();
14601 : file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14602 : }
14603 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename)
14604 : }
14605 :
14606 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2;
14607 0 : inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_signature() const {
14608 0 : return (_has_bits_[0] & 0x00000002u) != 0;
14609 : }
14610 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_signature() {
14611 0 : _has_bits_[0] |= 0x00000002u;
14612 0 : }
14613 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_signature() {
14614 : _has_bits_[0] &= ~0x00000002u;
14615 : }
14616 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_signature() {
14617 : if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear();
14618 : clear_has_signature();
14619 : }
14620 0 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::signature() const {
14621 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature)
14622 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14623 0 : return signature_ != NULL ? *signature_ : *default_instance().signature_;
14624 : #else
14625 : return signature_ != NULL ? *signature_ : *default_instance_->signature_;
14626 : #endif
14627 : }
14628 0 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_signature() {
14629 0 : set_has_signature();
14630 0 : if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo;
14631 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature)
14632 0 : return signature_;
14633 : }
14634 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_signature() {
14635 : clear_has_signature();
14636 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_;
14637 : signature_ = NULL;
14638 : return temp;
14639 : }
14640 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) {
14641 : delete signature_;
14642 : signature_ = signature;
14643 : if (signature) {
14644 : set_has_signature();
14645 : } else {
14646 : clear_has_signature();
14647 : }
14648 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature)
14649 : }
14650 :
14651 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3;
14652 0 : inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_image_headers() const {
14653 0 : return (_has_bits_[0] & 0x00000004u) != 0;
14654 : }
14655 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_image_headers() {
14656 0 : _has_bits_[0] |= 0x00000004u;
14657 0 : }
14658 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_image_headers() {
14659 : _has_bits_[0] &= ~0x00000004u;
14660 : }
14661 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_image_headers() {
14662 : if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear();
14663 : clear_has_image_headers();
14664 : }
14665 0 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::image_headers() const {
14666 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers)
14667 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14668 0 : return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_;
14669 : #else
14670 : return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_;
14671 : #endif
14672 : }
14673 0 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_image_headers() {
14674 0 : set_has_image_headers();
14675 0 : if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders;
14676 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers)
14677 0 : return image_headers_;
14678 : }
14679 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_image_headers() {
14680 : clear_has_image_headers();
14681 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_;
14682 : image_headers_ = NULL;
14683 : return temp;
14684 : }
14685 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) {
14686 : delete image_headers_;
14687 : image_headers_ = image_headers;
14688 : if (image_headers) {
14689 : set_has_image_headers();
14690 : } else {
14691 : clear_has_image_headers();
14692 : }
14693 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers)
14694 : }
14695 :
14696 : // optional int32 sec_error = 4;
14697 0 : inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_sec_error() const {
14698 0 : return (_has_bits_[0] & 0x00000008u) != 0;
14699 : }
14700 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_sec_error() {
14701 0 : _has_bits_[0] |= 0x00000008u;
14702 0 : }
14703 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_sec_error() {
14704 : _has_bits_[0] &= ~0x00000008u;
14705 : }
14706 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_sec_error() {
14707 : sec_error_ = 0;
14708 : clear_has_sec_error();
14709 : }
14710 0 : inline ::google::protobuf::int32 ClientIncidentReport_IncidentData_BinaryIntegrityIncident::sec_error() const {
14711 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.sec_error)
14712 0 : return sec_error_;
14713 : }
14714 0 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_sec_error(::google::protobuf::int32 value) {
14715 0 : set_has_sec_error();
14716 0 : sec_error_ = value;
14717 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.sec_error)
14718 0 : }
14719 :
14720 : // repeated .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile contained_file = 5;
14721 0 : inline int ClientIncidentReport_IncidentData_BinaryIntegrityIncident::contained_file_size() const {
14722 0 : return contained_file_.size();
14723 : }
14724 : inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_contained_file() {
14725 : contained_file_.Clear();
14726 : }
14727 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::contained_file(int index) const {
14728 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file)
14729 0 : return contained_file_.Get(index);
14730 : }
14731 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_contained_file(int index) {
14732 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file)
14733 : return contained_file_.Mutable(index);
14734 : }
14735 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::add_contained_file() {
14736 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file)
14737 0 : return contained_file_.Add();
14738 : }
14739 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >&
14740 0 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident::contained_file() const {
14741 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file)
14742 0 : return contained_file_;
14743 : }
14744 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >*
14745 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_contained_file() {
14746 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file)
14747 : return &contained_file_;
14748 : }
14749 :
14750 : // -------------------------------------------------------------------
14751 :
14752 : // ClientIncidentReport_IncidentData_BlacklistLoadIncident
14753 :
14754 : // optional string path = 1;
14755 0 : inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_path() const {
14756 0 : return (_has_bits_[0] & 0x00000001u) != 0;
14757 : }
14758 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_path() {
14759 0 : _has_bits_[0] |= 0x00000001u;
14760 0 : }
14761 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_path() {
14762 : _has_bits_[0] &= ~0x00000001u;
14763 : }
14764 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_path() {
14765 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14766 : path_->clear();
14767 : }
14768 : clear_has_path();
14769 : }
14770 0 : inline const ::std::string& ClientIncidentReport_IncidentData_BlacklistLoadIncident::path() const {
14771 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path)
14772 0 : return *path_;
14773 : }
14774 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_path(const ::std::string& value) {
14775 0 : set_has_path();
14776 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14777 0 : path_ = new ::std::string;
14778 : }
14779 0 : path_->assign(value);
14780 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path)
14781 0 : }
14782 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_path(const char* value) {
14783 : set_has_path();
14784 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14785 : path_ = new ::std::string;
14786 : }
14787 : path_->assign(value);
14788 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path)
14789 : }
14790 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_path(const char* value, size_t size) {
14791 : set_has_path();
14792 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14793 : path_ = new ::std::string;
14794 : }
14795 : path_->assign(reinterpret_cast<const char*>(value), size);
14796 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path)
14797 : }
14798 0 : inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_path() {
14799 0 : set_has_path();
14800 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14801 0 : path_ = new ::std::string;
14802 : }
14803 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path)
14804 0 : return path_;
14805 : }
14806 : inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_path() {
14807 : clear_has_path();
14808 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14809 : return NULL;
14810 : } else {
14811 : ::std::string* temp = path_;
14812 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14813 : return temp;
14814 : }
14815 : }
14816 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_path(::std::string* path) {
14817 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14818 : delete path_;
14819 : }
14820 : if (path) {
14821 : set_has_path();
14822 : path_ = path;
14823 : } else {
14824 : clear_has_path();
14825 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14826 : }
14827 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path)
14828 : }
14829 :
14830 : // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2;
14831 0 : inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_digest() const {
14832 0 : return (_has_bits_[0] & 0x00000002u) != 0;
14833 : }
14834 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_digest() {
14835 0 : _has_bits_[0] |= 0x00000002u;
14836 0 : }
14837 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_digest() {
14838 : _has_bits_[0] &= ~0x00000002u;
14839 : }
14840 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_digest() {
14841 : if (digest_ != NULL) digest_->::safe_browsing::ClientDownloadRequest_Digests::Clear();
14842 : clear_has_digest();
14843 : }
14844 0 : inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientIncidentReport_IncidentData_BlacklistLoadIncident::digest() const {
14845 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.digest)
14846 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14847 0 : return digest_ != NULL ? *digest_ : *default_instance().digest_;
14848 : #else
14849 : return digest_ != NULL ? *digest_ : *default_instance_->digest_;
14850 : #endif
14851 : }
14852 0 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_digest() {
14853 0 : set_has_digest();
14854 0 : if (digest_ == NULL) digest_ = new ::safe_browsing::ClientDownloadRequest_Digests;
14855 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.digest)
14856 0 : return digest_;
14857 : }
14858 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_digest() {
14859 : clear_has_digest();
14860 : ::safe_browsing::ClientDownloadRequest_Digests* temp = digest_;
14861 : digest_ = NULL;
14862 : return temp;
14863 : }
14864 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest) {
14865 : delete digest_;
14866 : digest_ = digest;
14867 : if (digest) {
14868 : set_has_digest();
14869 : } else {
14870 : clear_has_digest();
14871 : }
14872 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.digest)
14873 : }
14874 :
14875 : // optional string version = 3;
14876 0 : inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_version() const {
14877 0 : return (_has_bits_[0] & 0x00000004u) != 0;
14878 : }
14879 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_version() {
14880 0 : _has_bits_[0] |= 0x00000004u;
14881 0 : }
14882 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_version() {
14883 : _has_bits_[0] &= ~0x00000004u;
14884 : }
14885 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_version() {
14886 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14887 : version_->clear();
14888 : }
14889 : clear_has_version();
14890 : }
14891 0 : inline const ::std::string& ClientIncidentReport_IncidentData_BlacklistLoadIncident::version() const {
14892 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version)
14893 0 : return *version_;
14894 : }
14895 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_version(const ::std::string& value) {
14896 0 : set_has_version();
14897 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14898 0 : version_ = new ::std::string;
14899 : }
14900 0 : version_->assign(value);
14901 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version)
14902 0 : }
14903 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_version(const char* value) {
14904 : set_has_version();
14905 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14906 : version_ = new ::std::string;
14907 : }
14908 : version_->assign(value);
14909 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version)
14910 : }
14911 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_version(const char* value, size_t size) {
14912 : set_has_version();
14913 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14914 : version_ = new ::std::string;
14915 : }
14916 : version_->assign(reinterpret_cast<const char*>(value), size);
14917 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version)
14918 : }
14919 0 : inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_version() {
14920 0 : set_has_version();
14921 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14922 0 : version_ = new ::std::string;
14923 : }
14924 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version)
14925 0 : return version_;
14926 : }
14927 : inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_version() {
14928 : clear_has_version();
14929 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14930 : return NULL;
14931 : } else {
14932 : ::std::string* temp = version_;
14933 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14934 : return temp;
14935 : }
14936 : }
14937 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_version(::std::string* version) {
14938 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14939 : delete version_;
14940 : }
14941 : if (version) {
14942 : set_has_version();
14943 : version_ = version;
14944 : } else {
14945 : clear_has_version();
14946 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14947 : }
14948 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version)
14949 : }
14950 :
14951 : // optional bool blacklist_initialized = 4;
14952 0 : inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_blacklist_initialized() const {
14953 0 : return (_has_bits_[0] & 0x00000008u) != 0;
14954 : }
14955 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_blacklist_initialized() {
14956 0 : _has_bits_[0] |= 0x00000008u;
14957 0 : }
14958 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_blacklist_initialized() {
14959 : _has_bits_[0] &= ~0x00000008u;
14960 : }
14961 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_blacklist_initialized() {
14962 : blacklist_initialized_ = false;
14963 : clear_has_blacklist_initialized();
14964 : }
14965 0 : inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::blacklist_initialized() const {
14966 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.blacklist_initialized)
14967 0 : return blacklist_initialized_;
14968 : }
14969 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_blacklist_initialized(bool value) {
14970 0 : set_has_blacklist_initialized();
14971 0 : blacklist_initialized_ = value;
14972 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.blacklist_initialized)
14973 0 : }
14974 :
14975 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
14976 0 : inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_signature() const {
14977 0 : return (_has_bits_[0] & 0x00000010u) != 0;
14978 : }
14979 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_signature() {
14980 0 : _has_bits_[0] |= 0x00000010u;
14981 0 : }
14982 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_signature() {
14983 : _has_bits_[0] &= ~0x00000010u;
14984 : }
14985 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_signature() {
14986 : if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear();
14987 : clear_has_signature();
14988 : }
14989 0 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BlacklistLoadIncident::signature() const {
14990 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.signature)
14991 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14992 0 : return signature_ != NULL ? *signature_ : *default_instance().signature_;
14993 : #else
14994 : return signature_ != NULL ? *signature_ : *default_instance_->signature_;
14995 : #endif
14996 : }
14997 0 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_signature() {
14998 0 : set_has_signature();
14999 0 : if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo;
15000 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.signature)
15001 0 : return signature_;
15002 : }
15003 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_signature() {
15004 : clear_has_signature();
15005 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_;
15006 : signature_ = NULL;
15007 : return temp;
15008 : }
15009 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) {
15010 : delete signature_;
15011 : signature_ = signature;
15012 : if (signature) {
15013 : set_has_signature();
15014 : } else {
15015 : clear_has_signature();
15016 : }
15017 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.signature)
15018 : }
15019 :
15020 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6;
15021 0 : inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_image_headers() const {
15022 0 : return (_has_bits_[0] & 0x00000020u) != 0;
15023 : }
15024 0 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_image_headers() {
15025 0 : _has_bits_[0] |= 0x00000020u;
15026 0 : }
15027 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_image_headers() {
15028 : _has_bits_[0] &= ~0x00000020u;
15029 : }
15030 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_image_headers() {
15031 : if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear();
15032 : clear_has_image_headers();
15033 : }
15034 0 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BlacklistLoadIncident::image_headers() const {
15035 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.image_headers)
15036 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15037 0 : return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_;
15038 : #else
15039 : return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_;
15040 : #endif
15041 : }
15042 0 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_image_headers() {
15043 0 : set_has_image_headers();
15044 0 : if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders;
15045 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.image_headers)
15046 0 : return image_headers_;
15047 : }
15048 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_image_headers() {
15049 : clear_has_image_headers();
15050 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_;
15051 : image_headers_ = NULL;
15052 : return temp;
15053 : }
15054 : inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) {
15055 : delete image_headers_;
15056 : image_headers_ = image_headers;
15057 : if (image_headers) {
15058 : set_has_image_headers();
15059 : } else {
15060 : clear_has_image_headers();
15061 : }
15062 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.image_headers)
15063 : }
15064 :
15065 : // -------------------------------------------------------------------
15066 :
15067 : // ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident
15068 :
15069 : // optional string variations_seed_signature = 1;
15070 0 : inline bool ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::has_variations_seed_signature() const {
15071 0 : return (_has_bits_[0] & 0x00000001u) != 0;
15072 : }
15073 0 : inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_has_variations_seed_signature() {
15074 0 : _has_bits_[0] |= 0x00000001u;
15075 0 : }
15076 : inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::clear_has_variations_seed_signature() {
15077 : _has_bits_[0] &= ~0x00000001u;
15078 : }
15079 : inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::clear_variations_seed_signature() {
15080 : if (variations_seed_signature_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15081 : variations_seed_signature_->clear();
15082 : }
15083 : clear_has_variations_seed_signature();
15084 : }
15085 0 : inline const ::std::string& ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::variations_seed_signature() const {
15086 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature)
15087 0 : return *variations_seed_signature_;
15088 : }
15089 0 : inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_variations_seed_signature(const ::std::string& value) {
15090 0 : set_has_variations_seed_signature();
15091 0 : if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15092 0 : variations_seed_signature_ = new ::std::string;
15093 : }
15094 0 : variations_seed_signature_->assign(value);
15095 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature)
15096 0 : }
15097 : inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_variations_seed_signature(const char* value) {
15098 : set_has_variations_seed_signature();
15099 : if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15100 : variations_seed_signature_ = new ::std::string;
15101 : }
15102 : variations_seed_signature_->assign(value);
15103 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature)
15104 : }
15105 : inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_variations_seed_signature(const char* value, size_t size) {
15106 : set_has_variations_seed_signature();
15107 : if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15108 : variations_seed_signature_ = new ::std::string;
15109 : }
15110 : variations_seed_signature_->assign(reinterpret_cast<const char*>(value), size);
15111 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature)
15112 : }
15113 0 : inline ::std::string* ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::mutable_variations_seed_signature() {
15114 0 : set_has_variations_seed_signature();
15115 0 : if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15116 0 : variations_seed_signature_ = new ::std::string;
15117 : }
15118 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature)
15119 0 : return variations_seed_signature_;
15120 : }
15121 : inline ::std::string* ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::release_variations_seed_signature() {
15122 : clear_has_variations_seed_signature();
15123 : if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15124 : return NULL;
15125 : } else {
15126 : ::std::string* temp = variations_seed_signature_;
15127 : variations_seed_signature_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15128 : return temp;
15129 : }
15130 : }
15131 : inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_allocated_variations_seed_signature(::std::string* variations_seed_signature) {
15132 : if (variations_seed_signature_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15133 : delete variations_seed_signature_;
15134 : }
15135 : if (variations_seed_signature) {
15136 : set_has_variations_seed_signature();
15137 : variations_seed_signature_ = variations_seed_signature;
15138 : } else {
15139 : clear_has_variations_seed_signature();
15140 : variations_seed_signature_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15141 : }
15142 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature)
15143 : }
15144 :
15145 : // -------------------------------------------------------------------
15146 :
15147 : // ClientIncidentReport_IncidentData_ResourceRequestIncident
15148 :
15149 : // optional bytes digest = 1;
15150 0 : inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_digest() const {
15151 0 : return (_has_bits_[0] & 0x00000001u) != 0;
15152 : }
15153 0 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_has_digest() {
15154 0 : _has_bits_[0] |= 0x00000001u;
15155 0 : }
15156 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_has_digest() {
15157 : _has_bits_[0] &= ~0x00000001u;
15158 : }
15159 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_digest() {
15160 : if (digest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15161 : digest_->clear();
15162 : }
15163 : clear_has_digest();
15164 : }
15165 0 : inline const ::std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::digest() const {
15166 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest)
15167 0 : return *digest_;
15168 : }
15169 0 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const ::std::string& value) {
15170 0 : set_has_digest();
15171 0 : if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15172 0 : digest_ = new ::std::string;
15173 : }
15174 0 : digest_->assign(value);
15175 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest)
15176 0 : }
15177 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const char* value) {
15178 : set_has_digest();
15179 : if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15180 : digest_ = new ::std::string;
15181 : }
15182 : digest_->assign(value);
15183 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest)
15184 : }
15185 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const void* value, size_t size) {
15186 : set_has_digest();
15187 : if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15188 : digest_ = new ::std::string;
15189 : }
15190 : digest_->assign(reinterpret_cast<const char*>(value), size);
15191 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest)
15192 : }
15193 0 : inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::mutable_digest() {
15194 0 : set_has_digest();
15195 0 : if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15196 0 : digest_ = new ::std::string;
15197 : }
15198 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest)
15199 0 : return digest_;
15200 : }
15201 : inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::release_digest() {
15202 : clear_has_digest();
15203 : if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15204 : return NULL;
15205 : } else {
15206 : ::std::string* temp = digest_;
15207 : digest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15208 : return temp;
15209 : }
15210 : }
15211 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_allocated_digest(::std::string* digest) {
15212 : if (digest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15213 : delete digest_;
15214 : }
15215 : if (digest) {
15216 : set_has_digest();
15217 : digest_ = digest;
15218 : } else {
15219 : clear_has_digest();
15220 : digest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15221 : }
15222 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest)
15223 : }
15224 :
15225 : // optional string origin = 2;
15226 0 : inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_origin() const {
15227 0 : return (_has_bits_[0] & 0x00000002u) != 0;
15228 : }
15229 0 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_has_origin() {
15230 0 : _has_bits_[0] |= 0x00000002u;
15231 0 : }
15232 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_has_origin() {
15233 : _has_bits_[0] &= ~0x00000002u;
15234 : }
15235 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_origin() {
15236 : if (origin_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15237 : origin_->clear();
15238 : }
15239 : clear_has_origin();
15240 : }
15241 0 : inline const ::std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::origin() const {
15242 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin)
15243 0 : return *origin_;
15244 : }
15245 0 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const ::std::string& value) {
15246 0 : set_has_origin();
15247 0 : if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15248 0 : origin_ = new ::std::string;
15249 : }
15250 0 : origin_->assign(value);
15251 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin)
15252 0 : }
15253 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const char* value) {
15254 : set_has_origin();
15255 : if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15256 : origin_ = new ::std::string;
15257 : }
15258 : origin_->assign(value);
15259 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin)
15260 : }
15261 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const char* value, size_t size) {
15262 : set_has_origin();
15263 : if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15264 : origin_ = new ::std::string;
15265 : }
15266 : origin_->assign(reinterpret_cast<const char*>(value), size);
15267 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin)
15268 : }
15269 0 : inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::mutable_origin() {
15270 0 : set_has_origin();
15271 0 : if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15272 0 : origin_ = new ::std::string;
15273 : }
15274 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin)
15275 0 : return origin_;
15276 : }
15277 : inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::release_origin() {
15278 : clear_has_origin();
15279 : if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15280 : return NULL;
15281 : } else {
15282 : ::std::string* temp = origin_;
15283 : origin_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15284 : return temp;
15285 : }
15286 : }
15287 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_allocated_origin(::std::string* origin) {
15288 : if (origin_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15289 : delete origin_;
15290 : }
15291 : if (origin) {
15292 : set_has_origin();
15293 : origin_ = origin;
15294 : } else {
15295 : clear_has_origin();
15296 : origin_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15297 : }
15298 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin)
15299 : }
15300 :
15301 : // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.Type type = 3 [default = UNKNOWN];
15302 0 : inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_type() const {
15303 0 : return (_has_bits_[0] & 0x00000004u) != 0;
15304 : }
15305 0 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_has_type() {
15306 0 : _has_bits_[0] |= 0x00000004u;
15307 0 : }
15308 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_has_type() {
15309 : _has_bits_[0] &= ~0x00000004u;
15310 : }
15311 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_type() {
15312 : type_ = 0;
15313 : clear_has_type();
15314 : }
15315 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident::type() const {
15316 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.type)
15317 0 : return static_cast< ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type >(type_);
15318 : }
15319 0 : inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value) {
15320 0 : assert(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(value));
15321 0 : set_has_type();
15322 0 : type_ = value;
15323 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.type)
15324 0 : }
15325 :
15326 : // -------------------------------------------------------------------
15327 :
15328 : // ClientIncidentReport_IncidentData_SuspiciousModuleIncident
15329 :
15330 : // optional string path = 1;
15331 0 : inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_path() const {
15332 0 : return (_has_bits_[0] & 0x00000001u) != 0;
15333 : }
15334 0 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_path() {
15335 0 : _has_bits_[0] |= 0x00000001u;
15336 0 : }
15337 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_path() {
15338 : _has_bits_[0] &= ~0x00000001u;
15339 : }
15340 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_path() {
15341 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15342 : path_->clear();
15343 : }
15344 : clear_has_path();
15345 : }
15346 0 : inline const ::std::string& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::path() const {
15347 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path)
15348 0 : return *path_;
15349 : }
15350 0 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_path(const ::std::string& value) {
15351 0 : set_has_path();
15352 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15353 0 : path_ = new ::std::string;
15354 : }
15355 0 : path_->assign(value);
15356 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path)
15357 0 : }
15358 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_path(const char* value) {
15359 : set_has_path();
15360 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15361 : path_ = new ::std::string;
15362 : }
15363 : path_->assign(value);
15364 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path)
15365 : }
15366 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_path(const char* value, size_t size) {
15367 : set_has_path();
15368 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15369 : path_ = new ::std::string;
15370 : }
15371 : path_->assign(reinterpret_cast<const char*>(value), size);
15372 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path)
15373 : }
15374 0 : inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_path() {
15375 0 : set_has_path();
15376 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15377 0 : path_ = new ::std::string;
15378 : }
15379 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path)
15380 0 : return path_;
15381 : }
15382 : inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_path() {
15383 : clear_has_path();
15384 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15385 : return NULL;
15386 : } else {
15387 : ::std::string* temp = path_;
15388 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15389 : return temp;
15390 : }
15391 : }
15392 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_path(::std::string* path) {
15393 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15394 : delete path_;
15395 : }
15396 : if (path) {
15397 : set_has_path();
15398 : path_ = path;
15399 : } else {
15400 : clear_has_path();
15401 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15402 : }
15403 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path)
15404 : }
15405 :
15406 : // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2;
15407 0 : inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_digest() const {
15408 0 : return (_has_bits_[0] & 0x00000002u) != 0;
15409 : }
15410 0 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_digest() {
15411 0 : _has_bits_[0] |= 0x00000002u;
15412 0 : }
15413 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_digest() {
15414 : _has_bits_[0] &= ~0x00000002u;
15415 : }
15416 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_digest() {
15417 : if (digest_ != NULL) digest_->::safe_browsing::ClientDownloadRequest_Digests::Clear();
15418 : clear_has_digest();
15419 : }
15420 0 : inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::digest() const {
15421 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.digest)
15422 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15423 0 : return digest_ != NULL ? *digest_ : *default_instance().digest_;
15424 : #else
15425 : return digest_ != NULL ? *digest_ : *default_instance_->digest_;
15426 : #endif
15427 : }
15428 0 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_digest() {
15429 0 : set_has_digest();
15430 0 : if (digest_ == NULL) digest_ = new ::safe_browsing::ClientDownloadRequest_Digests;
15431 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.digest)
15432 0 : return digest_;
15433 : }
15434 : inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_digest() {
15435 : clear_has_digest();
15436 : ::safe_browsing::ClientDownloadRequest_Digests* temp = digest_;
15437 : digest_ = NULL;
15438 : return temp;
15439 : }
15440 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest) {
15441 : delete digest_;
15442 : digest_ = digest;
15443 : if (digest) {
15444 : set_has_digest();
15445 : } else {
15446 : clear_has_digest();
15447 : }
15448 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.digest)
15449 : }
15450 :
15451 : // optional string version = 3;
15452 0 : inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_version() const {
15453 0 : return (_has_bits_[0] & 0x00000004u) != 0;
15454 : }
15455 0 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_version() {
15456 0 : _has_bits_[0] |= 0x00000004u;
15457 0 : }
15458 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_version() {
15459 : _has_bits_[0] &= ~0x00000004u;
15460 : }
15461 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_version() {
15462 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15463 : version_->clear();
15464 : }
15465 : clear_has_version();
15466 : }
15467 0 : inline const ::std::string& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::version() const {
15468 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version)
15469 0 : return *version_;
15470 : }
15471 0 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_version(const ::std::string& value) {
15472 0 : set_has_version();
15473 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15474 0 : version_ = new ::std::string;
15475 : }
15476 0 : version_->assign(value);
15477 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version)
15478 0 : }
15479 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_version(const char* value) {
15480 : set_has_version();
15481 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15482 : version_ = new ::std::string;
15483 : }
15484 : version_->assign(value);
15485 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version)
15486 : }
15487 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_version(const char* value, size_t size) {
15488 : set_has_version();
15489 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15490 : version_ = new ::std::string;
15491 : }
15492 : version_->assign(reinterpret_cast<const char*>(value), size);
15493 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version)
15494 : }
15495 0 : inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_version() {
15496 0 : set_has_version();
15497 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15498 0 : version_ = new ::std::string;
15499 : }
15500 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version)
15501 0 : return version_;
15502 : }
15503 : inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_version() {
15504 : clear_has_version();
15505 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15506 : return NULL;
15507 : } else {
15508 : ::std::string* temp = version_;
15509 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15510 : return temp;
15511 : }
15512 : }
15513 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_version(::std::string* version) {
15514 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15515 : delete version_;
15516 : }
15517 : if (version) {
15518 : set_has_version();
15519 : version_ = version;
15520 : } else {
15521 : clear_has_version();
15522 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15523 : }
15524 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version)
15525 : }
15526 :
15527 : // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 4;
15528 0 : inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_signature() const {
15529 0 : return (_has_bits_[0] & 0x00000008u) != 0;
15530 : }
15531 0 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_signature() {
15532 0 : _has_bits_[0] |= 0x00000008u;
15533 0 : }
15534 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_signature() {
15535 : _has_bits_[0] &= ~0x00000008u;
15536 : }
15537 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_signature() {
15538 : if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear();
15539 : clear_has_signature();
15540 : }
15541 0 : inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::signature() const {
15542 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.signature)
15543 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15544 0 : return signature_ != NULL ? *signature_ : *default_instance().signature_;
15545 : #else
15546 : return signature_ != NULL ? *signature_ : *default_instance_->signature_;
15547 : #endif
15548 : }
15549 0 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_signature() {
15550 0 : set_has_signature();
15551 0 : if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo;
15552 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.signature)
15553 0 : return signature_;
15554 : }
15555 : inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_signature() {
15556 : clear_has_signature();
15557 : ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_;
15558 : signature_ = NULL;
15559 : return temp;
15560 : }
15561 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) {
15562 : delete signature_;
15563 : signature_ = signature;
15564 : if (signature) {
15565 : set_has_signature();
15566 : } else {
15567 : clear_has_signature();
15568 : }
15569 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.signature)
15570 : }
15571 :
15572 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5;
15573 0 : inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_image_headers() const {
15574 0 : return (_has_bits_[0] & 0x00000010u) != 0;
15575 : }
15576 0 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_image_headers() {
15577 0 : _has_bits_[0] |= 0x00000010u;
15578 0 : }
15579 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_image_headers() {
15580 : _has_bits_[0] &= ~0x00000010u;
15581 : }
15582 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_image_headers() {
15583 : if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear();
15584 : clear_has_image_headers();
15585 : }
15586 0 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::image_headers() const {
15587 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.image_headers)
15588 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15589 0 : return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_;
15590 : #else
15591 : return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_;
15592 : #endif
15593 : }
15594 0 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_image_headers() {
15595 0 : set_has_image_headers();
15596 0 : if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders;
15597 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.image_headers)
15598 0 : return image_headers_;
15599 : }
15600 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_image_headers() {
15601 : clear_has_image_headers();
15602 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_;
15603 : image_headers_ = NULL;
15604 : return temp;
15605 : }
15606 : inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) {
15607 : delete image_headers_;
15608 : image_headers_ = image_headers;
15609 : if (image_headers) {
15610 : set_has_image_headers();
15611 : } else {
15612 : clear_has_image_headers();
15613 : }
15614 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.image_headers)
15615 : }
15616 :
15617 : // -------------------------------------------------------------------
15618 :
15619 : // ClientIncidentReport_IncidentData
15620 :
15621 : // optional int64 incident_time_msec = 1;
15622 0 : inline bool ClientIncidentReport_IncidentData::has_incident_time_msec() const {
15623 0 : return (_has_bits_[0] & 0x00000001u) != 0;
15624 : }
15625 0 : inline void ClientIncidentReport_IncidentData::set_has_incident_time_msec() {
15626 0 : _has_bits_[0] |= 0x00000001u;
15627 0 : }
15628 : inline void ClientIncidentReport_IncidentData::clear_has_incident_time_msec() {
15629 : _has_bits_[0] &= ~0x00000001u;
15630 : }
15631 : inline void ClientIncidentReport_IncidentData::clear_incident_time_msec() {
15632 : incident_time_msec_ = GOOGLE_LONGLONG(0);
15633 : clear_has_incident_time_msec();
15634 : }
15635 0 : inline ::google::protobuf::int64 ClientIncidentReport_IncidentData::incident_time_msec() const {
15636 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.incident_time_msec)
15637 0 : return incident_time_msec_;
15638 : }
15639 0 : inline void ClientIncidentReport_IncidentData::set_incident_time_msec(::google::protobuf::int64 value) {
15640 0 : set_has_incident_time_msec();
15641 0 : incident_time_msec_ = value;
15642 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.incident_time_msec)
15643 0 : }
15644 :
15645 : // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident tracked_preference = 2;
15646 0 : inline bool ClientIncidentReport_IncidentData::has_tracked_preference() const {
15647 0 : return (_has_bits_[0] & 0x00000002u) != 0;
15648 : }
15649 0 : inline void ClientIncidentReport_IncidentData::set_has_tracked_preference() {
15650 0 : _has_bits_[0] |= 0x00000002u;
15651 0 : }
15652 : inline void ClientIncidentReport_IncidentData::clear_has_tracked_preference() {
15653 : _has_bits_[0] &= ~0x00000002u;
15654 : }
15655 : inline void ClientIncidentReport_IncidentData::clear_tracked_preference() {
15656 : if (tracked_preference_ != NULL) tracked_preference_->::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident::Clear();
15657 : clear_has_tracked_preference();
15658 : }
15659 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& ClientIncidentReport_IncidentData::tracked_preference() const {
15660 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference)
15661 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15662 0 : return tracked_preference_ != NULL ? *tracked_preference_ : *default_instance().tracked_preference_;
15663 : #else
15664 : return tracked_preference_ != NULL ? *tracked_preference_ : *default_instance_->tracked_preference_;
15665 : #endif
15666 : }
15667 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* ClientIncidentReport_IncidentData::mutable_tracked_preference() {
15668 0 : set_has_tracked_preference();
15669 0 : if (tracked_preference_ == NULL) tracked_preference_ = new ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident;
15670 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference)
15671 0 : return tracked_preference_;
15672 : }
15673 : inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* ClientIncidentReport_IncidentData::release_tracked_preference() {
15674 : clear_has_tracked_preference();
15675 : ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* temp = tracked_preference_;
15676 : tracked_preference_ = NULL;
15677 : return temp;
15678 : }
15679 : inline void ClientIncidentReport_IncidentData::set_allocated_tracked_preference(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference) {
15680 : delete tracked_preference_;
15681 : tracked_preference_ = tracked_preference;
15682 : if (tracked_preference) {
15683 : set_has_tracked_preference();
15684 : } else {
15685 : clear_has_tracked_preference();
15686 : }
15687 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference)
15688 : }
15689 :
15690 : // optional .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident binary_integrity = 3;
15691 0 : inline bool ClientIncidentReport_IncidentData::has_binary_integrity() const {
15692 0 : return (_has_bits_[0] & 0x00000004u) != 0;
15693 : }
15694 0 : inline void ClientIncidentReport_IncidentData::set_has_binary_integrity() {
15695 0 : _has_bits_[0] |= 0x00000004u;
15696 0 : }
15697 : inline void ClientIncidentReport_IncidentData::clear_has_binary_integrity() {
15698 : _has_bits_[0] &= ~0x00000004u;
15699 : }
15700 : inline void ClientIncidentReport_IncidentData::clear_binary_integrity() {
15701 : if (binary_integrity_ != NULL) binary_integrity_->::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident::Clear();
15702 : clear_has_binary_integrity();
15703 : }
15704 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& ClientIncidentReport_IncidentData::binary_integrity() const {
15705 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity)
15706 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15707 0 : return binary_integrity_ != NULL ? *binary_integrity_ : *default_instance().binary_integrity_;
15708 : #else
15709 : return binary_integrity_ != NULL ? *binary_integrity_ : *default_instance_->binary_integrity_;
15710 : #endif
15711 : }
15712 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* ClientIncidentReport_IncidentData::mutable_binary_integrity() {
15713 0 : set_has_binary_integrity();
15714 0 : if (binary_integrity_ == NULL) binary_integrity_ = new ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident;
15715 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity)
15716 0 : return binary_integrity_;
15717 : }
15718 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* ClientIncidentReport_IncidentData::release_binary_integrity() {
15719 : clear_has_binary_integrity();
15720 : ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* temp = binary_integrity_;
15721 : binary_integrity_ = NULL;
15722 : return temp;
15723 : }
15724 : inline void ClientIncidentReport_IncidentData::set_allocated_binary_integrity(::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity) {
15725 : delete binary_integrity_;
15726 : binary_integrity_ = binary_integrity;
15727 : if (binary_integrity) {
15728 : set_has_binary_integrity();
15729 : } else {
15730 : clear_has_binary_integrity();
15731 : }
15732 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity)
15733 : }
15734 :
15735 : // optional .safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident blacklist_load = 4;
15736 0 : inline bool ClientIncidentReport_IncidentData::has_blacklist_load() const {
15737 0 : return (_has_bits_[0] & 0x00000008u) != 0;
15738 : }
15739 0 : inline void ClientIncidentReport_IncidentData::set_has_blacklist_load() {
15740 0 : _has_bits_[0] |= 0x00000008u;
15741 0 : }
15742 : inline void ClientIncidentReport_IncidentData::clear_has_blacklist_load() {
15743 : _has_bits_[0] &= ~0x00000008u;
15744 : }
15745 : inline void ClientIncidentReport_IncidentData::clear_blacklist_load() {
15746 : if (blacklist_load_ != NULL) blacklist_load_->::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident::Clear();
15747 : clear_has_blacklist_load();
15748 : }
15749 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident& ClientIncidentReport_IncidentData::blacklist_load() const {
15750 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.blacklist_load)
15751 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15752 0 : return blacklist_load_ != NULL ? *blacklist_load_ : *default_instance().blacklist_load_;
15753 : #else
15754 : return blacklist_load_ != NULL ? *blacklist_load_ : *default_instance_->blacklist_load_;
15755 : #endif
15756 : }
15757 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* ClientIncidentReport_IncidentData::mutable_blacklist_load() {
15758 0 : set_has_blacklist_load();
15759 0 : if (blacklist_load_ == NULL) blacklist_load_ = new ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident;
15760 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.blacklist_load)
15761 0 : return blacklist_load_;
15762 : }
15763 : inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* ClientIncidentReport_IncidentData::release_blacklist_load() {
15764 : clear_has_blacklist_load();
15765 : ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* temp = blacklist_load_;
15766 : blacklist_load_ = NULL;
15767 : return temp;
15768 : }
15769 : inline void ClientIncidentReport_IncidentData::set_allocated_blacklist_load(::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* blacklist_load) {
15770 : delete blacklist_load_;
15771 : blacklist_load_ = blacklist_load;
15772 : if (blacklist_load) {
15773 : set_has_blacklist_load();
15774 : } else {
15775 : clear_has_blacklist_load();
15776 : }
15777 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.blacklist_load)
15778 : }
15779 :
15780 : // optional .safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident variations_seed_signature = 6;
15781 0 : inline bool ClientIncidentReport_IncidentData::has_variations_seed_signature() const {
15782 0 : return (_has_bits_[0] & 0x00000010u) != 0;
15783 : }
15784 0 : inline void ClientIncidentReport_IncidentData::set_has_variations_seed_signature() {
15785 0 : _has_bits_[0] |= 0x00000010u;
15786 0 : }
15787 : inline void ClientIncidentReport_IncidentData::clear_has_variations_seed_signature() {
15788 : _has_bits_[0] &= ~0x00000010u;
15789 : }
15790 : inline void ClientIncidentReport_IncidentData::clear_variations_seed_signature() {
15791 : if (variations_seed_signature_ != NULL) variations_seed_signature_->::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::Clear();
15792 : clear_has_variations_seed_signature();
15793 : }
15794 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& ClientIncidentReport_IncidentData::variations_seed_signature() const {
15795 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.variations_seed_signature)
15796 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15797 0 : return variations_seed_signature_ != NULL ? *variations_seed_signature_ : *default_instance().variations_seed_signature_;
15798 : #else
15799 : return variations_seed_signature_ != NULL ? *variations_seed_signature_ : *default_instance_->variations_seed_signature_;
15800 : #endif
15801 : }
15802 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* ClientIncidentReport_IncidentData::mutable_variations_seed_signature() {
15803 0 : set_has_variations_seed_signature();
15804 0 : if (variations_seed_signature_ == NULL) variations_seed_signature_ = new ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident;
15805 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.variations_seed_signature)
15806 0 : return variations_seed_signature_;
15807 : }
15808 : inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* ClientIncidentReport_IncidentData::release_variations_seed_signature() {
15809 : clear_has_variations_seed_signature();
15810 : ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* temp = variations_seed_signature_;
15811 : variations_seed_signature_ = NULL;
15812 : return temp;
15813 : }
15814 : inline void ClientIncidentReport_IncidentData::set_allocated_variations_seed_signature(::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* variations_seed_signature) {
15815 : delete variations_seed_signature_;
15816 : variations_seed_signature_ = variations_seed_signature;
15817 : if (variations_seed_signature) {
15818 : set_has_variations_seed_signature();
15819 : } else {
15820 : clear_has_variations_seed_signature();
15821 : }
15822 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.variations_seed_signature)
15823 : }
15824 :
15825 : // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident resource_request = 7;
15826 0 : inline bool ClientIncidentReport_IncidentData::has_resource_request() const {
15827 0 : return (_has_bits_[0] & 0x00000020u) != 0;
15828 : }
15829 0 : inline void ClientIncidentReport_IncidentData::set_has_resource_request() {
15830 0 : _has_bits_[0] |= 0x00000020u;
15831 0 : }
15832 : inline void ClientIncidentReport_IncidentData::clear_has_resource_request() {
15833 : _has_bits_[0] &= ~0x00000020u;
15834 : }
15835 : inline void ClientIncidentReport_IncidentData::clear_resource_request() {
15836 : if (resource_request_ != NULL) resource_request_->::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident::Clear();
15837 : clear_has_resource_request();
15838 : }
15839 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& ClientIncidentReport_IncidentData::resource_request() const {
15840 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.resource_request)
15841 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15842 0 : return resource_request_ != NULL ? *resource_request_ : *default_instance().resource_request_;
15843 : #else
15844 : return resource_request_ != NULL ? *resource_request_ : *default_instance_->resource_request_;
15845 : #endif
15846 : }
15847 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* ClientIncidentReport_IncidentData::mutable_resource_request() {
15848 0 : set_has_resource_request();
15849 0 : if (resource_request_ == NULL) resource_request_ = new ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident;
15850 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.resource_request)
15851 0 : return resource_request_;
15852 : }
15853 : inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* ClientIncidentReport_IncidentData::release_resource_request() {
15854 : clear_has_resource_request();
15855 : ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* temp = resource_request_;
15856 : resource_request_ = NULL;
15857 : return temp;
15858 : }
15859 : inline void ClientIncidentReport_IncidentData::set_allocated_resource_request(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request) {
15860 : delete resource_request_;
15861 : resource_request_ = resource_request;
15862 : if (resource_request) {
15863 : set_has_resource_request();
15864 : } else {
15865 : clear_has_resource_request();
15866 : }
15867 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.resource_request)
15868 : }
15869 :
15870 : // optional .safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident suspicious_module = 8;
15871 0 : inline bool ClientIncidentReport_IncidentData::has_suspicious_module() const {
15872 0 : return (_has_bits_[0] & 0x00000040u) != 0;
15873 : }
15874 0 : inline void ClientIncidentReport_IncidentData::set_has_suspicious_module() {
15875 0 : _has_bits_[0] |= 0x00000040u;
15876 0 : }
15877 : inline void ClientIncidentReport_IncidentData::clear_has_suspicious_module() {
15878 : _has_bits_[0] &= ~0x00000040u;
15879 : }
15880 : inline void ClientIncidentReport_IncidentData::clear_suspicious_module() {
15881 : if (suspicious_module_ != NULL) suspicious_module_->::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident::Clear();
15882 : clear_has_suspicious_module();
15883 : }
15884 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident& ClientIncidentReport_IncidentData::suspicious_module() const {
15885 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.suspicious_module)
15886 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15887 0 : return suspicious_module_ != NULL ? *suspicious_module_ : *default_instance().suspicious_module_;
15888 : #else
15889 : return suspicious_module_ != NULL ? *suspicious_module_ : *default_instance_->suspicious_module_;
15890 : #endif
15891 : }
15892 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* ClientIncidentReport_IncidentData::mutable_suspicious_module() {
15893 0 : set_has_suspicious_module();
15894 0 : if (suspicious_module_ == NULL) suspicious_module_ = new ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident;
15895 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.suspicious_module)
15896 0 : return suspicious_module_;
15897 : }
15898 : inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* ClientIncidentReport_IncidentData::release_suspicious_module() {
15899 : clear_has_suspicious_module();
15900 : ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* temp = suspicious_module_;
15901 : suspicious_module_ = NULL;
15902 : return temp;
15903 : }
15904 : inline void ClientIncidentReport_IncidentData::set_allocated_suspicious_module(::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* suspicious_module) {
15905 : delete suspicious_module_;
15906 : suspicious_module_ = suspicious_module;
15907 : if (suspicious_module) {
15908 : set_has_suspicious_module();
15909 : } else {
15910 : clear_has_suspicious_module();
15911 : }
15912 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.suspicious_module)
15913 : }
15914 :
15915 : // -------------------------------------------------------------------
15916 :
15917 : // ClientIncidentReport_DownloadDetails
15918 :
15919 : // optional bytes token = 1;
15920 0 : inline bool ClientIncidentReport_DownloadDetails::has_token() const {
15921 0 : return (_has_bits_[0] & 0x00000001u) != 0;
15922 : }
15923 0 : inline void ClientIncidentReport_DownloadDetails::set_has_token() {
15924 0 : _has_bits_[0] |= 0x00000001u;
15925 0 : }
15926 : inline void ClientIncidentReport_DownloadDetails::clear_has_token() {
15927 : _has_bits_[0] &= ~0x00000001u;
15928 : }
15929 : inline void ClientIncidentReport_DownloadDetails::clear_token() {
15930 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15931 : token_->clear();
15932 : }
15933 : clear_has_token();
15934 : }
15935 0 : inline const ::std::string& ClientIncidentReport_DownloadDetails::token() const {
15936 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.token)
15937 0 : return *token_;
15938 : }
15939 0 : inline void ClientIncidentReport_DownloadDetails::set_token(const ::std::string& value) {
15940 0 : set_has_token();
15941 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15942 0 : token_ = new ::std::string;
15943 : }
15944 0 : token_->assign(value);
15945 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.DownloadDetails.token)
15946 0 : }
15947 : inline void ClientIncidentReport_DownloadDetails::set_token(const char* value) {
15948 : set_has_token();
15949 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15950 : token_ = new ::std::string;
15951 : }
15952 : token_->assign(value);
15953 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.DownloadDetails.token)
15954 : }
15955 : inline void ClientIncidentReport_DownloadDetails::set_token(const void* value, size_t size) {
15956 : set_has_token();
15957 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15958 : token_ = new ::std::string;
15959 : }
15960 : token_->assign(reinterpret_cast<const char*>(value), size);
15961 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.DownloadDetails.token)
15962 : }
15963 0 : inline ::std::string* ClientIncidentReport_DownloadDetails::mutable_token() {
15964 0 : set_has_token();
15965 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15966 0 : token_ = new ::std::string;
15967 : }
15968 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.DownloadDetails.token)
15969 0 : return token_;
15970 : }
15971 : inline ::std::string* ClientIncidentReport_DownloadDetails::release_token() {
15972 : clear_has_token();
15973 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15974 : return NULL;
15975 : } else {
15976 : ::std::string* temp = token_;
15977 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15978 : return temp;
15979 : }
15980 : }
15981 : inline void ClientIncidentReport_DownloadDetails::set_allocated_token(::std::string* token) {
15982 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
15983 : delete token_;
15984 : }
15985 : if (token) {
15986 : set_has_token();
15987 : token_ = token;
15988 : } else {
15989 : clear_has_token();
15990 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
15991 : }
15992 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.DownloadDetails.token)
15993 : }
15994 :
15995 : // optional .safe_browsing.ClientDownloadRequest download = 2;
15996 0 : inline bool ClientIncidentReport_DownloadDetails::has_download() const {
15997 0 : return (_has_bits_[0] & 0x00000002u) != 0;
15998 : }
15999 0 : inline void ClientIncidentReport_DownloadDetails::set_has_download() {
16000 0 : _has_bits_[0] |= 0x00000002u;
16001 0 : }
16002 : inline void ClientIncidentReport_DownloadDetails::clear_has_download() {
16003 : _has_bits_[0] &= ~0x00000002u;
16004 : }
16005 : inline void ClientIncidentReport_DownloadDetails::clear_download() {
16006 : if (download_ != NULL) download_->::safe_browsing::ClientDownloadRequest::Clear();
16007 : clear_has_download();
16008 : }
16009 0 : inline const ::safe_browsing::ClientDownloadRequest& ClientIncidentReport_DownloadDetails::download() const {
16010 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.download)
16011 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16012 0 : return download_ != NULL ? *download_ : *default_instance().download_;
16013 : #else
16014 : return download_ != NULL ? *download_ : *default_instance_->download_;
16015 : #endif
16016 : }
16017 0 : inline ::safe_browsing::ClientDownloadRequest* ClientIncidentReport_DownloadDetails::mutable_download() {
16018 0 : set_has_download();
16019 0 : if (download_ == NULL) download_ = new ::safe_browsing::ClientDownloadRequest;
16020 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.DownloadDetails.download)
16021 0 : return download_;
16022 : }
16023 : inline ::safe_browsing::ClientDownloadRequest* ClientIncidentReport_DownloadDetails::release_download() {
16024 : clear_has_download();
16025 : ::safe_browsing::ClientDownloadRequest* temp = download_;
16026 : download_ = NULL;
16027 : return temp;
16028 : }
16029 : inline void ClientIncidentReport_DownloadDetails::set_allocated_download(::safe_browsing::ClientDownloadRequest* download) {
16030 : delete download_;
16031 : download_ = download;
16032 : if (download) {
16033 : set_has_download();
16034 : } else {
16035 : clear_has_download();
16036 : }
16037 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.DownloadDetails.download)
16038 : }
16039 :
16040 : // optional int64 download_time_msec = 3;
16041 0 : inline bool ClientIncidentReport_DownloadDetails::has_download_time_msec() const {
16042 0 : return (_has_bits_[0] & 0x00000004u) != 0;
16043 : }
16044 0 : inline void ClientIncidentReport_DownloadDetails::set_has_download_time_msec() {
16045 0 : _has_bits_[0] |= 0x00000004u;
16046 0 : }
16047 : inline void ClientIncidentReport_DownloadDetails::clear_has_download_time_msec() {
16048 : _has_bits_[0] &= ~0x00000004u;
16049 : }
16050 : inline void ClientIncidentReport_DownloadDetails::clear_download_time_msec() {
16051 : download_time_msec_ = GOOGLE_LONGLONG(0);
16052 : clear_has_download_time_msec();
16053 : }
16054 0 : inline ::google::protobuf::int64 ClientIncidentReport_DownloadDetails::download_time_msec() const {
16055 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.download_time_msec)
16056 0 : return download_time_msec_;
16057 : }
16058 0 : inline void ClientIncidentReport_DownloadDetails::set_download_time_msec(::google::protobuf::int64 value) {
16059 0 : set_has_download_time_msec();
16060 0 : download_time_msec_ = value;
16061 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.DownloadDetails.download_time_msec)
16062 0 : }
16063 :
16064 : // optional int64 open_time_msec = 4;
16065 0 : inline bool ClientIncidentReport_DownloadDetails::has_open_time_msec() const {
16066 0 : return (_has_bits_[0] & 0x00000008u) != 0;
16067 : }
16068 0 : inline void ClientIncidentReport_DownloadDetails::set_has_open_time_msec() {
16069 0 : _has_bits_[0] |= 0x00000008u;
16070 0 : }
16071 : inline void ClientIncidentReport_DownloadDetails::clear_has_open_time_msec() {
16072 : _has_bits_[0] &= ~0x00000008u;
16073 : }
16074 : inline void ClientIncidentReport_DownloadDetails::clear_open_time_msec() {
16075 : open_time_msec_ = GOOGLE_LONGLONG(0);
16076 : clear_has_open_time_msec();
16077 : }
16078 0 : inline ::google::protobuf::int64 ClientIncidentReport_DownloadDetails::open_time_msec() const {
16079 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.open_time_msec)
16080 0 : return open_time_msec_;
16081 : }
16082 0 : inline void ClientIncidentReport_DownloadDetails::set_open_time_msec(::google::protobuf::int64 value) {
16083 0 : set_has_open_time_msec();
16084 0 : open_time_msec_ = value;
16085 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.DownloadDetails.open_time_msec)
16086 0 : }
16087 :
16088 : // -------------------------------------------------------------------
16089 :
16090 : // ClientIncidentReport_EnvironmentData_OS_RegistryValue
16091 :
16092 : // optional string name = 1;
16093 0 : inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_name() const {
16094 0 : return (_has_bits_[0] & 0x00000001u) != 0;
16095 : }
16096 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_has_name() {
16097 0 : _has_bits_[0] |= 0x00000001u;
16098 0 : }
16099 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_has_name() {
16100 : _has_bits_[0] &= ~0x00000001u;
16101 : }
16102 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_name() {
16103 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16104 : name_->clear();
16105 : }
16106 : clear_has_name();
16107 : }
16108 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::name() const {
16109 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name)
16110 0 : return *name_;
16111 : }
16112 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const ::std::string& value) {
16113 0 : set_has_name();
16114 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16115 0 : name_ = new ::std::string;
16116 : }
16117 0 : name_->assign(value);
16118 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name)
16119 0 : }
16120 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const char* value) {
16121 : set_has_name();
16122 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16123 : name_ = new ::std::string;
16124 : }
16125 : name_->assign(value);
16126 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name)
16127 : }
16128 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const char* value, size_t size) {
16129 : set_has_name();
16130 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16131 : name_ = new ::std::string;
16132 : }
16133 : name_->assign(reinterpret_cast<const char*>(value), size);
16134 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name)
16135 : }
16136 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::mutable_name() {
16137 0 : set_has_name();
16138 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16139 0 : name_ = new ::std::string;
16140 : }
16141 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name)
16142 0 : return name_;
16143 : }
16144 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::release_name() {
16145 : clear_has_name();
16146 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16147 : return NULL;
16148 : } else {
16149 : ::std::string* temp = name_;
16150 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16151 : return temp;
16152 : }
16153 : }
16154 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_allocated_name(::std::string* name) {
16155 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16156 : delete name_;
16157 : }
16158 : if (name) {
16159 : set_has_name();
16160 : name_ = name;
16161 : } else {
16162 : clear_has_name();
16163 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16164 : }
16165 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name)
16166 : }
16167 :
16168 : // optional uint32 type = 2;
16169 0 : inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_type() const {
16170 0 : return (_has_bits_[0] & 0x00000002u) != 0;
16171 : }
16172 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_has_type() {
16173 0 : _has_bits_[0] |= 0x00000002u;
16174 0 : }
16175 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_has_type() {
16176 : _has_bits_[0] &= ~0x00000002u;
16177 : }
16178 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_type() {
16179 : type_ = 0u;
16180 : clear_has_type();
16181 : }
16182 0 : inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_OS_RegistryValue::type() const {
16183 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.type)
16184 0 : return type_;
16185 : }
16186 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_type(::google::protobuf::uint32 value) {
16187 0 : set_has_type();
16188 0 : type_ = value;
16189 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.type)
16190 0 : }
16191 :
16192 : // optional bytes data = 3;
16193 0 : inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_data() const {
16194 0 : return (_has_bits_[0] & 0x00000004u) != 0;
16195 : }
16196 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_has_data() {
16197 0 : _has_bits_[0] |= 0x00000004u;
16198 0 : }
16199 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_has_data() {
16200 : _has_bits_[0] &= ~0x00000004u;
16201 : }
16202 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_data() {
16203 : if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16204 : data_->clear();
16205 : }
16206 : clear_has_data();
16207 : }
16208 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::data() const {
16209 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data)
16210 0 : return *data_;
16211 : }
16212 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const ::std::string& value) {
16213 0 : set_has_data();
16214 0 : if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16215 0 : data_ = new ::std::string;
16216 : }
16217 0 : data_->assign(value);
16218 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data)
16219 0 : }
16220 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const char* value) {
16221 : set_has_data();
16222 : if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16223 : data_ = new ::std::string;
16224 : }
16225 : data_->assign(value);
16226 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data)
16227 : }
16228 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const void* value, size_t size) {
16229 : set_has_data();
16230 : if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16231 : data_ = new ::std::string;
16232 : }
16233 : data_->assign(reinterpret_cast<const char*>(value), size);
16234 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data)
16235 : }
16236 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::mutable_data() {
16237 0 : set_has_data();
16238 0 : if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16239 0 : data_ = new ::std::string;
16240 : }
16241 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data)
16242 0 : return data_;
16243 : }
16244 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::release_data() {
16245 : clear_has_data();
16246 : if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16247 : return NULL;
16248 : } else {
16249 : ::std::string* temp = data_;
16250 : data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16251 : return temp;
16252 : }
16253 : }
16254 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_allocated_data(::std::string* data) {
16255 : if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16256 : delete data_;
16257 : }
16258 : if (data) {
16259 : set_has_data();
16260 : data_ = data;
16261 : } else {
16262 : clear_has_data();
16263 : data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16264 : }
16265 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data)
16266 : }
16267 :
16268 : // -------------------------------------------------------------------
16269 :
16270 : // ClientIncidentReport_EnvironmentData_OS_RegistryKey
16271 :
16272 : // optional string name = 1;
16273 0 : inline bool ClientIncidentReport_EnvironmentData_OS_RegistryKey::has_name() const {
16274 0 : return (_has_bits_[0] & 0x00000001u) != 0;
16275 : }
16276 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_has_name() {
16277 0 : _has_bits_[0] |= 0x00000001u;
16278 0 : }
16279 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_has_name() {
16280 : _has_bits_[0] &= ~0x00000001u;
16281 : }
16282 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_name() {
16283 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16284 : name_->clear();
16285 : }
16286 : clear_has_name();
16287 : }
16288 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_OS_RegistryKey::name() const {
16289 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name)
16290 0 : return *name_;
16291 : }
16292 0 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const ::std::string& value) {
16293 0 : set_has_name();
16294 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16295 0 : name_ = new ::std::string;
16296 : }
16297 0 : name_->assign(value);
16298 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name)
16299 0 : }
16300 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const char* value) {
16301 : set_has_name();
16302 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16303 : name_ = new ::std::string;
16304 : }
16305 : name_->assign(value);
16306 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name)
16307 : }
16308 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const char* value, size_t size) {
16309 : set_has_name();
16310 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16311 : name_ = new ::std::string;
16312 : }
16313 : name_->assign(reinterpret_cast<const char*>(value), size);
16314 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name)
16315 : }
16316 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_name() {
16317 0 : set_has_name();
16318 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16319 0 : name_ = new ::std::string;
16320 : }
16321 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name)
16322 0 : return name_;
16323 : }
16324 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryKey::release_name() {
16325 : clear_has_name();
16326 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16327 : return NULL;
16328 : } else {
16329 : ::std::string* temp = name_;
16330 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16331 : return temp;
16332 : }
16333 : }
16334 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_allocated_name(::std::string* name) {
16335 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16336 : delete name_;
16337 : }
16338 : if (name) {
16339 : set_has_name();
16340 : name_ = name;
16341 : } else {
16342 : clear_has_name();
16343 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16344 : }
16345 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name)
16346 : }
16347 :
16348 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue value = 2;
16349 0 : inline int ClientIncidentReport_EnvironmentData_OS_RegistryKey::value_size() const {
16350 0 : return value_.size();
16351 : }
16352 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_value() {
16353 : value_.Clear();
16354 : }
16355 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& ClientIncidentReport_EnvironmentData_OS_RegistryKey::value(int index) const {
16356 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value)
16357 0 : return value_.Get(index);
16358 : }
16359 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_value(int index) {
16360 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value)
16361 : return value_.Mutable(index);
16362 : }
16363 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* ClientIncidentReport_EnvironmentData_OS_RegistryKey::add_value() {
16364 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value)
16365 0 : return value_.Add();
16366 : }
16367 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >&
16368 : ClientIncidentReport_EnvironmentData_OS_RegistryKey::value() const {
16369 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value)
16370 : return value_;
16371 : }
16372 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >*
16373 : ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_value() {
16374 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value)
16375 : return &value_;
16376 : }
16377 :
16378 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey key = 3;
16379 0 : inline int ClientIncidentReport_EnvironmentData_OS_RegistryKey::key_size() const {
16380 0 : return key_.size();
16381 : }
16382 : inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_key() {
16383 : key_.Clear();
16384 : }
16385 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& ClientIncidentReport_EnvironmentData_OS_RegistryKey::key(int index) const {
16386 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key)
16387 0 : return key_.Get(index);
16388 : }
16389 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_key(int index) {
16390 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key)
16391 : return key_.Mutable(index);
16392 : }
16393 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS_RegistryKey::add_key() {
16394 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key)
16395 0 : return key_.Add();
16396 : }
16397 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >&
16398 : ClientIncidentReport_EnvironmentData_OS_RegistryKey::key() const {
16399 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key)
16400 : return key_;
16401 : }
16402 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >*
16403 : ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_key() {
16404 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key)
16405 : return &key_;
16406 : }
16407 :
16408 : // -------------------------------------------------------------------
16409 :
16410 : // ClientIncidentReport_EnvironmentData_OS
16411 :
16412 : // optional string os_name = 1;
16413 0 : inline bool ClientIncidentReport_EnvironmentData_OS::has_os_name() const {
16414 0 : return (_has_bits_[0] & 0x00000001u) != 0;
16415 : }
16416 0 : inline void ClientIncidentReport_EnvironmentData_OS::set_has_os_name() {
16417 0 : _has_bits_[0] |= 0x00000001u;
16418 0 : }
16419 : inline void ClientIncidentReport_EnvironmentData_OS::clear_has_os_name() {
16420 : _has_bits_[0] &= ~0x00000001u;
16421 : }
16422 : inline void ClientIncidentReport_EnvironmentData_OS::clear_os_name() {
16423 : if (os_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16424 : os_name_->clear();
16425 : }
16426 : clear_has_os_name();
16427 : }
16428 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_OS::os_name() const {
16429 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name)
16430 0 : return *os_name_;
16431 : }
16432 0 : inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const ::std::string& value) {
16433 0 : set_has_os_name();
16434 0 : if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16435 0 : os_name_ = new ::std::string;
16436 : }
16437 0 : os_name_->assign(value);
16438 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name)
16439 0 : }
16440 : inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const char* value) {
16441 : set_has_os_name();
16442 : if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16443 : os_name_ = new ::std::string;
16444 : }
16445 : os_name_->assign(value);
16446 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name)
16447 : }
16448 : inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const char* value, size_t size) {
16449 : set_has_os_name();
16450 : if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16451 : os_name_ = new ::std::string;
16452 : }
16453 : os_name_->assign(reinterpret_cast<const char*>(value), size);
16454 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name)
16455 : }
16456 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS::mutable_os_name() {
16457 0 : set_has_os_name();
16458 0 : if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16459 0 : os_name_ = new ::std::string;
16460 : }
16461 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name)
16462 0 : return os_name_;
16463 : }
16464 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS::release_os_name() {
16465 : clear_has_os_name();
16466 : if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16467 : return NULL;
16468 : } else {
16469 : ::std::string* temp = os_name_;
16470 : os_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16471 : return temp;
16472 : }
16473 : }
16474 : inline void ClientIncidentReport_EnvironmentData_OS::set_allocated_os_name(::std::string* os_name) {
16475 : if (os_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16476 : delete os_name_;
16477 : }
16478 : if (os_name) {
16479 : set_has_os_name();
16480 : os_name_ = os_name;
16481 : } else {
16482 : clear_has_os_name();
16483 : os_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16484 : }
16485 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name)
16486 : }
16487 :
16488 : // optional string os_version = 2;
16489 0 : inline bool ClientIncidentReport_EnvironmentData_OS::has_os_version() const {
16490 0 : return (_has_bits_[0] & 0x00000002u) != 0;
16491 : }
16492 0 : inline void ClientIncidentReport_EnvironmentData_OS::set_has_os_version() {
16493 0 : _has_bits_[0] |= 0x00000002u;
16494 0 : }
16495 : inline void ClientIncidentReport_EnvironmentData_OS::clear_has_os_version() {
16496 : _has_bits_[0] &= ~0x00000002u;
16497 : }
16498 : inline void ClientIncidentReport_EnvironmentData_OS::clear_os_version() {
16499 : if (os_version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16500 : os_version_->clear();
16501 : }
16502 : clear_has_os_version();
16503 : }
16504 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_OS::os_version() const {
16505 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version)
16506 0 : return *os_version_;
16507 : }
16508 0 : inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const ::std::string& value) {
16509 0 : set_has_os_version();
16510 0 : if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16511 0 : os_version_ = new ::std::string;
16512 : }
16513 0 : os_version_->assign(value);
16514 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version)
16515 0 : }
16516 : inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const char* value) {
16517 : set_has_os_version();
16518 : if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16519 : os_version_ = new ::std::string;
16520 : }
16521 : os_version_->assign(value);
16522 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version)
16523 : }
16524 : inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const char* value, size_t size) {
16525 : set_has_os_version();
16526 : if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16527 : os_version_ = new ::std::string;
16528 : }
16529 : os_version_->assign(reinterpret_cast<const char*>(value), size);
16530 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version)
16531 : }
16532 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS::mutable_os_version() {
16533 0 : set_has_os_version();
16534 0 : if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16535 0 : os_version_ = new ::std::string;
16536 : }
16537 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version)
16538 0 : return os_version_;
16539 : }
16540 : inline ::std::string* ClientIncidentReport_EnvironmentData_OS::release_os_version() {
16541 : clear_has_os_version();
16542 : if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16543 : return NULL;
16544 : } else {
16545 : ::std::string* temp = os_version_;
16546 : os_version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16547 : return temp;
16548 : }
16549 : }
16550 : inline void ClientIncidentReport_EnvironmentData_OS::set_allocated_os_version(::std::string* os_version) {
16551 : if (os_version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16552 : delete os_version_;
16553 : }
16554 : if (os_version) {
16555 : set_has_os_version();
16556 : os_version_ = os_version;
16557 : } else {
16558 : clear_has_os_version();
16559 : os_version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16560 : }
16561 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version)
16562 : }
16563 :
16564 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey registry_key = 3;
16565 0 : inline int ClientIncidentReport_EnvironmentData_OS::registry_key_size() const {
16566 0 : return registry_key_.size();
16567 : }
16568 : inline void ClientIncidentReport_EnvironmentData_OS::clear_registry_key() {
16569 : registry_key_.Clear();
16570 : }
16571 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& ClientIncidentReport_EnvironmentData_OS::registry_key(int index) const {
16572 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key)
16573 0 : return registry_key_.Get(index);
16574 : }
16575 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS::mutable_registry_key(int index) {
16576 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key)
16577 : return registry_key_.Mutable(index);
16578 : }
16579 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS::add_registry_key() {
16580 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key)
16581 0 : return registry_key_.Add();
16582 : }
16583 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >&
16584 : ClientIncidentReport_EnvironmentData_OS::registry_key() const {
16585 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key)
16586 : return registry_key_;
16587 : }
16588 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >*
16589 : ClientIncidentReport_EnvironmentData_OS::mutable_registry_key() {
16590 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key)
16591 : return ®istry_key_;
16592 : }
16593 :
16594 : // optional bool is_enrolled_to_domain = 4;
16595 0 : inline bool ClientIncidentReport_EnvironmentData_OS::has_is_enrolled_to_domain() const {
16596 0 : return (_has_bits_[0] & 0x00000008u) != 0;
16597 : }
16598 0 : inline void ClientIncidentReport_EnvironmentData_OS::set_has_is_enrolled_to_domain() {
16599 0 : _has_bits_[0] |= 0x00000008u;
16600 0 : }
16601 : inline void ClientIncidentReport_EnvironmentData_OS::clear_has_is_enrolled_to_domain() {
16602 : _has_bits_[0] &= ~0x00000008u;
16603 : }
16604 : inline void ClientIncidentReport_EnvironmentData_OS::clear_is_enrolled_to_domain() {
16605 : is_enrolled_to_domain_ = false;
16606 : clear_has_is_enrolled_to_domain();
16607 : }
16608 0 : inline bool ClientIncidentReport_EnvironmentData_OS::is_enrolled_to_domain() const {
16609 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.is_enrolled_to_domain)
16610 0 : return is_enrolled_to_domain_;
16611 : }
16612 0 : inline void ClientIncidentReport_EnvironmentData_OS::set_is_enrolled_to_domain(bool value) {
16613 0 : set_has_is_enrolled_to_domain();
16614 0 : is_enrolled_to_domain_ = value;
16615 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.is_enrolled_to_domain)
16616 0 : }
16617 :
16618 : // -------------------------------------------------------------------
16619 :
16620 : // ClientIncidentReport_EnvironmentData_Machine
16621 :
16622 : // optional string cpu_architecture = 1;
16623 0 : inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpu_architecture() const {
16624 0 : return (_has_bits_[0] & 0x00000001u) != 0;
16625 : }
16626 0 : inline void ClientIncidentReport_EnvironmentData_Machine::set_has_cpu_architecture() {
16627 0 : _has_bits_[0] |= 0x00000001u;
16628 0 : }
16629 : inline void ClientIncidentReport_EnvironmentData_Machine::clear_has_cpu_architecture() {
16630 : _has_bits_[0] &= ~0x00000001u;
16631 : }
16632 : inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpu_architecture() {
16633 : if (cpu_architecture_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16634 : cpu_architecture_->clear();
16635 : }
16636 : clear_has_cpu_architecture();
16637 : }
16638 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Machine::cpu_architecture() const {
16639 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture)
16640 0 : return *cpu_architecture_;
16641 : }
16642 0 : inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const ::std::string& value) {
16643 0 : set_has_cpu_architecture();
16644 0 : if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16645 0 : cpu_architecture_ = new ::std::string;
16646 : }
16647 0 : cpu_architecture_->assign(value);
16648 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture)
16649 0 : }
16650 : inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const char* value) {
16651 : set_has_cpu_architecture();
16652 : if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16653 : cpu_architecture_ = new ::std::string;
16654 : }
16655 : cpu_architecture_->assign(value);
16656 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture)
16657 : }
16658 : inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const char* value, size_t size) {
16659 : set_has_cpu_architecture();
16660 : if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16661 : cpu_architecture_ = new ::std::string;
16662 : }
16663 : cpu_architecture_->assign(reinterpret_cast<const char*>(value), size);
16664 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture)
16665 : }
16666 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::mutable_cpu_architecture() {
16667 0 : set_has_cpu_architecture();
16668 0 : if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16669 0 : cpu_architecture_ = new ::std::string;
16670 : }
16671 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture)
16672 0 : return cpu_architecture_;
16673 : }
16674 : inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::release_cpu_architecture() {
16675 : clear_has_cpu_architecture();
16676 : if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16677 : return NULL;
16678 : } else {
16679 : ::std::string* temp = cpu_architecture_;
16680 : cpu_architecture_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16681 : return temp;
16682 : }
16683 : }
16684 : inline void ClientIncidentReport_EnvironmentData_Machine::set_allocated_cpu_architecture(::std::string* cpu_architecture) {
16685 : if (cpu_architecture_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16686 : delete cpu_architecture_;
16687 : }
16688 : if (cpu_architecture) {
16689 : set_has_cpu_architecture();
16690 : cpu_architecture_ = cpu_architecture;
16691 : } else {
16692 : clear_has_cpu_architecture();
16693 : cpu_architecture_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16694 : }
16695 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture)
16696 : }
16697 :
16698 : // optional string cpu_vendor = 2;
16699 0 : inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpu_vendor() const {
16700 0 : return (_has_bits_[0] & 0x00000002u) != 0;
16701 : }
16702 0 : inline void ClientIncidentReport_EnvironmentData_Machine::set_has_cpu_vendor() {
16703 0 : _has_bits_[0] |= 0x00000002u;
16704 0 : }
16705 : inline void ClientIncidentReport_EnvironmentData_Machine::clear_has_cpu_vendor() {
16706 : _has_bits_[0] &= ~0x00000002u;
16707 : }
16708 : inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpu_vendor() {
16709 : if (cpu_vendor_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16710 : cpu_vendor_->clear();
16711 : }
16712 : clear_has_cpu_vendor();
16713 : }
16714 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Machine::cpu_vendor() const {
16715 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor)
16716 0 : return *cpu_vendor_;
16717 : }
16718 0 : inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const ::std::string& value) {
16719 0 : set_has_cpu_vendor();
16720 0 : if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16721 0 : cpu_vendor_ = new ::std::string;
16722 : }
16723 0 : cpu_vendor_->assign(value);
16724 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor)
16725 0 : }
16726 : inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const char* value) {
16727 : set_has_cpu_vendor();
16728 : if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16729 : cpu_vendor_ = new ::std::string;
16730 : }
16731 : cpu_vendor_->assign(value);
16732 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor)
16733 : }
16734 : inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const char* value, size_t size) {
16735 : set_has_cpu_vendor();
16736 : if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16737 : cpu_vendor_ = new ::std::string;
16738 : }
16739 : cpu_vendor_->assign(reinterpret_cast<const char*>(value), size);
16740 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor)
16741 : }
16742 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::mutable_cpu_vendor() {
16743 0 : set_has_cpu_vendor();
16744 0 : if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16745 0 : cpu_vendor_ = new ::std::string;
16746 : }
16747 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor)
16748 0 : return cpu_vendor_;
16749 : }
16750 : inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::release_cpu_vendor() {
16751 : clear_has_cpu_vendor();
16752 : if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16753 : return NULL;
16754 : } else {
16755 : ::std::string* temp = cpu_vendor_;
16756 : cpu_vendor_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16757 : return temp;
16758 : }
16759 : }
16760 : inline void ClientIncidentReport_EnvironmentData_Machine::set_allocated_cpu_vendor(::std::string* cpu_vendor) {
16761 : if (cpu_vendor_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16762 : delete cpu_vendor_;
16763 : }
16764 : if (cpu_vendor) {
16765 : set_has_cpu_vendor();
16766 : cpu_vendor_ = cpu_vendor;
16767 : } else {
16768 : clear_has_cpu_vendor();
16769 : cpu_vendor_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16770 : }
16771 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor)
16772 : }
16773 :
16774 : // optional uint32 cpuid = 3;
16775 0 : inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpuid() const {
16776 0 : return (_has_bits_[0] & 0x00000004u) != 0;
16777 : }
16778 0 : inline void ClientIncidentReport_EnvironmentData_Machine::set_has_cpuid() {
16779 0 : _has_bits_[0] |= 0x00000004u;
16780 0 : }
16781 : inline void ClientIncidentReport_EnvironmentData_Machine::clear_has_cpuid() {
16782 : _has_bits_[0] &= ~0x00000004u;
16783 : }
16784 : inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpuid() {
16785 : cpuid_ = 0u;
16786 : clear_has_cpuid();
16787 : }
16788 0 : inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_Machine::cpuid() const {
16789 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpuid)
16790 0 : return cpuid_;
16791 : }
16792 0 : inline void ClientIncidentReport_EnvironmentData_Machine::set_cpuid(::google::protobuf::uint32 value) {
16793 0 : set_has_cpuid();
16794 0 : cpuid_ = value;
16795 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpuid)
16796 0 : }
16797 :
16798 : // -------------------------------------------------------------------
16799 :
16800 : // ClientIncidentReport_EnvironmentData_Process_Patch
16801 :
16802 : // optional string function = 1;
16803 0 : inline bool ClientIncidentReport_EnvironmentData_Process_Patch::has_function() const {
16804 0 : return (_has_bits_[0] & 0x00000001u) != 0;
16805 : }
16806 0 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_has_function() {
16807 0 : _has_bits_[0] |= 0x00000001u;
16808 0 : }
16809 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_has_function() {
16810 : _has_bits_[0] &= ~0x00000001u;
16811 : }
16812 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_function() {
16813 : if (function_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16814 : function_->clear();
16815 : }
16816 : clear_has_function();
16817 : }
16818 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_Patch::function() const {
16819 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function)
16820 0 : return *function_;
16821 : }
16822 0 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const ::std::string& value) {
16823 0 : set_has_function();
16824 0 : if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16825 0 : function_ = new ::std::string;
16826 : }
16827 0 : function_->assign(value);
16828 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function)
16829 0 : }
16830 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const char* value) {
16831 : set_has_function();
16832 : if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16833 : function_ = new ::std::string;
16834 : }
16835 : function_->assign(value);
16836 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function)
16837 : }
16838 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const char* value, size_t size) {
16839 : set_has_function();
16840 : if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16841 : function_ = new ::std::string;
16842 : }
16843 : function_->assign(reinterpret_cast<const char*>(value), size);
16844 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function)
16845 : }
16846 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Patch::mutable_function() {
16847 0 : set_has_function();
16848 0 : if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16849 0 : function_ = new ::std::string;
16850 : }
16851 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function)
16852 0 : return function_;
16853 : }
16854 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Patch::release_function() {
16855 : clear_has_function();
16856 : if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16857 : return NULL;
16858 : } else {
16859 : ::std::string* temp = function_;
16860 : function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16861 : return temp;
16862 : }
16863 : }
16864 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_allocated_function(::std::string* function) {
16865 : if (function_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16866 : delete function_;
16867 : }
16868 : if (function) {
16869 : set_has_function();
16870 : function_ = function;
16871 : } else {
16872 : clear_has_function();
16873 : function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16874 : }
16875 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function)
16876 : }
16877 :
16878 : // optional string target_dll = 2;
16879 0 : inline bool ClientIncidentReport_EnvironmentData_Process_Patch::has_target_dll() const {
16880 0 : return (_has_bits_[0] & 0x00000002u) != 0;
16881 : }
16882 0 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_has_target_dll() {
16883 0 : _has_bits_[0] |= 0x00000002u;
16884 0 : }
16885 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_has_target_dll() {
16886 : _has_bits_[0] &= ~0x00000002u;
16887 : }
16888 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_target_dll() {
16889 : if (target_dll_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16890 : target_dll_->clear();
16891 : }
16892 : clear_has_target_dll();
16893 : }
16894 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_Patch::target_dll() const {
16895 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll)
16896 0 : return *target_dll_;
16897 : }
16898 0 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const ::std::string& value) {
16899 0 : set_has_target_dll();
16900 0 : if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16901 0 : target_dll_ = new ::std::string;
16902 : }
16903 0 : target_dll_->assign(value);
16904 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll)
16905 0 : }
16906 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const char* value) {
16907 : set_has_target_dll();
16908 : if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16909 : target_dll_ = new ::std::string;
16910 : }
16911 : target_dll_->assign(value);
16912 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll)
16913 : }
16914 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const char* value, size_t size) {
16915 : set_has_target_dll();
16916 : if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16917 : target_dll_ = new ::std::string;
16918 : }
16919 : target_dll_->assign(reinterpret_cast<const char*>(value), size);
16920 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll)
16921 : }
16922 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Patch::mutable_target_dll() {
16923 0 : set_has_target_dll();
16924 0 : if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16925 0 : target_dll_ = new ::std::string;
16926 : }
16927 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll)
16928 0 : return target_dll_;
16929 : }
16930 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Patch::release_target_dll() {
16931 : clear_has_target_dll();
16932 : if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16933 : return NULL;
16934 : } else {
16935 : ::std::string* temp = target_dll_;
16936 : target_dll_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16937 : return temp;
16938 : }
16939 : }
16940 : inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_allocated_target_dll(::std::string* target_dll) {
16941 : if (target_dll_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16942 : delete target_dll_;
16943 : }
16944 : if (target_dll) {
16945 : set_has_target_dll();
16946 : target_dll_ = target_dll;
16947 : } else {
16948 : clear_has_target_dll();
16949 : target_dll_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16950 : }
16951 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll)
16952 : }
16953 :
16954 : // -------------------------------------------------------------------
16955 :
16956 : // ClientIncidentReport_EnvironmentData_Process_NetworkProvider
16957 :
16958 : // -------------------------------------------------------------------
16959 :
16960 : // ClientIncidentReport_EnvironmentData_Process_Dll
16961 :
16962 : // optional string path = 1;
16963 0 : inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_path() const {
16964 0 : return (_has_bits_[0] & 0x00000001u) != 0;
16965 : }
16966 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_path() {
16967 0 : _has_bits_[0] |= 0x00000001u;
16968 0 : }
16969 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_path() {
16970 : _has_bits_[0] &= ~0x00000001u;
16971 : }
16972 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_path() {
16973 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16974 : path_->clear();
16975 : }
16976 : clear_has_path();
16977 : }
16978 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_Dll::path() const {
16979 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path)
16980 0 : return *path_;
16981 : }
16982 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const ::std::string& value) {
16983 0 : set_has_path();
16984 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16985 0 : path_ = new ::std::string;
16986 : }
16987 0 : path_->assign(value);
16988 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path)
16989 0 : }
16990 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const char* value) {
16991 : set_has_path();
16992 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
16993 : path_ = new ::std::string;
16994 : }
16995 : path_->assign(value);
16996 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path)
16997 : }
16998 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const char* value, size_t size) {
16999 : set_has_path();
17000 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17001 : path_ = new ::std::string;
17002 : }
17003 : path_->assign(reinterpret_cast<const char*>(value), size);
17004 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path)
17005 : }
17006 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_path() {
17007 0 : set_has_path();
17008 0 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17009 0 : path_ = new ::std::string;
17010 : }
17011 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path)
17012 0 : return path_;
17013 : }
17014 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Dll::release_path() {
17015 : clear_has_path();
17016 : if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17017 : return NULL;
17018 : } else {
17019 : ::std::string* temp = path_;
17020 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17021 : return temp;
17022 : }
17023 : }
17024 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_allocated_path(::std::string* path) {
17025 : if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17026 : delete path_;
17027 : }
17028 : if (path) {
17029 : set_has_path();
17030 : path_ = path;
17031 : } else {
17032 : clear_has_path();
17033 : path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17034 : }
17035 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path)
17036 : }
17037 :
17038 : // optional uint64 base_address = 2;
17039 0 : inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_base_address() const {
17040 0 : return (_has_bits_[0] & 0x00000002u) != 0;
17041 : }
17042 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_base_address() {
17043 0 : _has_bits_[0] |= 0x00000002u;
17044 0 : }
17045 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_base_address() {
17046 : _has_bits_[0] &= ~0x00000002u;
17047 : }
17048 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_base_address() {
17049 : base_address_ = GOOGLE_ULONGLONG(0);
17050 : clear_has_base_address();
17051 : }
17052 0 : inline ::google::protobuf::uint64 ClientIncidentReport_EnvironmentData_Process_Dll::base_address() const {
17053 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.base_address)
17054 0 : return base_address_;
17055 : }
17056 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_base_address(::google::protobuf::uint64 value) {
17057 0 : set_has_base_address();
17058 0 : base_address_ = value;
17059 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.base_address)
17060 0 : }
17061 :
17062 : // optional uint32 length = 3;
17063 0 : inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_length() const {
17064 0 : return (_has_bits_[0] & 0x00000004u) != 0;
17065 : }
17066 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_length() {
17067 0 : _has_bits_[0] |= 0x00000004u;
17068 0 : }
17069 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_length() {
17070 : _has_bits_[0] &= ~0x00000004u;
17071 : }
17072 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_length() {
17073 : length_ = 0u;
17074 : clear_has_length();
17075 : }
17076 0 : inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_Process_Dll::length() const {
17077 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.length)
17078 0 : return length_;
17079 : }
17080 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_length(::google::protobuf::uint32 value) {
17081 0 : set_has_length();
17082 0 : length_ = value;
17083 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.length)
17084 0 : }
17085 :
17086 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.Feature feature = 4;
17087 0 : inline int ClientIncidentReport_EnvironmentData_Process_Dll::feature_size() const {
17088 0 : return feature_.size();
17089 : }
17090 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_feature() {
17091 : feature_.Clear();
17092 : }
17093 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll::feature(int index) const {
17094 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature)
17095 0 : return static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature >(feature_.Get(index));
17096 : }
17097 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_feature(int index, ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value) {
17098 : assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value));
17099 : feature_.Set(index, value);
17100 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature)
17101 : }
17102 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value) {
17103 0 : assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value));
17104 0 : feature_.Add(value);
17105 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature)
17106 0 : }
17107 : inline const ::google::protobuf::RepeatedField<int>&
17108 : ClientIncidentReport_EnvironmentData_Process_Dll::feature() const {
17109 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature)
17110 : return feature_;
17111 : }
17112 : inline ::google::protobuf::RepeatedField<int>*
17113 0 : ClientIncidentReport_EnvironmentData_Process_Dll::mutable_feature() {
17114 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature)
17115 0 : return &feature_;
17116 : }
17117 :
17118 : // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5;
17119 0 : inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_image_headers() const {
17120 0 : return (_has_bits_[0] & 0x00000010u) != 0;
17121 : }
17122 0 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_image_headers() {
17123 0 : _has_bits_[0] |= 0x00000010u;
17124 0 : }
17125 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_image_headers() {
17126 : _has_bits_[0] &= ~0x00000010u;
17127 : }
17128 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_image_headers() {
17129 : if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear();
17130 : clear_has_image_headers();
17131 : }
17132 0 : inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_EnvironmentData_Process_Dll::image_headers() const {
17133 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers)
17134 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17135 0 : return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_;
17136 : #else
17137 : return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_;
17138 : #endif
17139 : }
17140 0 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_image_headers() {
17141 0 : set_has_image_headers();
17142 0 : if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders;
17143 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers)
17144 0 : return image_headers_;
17145 : }
17146 : inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_EnvironmentData_Process_Dll::release_image_headers() {
17147 : clear_has_image_headers();
17148 : ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_;
17149 : image_headers_ = NULL;
17150 : return temp;
17151 : }
17152 : inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) {
17153 : delete image_headers_;
17154 : image_headers_ = image_headers;
17155 : if (image_headers) {
17156 : set_has_image_headers();
17157 : } else {
17158 : clear_has_image_headers();
17159 : }
17160 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers)
17161 : }
17162 :
17163 : // -------------------------------------------------------------------
17164 :
17165 : // ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification
17166 :
17167 : // optional uint32 file_offset = 1;
17168 0 : inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_file_offset() const {
17169 0 : return (_has_bits_[0] & 0x00000001u) != 0;
17170 : }
17171 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_file_offset() {
17172 0 : _has_bits_[0] |= 0x00000001u;
17173 0 : }
17174 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_file_offset() {
17175 : _has_bits_[0] &= ~0x00000001u;
17176 : }
17177 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_file_offset() {
17178 : file_offset_ = 0u;
17179 : clear_has_file_offset();
17180 : }
17181 0 : inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::file_offset() const {
17182 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.file_offset)
17183 0 : return file_offset_;
17184 : }
17185 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_file_offset(::google::protobuf::uint32 value) {
17186 0 : set_has_file_offset();
17187 0 : file_offset_ = value;
17188 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.file_offset)
17189 0 : }
17190 :
17191 : // optional int32 byte_count = 2;
17192 0 : inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_byte_count() const {
17193 0 : return (_has_bits_[0] & 0x00000002u) != 0;
17194 : }
17195 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_byte_count() {
17196 0 : _has_bits_[0] |= 0x00000002u;
17197 0 : }
17198 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_byte_count() {
17199 : _has_bits_[0] &= ~0x00000002u;
17200 : }
17201 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_byte_count() {
17202 : byte_count_ = 0;
17203 : clear_has_byte_count();
17204 : }
17205 0 : inline ::google::protobuf::int32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::byte_count() const {
17206 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.byte_count)
17207 0 : return byte_count_;
17208 : }
17209 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_byte_count(::google::protobuf::int32 value) {
17210 0 : set_has_byte_count();
17211 0 : byte_count_ = value;
17212 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.byte_count)
17213 0 : }
17214 :
17215 : // optional bytes modified_bytes = 3;
17216 0 : inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_modified_bytes() const {
17217 0 : return (_has_bits_[0] & 0x00000004u) != 0;
17218 : }
17219 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_modified_bytes() {
17220 0 : _has_bits_[0] |= 0x00000004u;
17221 0 : }
17222 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_modified_bytes() {
17223 : _has_bits_[0] &= ~0x00000004u;
17224 : }
17225 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_modified_bytes() {
17226 : if (modified_bytes_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17227 : modified_bytes_->clear();
17228 : }
17229 : clear_has_modified_bytes();
17230 : }
17231 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::modified_bytes() const {
17232 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes)
17233 0 : return *modified_bytes_;
17234 : }
17235 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const ::std::string& value) {
17236 0 : set_has_modified_bytes();
17237 0 : if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17238 0 : modified_bytes_ = new ::std::string;
17239 : }
17240 0 : modified_bytes_->assign(value);
17241 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes)
17242 0 : }
17243 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const char* value) {
17244 : set_has_modified_bytes();
17245 : if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17246 : modified_bytes_ = new ::std::string;
17247 : }
17248 : modified_bytes_->assign(value);
17249 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes)
17250 : }
17251 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const void* value, size_t size) {
17252 : set_has_modified_bytes();
17253 : if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17254 : modified_bytes_ = new ::std::string;
17255 : }
17256 : modified_bytes_->assign(reinterpret_cast<const char*>(value), size);
17257 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes)
17258 : }
17259 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::mutable_modified_bytes() {
17260 0 : set_has_modified_bytes();
17261 0 : if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17262 0 : modified_bytes_ = new ::std::string;
17263 : }
17264 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes)
17265 0 : return modified_bytes_;
17266 : }
17267 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::release_modified_bytes() {
17268 : clear_has_modified_bytes();
17269 : if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17270 : return NULL;
17271 : } else {
17272 : ::std::string* temp = modified_bytes_;
17273 : modified_bytes_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17274 : return temp;
17275 : }
17276 : }
17277 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_allocated_modified_bytes(::std::string* modified_bytes) {
17278 : if (modified_bytes_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17279 : delete modified_bytes_;
17280 : }
17281 : if (modified_bytes) {
17282 : set_has_modified_bytes();
17283 : modified_bytes_ = modified_bytes;
17284 : } else {
17285 : clear_has_modified_bytes();
17286 : modified_bytes_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17287 : }
17288 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes)
17289 : }
17290 :
17291 : // optional string export_name = 4;
17292 0 : inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_export_name() const {
17293 0 : return (_has_bits_[0] & 0x00000008u) != 0;
17294 : }
17295 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_export_name() {
17296 0 : _has_bits_[0] |= 0x00000008u;
17297 0 : }
17298 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_export_name() {
17299 : _has_bits_[0] &= ~0x00000008u;
17300 : }
17301 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_export_name() {
17302 : if (export_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17303 : export_name_->clear();
17304 : }
17305 : clear_has_export_name();
17306 : }
17307 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::export_name() const {
17308 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name)
17309 0 : return *export_name_;
17310 : }
17311 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const ::std::string& value) {
17312 0 : set_has_export_name();
17313 0 : if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17314 0 : export_name_ = new ::std::string;
17315 : }
17316 0 : export_name_->assign(value);
17317 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name)
17318 0 : }
17319 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const char* value) {
17320 : set_has_export_name();
17321 : if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17322 : export_name_ = new ::std::string;
17323 : }
17324 : export_name_->assign(value);
17325 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name)
17326 : }
17327 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const char* value, size_t size) {
17328 : set_has_export_name();
17329 : if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17330 : export_name_ = new ::std::string;
17331 : }
17332 : export_name_->assign(reinterpret_cast<const char*>(value), size);
17333 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name)
17334 : }
17335 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::mutable_export_name() {
17336 0 : set_has_export_name();
17337 0 : if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17338 0 : export_name_ = new ::std::string;
17339 : }
17340 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name)
17341 0 : return export_name_;
17342 : }
17343 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::release_export_name() {
17344 : clear_has_export_name();
17345 : if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17346 : return NULL;
17347 : } else {
17348 : ::std::string* temp = export_name_;
17349 : export_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17350 : return temp;
17351 : }
17352 : }
17353 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_allocated_export_name(::std::string* export_name) {
17354 : if (export_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17355 : delete export_name_;
17356 : }
17357 : if (export_name) {
17358 : set_has_export_name();
17359 : export_name_ = export_name;
17360 : } else {
17361 : clear_has_export_name();
17362 : export_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17363 : }
17364 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name)
17365 : }
17366 :
17367 : // -------------------------------------------------------------------
17368 :
17369 : // ClientIncidentReport_EnvironmentData_Process_ModuleState
17370 :
17371 : // optional string name = 1;
17372 0 : inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState::has_name() const {
17373 0 : return (_has_bits_[0] & 0x00000001u) != 0;
17374 : }
17375 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_has_name() {
17376 0 : _has_bits_[0] |= 0x00000001u;
17377 0 : }
17378 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_has_name() {
17379 : _has_bits_[0] &= ~0x00000001u;
17380 : }
17381 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_name() {
17382 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17383 : name_->clear();
17384 : }
17385 : clear_has_name();
17386 : }
17387 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState::name() const {
17388 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name)
17389 0 : return *name_;
17390 : }
17391 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const ::std::string& value) {
17392 0 : set_has_name();
17393 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17394 0 : name_ = new ::std::string;
17395 : }
17396 0 : name_->assign(value);
17397 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name)
17398 0 : }
17399 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const char* value) {
17400 : set_has_name();
17401 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17402 : name_ = new ::std::string;
17403 : }
17404 : name_->assign(value);
17405 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name)
17406 : }
17407 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const char* value, size_t size) {
17408 : set_has_name();
17409 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17410 : name_ = new ::std::string;
17411 : }
17412 : name_->assign(reinterpret_cast<const char*>(value), size);
17413 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name)
17414 : }
17415 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_name() {
17416 0 : set_has_name();
17417 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17418 0 : name_ = new ::std::string;
17419 : }
17420 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name)
17421 0 : return name_;
17422 : }
17423 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::release_name() {
17424 : clear_has_name();
17425 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17426 : return NULL;
17427 : } else {
17428 : ::std::string* temp = name_;
17429 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17430 : return temp;
17431 : }
17432 : }
17433 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_allocated_name(::std::string* name) {
17434 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17435 : delete name_;
17436 : }
17437 : if (name) {
17438 : set_has_name();
17439 : name_ = name;
17440 : } else {
17441 : clear_has_name();
17442 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17443 : }
17444 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name)
17445 : }
17446 :
17447 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.ModifiedState modified_state = 2;
17448 0 : inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState::has_modified_state() const {
17449 0 : return (_has_bits_[0] & 0x00000002u) != 0;
17450 : }
17451 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_has_modified_state() {
17452 0 : _has_bits_[0] |= 0x00000002u;
17453 0 : }
17454 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_has_modified_state() {
17455 : _has_bits_[0] &= ~0x00000002u;
17456 : }
17457 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_modified_state() {
17458 : modified_state_ = 0;
17459 : clear_has_modified_state();
17460 : }
17461 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState::modified_state() const {
17462 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modified_state)
17463 0 : return static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState >(modified_state_);
17464 : }
17465 0 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value) {
17466 0 : assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(value));
17467 0 : set_has_modified_state();
17468 0 : modified_state_ = value;
17469 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modified_state)
17470 0 : }
17471 :
17472 : // repeated string OBSOLETE_modified_export = 3;
17473 0 : inline int ClientIncidentReport_EnvironmentData_Process_ModuleState::obsolete_modified_export_size() const {
17474 0 : return obsolete_modified_export_.size();
17475 : }
17476 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_obsolete_modified_export() {
17477 : obsolete_modified_export_.Clear();
17478 : }
17479 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState::obsolete_modified_export(int index) const {
17480 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17481 0 : return obsolete_modified_export_.Get(index);
17482 : }
17483 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_obsolete_modified_export(int index) {
17484 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17485 : return obsolete_modified_export_.Mutable(index);
17486 : }
17487 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_obsolete_modified_export(int index, const ::std::string& value) {
17488 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17489 : obsolete_modified_export_.Mutable(index)->assign(value);
17490 : }
17491 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_obsolete_modified_export(int index, const char* value) {
17492 : obsolete_modified_export_.Mutable(index)->assign(value);
17493 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17494 : }
17495 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_obsolete_modified_export(int index, const char* value, size_t size) {
17496 : obsolete_modified_export_.Mutable(index)->assign(
17497 : reinterpret_cast<const char*>(value), size);
17498 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17499 : }
17500 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export() {
17501 0 : return obsolete_modified_export_.Add();
17502 : }
17503 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export(const ::std::string& value) {
17504 : obsolete_modified_export_.Add()->assign(value);
17505 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17506 : }
17507 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export(const char* value) {
17508 : obsolete_modified_export_.Add()->assign(value);
17509 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17510 : }
17511 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export(const char* value, size_t size) {
17512 : obsolete_modified_export_.Add()->assign(reinterpret_cast<const char*>(value), size);
17513 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17514 : }
17515 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
17516 : ClientIncidentReport_EnvironmentData_Process_ModuleState::obsolete_modified_export() const {
17517 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17518 : return obsolete_modified_export_;
17519 : }
17520 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
17521 : ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_obsolete_modified_export() {
17522 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export)
17523 : return &obsolete_modified_export_;
17524 : }
17525 :
17526 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification modification = 4;
17527 0 : inline int ClientIncidentReport_EnvironmentData_Process_ModuleState::modification_size() const {
17528 0 : return modification_.size();
17529 : }
17530 : inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_modification() {
17531 : modification_.Clear();
17532 : }
17533 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& ClientIncidentReport_EnvironmentData_Process_ModuleState::modification(int index) const {
17534 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification)
17535 0 : return modification_.Get(index);
17536 : }
17537 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_modification(int index) {
17538 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification)
17539 : return modification_.Mutable(index);
17540 : }
17541 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* ClientIncidentReport_EnvironmentData_Process_ModuleState::add_modification() {
17542 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification)
17543 0 : return modification_.Add();
17544 : }
17545 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >&
17546 : ClientIncidentReport_EnvironmentData_Process_ModuleState::modification() const {
17547 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification)
17548 : return modification_;
17549 : }
17550 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >*
17551 : ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_modification() {
17552 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification)
17553 : return &modification_;
17554 : }
17555 :
17556 : // -------------------------------------------------------------------
17557 :
17558 : // ClientIncidentReport_EnvironmentData_Process
17559 :
17560 : // optional string version = 1;
17561 0 : inline bool ClientIncidentReport_EnvironmentData_Process::has_version() const {
17562 0 : return (_has_bits_[0] & 0x00000001u) != 0;
17563 : }
17564 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_has_version() {
17565 0 : _has_bits_[0] |= 0x00000001u;
17566 0 : }
17567 : inline void ClientIncidentReport_EnvironmentData_Process::clear_has_version() {
17568 : _has_bits_[0] &= ~0x00000001u;
17569 : }
17570 : inline void ClientIncidentReport_EnvironmentData_Process::clear_version() {
17571 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17572 : version_->clear();
17573 : }
17574 : clear_has_version();
17575 : }
17576 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process::version() const {
17577 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version)
17578 0 : return *version_;
17579 : }
17580 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_version(const ::std::string& value) {
17581 0 : set_has_version();
17582 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17583 0 : version_ = new ::std::string;
17584 : }
17585 0 : version_->assign(value);
17586 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version)
17587 0 : }
17588 : inline void ClientIncidentReport_EnvironmentData_Process::set_version(const char* value) {
17589 : set_has_version();
17590 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17591 : version_ = new ::std::string;
17592 : }
17593 : version_->assign(value);
17594 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version)
17595 : }
17596 : inline void ClientIncidentReport_EnvironmentData_Process::set_version(const char* value, size_t size) {
17597 : set_has_version();
17598 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17599 : version_ = new ::std::string;
17600 : }
17601 : version_->assign(reinterpret_cast<const char*>(value), size);
17602 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version)
17603 : }
17604 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process::mutable_version() {
17605 0 : set_has_version();
17606 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17607 0 : version_ = new ::std::string;
17608 : }
17609 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version)
17610 0 : return version_;
17611 : }
17612 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process::release_version() {
17613 : clear_has_version();
17614 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17615 : return NULL;
17616 : } else {
17617 : ::std::string* temp = version_;
17618 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17619 : return temp;
17620 : }
17621 : }
17622 : inline void ClientIncidentReport_EnvironmentData_Process::set_allocated_version(::std::string* version) {
17623 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
17624 : delete version_;
17625 : }
17626 : if (version) {
17627 : set_has_version();
17628 : version_ = version;
17629 : } else {
17630 : clear_has_version();
17631 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17632 : }
17633 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version)
17634 : }
17635 :
17636 : // repeated string OBSOLETE_dlls = 2;
17637 0 : inline int ClientIncidentReport_EnvironmentData_Process::obsolete_dlls_size() const {
17638 0 : return obsolete_dlls_.size();
17639 : }
17640 : inline void ClientIncidentReport_EnvironmentData_Process::clear_obsolete_dlls() {
17641 : obsolete_dlls_.Clear();
17642 : }
17643 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process::obsolete_dlls(int index) const {
17644 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17645 0 : return obsolete_dlls_.Get(index);
17646 : }
17647 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process::mutable_obsolete_dlls(int index) {
17648 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17649 : return obsolete_dlls_.Mutable(index);
17650 : }
17651 : inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_dlls(int index, const ::std::string& value) {
17652 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17653 : obsolete_dlls_.Mutable(index)->assign(value);
17654 : }
17655 : inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_dlls(int index, const char* value) {
17656 : obsolete_dlls_.Mutable(index)->assign(value);
17657 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17658 : }
17659 : inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_dlls(int index, const char* value, size_t size) {
17660 : obsolete_dlls_.Mutable(index)->assign(
17661 : reinterpret_cast<const char*>(value), size);
17662 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17663 : }
17664 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls() {
17665 0 : return obsolete_dlls_.Add();
17666 : }
17667 : inline void ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls(const ::std::string& value) {
17668 : obsolete_dlls_.Add()->assign(value);
17669 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17670 : }
17671 : inline void ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls(const char* value) {
17672 : obsolete_dlls_.Add()->assign(value);
17673 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17674 : }
17675 : inline void ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls(const char* value, size_t size) {
17676 : obsolete_dlls_.Add()->assign(reinterpret_cast<const char*>(value), size);
17677 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17678 : }
17679 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
17680 : ClientIncidentReport_EnvironmentData_Process::obsolete_dlls() const {
17681 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17682 : return obsolete_dlls_;
17683 : }
17684 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
17685 : ClientIncidentReport_EnvironmentData_Process::mutable_obsolete_dlls() {
17686 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls)
17687 : return &obsolete_dlls_;
17688 : }
17689 :
17690 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch patches = 3;
17691 0 : inline int ClientIncidentReport_EnvironmentData_Process::patches_size() const {
17692 0 : return patches_.size();
17693 : }
17694 : inline void ClientIncidentReport_EnvironmentData_Process::clear_patches() {
17695 : patches_.Clear();
17696 : }
17697 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& ClientIncidentReport_EnvironmentData_Process::patches(int index) const {
17698 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches)
17699 0 : return patches_.Get(index);
17700 : }
17701 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* ClientIncidentReport_EnvironmentData_Process::mutable_patches(int index) {
17702 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches)
17703 : return patches_.Mutable(index);
17704 : }
17705 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* ClientIncidentReport_EnvironmentData_Process::add_patches() {
17706 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches)
17707 0 : return patches_.Add();
17708 : }
17709 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >&
17710 : ClientIncidentReport_EnvironmentData_Process::patches() const {
17711 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches)
17712 : return patches_;
17713 : }
17714 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >*
17715 : ClientIncidentReport_EnvironmentData_Process::mutable_patches() {
17716 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches)
17717 : return &patches_;
17718 : }
17719 :
17720 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider network_providers = 4;
17721 0 : inline int ClientIncidentReport_EnvironmentData_Process::network_providers_size() const {
17722 0 : return network_providers_.size();
17723 : }
17724 : inline void ClientIncidentReport_EnvironmentData_Process::clear_network_providers() {
17725 : network_providers_.Clear();
17726 : }
17727 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& ClientIncidentReport_EnvironmentData_Process::network_providers(int index) const {
17728 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers)
17729 0 : return network_providers_.Get(index);
17730 : }
17731 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* ClientIncidentReport_EnvironmentData_Process::mutable_network_providers(int index) {
17732 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers)
17733 : return network_providers_.Mutable(index);
17734 : }
17735 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* ClientIncidentReport_EnvironmentData_Process::add_network_providers() {
17736 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers)
17737 0 : return network_providers_.Add();
17738 : }
17739 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >&
17740 : ClientIncidentReport_EnvironmentData_Process::network_providers() const {
17741 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers)
17742 : return network_providers_;
17743 : }
17744 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >*
17745 : ClientIncidentReport_EnvironmentData_Process::mutable_network_providers() {
17746 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers)
17747 : return &network_providers_;
17748 : }
17749 :
17750 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Channel chrome_update_channel = 5;
17751 0 : inline bool ClientIncidentReport_EnvironmentData_Process::has_chrome_update_channel() const {
17752 0 : return (_has_bits_[0] & 0x00000010u) != 0;
17753 : }
17754 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_has_chrome_update_channel() {
17755 0 : _has_bits_[0] |= 0x00000010u;
17756 0 : }
17757 : inline void ClientIncidentReport_EnvironmentData_Process::clear_has_chrome_update_channel() {
17758 : _has_bits_[0] &= ~0x00000010u;
17759 : }
17760 : inline void ClientIncidentReport_EnvironmentData_Process::clear_chrome_update_channel() {
17761 : chrome_update_channel_ = 0;
17762 : clear_has_chrome_update_channel();
17763 : }
17764 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process::chrome_update_channel() const {
17765 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.chrome_update_channel)
17766 0 : return static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel >(chrome_update_channel_);
17767 : }
17768 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value) {
17769 0 : assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(value));
17770 0 : set_has_chrome_update_channel();
17771 0 : chrome_update_channel_ = value;
17772 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.chrome_update_channel)
17773 0 : }
17774 :
17775 : // optional int64 uptime_msec = 6;
17776 0 : inline bool ClientIncidentReport_EnvironmentData_Process::has_uptime_msec() const {
17777 0 : return (_has_bits_[0] & 0x00000020u) != 0;
17778 : }
17779 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_has_uptime_msec() {
17780 0 : _has_bits_[0] |= 0x00000020u;
17781 0 : }
17782 : inline void ClientIncidentReport_EnvironmentData_Process::clear_has_uptime_msec() {
17783 : _has_bits_[0] &= ~0x00000020u;
17784 : }
17785 : inline void ClientIncidentReport_EnvironmentData_Process::clear_uptime_msec() {
17786 : uptime_msec_ = GOOGLE_LONGLONG(0);
17787 : clear_has_uptime_msec();
17788 : }
17789 0 : inline ::google::protobuf::int64 ClientIncidentReport_EnvironmentData_Process::uptime_msec() const {
17790 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.uptime_msec)
17791 0 : return uptime_msec_;
17792 : }
17793 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_uptime_msec(::google::protobuf::int64 value) {
17794 0 : set_has_uptime_msec();
17795 0 : uptime_msec_ = value;
17796 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.uptime_msec)
17797 0 : }
17798 :
17799 : // optional bool metrics_consent = 7;
17800 0 : inline bool ClientIncidentReport_EnvironmentData_Process::has_metrics_consent() const {
17801 0 : return (_has_bits_[0] & 0x00000040u) != 0;
17802 : }
17803 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_has_metrics_consent() {
17804 0 : _has_bits_[0] |= 0x00000040u;
17805 0 : }
17806 : inline void ClientIncidentReport_EnvironmentData_Process::clear_has_metrics_consent() {
17807 : _has_bits_[0] &= ~0x00000040u;
17808 : }
17809 : inline void ClientIncidentReport_EnvironmentData_Process::clear_metrics_consent() {
17810 : metrics_consent_ = false;
17811 : clear_has_metrics_consent();
17812 : }
17813 0 : inline bool ClientIncidentReport_EnvironmentData_Process::metrics_consent() const {
17814 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.metrics_consent)
17815 0 : return metrics_consent_;
17816 : }
17817 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_metrics_consent(bool value) {
17818 0 : set_has_metrics_consent();
17819 0 : metrics_consent_ = value;
17820 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.metrics_consent)
17821 0 : }
17822 :
17823 : // optional bool extended_consent = 8;
17824 0 : inline bool ClientIncidentReport_EnvironmentData_Process::has_extended_consent() const {
17825 0 : return (_has_bits_[0] & 0x00000080u) != 0;
17826 : }
17827 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_has_extended_consent() {
17828 0 : _has_bits_[0] |= 0x00000080u;
17829 0 : }
17830 : inline void ClientIncidentReport_EnvironmentData_Process::clear_has_extended_consent() {
17831 : _has_bits_[0] &= ~0x00000080u;
17832 : }
17833 : inline void ClientIncidentReport_EnvironmentData_Process::clear_extended_consent() {
17834 : extended_consent_ = false;
17835 : clear_has_extended_consent();
17836 : }
17837 0 : inline bool ClientIncidentReport_EnvironmentData_Process::extended_consent() const {
17838 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.extended_consent)
17839 0 : return extended_consent_;
17840 : }
17841 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_extended_consent(bool value) {
17842 0 : set_has_extended_consent();
17843 0 : extended_consent_ = value;
17844 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.extended_consent)
17845 0 : }
17846 :
17847 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll dll = 9;
17848 0 : inline int ClientIncidentReport_EnvironmentData_Process::dll_size() const {
17849 0 : return dll_.size();
17850 : }
17851 : inline void ClientIncidentReport_EnvironmentData_Process::clear_dll() {
17852 : dll_.Clear();
17853 : }
17854 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& ClientIncidentReport_EnvironmentData_Process::dll(int index) const {
17855 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll)
17856 0 : return dll_.Get(index);
17857 : }
17858 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* ClientIncidentReport_EnvironmentData_Process::mutable_dll(int index) {
17859 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll)
17860 : return dll_.Mutable(index);
17861 : }
17862 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* ClientIncidentReport_EnvironmentData_Process::add_dll() {
17863 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll)
17864 0 : return dll_.Add();
17865 : }
17866 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >&
17867 0 : ClientIncidentReport_EnvironmentData_Process::dll() const {
17868 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll)
17869 0 : return dll_;
17870 : }
17871 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >*
17872 : ClientIncidentReport_EnvironmentData_Process::mutable_dll() {
17873 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll)
17874 : return &dll_;
17875 : }
17876 :
17877 : // repeated string blacklisted_dll = 10;
17878 0 : inline int ClientIncidentReport_EnvironmentData_Process::blacklisted_dll_size() const {
17879 0 : return blacklisted_dll_.size();
17880 : }
17881 : inline void ClientIncidentReport_EnvironmentData_Process::clear_blacklisted_dll() {
17882 : blacklisted_dll_.Clear();
17883 : }
17884 0 : inline const ::std::string& ClientIncidentReport_EnvironmentData_Process::blacklisted_dll(int index) const {
17885 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17886 0 : return blacklisted_dll_.Get(index);
17887 : }
17888 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process::mutable_blacklisted_dll(int index) {
17889 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17890 : return blacklisted_dll_.Mutable(index);
17891 : }
17892 : inline void ClientIncidentReport_EnvironmentData_Process::set_blacklisted_dll(int index, const ::std::string& value) {
17893 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17894 : blacklisted_dll_.Mutable(index)->assign(value);
17895 : }
17896 : inline void ClientIncidentReport_EnvironmentData_Process::set_blacklisted_dll(int index, const char* value) {
17897 : blacklisted_dll_.Mutable(index)->assign(value);
17898 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17899 : }
17900 : inline void ClientIncidentReport_EnvironmentData_Process::set_blacklisted_dll(int index, const char* value, size_t size) {
17901 : blacklisted_dll_.Mutable(index)->assign(
17902 : reinterpret_cast<const char*>(value), size);
17903 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17904 : }
17905 0 : inline ::std::string* ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll() {
17906 0 : return blacklisted_dll_.Add();
17907 : }
17908 : inline void ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll(const ::std::string& value) {
17909 : blacklisted_dll_.Add()->assign(value);
17910 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17911 : }
17912 : inline void ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll(const char* value) {
17913 : blacklisted_dll_.Add()->assign(value);
17914 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17915 : }
17916 : inline void ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll(const char* value, size_t size) {
17917 : blacklisted_dll_.Add()->assign(reinterpret_cast<const char*>(value), size);
17918 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17919 : }
17920 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
17921 : ClientIncidentReport_EnvironmentData_Process::blacklisted_dll() const {
17922 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17923 : return blacklisted_dll_;
17924 : }
17925 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
17926 : ClientIncidentReport_EnvironmentData_Process::mutable_blacklisted_dll() {
17927 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll)
17928 : return &blacklisted_dll_;
17929 : }
17930 :
17931 : // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState module_state = 11;
17932 0 : inline int ClientIncidentReport_EnvironmentData_Process::module_state_size() const {
17933 0 : return module_state_.size();
17934 : }
17935 : inline void ClientIncidentReport_EnvironmentData_Process::clear_module_state() {
17936 : module_state_.Clear();
17937 : }
17938 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& ClientIncidentReport_EnvironmentData_Process::module_state(int index) const {
17939 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state)
17940 0 : return module_state_.Get(index);
17941 : }
17942 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* ClientIncidentReport_EnvironmentData_Process::mutable_module_state(int index) {
17943 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state)
17944 : return module_state_.Mutable(index);
17945 : }
17946 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* ClientIncidentReport_EnvironmentData_Process::add_module_state() {
17947 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state)
17948 0 : return module_state_.Add();
17949 : }
17950 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >&
17951 : ClientIncidentReport_EnvironmentData_Process::module_state() const {
17952 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state)
17953 : return module_state_;
17954 : }
17955 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >*
17956 : ClientIncidentReport_EnvironmentData_Process::mutable_module_state() {
17957 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state)
17958 : return &module_state_;
17959 : }
17960 :
17961 : // optional bool field_trial_participant = 12;
17962 0 : inline bool ClientIncidentReport_EnvironmentData_Process::has_field_trial_participant() const {
17963 0 : return (_has_bits_[0] & 0x00000800u) != 0;
17964 : }
17965 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_has_field_trial_participant() {
17966 0 : _has_bits_[0] |= 0x00000800u;
17967 0 : }
17968 : inline void ClientIncidentReport_EnvironmentData_Process::clear_has_field_trial_participant() {
17969 : _has_bits_[0] &= ~0x00000800u;
17970 : }
17971 : inline void ClientIncidentReport_EnvironmentData_Process::clear_field_trial_participant() {
17972 : field_trial_participant_ = false;
17973 : clear_has_field_trial_participant();
17974 : }
17975 0 : inline bool ClientIncidentReport_EnvironmentData_Process::field_trial_participant() const {
17976 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.field_trial_participant)
17977 0 : return field_trial_participant_;
17978 : }
17979 0 : inline void ClientIncidentReport_EnvironmentData_Process::set_field_trial_participant(bool value) {
17980 0 : set_has_field_trial_participant();
17981 0 : field_trial_participant_ = value;
17982 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.field_trial_participant)
17983 0 : }
17984 :
17985 : // -------------------------------------------------------------------
17986 :
17987 : // ClientIncidentReport_EnvironmentData
17988 :
17989 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.OS os = 1;
17990 0 : inline bool ClientIncidentReport_EnvironmentData::has_os() const {
17991 0 : return (_has_bits_[0] & 0x00000001u) != 0;
17992 : }
17993 0 : inline void ClientIncidentReport_EnvironmentData::set_has_os() {
17994 0 : _has_bits_[0] |= 0x00000001u;
17995 0 : }
17996 : inline void ClientIncidentReport_EnvironmentData::clear_has_os() {
17997 : _has_bits_[0] &= ~0x00000001u;
17998 : }
17999 : inline void ClientIncidentReport_EnvironmentData::clear_os() {
18000 : if (os_ != NULL) os_->::safe_browsing::ClientIncidentReport_EnvironmentData_OS::Clear();
18001 : clear_has_os();
18002 : }
18003 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& ClientIncidentReport_EnvironmentData::os() const {
18004 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.os)
18005 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18006 0 : return os_ != NULL ? *os_ : *default_instance().os_;
18007 : #else
18008 : return os_ != NULL ? *os_ : *default_instance_->os_;
18009 : #endif
18010 : }
18011 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* ClientIncidentReport_EnvironmentData::mutable_os() {
18012 0 : set_has_os();
18013 0 : if (os_ == NULL) os_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData_OS;
18014 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.os)
18015 0 : return os_;
18016 : }
18017 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* ClientIncidentReport_EnvironmentData::release_os() {
18018 : clear_has_os();
18019 : ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* temp = os_;
18020 : os_ = NULL;
18021 : return temp;
18022 : }
18023 : inline void ClientIncidentReport_EnvironmentData::set_allocated_os(::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os) {
18024 : delete os_;
18025 : os_ = os;
18026 : if (os) {
18027 : set_has_os();
18028 : } else {
18029 : clear_has_os();
18030 : }
18031 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.os)
18032 : }
18033 :
18034 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Machine machine = 2;
18035 0 : inline bool ClientIncidentReport_EnvironmentData::has_machine() const {
18036 0 : return (_has_bits_[0] & 0x00000002u) != 0;
18037 : }
18038 0 : inline void ClientIncidentReport_EnvironmentData::set_has_machine() {
18039 0 : _has_bits_[0] |= 0x00000002u;
18040 0 : }
18041 : inline void ClientIncidentReport_EnvironmentData::clear_has_machine() {
18042 : _has_bits_[0] &= ~0x00000002u;
18043 : }
18044 : inline void ClientIncidentReport_EnvironmentData::clear_machine() {
18045 : if (machine_ != NULL) machine_->::safe_browsing::ClientIncidentReport_EnvironmentData_Machine::Clear();
18046 : clear_has_machine();
18047 : }
18048 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& ClientIncidentReport_EnvironmentData::machine() const {
18049 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.machine)
18050 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18051 0 : return machine_ != NULL ? *machine_ : *default_instance().machine_;
18052 : #else
18053 : return machine_ != NULL ? *machine_ : *default_instance_->machine_;
18054 : #endif
18055 : }
18056 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* ClientIncidentReport_EnvironmentData::mutable_machine() {
18057 0 : set_has_machine();
18058 0 : if (machine_ == NULL) machine_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine;
18059 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.machine)
18060 0 : return machine_;
18061 : }
18062 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* ClientIncidentReport_EnvironmentData::release_machine() {
18063 : clear_has_machine();
18064 : ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* temp = machine_;
18065 : machine_ = NULL;
18066 : return temp;
18067 : }
18068 : inline void ClientIncidentReport_EnvironmentData::set_allocated_machine(::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine) {
18069 : delete machine_;
18070 : machine_ = machine;
18071 : if (machine) {
18072 : set_has_machine();
18073 : } else {
18074 : clear_has_machine();
18075 : }
18076 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.machine)
18077 : }
18078 :
18079 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process process = 3;
18080 0 : inline bool ClientIncidentReport_EnvironmentData::has_process() const {
18081 0 : return (_has_bits_[0] & 0x00000004u) != 0;
18082 : }
18083 0 : inline void ClientIncidentReport_EnvironmentData::set_has_process() {
18084 0 : _has_bits_[0] |= 0x00000004u;
18085 0 : }
18086 : inline void ClientIncidentReport_EnvironmentData::clear_has_process() {
18087 : _has_bits_[0] &= ~0x00000004u;
18088 : }
18089 : inline void ClientIncidentReport_EnvironmentData::clear_process() {
18090 : if (process_ != NULL) process_->::safe_browsing::ClientIncidentReport_EnvironmentData_Process::Clear();
18091 : clear_has_process();
18092 : }
18093 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& ClientIncidentReport_EnvironmentData::process() const {
18094 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.process)
18095 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18096 0 : return process_ != NULL ? *process_ : *default_instance().process_;
18097 : #else
18098 : return process_ != NULL ? *process_ : *default_instance_->process_;
18099 : #endif
18100 : }
18101 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* ClientIncidentReport_EnvironmentData::mutable_process() {
18102 0 : set_has_process();
18103 0 : if (process_ == NULL) process_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData_Process;
18104 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.process)
18105 0 : return process_;
18106 : }
18107 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* ClientIncidentReport_EnvironmentData::release_process() {
18108 : clear_has_process();
18109 : ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* temp = process_;
18110 : process_ = NULL;
18111 : return temp;
18112 : }
18113 : inline void ClientIncidentReport_EnvironmentData::set_allocated_process(::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process) {
18114 : delete process_;
18115 : process_ = process;
18116 : if (process) {
18117 : set_has_process();
18118 : } else {
18119 : clear_has_process();
18120 : }
18121 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.process)
18122 : }
18123 :
18124 : // -------------------------------------------------------------------
18125 :
18126 : // ClientIncidentReport_ExtensionData_ExtensionInfo
18127 :
18128 : // optional string id = 1;
18129 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_id() const {
18130 0 : return (_has_bits_[0] & 0x00000001u) != 0;
18131 : }
18132 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_id() {
18133 0 : _has_bits_[0] |= 0x00000001u;
18134 0 : }
18135 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_id() {
18136 : _has_bits_[0] &= ~0x00000001u;
18137 : }
18138 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_id() {
18139 : if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18140 : id_->clear();
18141 : }
18142 : clear_has_id();
18143 : }
18144 0 : inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::id() const {
18145 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id)
18146 0 : return *id_;
18147 : }
18148 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const ::std::string& value) {
18149 0 : set_has_id();
18150 0 : if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18151 0 : id_ = new ::std::string;
18152 : }
18153 0 : id_->assign(value);
18154 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id)
18155 0 : }
18156 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const char* value) {
18157 : set_has_id();
18158 : if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18159 : id_ = new ::std::string;
18160 : }
18161 : id_->assign(value);
18162 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id)
18163 : }
18164 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const char* value, size_t size) {
18165 : set_has_id();
18166 : if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18167 : id_ = new ::std::string;
18168 : }
18169 : id_->assign(reinterpret_cast<const char*>(value), size);
18170 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id)
18171 : }
18172 0 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_id() {
18173 0 : set_has_id();
18174 0 : if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18175 0 : id_ = new ::std::string;
18176 : }
18177 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id)
18178 0 : return id_;
18179 : }
18180 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_id() {
18181 : clear_has_id();
18182 : if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18183 : return NULL;
18184 : } else {
18185 : ::std::string* temp = id_;
18186 : id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18187 : return temp;
18188 : }
18189 : }
18190 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_id(::std::string* id) {
18191 : if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18192 : delete id_;
18193 : }
18194 : if (id) {
18195 : set_has_id();
18196 : id_ = id;
18197 : } else {
18198 : clear_has_id();
18199 : id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18200 : }
18201 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id)
18202 : }
18203 :
18204 : // optional string version = 2;
18205 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_version() const {
18206 0 : return (_has_bits_[0] & 0x00000002u) != 0;
18207 : }
18208 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_version() {
18209 0 : _has_bits_[0] |= 0x00000002u;
18210 0 : }
18211 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_version() {
18212 : _has_bits_[0] &= ~0x00000002u;
18213 : }
18214 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_version() {
18215 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18216 : version_->clear();
18217 : }
18218 : clear_has_version();
18219 : }
18220 0 : inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::version() const {
18221 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version)
18222 0 : return *version_;
18223 : }
18224 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const ::std::string& value) {
18225 0 : set_has_version();
18226 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18227 0 : version_ = new ::std::string;
18228 : }
18229 0 : version_->assign(value);
18230 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version)
18231 0 : }
18232 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const char* value) {
18233 : set_has_version();
18234 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18235 : version_ = new ::std::string;
18236 : }
18237 : version_->assign(value);
18238 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version)
18239 : }
18240 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const char* value, size_t size) {
18241 : set_has_version();
18242 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18243 : version_ = new ::std::string;
18244 : }
18245 : version_->assign(reinterpret_cast<const char*>(value), size);
18246 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version)
18247 : }
18248 0 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_version() {
18249 0 : set_has_version();
18250 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18251 0 : version_ = new ::std::string;
18252 : }
18253 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version)
18254 0 : return version_;
18255 : }
18256 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_version() {
18257 : clear_has_version();
18258 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18259 : return NULL;
18260 : } else {
18261 : ::std::string* temp = version_;
18262 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18263 : return temp;
18264 : }
18265 : }
18266 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_version(::std::string* version) {
18267 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18268 : delete version_;
18269 : }
18270 : if (version) {
18271 : set_has_version();
18272 : version_ = version;
18273 : } else {
18274 : clear_has_version();
18275 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18276 : }
18277 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version)
18278 : }
18279 :
18280 : // optional string name = 3;
18281 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_name() const {
18282 0 : return (_has_bits_[0] & 0x00000004u) != 0;
18283 : }
18284 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_name() {
18285 0 : _has_bits_[0] |= 0x00000004u;
18286 0 : }
18287 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_name() {
18288 : _has_bits_[0] &= ~0x00000004u;
18289 : }
18290 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_name() {
18291 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18292 : name_->clear();
18293 : }
18294 : clear_has_name();
18295 : }
18296 0 : inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::name() const {
18297 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name)
18298 0 : return *name_;
18299 : }
18300 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const ::std::string& value) {
18301 0 : set_has_name();
18302 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18303 0 : name_ = new ::std::string;
18304 : }
18305 0 : name_->assign(value);
18306 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name)
18307 0 : }
18308 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const char* value) {
18309 : set_has_name();
18310 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18311 : name_ = new ::std::string;
18312 : }
18313 : name_->assign(value);
18314 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name)
18315 : }
18316 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const char* value, size_t size) {
18317 : set_has_name();
18318 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18319 : name_ = new ::std::string;
18320 : }
18321 : name_->assign(reinterpret_cast<const char*>(value), size);
18322 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name)
18323 : }
18324 0 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_name() {
18325 0 : set_has_name();
18326 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18327 0 : name_ = new ::std::string;
18328 : }
18329 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name)
18330 0 : return name_;
18331 : }
18332 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_name() {
18333 : clear_has_name();
18334 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18335 : return NULL;
18336 : } else {
18337 : ::std::string* temp = name_;
18338 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18339 : return temp;
18340 : }
18341 : }
18342 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_name(::std::string* name) {
18343 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18344 : delete name_;
18345 : }
18346 : if (name) {
18347 : set_has_name();
18348 : name_ = name;
18349 : } else {
18350 : clear_has_name();
18351 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18352 : }
18353 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name)
18354 : }
18355 :
18356 : // optional string description = 4;
18357 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_description() const {
18358 0 : return (_has_bits_[0] & 0x00000008u) != 0;
18359 : }
18360 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_description() {
18361 0 : _has_bits_[0] |= 0x00000008u;
18362 0 : }
18363 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_description() {
18364 : _has_bits_[0] &= ~0x00000008u;
18365 : }
18366 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_description() {
18367 : if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18368 : description_->clear();
18369 : }
18370 : clear_has_description();
18371 : }
18372 0 : inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::description() const {
18373 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description)
18374 0 : return *description_;
18375 : }
18376 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const ::std::string& value) {
18377 0 : set_has_description();
18378 0 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18379 0 : description_ = new ::std::string;
18380 : }
18381 0 : description_->assign(value);
18382 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description)
18383 0 : }
18384 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const char* value) {
18385 : set_has_description();
18386 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18387 : description_ = new ::std::string;
18388 : }
18389 : description_->assign(value);
18390 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description)
18391 : }
18392 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const char* value, size_t size) {
18393 : set_has_description();
18394 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18395 : description_ = new ::std::string;
18396 : }
18397 : description_->assign(reinterpret_cast<const char*>(value), size);
18398 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description)
18399 : }
18400 0 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_description() {
18401 0 : set_has_description();
18402 0 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18403 0 : description_ = new ::std::string;
18404 : }
18405 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description)
18406 0 : return description_;
18407 : }
18408 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_description() {
18409 : clear_has_description();
18410 : if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18411 : return NULL;
18412 : } else {
18413 : ::std::string* temp = description_;
18414 : description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18415 : return temp;
18416 : }
18417 : }
18418 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_description(::std::string* description) {
18419 : if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18420 : delete description_;
18421 : }
18422 : if (description) {
18423 : set_has_description();
18424 : description_ = description;
18425 : } else {
18426 : clear_has_description();
18427 : description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18428 : }
18429 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description)
18430 : }
18431 :
18432 : // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.ExtensionState state = 5 [default = STATE_UNKNOWN];
18433 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_state() const {
18434 0 : return (_has_bits_[0] & 0x00000010u) != 0;
18435 : }
18436 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_state() {
18437 0 : _has_bits_[0] |= 0x00000010u;
18438 0 : }
18439 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_state() {
18440 : _has_bits_[0] &= ~0x00000010u;
18441 : }
18442 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_state() {
18443 : state_ = 0;
18444 : clear_has_state();
18445 : }
18446 0 : inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo::state() const {
18447 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.state)
18448 0 : return static_cast< ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState >(state_);
18449 : }
18450 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value) {
18451 0 : assert(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(value));
18452 0 : set_has_state();
18453 0 : state_ = value;
18454 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.state)
18455 0 : }
18456 :
18457 : // optional int32 type = 6;
18458 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_type() const {
18459 0 : return (_has_bits_[0] & 0x00000020u) != 0;
18460 : }
18461 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_type() {
18462 0 : _has_bits_[0] |= 0x00000020u;
18463 0 : }
18464 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_type() {
18465 : _has_bits_[0] &= ~0x00000020u;
18466 : }
18467 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_type() {
18468 : type_ = 0;
18469 : clear_has_type();
18470 : }
18471 0 : inline ::google::protobuf::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::type() const {
18472 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.type)
18473 0 : return type_;
18474 : }
18475 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_type(::google::protobuf::int32 value) {
18476 0 : set_has_type();
18477 0 : type_ = value;
18478 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.type)
18479 0 : }
18480 :
18481 : // optional string update_url = 7;
18482 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_update_url() const {
18483 0 : return (_has_bits_[0] & 0x00000040u) != 0;
18484 : }
18485 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_update_url() {
18486 0 : _has_bits_[0] |= 0x00000040u;
18487 0 : }
18488 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_update_url() {
18489 : _has_bits_[0] &= ~0x00000040u;
18490 : }
18491 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_update_url() {
18492 : if (update_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18493 : update_url_->clear();
18494 : }
18495 : clear_has_update_url();
18496 : }
18497 0 : inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::update_url() const {
18498 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url)
18499 0 : return *update_url_;
18500 : }
18501 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const ::std::string& value) {
18502 0 : set_has_update_url();
18503 0 : if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18504 0 : update_url_ = new ::std::string;
18505 : }
18506 0 : update_url_->assign(value);
18507 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url)
18508 0 : }
18509 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const char* value) {
18510 : set_has_update_url();
18511 : if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18512 : update_url_ = new ::std::string;
18513 : }
18514 : update_url_->assign(value);
18515 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url)
18516 : }
18517 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const char* value, size_t size) {
18518 : set_has_update_url();
18519 : if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18520 : update_url_ = new ::std::string;
18521 : }
18522 : update_url_->assign(reinterpret_cast<const char*>(value), size);
18523 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url)
18524 : }
18525 0 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_update_url() {
18526 0 : set_has_update_url();
18527 0 : if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18528 0 : update_url_ = new ::std::string;
18529 : }
18530 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url)
18531 0 : return update_url_;
18532 : }
18533 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_update_url() {
18534 : clear_has_update_url();
18535 : if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18536 : return NULL;
18537 : } else {
18538 : ::std::string* temp = update_url_;
18539 : update_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18540 : return temp;
18541 : }
18542 : }
18543 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_update_url(::std::string* update_url) {
18544 : if (update_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18545 : delete update_url_;
18546 : }
18547 : if (update_url) {
18548 : set_has_update_url();
18549 : update_url_ = update_url;
18550 : } else {
18551 : clear_has_update_url();
18552 : update_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18553 : }
18554 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url)
18555 : }
18556 :
18557 : // optional bool has_signature_validation = 8;
18558 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_has_signature_validation() const {
18559 0 : return (_has_bits_[0] & 0x00000080u) != 0;
18560 : }
18561 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_has_signature_validation() {
18562 0 : _has_bits_[0] |= 0x00000080u;
18563 0 : }
18564 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_has_signature_validation() {
18565 : _has_bits_[0] &= ~0x00000080u;
18566 : }
18567 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_signature_validation() {
18568 : has_signature_validation_ = false;
18569 : clear_has_has_signature_validation();
18570 : }
18571 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_signature_validation() const {
18572 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.has_signature_validation)
18573 0 : return has_signature_validation_;
18574 : }
18575 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_signature_validation(bool value) {
18576 0 : set_has_has_signature_validation();
18577 0 : has_signature_validation_ = value;
18578 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.has_signature_validation)
18579 0 : }
18580 :
18581 : // optional bool signature_is_valid = 9;
18582 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_signature_is_valid() const {
18583 0 : return (_has_bits_[0] & 0x00000100u) != 0;
18584 : }
18585 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_signature_is_valid() {
18586 0 : _has_bits_[0] |= 0x00000100u;
18587 0 : }
18588 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_signature_is_valid() {
18589 : _has_bits_[0] &= ~0x00000100u;
18590 : }
18591 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_signature_is_valid() {
18592 : signature_is_valid_ = false;
18593 : clear_has_signature_is_valid();
18594 : }
18595 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::signature_is_valid() const {
18596 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.signature_is_valid)
18597 0 : return signature_is_valid_;
18598 : }
18599 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_signature_is_valid(bool value) {
18600 0 : set_has_signature_is_valid();
18601 0 : signature_is_valid_ = value;
18602 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.signature_is_valid)
18603 0 : }
18604 :
18605 : // optional bool installed_by_custodian = 10;
18606 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_installed_by_custodian() const {
18607 0 : return (_has_bits_[0] & 0x00000200u) != 0;
18608 : }
18609 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_installed_by_custodian() {
18610 0 : _has_bits_[0] |= 0x00000200u;
18611 0 : }
18612 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_installed_by_custodian() {
18613 : _has_bits_[0] &= ~0x00000200u;
18614 : }
18615 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_custodian() {
18616 : installed_by_custodian_ = false;
18617 : clear_has_installed_by_custodian();
18618 : }
18619 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::installed_by_custodian() const {
18620 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_custodian)
18621 0 : return installed_by_custodian_;
18622 : }
18623 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_custodian(bool value) {
18624 0 : set_has_installed_by_custodian();
18625 0 : installed_by_custodian_ = value;
18626 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_custodian)
18627 0 : }
18628 :
18629 : // optional bool installed_by_default = 11;
18630 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_installed_by_default() const {
18631 0 : return (_has_bits_[0] & 0x00000400u) != 0;
18632 : }
18633 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_installed_by_default() {
18634 0 : _has_bits_[0] |= 0x00000400u;
18635 0 : }
18636 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_installed_by_default() {
18637 : _has_bits_[0] &= ~0x00000400u;
18638 : }
18639 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_default() {
18640 : installed_by_default_ = false;
18641 : clear_has_installed_by_default();
18642 : }
18643 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::installed_by_default() const {
18644 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_default)
18645 0 : return installed_by_default_;
18646 : }
18647 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_default(bool value) {
18648 0 : set_has_installed_by_default();
18649 0 : installed_by_default_ = value;
18650 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_default)
18651 0 : }
18652 :
18653 : // optional bool installed_by_oem = 12;
18654 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_installed_by_oem() const {
18655 0 : return (_has_bits_[0] & 0x00000800u) != 0;
18656 : }
18657 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_installed_by_oem() {
18658 0 : _has_bits_[0] |= 0x00000800u;
18659 0 : }
18660 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_installed_by_oem() {
18661 : _has_bits_[0] &= ~0x00000800u;
18662 : }
18663 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_oem() {
18664 : installed_by_oem_ = false;
18665 : clear_has_installed_by_oem();
18666 : }
18667 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::installed_by_oem() const {
18668 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_oem)
18669 0 : return installed_by_oem_;
18670 : }
18671 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_oem(bool value) {
18672 0 : set_has_installed_by_oem();
18673 0 : installed_by_oem_ = value;
18674 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_oem)
18675 0 : }
18676 :
18677 : // optional bool from_bookmark = 13;
18678 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_from_bookmark() const {
18679 0 : return (_has_bits_[0] & 0x00001000u) != 0;
18680 : }
18681 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_from_bookmark() {
18682 0 : _has_bits_[0] |= 0x00001000u;
18683 0 : }
18684 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_from_bookmark() {
18685 : _has_bits_[0] &= ~0x00001000u;
18686 : }
18687 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_from_bookmark() {
18688 : from_bookmark_ = false;
18689 : clear_has_from_bookmark();
18690 : }
18691 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::from_bookmark() const {
18692 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_bookmark)
18693 0 : return from_bookmark_;
18694 : }
18695 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_from_bookmark(bool value) {
18696 0 : set_has_from_bookmark();
18697 0 : from_bookmark_ = value;
18698 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_bookmark)
18699 0 : }
18700 :
18701 : // optional bool from_webstore = 14;
18702 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_from_webstore() const {
18703 0 : return (_has_bits_[0] & 0x00002000u) != 0;
18704 : }
18705 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_from_webstore() {
18706 0 : _has_bits_[0] |= 0x00002000u;
18707 0 : }
18708 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_from_webstore() {
18709 : _has_bits_[0] &= ~0x00002000u;
18710 : }
18711 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_from_webstore() {
18712 : from_webstore_ = false;
18713 : clear_has_from_webstore();
18714 : }
18715 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::from_webstore() const {
18716 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_webstore)
18717 0 : return from_webstore_;
18718 : }
18719 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_from_webstore(bool value) {
18720 0 : set_has_from_webstore();
18721 0 : from_webstore_ = value;
18722 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_webstore)
18723 0 : }
18724 :
18725 : // optional bool converted_from_user_script = 15;
18726 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_converted_from_user_script() const {
18727 0 : return (_has_bits_[0] & 0x00004000u) != 0;
18728 : }
18729 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_converted_from_user_script() {
18730 0 : _has_bits_[0] |= 0x00004000u;
18731 0 : }
18732 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_converted_from_user_script() {
18733 : _has_bits_[0] &= ~0x00004000u;
18734 : }
18735 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_converted_from_user_script() {
18736 : converted_from_user_script_ = false;
18737 : clear_has_converted_from_user_script();
18738 : }
18739 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::converted_from_user_script() const {
18740 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.converted_from_user_script)
18741 0 : return converted_from_user_script_;
18742 : }
18743 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_converted_from_user_script(bool value) {
18744 0 : set_has_converted_from_user_script();
18745 0 : converted_from_user_script_ = value;
18746 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.converted_from_user_script)
18747 0 : }
18748 :
18749 : // optional bool may_be_untrusted = 16;
18750 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_may_be_untrusted() const {
18751 0 : return (_has_bits_[0] & 0x00008000u) != 0;
18752 : }
18753 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_may_be_untrusted() {
18754 0 : _has_bits_[0] |= 0x00008000u;
18755 0 : }
18756 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_may_be_untrusted() {
18757 : _has_bits_[0] &= ~0x00008000u;
18758 : }
18759 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_may_be_untrusted() {
18760 : may_be_untrusted_ = false;
18761 : clear_has_may_be_untrusted();
18762 : }
18763 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::may_be_untrusted() const {
18764 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.may_be_untrusted)
18765 0 : return may_be_untrusted_;
18766 : }
18767 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_may_be_untrusted(bool value) {
18768 0 : set_has_may_be_untrusted();
18769 0 : may_be_untrusted_ = value;
18770 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.may_be_untrusted)
18771 0 : }
18772 :
18773 : // optional int64 install_time_msec = 17;
18774 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_install_time_msec() const {
18775 0 : return (_has_bits_[0] & 0x00010000u) != 0;
18776 : }
18777 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_install_time_msec() {
18778 0 : _has_bits_[0] |= 0x00010000u;
18779 0 : }
18780 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_install_time_msec() {
18781 : _has_bits_[0] &= ~0x00010000u;
18782 : }
18783 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_install_time_msec() {
18784 : install_time_msec_ = GOOGLE_LONGLONG(0);
18785 : clear_has_install_time_msec();
18786 : }
18787 0 : inline ::google::protobuf::int64 ClientIncidentReport_ExtensionData_ExtensionInfo::install_time_msec() const {
18788 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.install_time_msec)
18789 0 : return install_time_msec_;
18790 : }
18791 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_install_time_msec(::google::protobuf::int64 value) {
18792 0 : set_has_install_time_msec();
18793 0 : install_time_msec_ = value;
18794 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.install_time_msec)
18795 0 : }
18796 :
18797 : // optional int32 manifest_location_type = 18;
18798 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_manifest_location_type() const {
18799 0 : return (_has_bits_[0] & 0x00020000u) != 0;
18800 : }
18801 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_manifest_location_type() {
18802 0 : _has_bits_[0] |= 0x00020000u;
18803 0 : }
18804 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_manifest_location_type() {
18805 : _has_bits_[0] &= ~0x00020000u;
18806 : }
18807 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_manifest_location_type() {
18808 : manifest_location_type_ = 0;
18809 : clear_has_manifest_location_type();
18810 : }
18811 0 : inline ::google::protobuf::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::manifest_location_type() const {
18812 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest_location_type)
18813 0 : return manifest_location_type_;
18814 : }
18815 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest_location_type(::google::protobuf::int32 value) {
18816 0 : set_has_manifest_location_type();
18817 0 : manifest_location_type_ = value;
18818 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest_location_type)
18819 0 : }
18820 :
18821 : // optional string manifest = 19;
18822 0 : inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_manifest() const {
18823 0 : return (_has_bits_[0] & 0x00040000u) != 0;
18824 : }
18825 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_manifest() {
18826 0 : _has_bits_[0] |= 0x00040000u;
18827 0 : }
18828 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_manifest() {
18829 : _has_bits_[0] &= ~0x00040000u;
18830 : }
18831 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_manifest() {
18832 : if (manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18833 : manifest_->clear();
18834 : }
18835 : clear_has_manifest();
18836 : }
18837 0 : inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::manifest() const {
18838 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest)
18839 0 : return *manifest_;
18840 : }
18841 0 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const ::std::string& value) {
18842 0 : set_has_manifest();
18843 0 : if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18844 0 : manifest_ = new ::std::string;
18845 : }
18846 0 : manifest_->assign(value);
18847 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest)
18848 0 : }
18849 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const char* value) {
18850 : set_has_manifest();
18851 : if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18852 : manifest_ = new ::std::string;
18853 : }
18854 : manifest_->assign(value);
18855 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest)
18856 : }
18857 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const char* value, size_t size) {
18858 : set_has_manifest();
18859 : if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18860 : manifest_ = new ::std::string;
18861 : }
18862 : manifest_->assign(reinterpret_cast<const char*>(value), size);
18863 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest)
18864 : }
18865 0 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_manifest() {
18866 0 : set_has_manifest();
18867 0 : if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18868 0 : manifest_ = new ::std::string;
18869 : }
18870 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest)
18871 0 : return manifest_;
18872 : }
18873 : inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_manifest() {
18874 : clear_has_manifest();
18875 : if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18876 : return NULL;
18877 : } else {
18878 : ::std::string* temp = manifest_;
18879 : manifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18880 : return temp;
18881 : }
18882 : }
18883 : inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_manifest(::std::string* manifest) {
18884 : if (manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18885 : delete manifest_;
18886 : }
18887 : if (manifest) {
18888 : set_has_manifest();
18889 : manifest_ = manifest;
18890 : } else {
18891 : clear_has_manifest();
18892 : manifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18893 : }
18894 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest)
18895 : }
18896 :
18897 : // -------------------------------------------------------------------
18898 :
18899 : // ClientIncidentReport_ExtensionData
18900 :
18901 : // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo last_installed_extension = 1;
18902 0 : inline bool ClientIncidentReport_ExtensionData::has_last_installed_extension() const {
18903 0 : return (_has_bits_[0] & 0x00000001u) != 0;
18904 : }
18905 0 : inline void ClientIncidentReport_ExtensionData::set_has_last_installed_extension() {
18906 0 : _has_bits_[0] |= 0x00000001u;
18907 0 : }
18908 : inline void ClientIncidentReport_ExtensionData::clear_has_last_installed_extension() {
18909 : _has_bits_[0] &= ~0x00000001u;
18910 : }
18911 : inline void ClientIncidentReport_ExtensionData::clear_last_installed_extension() {
18912 : if (last_installed_extension_ != NULL) last_installed_extension_->::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo::Clear();
18913 : clear_has_last_installed_extension();
18914 : }
18915 0 : inline const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& ClientIncidentReport_ExtensionData::last_installed_extension() const {
18916 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension)
18917 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18918 0 : return last_installed_extension_ != NULL ? *last_installed_extension_ : *default_instance().last_installed_extension_;
18919 : #else
18920 : return last_installed_extension_ != NULL ? *last_installed_extension_ : *default_instance_->last_installed_extension_;
18921 : #endif
18922 : }
18923 0 : inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* ClientIncidentReport_ExtensionData::mutable_last_installed_extension() {
18924 0 : set_has_last_installed_extension();
18925 0 : if (last_installed_extension_ == NULL) last_installed_extension_ = new ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo;
18926 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension)
18927 0 : return last_installed_extension_;
18928 : }
18929 : inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* ClientIncidentReport_ExtensionData::release_last_installed_extension() {
18930 : clear_has_last_installed_extension();
18931 : ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* temp = last_installed_extension_;
18932 : last_installed_extension_ = NULL;
18933 : return temp;
18934 : }
18935 : inline void ClientIncidentReport_ExtensionData::set_allocated_last_installed_extension(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension) {
18936 : delete last_installed_extension_;
18937 : last_installed_extension_ = last_installed_extension;
18938 : if (last_installed_extension) {
18939 : set_has_last_installed_extension();
18940 : } else {
18941 : clear_has_last_installed_extension();
18942 : }
18943 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension)
18944 : }
18945 :
18946 : // -------------------------------------------------------------------
18947 :
18948 : // ClientIncidentReport_NonBinaryDownloadDetails
18949 :
18950 : // optional string file_type = 1;
18951 0 : inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_file_type() const {
18952 0 : return (_has_bits_[0] & 0x00000001u) != 0;
18953 : }
18954 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_file_type() {
18955 0 : _has_bits_[0] |= 0x00000001u;
18956 0 : }
18957 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_file_type() {
18958 : _has_bits_[0] &= ~0x00000001u;
18959 : }
18960 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_file_type() {
18961 : if (file_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18962 : file_type_->clear();
18963 : }
18964 : clear_has_file_type();
18965 : }
18966 0 : inline const ::std::string& ClientIncidentReport_NonBinaryDownloadDetails::file_type() const {
18967 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type)
18968 0 : return *file_type_;
18969 : }
18970 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const ::std::string& value) {
18971 0 : set_has_file_type();
18972 0 : if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18973 0 : file_type_ = new ::std::string;
18974 : }
18975 0 : file_type_->assign(value);
18976 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type)
18977 0 : }
18978 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const char* value) {
18979 : set_has_file_type();
18980 : if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18981 : file_type_ = new ::std::string;
18982 : }
18983 : file_type_->assign(value);
18984 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type)
18985 : }
18986 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const char* value, size_t size) {
18987 : set_has_file_type();
18988 : if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18989 : file_type_ = new ::std::string;
18990 : }
18991 : file_type_->assign(reinterpret_cast<const char*>(value), size);
18992 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type)
18993 : }
18994 0 : inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_file_type() {
18995 0 : set_has_file_type();
18996 0 : if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
18997 0 : file_type_ = new ::std::string;
18998 : }
18999 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type)
19000 0 : return file_type_;
19001 : }
19002 : inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_file_type() {
19003 : clear_has_file_type();
19004 : if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19005 : return NULL;
19006 : } else {
19007 : ::std::string* temp = file_type_;
19008 : file_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19009 : return temp;
19010 : }
19011 : }
19012 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_file_type(::std::string* file_type) {
19013 : if (file_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19014 : delete file_type_;
19015 : }
19016 : if (file_type) {
19017 : set_has_file_type();
19018 : file_type_ = file_type;
19019 : } else {
19020 : clear_has_file_type();
19021 : file_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19022 : }
19023 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type)
19024 : }
19025 :
19026 : // optional bytes url_spec_sha256 = 2;
19027 0 : inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_url_spec_sha256() const {
19028 0 : return (_has_bits_[0] & 0x00000002u) != 0;
19029 : }
19030 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_url_spec_sha256() {
19031 0 : _has_bits_[0] |= 0x00000002u;
19032 0 : }
19033 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_url_spec_sha256() {
19034 : _has_bits_[0] &= ~0x00000002u;
19035 : }
19036 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_url_spec_sha256() {
19037 : if (url_spec_sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19038 : url_spec_sha256_->clear();
19039 : }
19040 : clear_has_url_spec_sha256();
19041 : }
19042 0 : inline const ::std::string& ClientIncidentReport_NonBinaryDownloadDetails::url_spec_sha256() const {
19043 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256)
19044 0 : return *url_spec_sha256_;
19045 : }
19046 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const ::std::string& value) {
19047 0 : set_has_url_spec_sha256();
19048 0 : if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19049 0 : url_spec_sha256_ = new ::std::string;
19050 : }
19051 0 : url_spec_sha256_->assign(value);
19052 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256)
19053 0 : }
19054 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const char* value) {
19055 : set_has_url_spec_sha256();
19056 : if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19057 : url_spec_sha256_ = new ::std::string;
19058 : }
19059 : url_spec_sha256_->assign(value);
19060 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256)
19061 : }
19062 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const void* value, size_t size) {
19063 : set_has_url_spec_sha256();
19064 : if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19065 : url_spec_sha256_ = new ::std::string;
19066 : }
19067 : url_spec_sha256_->assign(reinterpret_cast<const char*>(value), size);
19068 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256)
19069 : }
19070 0 : inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_url_spec_sha256() {
19071 0 : set_has_url_spec_sha256();
19072 0 : if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19073 0 : url_spec_sha256_ = new ::std::string;
19074 : }
19075 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256)
19076 0 : return url_spec_sha256_;
19077 : }
19078 : inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_url_spec_sha256() {
19079 : clear_has_url_spec_sha256();
19080 : if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19081 : return NULL;
19082 : } else {
19083 : ::std::string* temp = url_spec_sha256_;
19084 : url_spec_sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19085 : return temp;
19086 : }
19087 : }
19088 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_url_spec_sha256(::std::string* url_spec_sha256) {
19089 : if (url_spec_sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19090 : delete url_spec_sha256_;
19091 : }
19092 : if (url_spec_sha256) {
19093 : set_has_url_spec_sha256();
19094 : url_spec_sha256_ = url_spec_sha256;
19095 : } else {
19096 : clear_has_url_spec_sha256();
19097 : url_spec_sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19098 : }
19099 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256)
19100 : }
19101 :
19102 : // optional string host = 3;
19103 0 : inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_host() const {
19104 0 : return (_has_bits_[0] & 0x00000004u) != 0;
19105 : }
19106 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_host() {
19107 0 : _has_bits_[0] |= 0x00000004u;
19108 0 : }
19109 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_host() {
19110 : _has_bits_[0] &= ~0x00000004u;
19111 : }
19112 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_host() {
19113 : if (host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19114 : host_->clear();
19115 : }
19116 : clear_has_host();
19117 : }
19118 0 : inline const ::std::string& ClientIncidentReport_NonBinaryDownloadDetails::host() const {
19119 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host)
19120 0 : return *host_;
19121 : }
19122 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const ::std::string& value) {
19123 0 : set_has_host();
19124 0 : if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19125 0 : host_ = new ::std::string;
19126 : }
19127 0 : host_->assign(value);
19128 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host)
19129 0 : }
19130 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const char* value) {
19131 : set_has_host();
19132 : if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19133 : host_ = new ::std::string;
19134 : }
19135 : host_->assign(value);
19136 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host)
19137 : }
19138 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const char* value, size_t size) {
19139 : set_has_host();
19140 : if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19141 : host_ = new ::std::string;
19142 : }
19143 : host_->assign(reinterpret_cast<const char*>(value), size);
19144 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host)
19145 : }
19146 0 : inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_host() {
19147 0 : set_has_host();
19148 0 : if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19149 0 : host_ = new ::std::string;
19150 : }
19151 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host)
19152 0 : return host_;
19153 : }
19154 : inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_host() {
19155 : clear_has_host();
19156 : if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19157 : return NULL;
19158 : } else {
19159 : ::std::string* temp = host_;
19160 : host_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19161 : return temp;
19162 : }
19163 : }
19164 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_host(::std::string* host) {
19165 : if (host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19166 : delete host_;
19167 : }
19168 : if (host) {
19169 : set_has_host();
19170 : host_ = host;
19171 : } else {
19172 : clear_has_host();
19173 : host_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19174 : }
19175 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host)
19176 : }
19177 :
19178 : // optional int64 length = 4;
19179 0 : inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_length() const {
19180 0 : return (_has_bits_[0] & 0x00000008u) != 0;
19181 : }
19182 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_length() {
19183 0 : _has_bits_[0] |= 0x00000008u;
19184 0 : }
19185 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_length() {
19186 : _has_bits_[0] &= ~0x00000008u;
19187 : }
19188 : inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_length() {
19189 : length_ = GOOGLE_LONGLONG(0);
19190 : clear_has_length();
19191 : }
19192 0 : inline ::google::protobuf::int64 ClientIncidentReport_NonBinaryDownloadDetails::length() const {
19193 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.length)
19194 0 : return length_;
19195 : }
19196 0 : inline void ClientIncidentReport_NonBinaryDownloadDetails::set_length(::google::protobuf::int64 value) {
19197 0 : set_has_length();
19198 0 : length_ = value;
19199 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.length)
19200 0 : }
19201 :
19202 : // -------------------------------------------------------------------
19203 :
19204 : // ClientIncidentReport
19205 :
19206 : // repeated .safe_browsing.ClientIncidentReport.IncidentData incident = 1;
19207 0 : inline int ClientIncidentReport::incident_size() const {
19208 0 : return incident_.size();
19209 : }
19210 : inline void ClientIncidentReport::clear_incident() {
19211 : incident_.Clear();
19212 : }
19213 0 : inline const ::safe_browsing::ClientIncidentReport_IncidentData& ClientIncidentReport::incident(int index) const {
19214 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.incident)
19215 0 : return incident_.Get(index);
19216 : }
19217 : inline ::safe_browsing::ClientIncidentReport_IncidentData* ClientIncidentReport::mutable_incident(int index) {
19218 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.incident)
19219 : return incident_.Mutable(index);
19220 : }
19221 0 : inline ::safe_browsing::ClientIncidentReport_IncidentData* ClientIncidentReport::add_incident() {
19222 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.incident)
19223 0 : return incident_.Add();
19224 : }
19225 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >&
19226 0 : ClientIncidentReport::incident() const {
19227 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.incident)
19228 0 : return incident_;
19229 : }
19230 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >*
19231 : ClientIncidentReport::mutable_incident() {
19232 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.incident)
19233 : return &incident_;
19234 : }
19235 :
19236 : // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2;
19237 0 : inline bool ClientIncidentReport::has_download() const {
19238 0 : return (_has_bits_[0] & 0x00000002u) != 0;
19239 : }
19240 0 : inline void ClientIncidentReport::set_has_download() {
19241 0 : _has_bits_[0] |= 0x00000002u;
19242 0 : }
19243 : inline void ClientIncidentReport::clear_has_download() {
19244 : _has_bits_[0] &= ~0x00000002u;
19245 : }
19246 : inline void ClientIncidentReport::clear_download() {
19247 : if (download_ != NULL) download_->::safe_browsing::ClientIncidentReport_DownloadDetails::Clear();
19248 : clear_has_download();
19249 : }
19250 0 : inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& ClientIncidentReport::download() const {
19251 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.download)
19252 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19253 0 : return download_ != NULL ? *download_ : *default_instance().download_;
19254 : #else
19255 : return download_ != NULL ? *download_ : *default_instance_->download_;
19256 : #endif
19257 : }
19258 0 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* ClientIncidentReport::mutable_download() {
19259 0 : set_has_download();
19260 0 : if (download_ == NULL) download_ = new ::safe_browsing::ClientIncidentReport_DownloadDetails;
19261 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.download)
19262 0 : return download_;
19263 : }
19264 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* ClientIncidentReport::release_download() {
19265 : clear_has_download();
19266 : ::safe_browsing::ClientIncidentReport_DownloadDetails* temp = download_;
19267 : download_ = NULL;
19268 : return temp;
19269 : }
19270 : inline void ClientIncidentReport::set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download) {
19271 : delete download_;
19272 : download_ = download;
19273 : if (download) {
19274 : set_has_download();
19275 : } else {
19276 : clear_has_download();
19277 : }
19278 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.download)
19279 : }
19280 :
19281 : // optional .safe_browsing.ClientIncidentReport.EnvironmentData environment = 3;
19282 0 : inline bool ClientIncidentReport::has_environment() const {
19283 0 : return (_has_bits_[0] & 0x00000004u) != 0;
19284 : }
19285 0 : inline void ClientIncidentReport::set_has_environment() {
19286 0 : _has_bits_[0] |= 0x00000004u;
19287 0 : }
19288 : inline void ClientIncidentReport::clear_has_environment() {
19289 : _has_bits_[0] &= ~0x00000004u;
19290 : }
19291 : inline void ClientIncidentReport::clear_environment() {
19292 : if (environment_ != NULL) environment_->::safe_browsing::ClientIncidentReport_EnvironmentData::Clear();
19293 : clear_has_environment();
19294 : }
19295 0 : inline const ::safe_browsing::ClientIncidentReport_EnvironmentData& ClientIncidentReport::environment() const {
19296 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.environment)
19297 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19298 0 : return environment_ != NULL ? *environment_ : *default_instance().environment_;
19299 : #else
19300 : return environment_ != NULL ? *environment_ : *default_instance_->environment_;
19301 : #endif
19302 : }
19303 0 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData* ClientIncidentReport::mutable_environment() {
19304 0 : set_has_environment();
19305 0 : if (environment_ == NULL) environment_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData;
19306 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.environment)
19307 0 : return environment_;
19308 : }
19309 : inline ::safe_browsing::ClientIncidentReport_EnvironmentData* ClientIncidentReport::release_environment() {
19310 : clear_has_environment();
19311 : ::safe_browsing::ClientIncidentReport_EnvironmentData* temp = environment_;
19312 : environment_ = NULL;
19313 : return temp;
19314 : }
19315 : inline void ClientIncidentReport::set_allocated_environment(::safe_browsing::ClientIncidentReport_EnvironmentData* environment) {
19316 : delete environment_;
19317 : environment_ = environment;
19318 : if (environment) {
19319 : set_has_environment();
19320 : } else {
19321 : clear_has_environment();
19322 : }
19323 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.environment)
19324 : }
19325 :
19326 : // optional .safe_browsing.ChromeUserPopulation population = 7;
19327 0 : inline bool ClientIncidentReport::has_population() const {
19328 0 : return (_has_bits_[0] & 0x00000008u) != 0;
19329 : }
19330 0 : inline void ClientIncidentReport::set_has_population() {
19331 0 : _has_bits_[0] |= 0x00000008u;
19332 0 : }
19333 : inline void ClientIncidentReport::clear_has_population() {
19334 : _has_bits_[0] &= ~0x00000008u;
19335 : }
19336 : inline void ClientIncidentReport::clear_population() {
19337 : if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear();
19338 : clear_has_population();
19339 : }
19340 0 : inline const ::safe_browsing::ChromeUserPopulation& ClientIncidentReport::population() const {
19341 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.population)
19342 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19343 0 : return population_ != NULL ? *population_ : *default_instance().population_;
19344 : #else
19345 : return population_ != NULL ? *population_ : *default_instance_->population_;
19346 : #endif
19347 : }
19348 0 : inline ::safe_browsing::ChromeUserPopulation* ClientIncidentReport::mutable_population() {
19349 0 : set_has_population();
19350 0 : if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation;
19351 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.population)
19352 0 : return population_;
19353 : }
19354 : inline ::safe_browsing::ChromeUserPopulation* ClientIncidentReport::release_population() {
19355 : clear_has_population();
19356 : ::safe_browsing::ChromeUserPopulation* temp = population_;
19357 : population_ = NULL;
19358 : return temp;
19359 : }
19360 : inline void ClientIncidentReport::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) {
19361 : delete population_;
19362 : population_ = population;
19363 : if (population) {
19364 : set_has_population();
19365 : } else {
19366 : clear_has_population();
19367 : }
19368 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.population)
19369 : }
19370 :
19371 : // optional .safe_browsing.ClientIncidentReport.ExtensionData extension_data = 8;
19372 0 : inline bool ClientIncidentReport::has_extension_data() const {
19373 0 : return (_has_bits_[0] & 0x00000010u) != 0;
19374 : }
19375 0 : inline void ClientIncidentReport::set_has_extension_data() {
19376 0 : _has_bits_[0] |= 0x00000010u;
19377 0 : }
19378 : inline void ClientIncidentReport::clear_has_extension_data() {
19379 : _has_bits_[0] &= ~0x00000010u;
19380 : }
19381 : inline void ClientIncidentReport::clear_extension_data() {
19382 : if (extension_data_ != NULL) extension_data_->::safe_browsing::ClientIncidentReport_ExtensionData::Clear();
19383 : clear_has_extension_data();
19384 : }
19385 0 : inline const ::safe_browsing::ClientIncidentReport_ExtensionData& ClientIncidentReport::extension_data() const {
19386 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.extension_data)
19387 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19388 0 : return extension_data_ != NULL ? *extension_data_ : *default_instance().extension_data_;
19389 : #else
19390 : return extension_data_ != NULL ? *extension_data_ : *default_instance_->extension_data_;
19391 : #endif
19392 : }
19393 0 : inline ::safe_browsing::ClientIncidentReport_ExtensionData* ClientIncidentReport::mutable_extension_data() {
19394 0 : set_has_extension_data();
19395 0 : if (extension_data_ == NULL) extension_data_ = new ::safe_browsing::ClientIncidentReport_ExtensionData;
19396 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.extension_data)
19397 0 : return extension_data_;
19398 : }
19399 : inline ::safe_browsing::ClientIncidentReport_ExtensionData* ClientIncidentReport::release_extension_data() {
19400 : clear_has_extension_data();
19401 : ::safe_browsing::ClientIncidentReport_ExtensionData* temp = extension_data_;
19402 : extension_data_ = NULL;
19403 : return temp;
19404 : }
19405 : inline void ClientIncidentReport::set_allocated_extension_data(::safe_browsing::ClientIncidentReport_ExtensionData* extension_data) {
19406 : delete extension_data_;
19407 : extension_data_ = extension_data;
19408 : if (extension_data) {
19409 : set_has_extension_data();
19410 : } else {
19411 : clear_has_extension_data();
19412 : }
19413 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.extension_data)
19414 : }
19415 :
19416 : // optional .safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails non_binary_download = 9;
19417 0 : inline bool ClientIncidentReport::has_non_binary_download() const {
19418 0 : return (_has_bits_[0] & 0x00000020u) != 0;
19419 : }
19420 0 : inline void ClientIncidentReport::set_has_non_binary_download() {
19421 0 : _has_bits_[0] |= 0x00000020u;
19422 0 : }
19423 : inline void ClientIncidentReport::clear_has_non_binary_download() {
19424 : _has_bits_[0] &= ~0x00000020u;
19425 : }
19426 : inline void ClientIncidentReport::clear_non_binary_download() {
19427 : if (non_binary_download_ != NULL) non_binary_download_->::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails::Clear();
19428 : clear_has_non_binary_download();
19429 : }
19430 0 : inline const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& ClientIncidentReport::non_binary_download() const {
19431 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.non_binary_download)
19432 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19433 0 : return non_binary_download_ != NULL ? *non_binary_download_ : *default_instance().non_binary_download_;
19434 : #else
19435 : return non_binary_download_ != NULL ? *non_binary_download_ : *default_instance_->non_binary_download_;
19436 : #endif
19437 : }
19438 0 : inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* ClientIncidentReport::mutable_non_binary_download() {
19439 0 : set_has_non_binary_download();
19440 0 : if (non_binary_download_ == NULL) non_binary_download_ = new ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails;
19441 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.non_binary_download)
19442 0 : return non_binary_download_;
19443 : }
19444 : inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* ClientIncidentReport::release_non_binary_download() {
19445 : clear_has_non_binary_download();
19446 : ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* temp = non_binary_download_;
19447 : non_binary_download_ = NULL;
19448 : return temp;
19449 : }
19450 : inline void ClientIncidentReport::set_allocated_non_binary_download(::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download) {
19451 : delete non_binary_download_;
19452 : non_binary_download_ = non_binary_download;
19453 : if (non_binary_download) {
19454 : set_has_non_binary_download();
19455 : } else {
19456 : clear_has_non_binary_download();
19457 : }
19458 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.non_binary_download)
19459 : }
19460 :
19461 : // -------------------------------------------------------------------
19462 :
19463 : // ClientIncidentResponse_EnvironmentRequest
19464 :
19465 : // optional int32 dll_index = 1;
19466 0 : inline bool ClientIncidentResponse_EnvironmentRequest::has_dll_index() const {
19467 0 : return (_has_bits_[0] & 0x00000001u) != 0;
19468 : }
19469 0 : inline void ClientIncidentResponse_EnvironmentRequest::set_has_dll_index() {
19470 0 : _has_bits_[0] |= 0x00000001u;
19471 0 : }
19472 : inline void ClientIncidentResponse_EnvironmentRequest::clear_has_dll_index() {
19473 : _has_bits_[0] &= ~0x00000001u;
19474 : }
19475 : inline void ClientIncidentResponse_EnvironmentRequest::clear_dll_index() {
19476 : dll_index_ = 0;
19477 : clear_has_dll_index();
19478 : }
19479 0 : inline ::google::protobuf::int32 ClientIncidentResponse_EnvironmentRequest::dll_index() const {
19480 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.EnvironmentRequest.dll_index)
19481 0 : return dll_index_;
19482 : }
19483 0 : inline void ClientIncidentResponse_EnvironmentRequest::set_dll_index(::google::protobuf::int32 value) {
19484 0 : set_has_dll_index();
19485 0 : dll_index_ = value;
19486 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.EnvironmentRequest.dll_index)
19487 0 : }
19488 :
19489 : // -------------------------------------------------------------------
19490 :
19491 : // ClientIncidentResponse
19492 :
19493 : // optional bytes token = 1;
19494 0 : inline bool ClientIncidentResponse::has_token() const {
19495 0 : return (_has_bits_[0] & 0x00000001u) != 0;
19496 : }
19497 0 : inline void ClientIncidentResponse::set_has_token() {
19498 0 : _has_bits_[0] |= 0x00000001u;
19499 0 : }
19500 : inline void ClientIncidentResponse::clear_has_token() {
19501 : _has_bits_[0] &= ~0x00000001u;
19502 : }
19503 : inline void ClientIncidentResponse::clear_token() {
19504 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19505 : token_->clear();
19506 : }
19507 : clear_has_token();
19508 : }
19509 0 : inline const ::std::string& ClientIncidentResponse::token() const {
19510 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.token)
19511 0 : return *token_;
19512 : }
19513 0 : inline void ClientIncidentResponse::set_token(const ::std::string& value) {
19514 0 : set_has_token();
19515 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19516 0 : token_ = new ::std::string;
19517 : }
19518 0 : token_->assign(value);
19519 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.token)
19520 0 : }
19521 : inline void ClientIncidentResponse::set_token(const char* value) {
19522 : set_has_token();
19523 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19524 : token_ = new ::std::string;
19525 : }
19526 : token_->assign(value);
19527 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentResponse.token)
19528 : }
19529 : inline void ClientIncidentResponse::set_token(const void* value, size_t size) {
19530 : set_has_token();
19531 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19532 : token_ = new ::std::string;
19533 : }
19534 : token_->assign(reinterpret_cast<const char*>(value), size);
19535 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentResponse.token)
19536 : }
19537 0 : inline ::std::string* ClientIncidentResponse::mutable_token() {
19538 0 : set_has_token();
19539 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19540 0 : token_ = new ::std::string;
19541 : }
19542 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentResponse.token)
19543 0 : return token_;
19544 : }
19545 : inline ::std::string* ClientIncidentResponse::release_token() {
19546 : clear_has_token();
19547 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19548 : return NULL;
19549 : } else {
19550 : ::std::string* temp = token_;
19551 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19552 : return temp;
19553 : }
19554 : }
19555 : inline void ClientIncidentResponse::set_allocated_token(::std::string* token) {
19556 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19557 : delete token_;
19558 : }
19559 : if (token) {
19560 : set_has_token();
19561 : token_ = token;
19562 : } else {
19563 : clear_has_token();
19564 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19565 : }
19566 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentResponse.token)
19567 : }
19568 :
19569 : // optional bool download_requested = 2;
19570 0 : inline bool ClientIncidentResponse::has_download_requested() const {
19571 0 : return (_has_bits_[0] & 0x00000002u) != 0;
19572 : }
19573 0 : inline void ClientIncidentResponse::set_has_download_requested() {
19574 0 : _has_bits_[0] |= 0x00000002u;
19575 0 : }
19576 : inline void ClientIncidentResponse::clear_has_download_requested() {
19577 : _has_bits_[0] &= ~0x00000002u;
19578 : }
19579 : inline void ClientIncidentResponse::clear_download_requested() {
19580 : download_requested_ = false;
19581 : clear_has_download_requested();
19582 : }
19583 0 : inline bool ClientIncidentResponse::download_requested() const {
19584 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.download_requested)
19585 0 : return download_requested_;
19586 : }
19587 0 : inline void ClientIncidentResponse::set_download_requested(bool value) {
19588 0 : set_has_download_requested();
19589 0 : download_requested_ = value;
19590 : // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.download_requested)
19591 0 : }
19592 :
19593 : // repeated .safe_browsing.ClientIncidentResponse.EnvironmentRequest environment_requests = 3;
19594 0 : inline int ClientIncidentResponse::environment_requests_size() const {
19595 0 : return environment_requests_.size();
19596 : }
19597 : inline void ClientIncidentResponse::clear_environment_requests() {
19598 : environment_requests_.Clear();
19599 : }
19600 0 : inline const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& ClientIncidentResponse::environment_requests(int index) const {
19601 : // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.environment_requests)
19602 0 : return environment_requests_.Get(index);
19603 : }
19604 : inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* ClientIncidentResponse::mutable_environment_requests(int index) {
19605 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentResponse.environment_requests)
19606 : return environment_requests_.Mutable(index);
19607 : }
19608 0 : inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* ClientIncidentResponse::add_environment_requests() {
19609 : // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentResponse.environment_requests)
19610 0 : return environment_requests_.Add();
19611 : }
19612 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >&
19613 : ClientIncidentResponse::environment_requests() const {
19614 : // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentResponse.environment_requests)
19615 : return environment_requests_;
19616 : }
19617 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >*
19618 : ClientIncidentResponse::mutable_environment_requests() {
19619 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentResponse.environment_requests)
19620 : return &environment_requests_;
19621 : }
19622 :
19623 : // -------------------------------------------------------------------
19624 :
19625 : // DownloadMetadata
19626 :
19627 : // optional uint32 download_id = 1;
19628 0 : inline bool DownloadMetadata::has_download_id() const {
19629 0 : return (_has_bits_[0] & 0x00000001u) != 0;
19630 : }
19631 0 : inline void DownloadMetadata::set_has_download_id() {
19632 0 : _has_bits_[0] |= 0x00000001u;
19633 0 : }
19634 : inline void DownloadMetadata::clear_has_download_id() {
19635 : _has_bits_[0] &= ~0x00000001u;
19636 : }
19637 : inline void DownloadMetadata::clear_download_id() {
19638 : download_id_ = 0u;
19639 : clear_has_download_id();
19640 : }
19641 0 : inline ::google::protobuf::uint32 DownloadMetadata::download_id() const {
19642 : // @@protoc_insertion_point(field_get:safe_browsing.DownloadMetadata.download_id)
19643 0 : return download_id_;
19644 : }
19645 0 : inline void DownloadMetadata::set_download_id(::google::protobuf::uint32 value) {
19646 0 : set_has_download_id();
19647 0 : download_id_ = value;
19648 : // @@protoc_insertion_point(field_set:safe_browsing.DownloadMetadata.download_id)
19649 0 : }
19650 :
19651 : // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2;
19652 0 : inline bool DownloadMetadata::has_download() const {
19653 0 : return (_has_bits_[0] & 0x00000002u) != 0;
19654 : }
19655 0 : inline void DownloadMetadata::set_has_download() {
19656 0 : _has_bits_[0] |= 0x00000002u;
19657 0 : }
19658 : inline void DownloadMetadata::clear_has_download() {
19659 : _has_bits_[0] &= ~0x00000002u;
19660 : }
19661 : inline void DownloadMetadata::clear_download() {
19662 : if (download_ != NULL) download_->::safe_browsing::ClientIncidentReport_DownloadDetails::Clear();
19663 : clear_has_download();
19664 : }
19665 0 : inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& DownloadMetadata::download() const {
19666 : // @@protoc_insertion_point(field_get:safe_browsing.DownloadMetadata.download)
19667 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19668 0 : return download_ != NULL ? *download_ : *default_instance().download_;
19669 : #else
19670 : return download_ != NULL ? *download_ : *default_instance_->download_;
19671 : #endif
19672 : }
19673 0 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* DownloadMetadata::mutable_download() {
19674 0 : set_has_download();
19675 0 : if (download_ == NULL) download_ = new ::safe_browsing::ClientIncidentReport_DownloadDetails;
19676 : // @@protoc_insertion_point(field_mutable:safe_browsing.DownloadMetadata.download)
19677 0 : return download_;
19678 : }
19679 : inline ::safe_browsing::ClientIncidentReport_DownloadDetails* DownloadMetadata::release_download() {
19680 : clear_has_download();
19681 : ::safe_browsing::ClientIncidentReport_DownloadDetails* temp = download_;
19682 : download_ = NULL;
19683 : return temp;
19684 : }
19685 : inline void DownloadMetadata::set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download) {
19686 : delete download_;
19687 : download_ = download;
19688 : if (download) {
19689 : set_has_download();
19690 : } else {
19691 : clear_has_download();
19692 : }
19693 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.DownloadMetadata.download)
19694 : }
19695 :
19696 : // -------------------------------------------------------------------
19697 :
19698 : // ClientSafeBrowsingReportRequest_HTTPHeader
19699 :
19700 : // required bytes name = 1;
19701 0 : inline bool ClientSafeBrowsingReportRequest_HTTPHeader::has_name() const {
19702 0 : return (_has_bits_[0] & 0x00000001u) != 0;
19703 : }
19704 0 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_has_name() {
19705 0 : _has_bits_[0] |= 0x00000001u;
19706 0 : }
19707 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_has_name() {
19708 : _has_bits_[0] &= ~0x00000001u;
19709 : }
19710 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_name() {
19711 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19712 : name_->clear();
19713 : }
19714 : clear_has_name();
19715 : }
19716 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPHeader::name() const {
19717 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name)
19718 0 : return *name_;
19719 : }
19720 0 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const ::std::string& value) {
19721 0 : set_has_name();
19722 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19723 0 : name_ = new ::std::string;
19724 : }
19725 0 : name_->assign(value);
19726 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name)
19727 0 : }
19728 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const char* value) {
19729 : set_has_name();
19730 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19731 : name_ = new ::std::string;
19732 : }
19733 : name_->assign(value);
19734 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name)
19735 : }
19736 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const void* value, size_t size) {
19737 : set_has_name();
19738 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19739 : name_ = new ::std::string;
19740 : }
19741 : name_->assign(reinterpret_cast<const char*>(value), size);
19742 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name)
19743 : }
19744 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::mutable_name() {
19745 0 : set_has_name();
19746 0 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19747 0 : name_ = new ::std::string;
19748 : }
19749 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name)
19750 0 : return name_;
19751 : }
19752 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::release_name() {
19753 : clear_has_name();
19754 : if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19755 : return NULL;
19756 : } else {
19757 : ::std::string* temp = name_;
19758 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19759 : return temp;
19760 : }
19761 : }
19762 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_allocated_name(::std::string* name) {
19763 : if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19764 : delete name_;
19765 : }
19766 : if (name) {
19767 : set_has_name();
19768 : name_ = name;
19769 : } else {
19770 : clear_has_name();
19771 : name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19772 : }
19773 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name)
19774 : }
19775 :
19776 : // optional bytes value = 2;
19777 0 : inline bool ClientSafeBrowsingReportRequest_HTTPHeader::has_value() const {
19778 0 : return (_has_bits_[0] & 0x00000002u) != 0;
19779 : }
19780 0 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_has_value() {
19781 0 : _has_bits_[0] |= 0x00000002u;
19782 0 : }
19783 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_has_value() {
19784 : _has_bits_[0] &= ~0x00000002u;
19785 : }
19786 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_value() {
19787 : if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19788 : value_->clear();
19789 : }
19790 : clear_has_value();
19791 : }
19792 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPHeader::value() const {
19793 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value)
19794 0 : return *value_;
19795 : }
19796 0 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const ::std::string& value) {
19797 0 : set_has_value();
19798 0 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19799 0 : value_ = new ::std::string;
19800 : }
19801 0 : value_->assign(value);
19802 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value)
19803 0 : }
19804 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const char* value) {
19805 : set_has_value();
19806 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19807 : value_ = new ::std::string;
19808 : }
19809 : value_->assign(value);
19810 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value)
19811 : }
19812 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const void* value, size_t size) {
19813 : set_has_value();
19814 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19815 : value_ = new ::std::string;
19816 : }
19817 : value_->assign(reinterpret_cast<const char*>(value), size);
19818 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value)
19819 : }
19820 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::mutable_value() {
19821 0 : set_has_value();
19822 0 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19823 0 : value_ = new ::std::string;
19824 : }
19825 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value)
19826 0 : return value_;
19827 : }
19828 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::release_value() {
19829 : clear_has_value();
19830 : if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19831 : return NULL;
19832 : } else {
19833 : ::std::string* temp = value_;
19834 : value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19835 : return temp;
19836 : }
19837 : }
19838 : inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_allocated_value(::std::string* value) {
19839 : if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19840 : delete value_;
19841 : }
19842 : if (value) {
19843 : set_has_value();
19844 : value_ = value;
19845 : } else {
19846 : clear_has_value();
19847 : value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19848 : }
19849 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value)
19850 : }
19851 :
19852 : // -------------------------------------------------------------------
19853 :
19854 : // ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine
19855 :
19856 : // optional bytes verb = 1;
19857 0 : inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_verb() const {
19858 0 : return (_has_bits_[0] & 0x00000001u) != 0;
19859 : }
19860 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_has_verb() {
19861 0 : _has_bits_[0] |= 0x00000001u;
19862 0 : }
19863 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_has_verb() {
19864 : _has_bits_[0] &= ~0x00000001u;
19865 : }
19866 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_verb() {
19867 : if (verb_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19868 : verb_->clear();
19869 : }
19870 : clear_has_verb();
19871 : }
19872 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::verb() const {
19873 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb)
19874 0 : return *verb_;
19875 : }
19876 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const ::std::string& value) {
19877 0 : set_has_verb();
19878 0 : if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19879 0 : verb_ = new ::std::string;
19880 : }
19881 0 : verb_->assign(value);
19882 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb)
19883 0 : }
19884 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const char* value) {
19885 : set_has_verb();
19886 : if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19887 : verb_ = new ::std::string;
19888 : }
19889 : verb_->assign(value);
19890 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb)
19891 : }
19892 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const void* value, size_t size) {
19893 : set_has_verb();
19894 : if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19895 : verb_ = new ::std::string;
19896 : }
19897 : verb_->assign(reinterpret_cast<const char*>(value), size);
19898 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb)
19899 : }
19900 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_verb() {
19901 0 : set_has_verb();
19902 0 : if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19903 0 : verb_ = new ::std::string;
19904 : }
19905 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb)
19906 0 : return verb_;
19907 : }
19908 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_verb() {
19909 : clear_has_verb();
19910 : if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19911 : return NULL;
19912 : } else {
19913 : ::std::string* temp = verb_;
19914 : verb_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19915 : return temp;
19916 : }
19917 : }
19918 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_verb(::std::string* verb) {
19919 : if (verb_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19920 : delete verb_;
19921 : }
19922 : if (verb) {
19923 : set_has_verb();
19924 : verb_ = verb;
19925 : } else {
19926 : clear_has_verb();
19927 : verb_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19928 : }
19929 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb)
19930 : }
19931 :
19932 : // optional bytes uri = 2;
19933 0 : inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_uri() const {
19934 0 : return (_has_bits_[0] & 0x00000002u) != 0;
19935 : }
19936 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_has_uri() {
19937 0 : _has_bits_[0] |= 0x00000002u;
19938 0 : }
19939 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_has_uri() {
19940 : _has_bits_[0] &= ~0x00000002u;
19941 : }
19942 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_uri() {
19943 : if (uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19944 : uri_->clear();
19945 : }
19946 : clear_has_uri();
19947 : }
19948 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::uri() const {
19949 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri)
19950 0 : return *uri_;
19951 : }
19952 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const ::std::string& value) {
19953 0 : set_has_uri();
19954 0 : if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19955 0 : uri_ = new ::std::string;
19956 : }
19957 0 : uri_->assign(value);
19958 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri)
19959 0 : }
19960 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const char* value) {
19961 : set_has_uri();
19962 : if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19963 : uri_ = new ::std::string;
19964 : }
19965 : uri_->assign(value);
19966 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri)
19967 : }
19968 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const void* value, size_t size) {
19969 : set_has_uri();
19970 : if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19971 : uri_ = new ::std::string;
19972 : }
19973 : uri_->assign(reinterpret_cast<const char*>(value), size);
19974 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri)
19975 : }
19976 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_uri() {
19977 0 : set_has_uri();
19978 0 : if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19979 0 : uri_ = new ::std::string;
19980 : }
19981 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri)
19982 0 : return uri_;
19983 : }
19984 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_uri() {
19985 : clear_has_uri();
19986 : if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19987 : return NULL;
19988 : } else {
19989 : ::std::string* temp = uri_;
19990 : uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
19991 : return temp;
19992 : }
19993 : }
19994 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_uri(::std::string* uri) {
19995 : if (uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
19996 : delete uri_;
19997 : }
19998 : if (uri) {
19999 : set_has_uri();
20000 : uri_ = uri;
20001 : } else {
20002 : clear_has_uri();
20003 : uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20004 : }
20005 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri)
20006 : }
20007 :
20008 : // optional bytes version = 3;
20009 0 : inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_version() const {
20010 0 : return (_has_bits_[0] & 0x00000004u) != 0;
20011 : }
20012 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_has_version() {
20013 0 : _has_bits_[0] |= 0x00000004u;
20014 0 : }
20015 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_has_version() {
20016 : _has_bits_[0] &= ~0x00000004u;
20017 : }
20018 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_version() {
20019 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20020 : version_->clear();
20021 : }
20022 : clear_has_version();
20023 : }
20024 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::version() const {
20025 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version)
20026 0 : return *version_;
20027 : }
20028 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const ::std::string& value) {
20029 0 : set_has_version();
20030 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20031 0 : version_ = new ::std::string;
20032 : }
20033 0 : version_->assign(value);
20034 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version)
20035 0 : }
20036 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const char* value) {
20037 : set_has_version();
20038 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20039 : version_ = new ::std::string;
20040 : }
20041 : version_->assign(value);
20042 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version)
20043 : }
20044 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const void* value, size_t size) {
20045 : set_has_version();
20046 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20047 : version_ = new ::std::string;
20048 : }
20049 : version_->assign(reinterpret_cast<const char*>(value), size);
20050 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version)
20051 : }
20052 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_version() {
20053 0 : set_has_version();
20054 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20055 0 : version_ = new ::std::string;
20056 : }
20057 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version)
20058 0 : return version_;
20059 : }
20060 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_version() {
20061 : clear_has_version();
20062 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20063 : return NULL;
20064 : } else {
20065 : ::std::string* temp = version_;
20066 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20067 : return temp;
20068 : }
20069 : }
20070 : inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_version(::std::string* version) {
20071 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20072 : delete version_;
20073 : }
20074 : if (version) {
20075 : set_has_version();
20076 : version_ = version;
20077 : } else {
20078 : clear_has_version();
20079 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20080 : }
20081 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version)
20082 : }
20083 :
20084 : // -------------------------------------------------------------------
20085 :
20086 : // ClientSafeBrowsingReportRequest_HTTPRequest
20087 :
20088 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine firstline = 1;
20089 0 : inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_firstline() const {
20090 0 : return (_has_bits_[0] & 0x00000001u) != 0;
20091 : }
20092 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_firstline() {
20093 0 : _has_bits_[0] |= 0x00000001u;
20094 0 : }
20095 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_firstline() {
20096 : _has_bits_[0] &= ~0x00000001u;
20097 : }
20098 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_firstline() {
20099 : if (firstline_ != NULL) firstline_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::Clear();
20100 : clear_has_firstline();
20101 : }
20102 0 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& ClientSafeBrowsingReportRequest_HTTPRequest::firstline() const {
20103 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline)
20104 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
20105 0 : return firstline_ != NULL ? *firstline_ : *default_instance().firstline_;
20106 : #else
20107 : return firstline_ != NULL ? *firstline_ : *default_instance_->firstline_;
20108 : #endif
20109 : }
20110 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_firstline() {
20111 0 : set_has_firstline();
20112 0 : if (firstline_ == NULL) firstline_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine;
20113 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline)
20114 0 : return firstline_;
20115 : }
20116 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* ClientSafeBrowsingReportRequest_HTTPRequest::release_firstline() {
20117 : clear_has_firstline();
20118 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* temp = firstline_;
20119 : firstline_ = NULL;
20120 : return temp;
20121 : }
20122 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline) {
20123 : delete firstline_;
20124 : firstline_ = firstline;
20125 : if (firstline) {
20126 : set_has_firstline();
20127 : } else {
20128 : clear_has_firstline();
20129 : }
20130 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline)
20131 : }
20132 :
20133 : // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2;
20134 0 : inline int ClientSafeBrowsingReportRequest_HTTPRequest::headers_size() const {
20135 0 : return headers_.size();
20136 : }
20137 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_headers() {
20138 : headers_.Clear();
20139 : }
20140 0 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPRequest::headers(int index) const {
20141 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers)
20142 0 : return headers_.Get(index);
20143 : }
20144 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_headers(int index) {
20145 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers)
20146 : return headers_.Mutable(index);
20147 : }
20148 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPRequest::add_headers() {
20149 : // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers)
20150 0 : return headers_.Add();
20151 : }
20152 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >&
20153 0 : ClientSafeBrowsingReportRequest_HTTPRequest::headers() const {
20154 : // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers)
20155 0 : return headers_;
20156 : }
20157 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >*
20158 : ClientSafeBrowsingReportRequest_HTTPRequest::mutable_headers() {
20159 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers)
20160 : return &headers_;
20161 : }
20162 :
20163 : // optional bytes body = 3;
20164 0 : inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_body() const {
20165 0 : return (_has_bits_[0] & 0x00000004u) != 0;
20166 : }
20167 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_body() {
20168 0 : _has_bits_[0] |= 0x00000004u;
20169 0 : }
20170 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_body() {
20171 : _has_bits_[0] &= ~0x00000004u;
20172 : }
20173 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_body() {
20174 : if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20175 : body_->clear();
20176 : }
20177 : clear_has_body();
20178 : }
20179 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest::body() const {
20180 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body)
20181 0 : return *body_;
20182 : }
20183 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const ::std::string& value) {
20184 0 : set_has_body();
20185 0 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20186 0 : body_ = new ::std::string;
20187 : }
20188 0 : body_->assign(value);
20189 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body)
20190 0 : }
20191 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const char* value) {
20192 : set_has_body();
20193 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20194 : body_ = new ::std::string;
20195 : }
20196 : body_->assign(value);
20197 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body)
20198 : }
20199 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const void* value, size_t size) {
20200 : set_has_body();
20201 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20202 : body_ = new ::std::string;
20203 : }
20204 : body_->assign(reinterpret_cast<const char*>(value), size);
20205 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body)
20206 : }
20207 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_body() {
20208 0 : set_has_body();
20209 0 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20210 0 : body_ = new ::std::string;
20211 : }
20212 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body)
20213 0 : return body_;
20214 : }
20215 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::release_body() {
20216 : clear_has_body();
20217 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20218 : return NULL;
20219 : } else {
20220 : ::std::string* temp = body_;
20221 : body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20222 : return temp;
20223 : }
20224 : }
20225 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_body(::std::string* body) {
20226 : if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20227 : delete body_;
20228 : }
20229 : if (body) {
20230 : set_has_body();
20231 : body_ = body;
20232 : } else {
20233 : clear_has_body();
20234 : body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20235 : }
20236 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body)
20237 : }
20238 :
20239 : // optional bytes bodydigest = 4;
20240 0 : inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_bodydigest() const {
20241 0 : return (_has_bits_[0] & 0x00000008u) != 0;
20242 : }
20243 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_bodydigest() {
20244 0 : _has_bits_[0] |= 0x00000008u;
20245 0 : }
20246 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_bodydigest() {
20247 : _has_bits_[0] &= ~0x00000008u;
20248 : }
20249 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_bodydigest() {
20250 : if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20251 : bodydigest_->clear();
20252 : }
20253 : clear_has_bodydigest();
20254 : }
20255 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest::bodydigest() const {
20256 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest)
20257 0 : return *bodydigest_;
20258 : }
20259 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const ::std::string& value) {
20260 0 : set_has_bodydigest();
20261 0 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20262 0 : bodydigest_ = new ::std::string;
20263 : }
20264 0 : bodydigest_->assign(value);
20265 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest)
20266 0 : }
20267 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const char* value) {
20268 : set_has_bodydigest();
20269 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20270 : bodydigest_ = new ::std::string;
20271 : }
20272 : bodydigest_->assign(value);
20273 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest)
20274 : }
20275 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const void* value, size_t size) {
20276 : set_has_bodydigest();
20277 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20278 : bodydigest_ = new ::std::string;
20279 : }
20280 : bodydigest_->assign(reinterpret_cast<const char*>(value), size);
20281 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest)
20282 : }
20283 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_bodydigest() {
20284 0 : set_has_bodydigest();
20285 0 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20286 0 : bodydigest_ = new ::std::string;
20287 : }
20288 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest)
20289 0 : return bodydigest_;
20290 : }
20291 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::release_bodydigest() {
20292 : clear_has_bodydigest();
20293 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20294 : return NULL;
20295 : } else {
20296 : ::std::string* temp = bodydigest_;
20297 : bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20298 : return temp;
20299 : }
20300 : }
20301 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_bodydigest(::std::string* bodydigest) {
20302 : if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20303 : delete bodydigest_;
20304 : }
20305 : if (bodydigest) {
20306 : set_has_bodydigest();
20307 : bodydigest_ = bodydigest;
20308 : } else {
20309 : clear_has_bodydigest();
20310 : bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20311 : }
20312 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest)
20313 : }
20314 :
20315 : // optional int32 bodylength = 5;
20316 0 : inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_bodylength() const {
20317 0 : return (_has_bits_[0] & 0x00000010u) != 0;
20318 : }
20319 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_bodylength() {
20320 0 : _has_bits_[0] |= 0x00000010u;
20321 0 : }
20322 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_bodylength() {
20323 : _has_bits_[0] &= ~0x00000010u;
20324 : }
20325 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_bodylength() {
20326 : bodylength_ = 0;
20327 : clear_has_bodylength();
20328 : }
20329 0 : inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_HTTPRequest::bodylength() const {
20330 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodylength)
20331 0 : return bodylength_;
20332 : }
20333 0 : inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodylength(::google::protobuf::int32 value) {
20334 0 : set_has_bodylength();
20335 0 : bodylength_ = value;
20336 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodylength)
20337 0 : }
20338 :
20339 : // -------------------------------------------------------------------
20340 :
20341 : // ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine
20342 :
20343 : // optional int32 code = 1;
20344 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_code() const {
20345 0 : return (_has_bits_[0] & 0x00000001u) != 0;
20346 : }
20347 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_has_code() {
20348 0 : _has_bits_[0] |= 0x00000001u;
20349 0 : }
20350 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_has_code() {
20351 : _has_bits_[0] &= ~0x00000001u;
20352 : }
20353 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_code() {
20354 : code_ = 0;
20355 : clear_has_code();
20356 : }
20357 0 : inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::code() const {
20358 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.code)
20359 0 : return code_;
20360 : }
20361 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_code(::google::protobuf::int32 value) {
20362 0 : set_has_code();
20363 0 : code_ = value;
20364 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.code)
20365 0 : }
20366 :
20367 : // optional bytes reason = 2;
20368 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_reason() const {
20369 0 : return (_has_bits_[0] & 0x00000002u) != 0;
20370 : }
20371 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_has_reason() {
20372 0 : _has_bits_[0] |= 0x00000002u;
20373 0 : }
20374 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_has_reason() {
20375 : _has_bits_[0] &= ~0x00000002u;
20376 : }
20377 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_reason() {
20378 : if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20379 : reason_->clear();
20380 : }
20381 : clear_has_reason();
20382 : }
20383 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::reason() const {
20384 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason)
20385 0 : return *reason_;
20386 : }
20387 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_reason(const ::std::string& value) {
20388 0 : set_has_reason();
20389 0 : if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20390 0 : reason_ = new ::std::string;
20391 : }
20392 0 : reason_->assign(value);
20393 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason)
20394 0 : }
20395 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_reason(const char* value) {
20396 : set_has_reason();
20397 : if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20398 : reason_ = new ::std::string;
20399 : }
20400 : reason_->assign(value);
20401 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason)
20402 : }
20403 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_reason(const void* value, size_t size) {
20404 : set_has_reason();
20405 : if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20406 : reason_ = new ::std::string;
20407 : }
20408 : reason_->assign(reinterpret_cast<const char*>(value), size);
20409 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason)
20410 : }
20411 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::mutable_reason() {
20412 0 : set_has_reason();
20413 0 : if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20414 0 : reason_ = new ::std::string;
20415 : }
20416 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason)
20417 0 : return reason_;
20418 : }
20419 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::release_reason() {
20420 : clear_has_reason();
20421 : if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20422 : return NULL;
20423 : } else {
20424 : ::std::string* temp = reason_;
20425 : reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20426 : return temp;
20427 : }
20428 : }
20429 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_allocated_reason(::std::string* reason) {
20430 : if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20431 : delete reason_;
20432 : }
20433 : if (reason) {
20434 : set_has_reason();
20435 : reason_ = reason;
20436 : } else {
20437 : clear_has_reason();
20438 : reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20439 : }
20440 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason)
20441 : }
20442 :
20443 : // optional bytes version = 3;
20444 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_version() const {
20445 0 : return (_has_bits_[0] & 0x00000004u) != 0;
20446 : }
20447 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_has_version() {
20448 0 : _has_bits_[0] |= 0x00000004u;
20449 0 : }
20450 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_has_version() {
20451 : _has_bits_[0] &= ~0x00000004u;
20452 : }
20453 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_version() {
20454 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20455 : version_->clear();
20456 : }
20457 : clear_has_version();
20458 : }
20459 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::version() const {
20460 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version)
20461 0 : return *version_;
20462 : }
20463 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const ::std::string& value) {
20464 0 : set_has_version();
20465 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20466 0 : version_ = new ::std::string;
20467 : }
20468 0 : version_->assign(value);
20469 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version)
20470 0 : }
20471 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const char* value) {
20472 : set_has_version();
20473 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20474 : version_ = new ::std::string;
20475 : }
20476 : version_->assign(value);
20477 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version)
20478 : }
20479 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const void* value, size_t size) {
20480 : set_has_version();
20481 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20482 : version_ = new ::std::string;
20483 : }
20484 : version_->assign(reinterpret_cast<const char*>(value), size);
20485 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version)
20486 : }
20487 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::mutable_version() {
20488 0 : set_has_version();
20489 0 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20490 0 : version_ = new ::std::string;
20491 : }
20492 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version)
20493 0 : return version_;
20494 : }
20495 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::release_version() {
20496 : clear_has_version();
20497 : if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20498 : return NULL;
20499 : } else {
20500 : ::std::string* temp = version_;
20501 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20502 : return temp;
20503 : }
20504 : }
20505 : inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_allocated_version(::std::string* version) {
20506 : if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20507 : delete version_;
20508 : }
20509 : if (version) {
20510 : set_has_version();
20511 : version_ = version;
20512 : } else {
20513 : clear_has_version();
20514 : version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20515 : }
20516 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version)
20517 : }
20518 :
20519 : // -------------------------------------------------------------------
20520 :
20521 : // ClientSafeBrowsingReportRequest_HTTPResponse
20522 :
20523 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine firstline = 1;
20524 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_firstline() const {
20525 0 : return (_has_bits_[0] & 0x00000001u) != 0;
20526 : }
20527 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_firstline() {
20528 0 : _has_bits_[0] |= 0x00000001u;
20529 0 : }
20530 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_firstline() {
20531 : _has_bits_[0] &= ~0x00000001u;
20532 : }
20533 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_firstline() {
20534 : if (firstline_ != NULL) firstline_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::Clear();
20535 : clear_has_firstline();
20536 : }
20537 0 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& ClientSafeBrowsingReportRequest_HTTPResponse::firstline() const {
20538 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline)
20539 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
20540 0 : return firstline_ != NULL ? *firstline_ : *default_instance().firstline_;
20541 : #else
20542 : return firstline_ != NULL ? *firstline_ : *default_instance_->firstline_;
20543 : #endif
20544 : }
20545 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_firstline() {
20546 0 : set_has_firstline();
20547 0 : if (firstline_ == NULL) firstline_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine;
20548 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline)
20549 0 : return firstline_;
20550 : }
20551 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* ClientSafeBrowsingReportRequest_HTTPResponse::release_firstline() {
20552 : clear_has_firstline();
20553 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* temp = firstline_;
20554 : firstline_ = NULL;
20555 : return temp;
20556 : }
20557 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline) {
20558 : delete firstline_;
20559 : firstline_ = firstline;
20560 : if (firstline) {
20561 : set_has_firstline();
20562 : } else {
20563 : clear_has_firstline();
20564 : }
20565 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline)
20566 : }
20567 :
20568 : // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2;
20569 0 : inline int ClientSafeBrowsingReportRequest_HTTPResponse::headers_size() const {
20570 0 : return headers_.size();
20571 : }
20572 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_headers() {
20573 : headers_.Clear();
20574 : }
20575 0 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPResponse::headers(int index) const {
20576 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers)
20577 0 : return headers_.Get(index);
20578 : }
20579 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_headers(int index) {
20580 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers)
20581 : return headers_.Mutable(index);
20582 : }
20583 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPResponse::add_headers() {
20584 : // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers)
20585 0 : return headers_.Add();
20586 : }
20587 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >&
20588 0 : ClientSafeBrowsingReportRequest_HTTPResponse::headers() const {
20589 : // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers)
20590 0 : return headers_;
20591 : }
20592 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >*
20593 : ClientSafeBrowsingReportRequest_HTTPResponse::mutable_headers() {
20594 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers)
20595 : return &headers_;
20596 : }
20597 :
20598 : // optional bytes body = 3;
20599 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_body() const {
20600 0 : return (_has_bits_[0] & 0x00000004u) != 0;
20601 : }
20602 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_body() {
20603 0 : _has_bits_[0] |= 0x00000004u;
20604 0 : }
20605 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_body() {
20606 : _has_bits_[0] &= ~0x00000004u;
20607 : }
20608 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_body() {
20609 : if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20610 : body_->clear();
20611 : }
20612 : clear_has_body();
20613 : }
20614 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse::body() const {
20615 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body)
20616 0 : return *body_;
20617 : }
20618 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const ::std::string& value) {
20619 0 : set_has_body();
20620 0 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20621 0 : body_ = new ::std::string;
20622 : }
20623 0 : body_->assign(value);
20624 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body)
20625 0 : }
20626 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const char* value) {
20627 : set_has_body();
20628 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20629 : body_ = new ::std::string;
20630 : }
20631 : body_->assign(value);
20632 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body)
20633 : }
20634 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const void* value, size_t size) {
20635 : set_has_body();
20636 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20637 : body_ = new ::std::string;
20638 : }
20639 : body_->assign(reinterpret_cast<const char*>(value), size);
20640 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body)
20641 : }
20642 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_body() {
20643 0 : set_has_body();
20644 0 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20645 0 : body_ = new ::std::string;
20646 : }
20647 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body)
20648 0 : return body_;
20649 : }
20650 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_body() {
20651 : clear_has_body();
20652 : if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20653 : return NULL;
20654 : } else {
20655 : ::std::string* temp = body_;
20656 : body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20657 : return temp;
20658 : }
20659 : }
20660 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_body(::std::string* body) {
20661 : if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20662 : delete body_;
20663 : }
20664 : if (body) {
20665 : set_has_body();
20666 : body_ = body;
20667 : } else {
20668 : clear_has_body();
20669 : body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20670 : }
20671 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body)
20672 : }
20673 :
20674 : // optional bytes bodydigest = 4;
20675 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_bodydigest() const {
20676 0 : return (_has_bits_[0] & 0x00000008u) != 0;
20677 : }
20678 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_bodydigest() {
20679 0 : _has_bits_[0] |= 0x00000008u;
20680 0 : }
20681 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_bodydigest() {
20682 : _has_bits_[0] &= ~0x00000008u;
20683 : }
20684 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_bodydigest() {
20685 : if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20686 : bodydigest_->clear();
20687 : }
20688 : clear_has_bodydigest();
20689 : }
20690 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse::bodydigest() const {
20691 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest)
20692 0 : return *bodydigest_;
20693 : }
20694 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const ::std::string& value) {
20695 0 : set_has_bodydigest();
20696 0 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20697 0 : bodydigest_ = new ::std::string;
20698 : }
20699 0 : bodydigest_->assign(value);
20700 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest)
20701 0 : }
20702 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const char* value) {
20703 : set_has_bodydigest();
20704 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20705 : bodydigest_ = new ::std::string;
20706 : }
20707 : bodydigest_->assign(value);
20708 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest)
20709 : }
20710 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const void* value, size_t size) {
20711 : set_has_bodydigest();
20712 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20713 : bodydigest_ = new ::std::string;
20714 : }
20715 : bodydigest_->assign(reinterpret_cast<const char*>(value), size);
20716 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest)
20717 : }
20718 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_bodydigest() {
20719 0 : set_has_bodydigest();
20720 0 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20721 0 : bodydigest_ = new ::std::string;
20722 : }
20723 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest)
20724 0 : return bodydigest_;
20725 : }
20726 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_bodydigest() {
20727 : clear_has_bodydigest();
20728 : if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20729 : return NULL;
20730 : } else {
20731 : ::std::string* temp = bodydigest_;
20732 : bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20733 : return temp;
20734 : }
20735 : }
20736 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_bodydigest(::std::string* bodydigest) {
20737 : if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20738 : delete bodydigest_;
20739 : }
20740 : if (bodydigest) {
20741 : set_has_bodydigest();
20742 : bodydigest_ = bodydigest;
20743 : } else {
20744 : clear_has_bodydigest();
20745 : bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20746 : }
20747 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest)
20748 : }
20749 :
20750 : // optional int32 bodylength = 5;
20751 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_bodylength() const {
20752 0 : return (_has_bits_[0] & 0x00000010u) != 0;
20753 : }
20754 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_bodylength() {
20755 0 : _has_bits_[0] |= 0x00000010u;
20756 0 : }
20757 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_bodylength() {
20758 : _has_bits_[0] &= ~0x00000010u;
20759 : }
20760 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_bodylength() {
20761 : bodylength_ = 0;
20762 : clear_has_bodylength();
20763 : }
20764 0 : inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_HTTPResponse::bodylength() const {
20765 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodylength)
20766 0 : return bodylength_;
20767 : }
20768 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodylength(::google::protobuf::int32 value) {
20769 0 : set_has_bodylength();
20770 0 : bodylength_ = value;
20771 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodylength)
20772 0 : }
20773 :
20774 : // optional bytes remote_ip = 6;
20775 0 : inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_remote_ip() const {
20776 0 : return (_has_bits_[0] & 0x00000020u) != 0;
20777 : }
20778 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_remote_ip() {
20779 0 : _has_bits_[0] |= 0x00000020u;
20780 0 : }
20781 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_remote_ip() {
20782 : _has_bits_[0] &= ~0x00000020u;
20783 : }
20784 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_remote_ip() {
20785 : if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20786 : remote_ip_->clear();
20787 : }
20788 : clear_has_remote_ip();
20789 : }
20790 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse::remote_ip() const {
20791 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip)
20792 0 : return *remote_ip_;
20793 : }
20794 0 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const ::std::string& value) {
20795 0 : set_has_remote_ip();
20796 0 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20797 0 : remote_ip_ = new ::std::string;
20798 : }
20799 0 : remote_ip_->assign(value);
20800 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip)
20801 0 : }
20802 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const char* value) {
20803 : set_has_remote_ip();
20804 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20805 : remote_ip_ = new ::std::string;
20806 : }
20807 : remote_ip_->assign(value);
20808 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip)
20809 : }
20810 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const void* value, size_t size) {
20811 : set_has_remote_ip();
20812 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20813 : remote_ip_ = new ::std::string;
20814 : }
20815 : remote_ip_->assign(reinterpret_cast<const char*>(value), size);
20816 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip)
20817 : }
20818 0 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_remote_ip() {
20819 0 : set_has_remote_ip();
20820 0 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20821 0 : remote_ip_ = new ::std::string;
20822 : }
20823 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip)
20824 0 : return remote_ip_;
20825 : }
20826 : inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_remote_ip() {
20827 : clear_has_remote_ip();
20828 : if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20829 : return NULL;
20830 : } else {
20831 : ::std::string* temp = remote_ip_;
20832 : remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20833 : return temp;
20834 : }
20835 : }
20836 : inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_remote_ip(::std::string* remote_ip) {
20837 : if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20838 : delete remote_ip_;
20839 : }
20840 : if (remote_ip) {
20841 : set_has_remote_ip();
20842 : remote_ip_ = remote_ip;
20843 : } else {
20844 : clear_has_remote_ip();
20845 : remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20846 : }
20847 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip)
20848 : }
20849 :
20850 : // -------------------------------------------------------------------
20851 :
20852 : // ClientSafeBrowsingReportRequest_Resource
20853 :
20854 : // required int32 id = 1;
20855 0 : inline bool ClientSafeBrowsingReportRequest_Resource::has_id() const {
20856 0 : return (_has_bits_[0] & 0x00000001u) != 0;
20857 : }
20858 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_has_id() {
20859 0 : _has_bits_[0] |= 0x00000001u;
20860 0 : }
20861 : inline void ClientSafeBrowsingReportRequest_Resource::clear_has_id() {
20862 : _has_bits_[0] &= ~0x00000001u;
20863 : }
20864 : inline void ClientSafeBrowsingReportRequest_Resource::clear_id() {
20865 : id_ = 0;
20866 : clear_has_id();
20867 : }
20868 0 : inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_Resource::id() const {
20869 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.id)
20870 0 : return id_;
20871 : }
20872 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_id(::google::protobuf::int32 value) {
20873 0 : set_has_id();
20874 0 : id_ = value;
20875 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.id)
20876 0 : }
20877 :
20878 : // optional string url = 2;
20879 0 : inline bool ClientSafeBrowsingReportRequest_Resource::has_url() const {
20880 0 : return (_has_bits_[0] & 0x00000002u) != 0;
20881 : }
20882 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_has_url() {
20883 0 : _has_bits_[0] |= 0x00000002u;
20884 0 : }
20885 : inline void ClientSafeBrowsingReportRequest_Resource::clear_has_url() {
20886 : _has_bits_[0] &= ~0x00000002u;
20887 : }
20888 : inline void ClientSafeBrowsingReportRequest_Resource::clear_url() {
20889 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20890 : url_->clear();
20891 : }
20892 : clear_has_url();
20893 : }
20894 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_Resource::url() const {
20895 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url)
20896 0 : return *url_;
20897 : }
20898 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_url(const ::std::string& value) {
20899 0 : set_has_url();
20900 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20901 0 : url_ = new ::std::string;
20902 : }
20903 0 : url_->assign(value);
20904 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url)
20905 0 : }
20906 : inline void ClientSafeBrowsingReportRequest_Resource::set_url(const char* value) {
20907 : set_has_url();
20908 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20909 : url_ = new ::std::string;
20910 : }
20911 : url_->assign(value);
20912 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url)
20913 : }
20914 : inline void ClientSafeBrowsingReportRequest_Resource::set_url(const char* value, size_t size) {
20915 : set_has_url();
20916 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20917 : url_ = new ::std::string;
20918 : }
20919 : url_->assign(reinterpret_cast<const char*>(value), size);
20920 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url)
20921 : }
20922 0 : inline ::std::string* ClientSafeBrowsingReportRequest_Resource::mutable_url() {
20923 0 : set_has_url();
20924 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20925 0 : url_ = new ::std::string;
20926 : }
20927 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url)
20928 0 : return url_;
20929 : }
20930 : inline ::std::string* ClientSafeBrowsingReportRequest_Resource::release_url() {
20931 : clear_has_url();
20932 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20933 : return NULL;
20934 : } else {
20935 : ::std::string* temp = url_;
20936 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20937 : return temp;
20938 : }
20939 : }
20940 : inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_url(::std::string* url) {
20941 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
20942 : delete url_;
20943 : }
20944 : if (url) {
20945 : set_has_url();
20946 : url_ = url;
20947 : } else {
20948 : clear_has_url();
20949 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
20950 : }
20951 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url)
20952 : }
20953 :
20954 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest request = 3;
20955 0 : inline bool ClientSafeBrowsingReportRequest_Resource::has_request() const {
20956 0 : return (_has_bits_[0] & 0x00000004u) != 0;
20957 : }
20958 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_has_request() {
20959 0 : _has_bits_[0] |= 0x00000004u;
20960 0 : }
20961 : inline void ClientSafeBrowsingReportRequest_Resource::clear_has_request() {
20962 : _has_bits_[0] &= ~0x00000004u;
20963 : }
20964 : inline void ClientSafeBrowsingReportRequest_Resource::clear_request() {
20965 : if (request_ != NULL) request_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest::Clear();
20966 : clear_has_request();
20967 : }
20968 0 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& ClientSafeBrowsingReportRequest_Resource::request() const {
20969 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request)
20970 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
20971 0 : return request_ != NULL ? *request_ : *default_instance().request_;
20972 : #else
20973 : return request_ != NULL ? *request_ : *default_instance_->request_;
20974 : #endif
20975 : }
20976 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* ClientSafeBrowsingReportRequest_Resource::mutable_request() {
20977 0 : set_has_request();
20978 0 : if (request_ == NULL) request_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest;
20979 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request)
20980 0 : return request_;
20981 : }
20982 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* ClientSafeBrowsingReportRequest_Resource::release_request() {
20983 : clear_has_request();
20984 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* temp = request_;
20985 : request_ = NULL;
20986 : return temp;
20987 : }
20988 : inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_request(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request) {
20989 : delete request_;
20990 : request_ = request;
20991 : if (request) {
20992 : set_has_request();
20993 : } else {
20994 : clear_has_request();
20995 : }
20996 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request)
20997 : }
20998 :
20999 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse response = 4;
21000 0 : inline bool ClientSafeBrowsingReportRequest_Resource::has_response() const {
21001 0 : return (_has_bits_[0] & 0x00000008u) != 0;
21002 : }
21003 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_has_response() {
21004 0 : _has_bits_[0] |= 0x00000008u;
21005 0 : }
21006 : inline void ClientSafeBrowsingReportRequest_Resource::clear_has_response() {
21007 : _has_bits_[0] &= ~0x00000008u;
21008 : }
21009 : inline void ClientSafeBrowsingReportRequest_Resource::clear_response() {
21010 : if (response_ != NULL) response_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse::Clear();
21011 : clear_has_response();
21012 : }
21013 0 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& ClientSafeBrowsingReportRequest_Resource::response() const {
21014 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response)
21015 : #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21016 0 : return response_ != NULL ? *response_ : *default_instance().response_;
21017 : #else
21018 : return response_ != NULL ? *response_ : *default_instance_->response_;
21019 : #endif
21020 : }
21021 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* ClientSafeBrowsingReportRequest_Resource::mutable_response() {
21022 0 : set_has_response();
21023 0 : if (response_ == NULL) response_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse;
21024 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response)
21025 0 : return response_;
21026 : }
21027 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* ClientSafeBrowsingReportRequest_Resource::release_response() {
21028 : clear_has_response();
21029 : ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* temp = response_;
21030 : response_ = NULL;
21031 : return temp;
21032 : }
21033 : inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_response(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response) {
21034 : delete response_;
21035 : response_ = response;
21036 : if (response) {
21037 : set_has_response();
21038 : } else {
21039 : clear_has_response();
21040 : }
21041 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response)
21042 : }
21043 :
21044 : // optional int32 parent_id = 5;
21045 0 : inline bool ClientSafeBrowsingReportRequest_Resource::has_parent_id() const {
21046 0 : return (_has_bits_[0] & 0x00000010u) != 0;
21047 : }
21048 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_has_parent_id() {
21049 0 : _has_bits_[0] |= 0x00000010u;
21050 0 : }
21051 : inline void ClientSafeBrowsingReportRequest_Resource::clear_has_parent_id() {
21052 : _has_bits_[0] &= ~0x00000010u;
21053 : }
21054 : inline void ClientSafeBrowsingReportRequest_Resource::clear_parent_id() {
21055 : parent_id_ = 0;
21056 : clear_has_parent_id();
21057 : }
21058 0 : inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_Resource::parent_id() const {
21059 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.parent_id)
21060 0 : return parent_id_;
21061 : }
21062 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_parent_id(::google::protobuf::int32 value) {
21063 0 : set_has_parent_id();
21064 0 : parent_id_ = value;
21065 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.parent_id)
21066 0 : }
21067 :
21068 : // repeated int32 child_ids = 6;
21069 0 : inline int ClientSafeBrowsingReportRequest_Resource::child_ids_size() const {
21070 0 : return child_ids_.size();
21071 : }
21072 : inline void ClientSafeBrowsingReportRequest_Resource::clear_child_ids() {
21073 : child_ids_.Clear();
21074 : }
21075 0 : inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_Resource::child_ids(int index) const {
21076 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids)
21077 0 : return child_ids_.Get(index);
21078 : }
21079 : inline void ClientSafeBrowsingReportRequest_Resource::set_child_ids(int index, ::google::protobuf::int32 value) {
21080 : child_ids_.Set(index, value);
21081 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids)
21082 : }
21083 : inline void ClientSafeBrowsingReportRequest_Resource::add_child_ids(::google::protobuf::int32 value) {
21084 : child_ids_.Add(value);
21085 : // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids)
21086 : }
21087 : inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
21088 : ClientSafeBrowsingReportRequest_Resource::child_ids() const {
21089 : // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids)
21090 : return child_ids_;
21091 : }
21092 : inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
21093 0 : ClientSafeBrowsingReportRequest_Resource::mutable_child_ids() {
21094 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids)
21095 0 : return &child_ids_;
21096 : }
21097 :
21098 : // optional string tag_name = 7;
21099 0 : inline bool ClientSafeBrowsingReportRequest_Resource::has_tag_name() const {
21100 0 : return (_has_bits_[0] & 0x00000040u) != 0;
21101 : }
21102 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_has_tag_name() {
21103 0 : _has_bits_[0] |= 0x00000040u;
21104 0 : }
21105 : inline void ClientSafeBrowsingReportRequest_Resource::clear_has_tag_name() {
21106 : _has_bits_[0] &= ~0x00000040u;
21107 : }
21108 : inline void ClientSafeBrowsingReportRequest_Resource::clear_tag_name() {
21109 : if (tag_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21110 : tag_name_->clear();
21111 : }
21112 : clear_has_tag_name();
21113 : }
21114 0 : inline const ::std::string& ClientSafeBrowsingReportRequest_Resource::tag_name() const {
21115 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name)
21116 0 : return *tag_name_;
21117 : }
21118 0 : inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const ::std::string& value) {
21119 0 : set_has_tag_name();
21120 0 : if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21121 0 : tag_name_ = new ::std::string;
21122 : }
21123 0 : tag_name_->assign(value);
21124 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name)
21125 0 : }
21126 : inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const char* value) {
21127 : set_has_tag_name();
21128 : if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21129 : tag_name_ = new ::std::string;
21130 : }
21131 : tag_name_->assign(value);
21132 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name)
21133 : }
21134 : inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const char* value, size_t size) {
21135 : set_has_tag_name();
21136 : if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21137 : tag_name_ = new ::std::string;
21138 : }
21139 : tag_name_->assign(reinterpret_cast<const char*>(value), size);
21140 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name)
21141 : }
21142 0 : inline ::std::string* ClientSafeBrowsingReportRequest_Resource::mutable_tag_name() {
21143 0 : set_has_tag_name();
21144 0 : if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21145 0 : tag_name_ = new ::std::string;
21146 : }
21147 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name)
21148 0 : return tag_name_;
21149 : }
21150 : inline ::std::string* ClientSafeBrowsingReportRequest_Resource::release_tag_name() {
21151 : clear_has_tag_name();
21152 : if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21153 : return NULL;
21154 : } else {
21155 : ::std::string* temp = tag_name_;
21156 : tag_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21157 : return temp;
21158 : }
21159 : }
21160 : inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_tag_name(::std::string* tag_name) {
21161 : if (tag_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21162 : delete tag_name_;
21163 : }
21164 : if (tag_name) {
21165 : set_has_tag_name();
21166 : tag_name_ = tag_name;
21167 : } else {
21168 : clear_has_tag_name();
21169 : tag_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21170 : }
21171 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name)
21172 : }
21173 :
21174 : // -------------------------------------------------------------------
21175 :
21176 : // ClientSafeBrowsingReportRequest
21177 :
21178 : // optional .safe_browsing.ClientSafeBrowsingReportRequest.ReportType type = 10;
21179 0 : inline bool ClientSafeBrowsingReportRequest::has_type() const {
21180 0 : return (_has_bits_[0] & 0x00000001u) != 0;
21181 : }
21182 0 : inline void ClientSafeBrowsingReportRequest::set_has_type() {
21183 0 : _has_bits_[0] |= 0x00000001u;
21184 0 : }
21185 : inline void ClientSafeBrowsingReportRequest::clear_has_type() {
21186 : _has_bits_[0] &= ~0x00000001u;
21187 : }
21188 : inline void ClientSafeBrowsingReportRequest::clear_type() {
21189 : type_ = 0;
21190 : clear_has_type();
21191 : }
21192 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest::type() const {
21193 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.type)
21194 0 : return static_cast< ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType >(type_);
21195 : }
21196 0 : inline void ClientSafeBrowsingReportRequest::set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value) {
21197 0 : assert(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType_IsValid(value));
21198 0 : set_has_type();
21199 0 : type_ = value;
21200 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.type)
21201 0 : }
21202 :
21203 : // optional .safe_browsing.ClientDownloadResponse.Verdict download_verdict = 11;
21204 0 : inline bool ClientSafeBrowsingReportRequest::has_download_verdict() const {
21205 0 : return (_has_bits_[0] & 0x00000002u) != 0;
21206 : }
21207 0 : inline void ClientSafeBrowsingReportRequest::set_has_download_verdict() {
21208 0 : _has_bits_[0] |= 0x00000002u;
21209 0 : }
21210 : inline void ClientSafeBrowsingReportRequest::clear_has_download_verdict() {
21211 : _has_bits_[0] &= ~0x00000002u;
21212 : }
21213 : inline void ClientSafeBrowsingReportRequest::clear_download_verdict() {
21214 : download_verdict_ = 0;
21215 : clear_has_download_verdict();
21216 : }
21217 0 : inline ::safe_browsing::ClientDownloadResponse_Verdict ClientSafeBrowsingReportRequest::download_verdict() const {
21218 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.download_verdict)
21219 0 : return static_cast< ::safe_browsing::ClientDownloadResponse_Verdict >(download_verdict_);
21220 : }
21221 0 : inline void ClientSafeBrowsingReportRequest::set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) {
21222 0 : assert(::safe_browsing::ClientDownloadResponse_Verdict_IsValid(value));
21223 0 : set_has_download_verdict();
21224 0 : download_verdict_ = value;
21225 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.download_verdict)
21226 0 : }
21227 :
21228 : // optional string url = 1;
21229 0 : inline bool ClientSafeBrowsingReportRequest::has_url() const {
21230 0 : return (_has_bits_[0] & 0x00000004u) != 0;
21231 : }
21232 0 : inline void ClientSafeBrowsingReportRequest::set_has_url() {
21233 0 : _has_bits_[0] |= 0x00000004u;
21234 0 : }
21235 : inline void ClientSafeBrowsingReportRequest::clear_has_url() {
21236 : _has_bits_[0] &= ~0x00000004u;
21237 : }
21238 : inline void ClientSafeBrowsingReportRequest::clear_url() {
21239 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21240 : url_->clear();
21241 : }
21242 : clear_has_url();
21243 : }
21244 0 : inline const ::std::string& ClientSafeBrowsingReportRequest::url() const {
21245 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.url)
21246 0 : return *url_;
21247 : }
21248 0 : inline void ClientSafeBrowsingReportRequest::set_url(const ::std::string& value) {
21249 0 : set_has_url();
21250 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21251 0 : url_ = new ::std::string;
21252 : }
21253 0 : url_->assign(value);
21254 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.url)
21255 0 : }
21256 : inline void ClientSafeBrowsingReportRequest::set_url(const char* value) {
21257 : set_has_url();
21258 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21259 : url_ = new ::std::string;
21260 : }
21261 : url_->assign(value);
21262 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.url)
21263 : }
21264 : inline void ClientSafeBrowsingReportRequest::set_url(const char* value, size_t size) {
21265 : set_has_url();
21266 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21267 : url_ = new ::std::string;
21268 : }
21269 : url_->assign(reinterpret_cast<const char*>(value), size);
21270 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.url)
21271 : }
21272 0 : inline ::std::string* ClientSafeBrowsingReportRequest::mutable_url() {
21273 0 : set_has_url();
21274 0 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21275 0 : url_ = new ::std::string;
21276 : }
21277 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.url)
21278 0 : return url_;
21279 : }
21280 : inline ::std::string* ClientSafeBrowsingReportRequest::release_url() {
21281 : clear_has_url();
21282 : if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21283 : return NULL;
21284 : } else {
21285 : ::std::string* temp = url_;
21286 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21287 : return temp;
21288 : }
21289 : }
21290 : inline void ClientSafeBrowsingReportRequest::set_allocated_url(::std::string* url) {
21291 : if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21292 : delete url_;
21293 : }
21294 : if (url) {
21295 : set_has_url();
21296 : url_ = url;
21297 : } else {
21298 : clear_has_url();
21299 : url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21300 : }
21301 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.url)
21302 : }
21303 :
21304 : // optional string page_url = 2;
21305 0 : inline bool ClientSafeBrowsingReportRequest::has_page_url() const {
21306 0 : return (_has_bits_[0] & 0x00000008u) != 0;
21307 : }
21308 0 : inline void ClientSafeBrowsingReportRequest::set_has_page_url() {
21309 0 : _has_bits_[0] |= 0x00000008u;
21310 0 : }
21311 : inline void ClientSafeBrowsingReportRequest::clear_has_page_url() {
21312 : _has_bits_[0] &= ~0x00000008u;
21313 : }
21314 : inline void ClientSafeBrowsingReportRequest::clear_page_url() {
21315 : if (page_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21316 : page_url_->clear();
21317 : }
21318 : clear_has_page_url();
21319 : }
21320 0 : inline const ::std::string& ClientSafeBrowsingReportRequest::page_url() const {
21321 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.page_url)
21322 0 : return *page_url_;
21323 : }
21324 0 : inline void ClientSafeBrowsingReportRequest::set_page_url(const ::std::string& value) {
21325 0 : set_has_page_url();
21326 0 : if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21327 0 : page_url_ = new ::std::string;
21328 : }
21329 0 : page_url_->assign(value);
21330 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.page_url)
21331 0 : }
21332 : inline void ClientSafeBrowsingReportRequest::set_page_url(const char* value) {
21333 : set_has_page_url();
21334 : if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21335 : page_url_ = new ::std::string;
21336 : }
21337 : page_url_->assign(value);
21338 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.page_url)
21339 : }
21340 : inline void ClientSafeBrowsingReportRequest::set_page_url(const char* value, size_t size) {
21341 : set_has_page_url();
21342 : if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21343 : page_url_ = new ::std::string;
21344 : }
21345 : page_url_->assign(reinterpret_cast<const char*>(value), size);
21346 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.page_url)
21347 : }
21348 0 : inline ::std::string* ClientSafeBrowsingReportRequest::mutable_page_url() {
21349 0 : set_has_page_url();
21350 0 : if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21351 0 : page_url_ = new ::std::string;
21352 : }
21353 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.page_url)
21354 0 : return page_url_;
21355 : }
21356 : inline ::std::string* ClientSafeBrowsingReportRequest::release_page_url() {
21357 : clear_has_page_url();
21358 : if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21359 : return NULL;
21360 : } else {
21361 : ::std::string* temp = page_url_;
21362 : page_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21363 : return temp;
21364 : }
21365 : }
21366 : inline void ClientSafeBrowsingReportRequest::set_allocated_page_url(::std::string* page_url) {
21367 : if (page_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21368 : delete page_url_;
21369 : }
21370 : if (page_url) {
21371 : set_has_page_url();
21372 : page_url_ = page_url;
21373 : } else {
21374 : clear_has_page_url();
21375 : page_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21376 : }
21377 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.page_url)
21378 : }
21379 :
21380 : // optional string referrer_url = 3;
21381 0 : inline bool ClientSafeBrowsingReportRequest::has_referrer_url() const {
21382 0 : return (_has_bits_[0] & 0x00000010u) != 0;
21383 : }
21384 0 : inline void ClientSafeBrowsingReportRequest::set_has_referrer_url() {
21385 0 : _has_bits_[0] |= 0x00000010u;
21386 0 : }
21387 : inline void ClientSafeBrowsingReportRequest::clear_has_referrer_url() {
21388 : _has_bits_[0] &= ~0x00000010u;
21389 : }
21390 : inline void ClientSafeBrowsingReportRequest::clear_referrer_url() {
21391 : if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21392 : referrer_url_->clear();
21393 : }
21394 : clear_has_referrer_url();
21395 : }
21396 0 : inline const ::std::string& ClientSafeBrowsingReportRequest::referrer_url() const {
21397 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url)
21398 0 : return *referrer_url_;
21399 : }
21400 0 : inline void ClientSafeBrowsingReportRequest::set_referrer_url(const ::std::string& value) {
21401 0 : set_has_referrer_url();
21402 0 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21403 0 : referrer_url_ = new ::std::string;
21404 : }
21405 0 : referrer_url_->assign(value);
21406 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url)
21407 0 : }
21408 : inline void ClientSafeBrowsingReportRequest::set_referrer_url(const char* value) {
21409 : set_has_referrer_url();
21410 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21411 : referrer_url_ = new ::std::string;
21412 : }
21413 : referrer_url_->assign(value);
21414 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url)
21415 : }
21416 : inline void ClientSafeBrowsingReportRequest::set_referrer_url(const char* value, size_t size) {
21417 : set_has_referrer_url();
21418 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21419 : referrer_url_ = new ::std::string;
21420 : }
21421 : referrer_url_->assign(reinterpret_cast<const char*>(value), size);
21422 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url)
21423 : }
21424 0 : inline ::std::string* ClientSafeBrowsingReportRequest::mutable_referrer_url() {
21425 0 : set_has_referrer_url();
21426 0 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21427 0 : referrer_url_ = new ::std::string;
21428 : }
21429 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url)
21430 0 : return referrer_url_;
21431 : }
21432 : inline ::std::string* ClientSafeBrowsingReportRequest::release_referrer_url() {
21433 : clear_has_referrer_url();
21434 : if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21435 : return NULL;
21436 : } else {
21437 : ::std::string* temp = referrer_url_;
21438 : referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21439 : return temp;
21440 : }
21441 : }
21442 : inline void ClientSafeBrowsingReportRequest::set_allocated_referrer_url(::std::string* referrer_url) {
21443 : if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21444 : delete referrer_url_;
21445 : }
21446 : if (referrer_url) {
21447 : set_has_referrer_url();
21448 : referrer_url_ = referrer_url;
21449 : } else {
21450 : clear_has_referrer_url();
21451 : referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21452 : }
21453 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url)
21454 : }
21455 :
21456 : // repeated .safe_browsing.ClientSafeBrowsingReportRequest.Resource resources = 4;
21457 0 : inline int ClientSafeBrowsingReportRequest::resources_size() const {
21458 0 : return resources_.size();
21459 : }
21460 : inline void ClientSafeBrowsingReportRequest::clear_resources() {
21461 : resources_.Clear();
21462 : }
21463 0 : inline const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& ClientSafeBrowsingReportRequest::resources(int index) const {
21464 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.resources)
21465 0 : return resources_.Get(index);
21466 : }
21467 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* ClientSafeBrowsingReportRequest::mutable_resources(int index) {
21468 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.resources)
21469 : return resources_.Mutable(index);
21470 : }
21471 0 : inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* ClientSafeBrowsingReportRequest::add_resources() {
21472 : // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.resources)
21473 0 : return resources_.Add();
21474 : }
21475 : inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >&
21476 0 : ClientSafeBrowsingReportRequest::resources() const {
21477 : // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.resources)
21478 0 : return resources_;
21479 : }
21480 : inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >*
21481 : ClientSafeBrowsingReportRequest::mutable_resources() {
21482 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.resources)
21483 : return &resources_;
21484 : }
21485 :
21486 : // optional bool complete = 5;
21487 0 : inline bool ClientSafeBrowsingReportRequest::has_complete() const {
21488 0 : return (_has_bits_[0] & 0x00000040u) != 0;
21489 : }
21490 0 : inline void ClientSafeBrowsingReportRequest::set_has_complete() {
21491 0 : _has_bits_[0] |= 0x00000040u;
21492 0 : }
21493 : inline void ClientSafeBrowsingReportRequest::clear_has_complete() {
21494 : _has_bits_[0] &= ~0x00000040u;
21495 : }
21496 : inline void ClientSafeBrowsingReportRequest::clear_complete() {
21497 : complete_ = false;
21498 : clear_has_complete();
21499 : }
21500 0 : inline bool ClientSafeBrowsingReportRequest::complete() const {
21501 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.complete)
21502 0 : return complete_;
21503 : }
21504 0 : inline void ClientSafeBrowsingReportRequest::set_complete(bool value) {
21505 0 : set_has_complete();
21506 0 : complete_ = value;
21507 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.complete)
21508 0 : }
21509 :
21510 : // repeated string client_asn = 6;
21511 0 : inline int ClientSafeBrowsingReportRequest::client_asn_size() const {
21512 0 : return client_asn_.size();
21513 : }
21514 : inline void ClientSafeBrowsingReportRequest::clear_client_asn() {
21515 : client_asn_.Clear();
21516 : }
21517 0 : inline const ::std::string& ClientSafeBrowsingReportRequest::client_asn(int index) const {
21518 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21519 0 : return client_asn_.Get(index);
21520 : }
21521 : inline ::std::string* ClientSafeBrowsingReportRequest::mutable_client_asn(int index) {
21522 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21523 : return client_asn_.Mutable(index);
21524 : }
21525 : inline void ClientSafeBrowsingReportRequest::set_client_asn(int index, const ::std::string& value) {
21526 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21527 : client_asn_.Mutable(index)->assign(value);
21528 : }
21529 : inline void ClientSafeBrowsingReportRequest::set_client_asn(int index, const char* value) {
21530 : client_asn_.Mutable(index)->assign(value);
21531 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21532 : }
21533 : inline void ClientSafeBrowsingReportRequest::set_client_asn(int index, const char* value, size_t size) {
21534 : client_asn_.Mutable(index)->assign(
21535 : reinterpret_cast<const char*>(value), size);
21536 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21537 : }
21538 0 : inline ::std::string* ClientSafeBrowsingReportRequest::add_client_asn() {
21539 0 : return client_asn_.Add();
21540 : }
21541 : inline void ClientSafeBrowsingReportRequest::add_client_asn(const ::std::string& value) {
21542 : client_asn_.Add()->assign(value);
21543 : // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21544 : }
21545 : inline void ClientSafeBrowsingReportRequest::add_client_asn(const char* value) {
21546 : client_asn_.Add()->assign(value);
21547 : // @@protoc_insertion_point(field_add_char:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21548 : }
21549 : inline void ClientSafeBrowsingReportRequest::add_client_asn(const char* value, size_t size) {
21550 : client_asn_.Add()->assign(reinterpret_cast<const char*>(value), size);
21551 : // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21552 : }
21553 : inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
21554 : ClientSafeBrowsingReportRequest::client_asn() const {
21555 : // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21556 : return client_asn_;
21557 : }
21558 : inline ::google::protobuf::RepeatedPtrField< ::std::string>*
21559 : ClientSafeBrowsingReportRequest::mutable_client_asn() {
21560 : // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.client_asn)
21561 : return &client_asn_;
21562 : }
21563 :
21564 : // optional string client_country = 7;
21565 0 : inline bool ClientSafeBrowsingReportRequest::has_client_country() const {
21566 0 : return (_has_bits_[0] & 0x00000100u) != 0;
21567 : }
21568 0 : inline void ClientSafeBrowsingReportRequest::set_has_client_country() {
21569 0 : _has_bits_[0] |= 0x00000100u;
21570 0 : }
21571 : inline void ClientSafeBrowsingReportRequest::clear_has_client_country() {
21572 : _has_bits_[0] &= ~0x00000100u;
21573 : }
21574 : inline void ClientSafeBrowsingReportRequest::clear_client_country() {
21575 : if (client_country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21576 : client_country_->clear();
21577 : }
21578 : clear_has_client_country();
21579 : }
21580 0 : inline const ::std::string& ClientSafeBrowsingReportRequest::client_country() const {
21581 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.client_country)
21582 0 : return *client_country_;
21583 : }
21584 0 : inline void ClientSafeBrowsingReportRequest::set_client_country(const ::std::string& value) {
21585 0 : set_has_client_country();
21586 0 : if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21587 0 : client_country_ = new ::std::string;
21588 : }
21589 0 : client_country_->assign(value);
21590 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.client_country)
21591 0 : }
21592 : inline void ClientSafeBrowsingReportRequest::set_client_country(const char* value) {
21593 : set_has_client_country();
21594 : if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21595 : client_country_ = new ::std::string;
21596 : }
21597 : client_country_->assign(value);
21598 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.client_country)
21599 : }
21600 : inline void ClientSafeBrowsingReportRequest::set_client_country(const char* value, size_t size) {
21601 : set_has_client_country();
21602 : if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21603 : client_country_ = new ::std::string;
21604 : }
21605 : client_country_->assign(reinterpret_cast<const char*>(value), size);
21606 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.client_country)
21607 : }
21608 0 : inline ::std::string* ClientSafeBrowsingReportRequest::mutable_client_country() {
21609 0 : set_has_client_country();
21610 0 : if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21611 0 : client_country_ = new ::std::string;
21612 : }
21613 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.client_country)
21614 0 : return client_country_;
21615 : }
21616 : inline ::std::string* ClientSafeBrowsingReportRequest::release_client_country() {
21617 : clear_has_client_country();
21618 : if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21619 : return NULL;
21620 : } else {
21621 : ::std::string* temp = client_country_;
21622 : client_country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21623 : return temp;
21624 : }
21625 : }
21626 : inline void ClientSafeBrowsingReportRequest::set_allocated_client_country(::std::string* client_country) {
21627 : if (client_country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21628 : delete client_country_;
21629 : }
21630 : if (client_country) {
21631 : set_has_client_country();
21632 : client_country_ = client_country;
21633 : } else {
21634 : clear_has_client_country();
21635 : client_country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21636 : }
21637 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.client_country)
21638 : }
21639 :
21640 : // optional bool did_proceed = 8;
21641 0 : inline bool ClientSafeBrowsingReportRequest::has_did_proceed() const {
21642 0 : return (_has_bits_[0] & 0x00000200u) != 0;
21643 : }
21644 0 : inline void ClientSafeBrowsingReportRequest::set_has_did_proceed() {
21645 0 : _has_bits_[0] |= 0x00000200u;
21646 0 : }
21647 : inline void ClientSafeBrowsingReportRequest::clear_has_did_proceed() {
21648 : _has_bits_[0] &= ~0x00000200u;
21649 : }
21650 : inline void ClientSafeBrowsingReportRequest::clear_did_proceed() {
21651 : did_proceed_ = false;
21652 : clear_has_did_proceed();
21653 : }
21654 0 : inline bool ClientSafeBrowsingReportRequest::did_proceed() const {
21655 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.did_proceed)
21656 0 : return did_proceed_;
21657 : }
21658 0 : inline void ClientSafeBrowsingReportRequest::set_did_proceed(bool value) {
21659 0 : set_has_did_proceed();
21660 0 : did_proceed_ = value;
21661 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.did_proceed)
21662 0 : }
21663 :
21664 : // optional bool repeat_visit = 9;
21665 0 : inline bool ClientSafeBrowsingReportRequest::has_repeat_visit() const {
21666 0 : return (_has_bits_[0] & 0x00000400u) != 0;
21667 : }
21668 0 : inline void ClientSafeBrowsingReportRequest::set_has_repeat_visit() {
21669 0 : _has_bits_[0] |= 0x00000400u;
21670 0 : }
21671 : inline void ClientSafeBrowsingReportRequest::clear_has_repeat_visit() {
21672 : _has_bits_[0] &= ~0x00000400u;
21673 : }
21674 : inline void ClientSafeBrowsingReportRequest::clear_repeat_visit() {
21675 : repeat_visit_ = false;
21676 : clear_has_repeat_visit();
21677 : }
21678 0 : inline bool ClientSafeBrowsingReportRequest::repeat_visit() const {
21679 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.repeat_visit)
21680 0 : return repeat_visit_;
21681 : }
21682 0 : inline void ClientSafeBrowsingReportRequest::set_repeat_visit(bool value) {
21683 0 : set_has_repeat_visit();
21684 0 : repeat_visit_ = value;
21685 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.repeat_visit)
21686 0 : }
21687 :
21688 : // optional bytes token = 15;
21689 0 : inline bool ClientSafeBrowsingReportRequest::has_token() const {
21690 0 : return (_has_bits_[0] & 0x00000800u) != 0;
21691 : }
21692 0 : inline void ClientSafeBrowsingReportRequest::set_has_token() {
21693 0 : _has_bits_[0] |= 0x00000800u;
21694 0 : }
21695 : inline void ClientSafeBrowsingReportRequest::clear_has_token() {
21696 : _has_bits_[0] &= ~0x00000800u;
21697 : }
21698 : inline void ClientSafeBrowsingReportRequest::clear_token() {
21699 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21700 : token_->clear();
21701 : }
21702 : clear_has_token();
21703 : }
21704 0 : inline const ::std::string& ClientSafeBrowsingReportRequest::token() const {
21705 : // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.token)
21706 0 : return *token_;
21707 : }
21708 0 : inline void ClientSafeBrowsingReportRequest::set_token(const ::std::string& value) {
21709 0 : set_has_token();
21710 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21711 0 : token_ = new ::std::string;
21712 : }
21713 0 : token_->assign(value);
21714 : // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.token)
21715 0 : }
21716 : inline void ClientSafeBrowsingReportRequest::set_token(const char* value) {
21717 : set_has_token();
21718 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21719 : token_ = new ::std::string;
21720 : }
21721 : token_->assign(value);
21722 : // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.token)
21723 : }
21724 : inline void ClientSafeBrowsingReportRequest::set_token(const void* value, size_t size) {
21725 : set_has_token();
21726 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21727 : token_ = new ::std::string;
21728 : }
21729 : token_->assign(reinterpret_cast<const char*>(value), size);
21730 : // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.token)
21731 : }
21732 0 : inline ::std::string* ClientSafeBrowsingReportRequest::mutable_token() {
21733 0 : set_has_token();
21734 0 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21735 0 : token_ = new ::std::string;
21736 : }
21737 : // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.token)
21738 0 : return token_;
21739 : }
21740 : inline ::std::string* ClientSafeBrowsingReportRequest::release_token() {
21741 : clear_has_token();
21742 : if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21743 : return NULL;
21744 : } else {
21745 : ::std::string* temp = token_;
21746 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21747 : return temp;
21748 : }
21749 : }
21750 : inline void ClientSafeBrowsingReportRequest::set_allocated_token(::std::string* token) {
21751 : if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21752 : delete token_;
21753 : }
21754 : if (token) {
21755 : set_has_token();
21756 : token_ = token;
21757 : } else {
21758 : clear_has_token();
21759 : token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21760 : }
21761 : // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.token)
21762 : }
21763 :
21764 :
21765 : // @@protoc_insertion_point(namespace_scope)
21766 :
21767 : } // namespace safe_browsing
21768 :
21769 : // @@protoc_insertion_point(global_scope)
21770 :
21771 : #endif // PROTOBUF_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto__INCLUDED
|