1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: csd.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_csd_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_csd_2eproto
6
7 #include <limits>
8 #include <string>
9
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3011000
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 3011004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/message_lite.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_util.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_csd_2eproto
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 } // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42
43 // Internal implementation detail -- do not use these members.
44 struct TableStruct_csd_2eproto {
45 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
46 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
47 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
48 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[69]
50 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
52 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
53 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
54 };
55 namespace safe_browsing {
56 class ChromeUserPopulation;
57 class ChromeUserPopulationDefaultTypeInternal;
58 extern ChromeUserPopulationDefaultTypeInternal _ChromeUserPopulation_default_instance_;
59 class ClientDownloadReport;
60 class ClientDownloadReportDefaultTypeInternal;
61 extern ClientDownloadReportDefaultTypeInternal _ClientDownloadReport_default_instance_;
62 class ClientDownloadReport_UserInformation;
63 class ClientDownloadReport_UserInformationDefaultTypeInternal;
64 extern ClientDownloadReport_UserInformationDefaultTypeInternal _ClientDownloadReport_UserInformation_default_instance_;
65 class ClientDownloadRequest;
66 class ClientDownloadRequestDefaultTypeInternal;
67 extern ClientDownloadRequestDefaultTypeInternal _ClientDownloadRequest_default_instance_;
68 class ClientDownloadRequest_ArchivedBinary;
69 class ClientDownloadRequest_ArchivedBinaryDefaultTypeInternal;
70 extern ClientDownloadRequest_ArchivedBinaryDefaultTypeInternal _ClientDownloadRequest_ArchivedBinary_default_instance_;
71 class ClientDownloadRequest_CertificateChain;
72 class ClientDownloadRequest_CertificateChainDefaultTypeInternal;
73 extern ClientDownloadRequest_CertificateChainDefaultTypeInternal _ClientDownloadRequest_CertificateChain_default_instance_;
74 class ClientDownloadRequest_CertificateChain_Element;
75 class ClientDownloadRequest_CertificateChain_ElementDefaultTypeInternal;
76 extern ClientDownloadRequest_CertificateChain_ElementDefaultTypeInternal _ClientDownloadRequest_CertificateChain_Element_default_instance_;
77 class ClientDownloadRequest_Digests;
78 class ClientDownloadRequest_DigestsDefaultTypeInternal;
79 extern ClientDownloadRequest_DigestsDefaultTypeInternal _ClientDownloadRequest_Digests_default_instance_;
80 class ClientDownloadRequest_ExtendedAttr;
81 class ClientDownloadRequest_ExtendedAttrDefaultTypeInternal;
82 extern ClientDownloadRequest_ExtendedAttrDefaultTypeInternal _ClientDownloadRequest_ExtendedAttr_default_instance_;
83 class ClientDownloadRequest_ImageHeaders;
84 class ClientDownloadRequest_ImageHeadersDefaultTypeInternal;
85 extern ClientDownloadRequest_ImageHeadersDefaultTypeInternal _ClientDownloadRequest_ImageHeaders_default_instance_;
86 class ClientDownloadRequest_MachOHeaders;
87 class ClientDownloadRequest_MachOHeadersDefaultTypeInternal;
88 extern ClientDownloadRequest_MachOHeadersDefaultTypeInternal _ClientDownloadRequest_MachOHeaders_default_instance_;
89 class ClientDownloadRequest_MachOHeaders_LoadCommand;
90 class ClientDownloadRequest_MachOHeaders_LoadCommandDefaultTypeInternal;
91 extern ClientDownloadRequest_MachOHeaders_LoadCommandDefaultTypeInternal _ClientDownloadRequest_MachOHeaders_LoadCommand_default_instance_;
92 class ClientDownloadRequest_PEImageHeaders;
93 class ClientDownloadRequest_PEImageHeadersDefaultTypeInternal;
94 extern ClientDownloadRequest_PEImageHeadersDefaultTypeInternal _ClientDownloadRequest_PEImageHeaders_default_instance_;
95 class ClientDownloadRequest_PEImageHeaders_DebugData;
96 class ClientDownloadRequest_PEImageHeaders_DebugDataDefaultTypeInternal;
97 extern ClientDownloadRequest_PEImageHeaders_DebugDataDefaultTypeInternal _ClientDownloadRequest_PEImageHeaders_DebugData_default_instance_;
98 class ClientDownloadRequest_Resource;
99 class ClientDownloadRequest_ResourceDefaultTypeInternal;
100 extern ClientDownloadRequest_ResourceDefaultTypeInternal _ClientDownloadRequest_Resource_default_instance_;
101 class ClientDownloadRequest_SignatureInfo;
102 class ClientDownloadRequest_SignatureInfoDefaultTypeInternal;
103 extern ClientDownloadRequest_SignatureInfoDefaultTypeInternal _ClientDownloadRequest_SignatureInfo_default_instance_;
104 class ClientDownloadResponse;
105 class ClientDownloadResponseDefaultTypeInternal;
106 extern ClientDownloadResponseDefaultTypeInternal _ClientDownloadResponse_default_instance_;
107 class ClientDownloadResponse_MoreInfo;
108 class ClientDownloadResponse_MoreInfoDefaultTypeInternal;
109 extern ClientDownloadResponse_MoreInfoDefaultTypeInternal _ClientDownloadResponse_MoreInfo_default_instance_;
110 class ClientIncidentReport;
111 class ClientIncidentReportDefaultTypeInternal;
112 extern ClientIncidentReportDefaultTypeInternal _ClientIncidentReport_default_instance_;
113 class ClientIncidentReport_DownloadDetails;
114 class ClientIncidentReport_DownloadDetailsDefaultTypeInternal;
115 extern ClientIncidentReport_DownloadDetailsDefaultTypeInternal _ClientIncidentReport_DownloadDetails_default_instance_;
116 class ClientIncidentReport_EnvironmentData;
117 class ClientIncidentReport_EnvironmentDataDefaultTypeInternal;
118 extern ClientIncidentReport_EnvironmentDataDefaultTypeInternal _ClientIncidentReport_EnvironmentData_default_instance_;
119 class ClientIncidentReport_EnvironmentData_Machine;
120 class ClientIncidentReport_EnvironmentData_MachineDefaultTypeInternal;
121 extern ClientIncidentReport_EnvironmentData_MachineDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Machine_default_instance_;
122 class ClientIncidentReport_EnvironmentData_OS;
123 class ClientIncidentReport_EnvironmentData_OSDefaultTypeInternal;
124 extern ClientIncidentReport_EnvironmentData_OSDefaultTypeInternal _ClientIncidentReport_EnvironmentData_OS_default_instance_;
125 class ClientIncidentReport_EnvironmentData_OS_RegistryKey;
126 class ClientIncidentReport_EnvironmentData_OS_RegistryKeyDefaultTypeInternal;
127 extern ClientIncidentReport_EnvironmentData_OS_RegistryKeyDefaultTypeInternal _ClientIncidentReport_EnvironmentData_OS_RegistryKey_default_instance_;
128 class ClientIncidentReport_EnvironmentData_OS_RegistryValue;
129 class ClientIncidentReport_EnvironmentData_OS_RegistryValueDefaultTypeInternal;
130 extern ClientIncidentReport_EnvironmentData_OS_RegistryValueDefaultTypeInternal _ClientIncidentReport_EnvironmentData_OS_RegistryValue_default_instance_;
131 class ClientIncidentReport_EnvironmentData_Process;
132 class ClientIncidentReport_EnvironmentData_ProcessDefaultTypeInternal;
133 extern ClientIncidentReport_EnvironmentData_ProcessDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_default_instance_;
134 class ClientIncidentReport_EnvironmentData_Process_Dll;
135 class ClientIncidentReport_EnvironmentData_Process_DllDefaultTypeInternal;
136 extern ClientIncidentReport_EnvironmentData_Process_DllDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_Dll_default_instance_;
137 class ClientIncidentReport_EnvironmentData_Process_ModuleState;
138 class ClientIncidentReport_EnvironmentData_Process_ModuleStateDefaultTypeInternal;
139 extern ClientIncidentReport_EnvironmentData_Process_ModuleStateDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_ModuleState_default_instance_;
140 class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification;
141 class ClientIncidentReport_EnvironmentData_Process_ModuleState_ModificationDefaultTypeInternal;
142 extern ClientIncidentReport_EnvironmentData_Process_ModuleState_ModificationDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification_default_instance_;
143 class ClientIncidentReport_EnvironmentData_Process_NetworkProvider;
144 class ClientIncidentReport_EnvironmentData_Process_NetworkProviderDefaultTypeInternal;
145 extern ClientIncidentReport_EnvironmentData_Process_NetworkProviderDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_NetworkProvider_default_instance_;
146 class ClientIncidentReport_EnvironmentData_Process_Patch;
147 class ClientIncidentReport_EnvironmentData_Process_PatchDefaultTypeInternal;
148 extern ClientIncidentReport_EnvironmentData_Process_PatchDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_Patch_default_instance_;
149 class ClientIncidentReport_ExtensionData;
150 class ClientIncidentReport_ExtensionDataDefaultTypeInternal;
151 extern ClientIncidentReport_ExtensionDataDefaultTypeInternal _ClientIncidentReport_ExtensionData_default_instance_;
152 class ClientIncidentReport_ExtensionData_ExtensionInfo;
153 class ClientIncidentReport_ExtensionData_ExtensionInfoDefaultTypeInternal;
154 extern ClientIncidentReport_ExtensionData_ExtensionInfoDefaultTypeInternal _ClientIncidentReport_ExtensionData_ExtensionInfo_default_instance_;
155 class ClientIncidentReport_IncidentData;
156 class ClientIncidentReport_IncidentDataDefaultTypeInternal;
157 extern ClientIncidentReport_IncidentDataDefaultTypeInternal _ClientIncidentReport_IncidentData_default_instance_;
158 class ClientIncidentReport_IncidentData_BinaryIntegrityIncident;
159 class ClientIncidentReport_IncidentData_BinaryIntegrityIncidentDefaultTypeInternal;
160 extern ClientIncidentReport_IncidentData_BinaryIntegrityIncidentDefaultTypeInternal _ClientIncidentReport_IncidentData_BinaryIntegrityIncident_default_instance_;
161 class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile;
162 class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFileDefaultTypeInternal;
163 extern ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFileDefaultTypeInternal _ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile_default_instance_;
164 class ClientIncidentReport_IncidentData_ResourceRequestIncident;
165 class ClientIncidentReport_IncidentData_ResourceRequestIncidentDefaultTypeInternal;
166 extern ClientIncidentReport_IncidentData_ResourceRequestIncidentDefaultTypeInternal _ClientIncidentReport_IncidentData_ResourceRequestIncident_default_instance_;
167 class ClientIncidentReport_IncidentData_TrackedPreferenceIncident;
168 class ClientIncidentReport_IncidentData_TrackedPreferenceIncidentDefaultTypeInternal;
169 extern ClientIncidentReport_IncidentData_TrackedPreferenceIncidentDefaultTypeInternal _ClientIncidentReport_IncidentData_TrackedPreferenceIncident_default_instance_;
170 class ClientIncidentReport_NonBinaryDownloadDetails;
171 class ClientIncidentReport_NonBinaryDownloadDetailsDefaultTypeInternal;
172 extern ClientIncidentReport_NonBinaryDownloadDetailsDefaultTypeInternal _ClientIncidentReport_NonBinaryDownloadDetails_default_instance_;
173 class ClientIncidentResponse;
174 class ClientIncidentResponseDefaultTypeInternal;
175 extern ClientIncidentResponseDefaultTypeInternal _ClientIncidentResponse_default_instance_;
176 class ClientIncidentResponse_EnvironmentRequest;
177 class ClientIncidentResponse_EnvironmentRequestDefaultTypeInternal;
178 extern ClientIncidentResponse_EnvironmentRequestDefaultTypeInternal _ClientIncidentResponse_EnvironmentRequest_default_instance_;
179 class ClientMalwareRequest;
180 class ClientMalwareRequestDefaultTypeInternal;
181 extern ClientMalwareRequestDefaultTypeInternal _ClientMalwareRequest_default_instance_;
182 class ClientMalwareRequest_UrlInfo;
183 class ClientMalwareRequest_UrlInfoDefaultTypeInternal;
184 extern ClientMalwareRequest_UrlInfoDefaultTypeInternal _ClientMalwareRequest_UrlInfo_default_instance_;
185 class ClientMalwareResponse;
186 class ClientMalwareResponseDefaultTypeInternal;
187 extern ClientMalwareResponseDefaultTypeInternal _ClientMalwareResponse_default_instance_;
188 class ClientPhishingRequest;
189 class ClientPhishingRequestDefaultTypeInternal;
190 extern ClientPhishingRequestDefaultTypeInternal _ClientPhishingRequest_default_instance_;
191 class ClientPhishingRequest_Feature;
192 class ClientPhishingRequest_FeatureDefaultTypeInternal;
193 extern ClientPhishingRequest_FeatureDefaultTypeInternal _ClientPhishingRequest_Feature_default_instance_;
194 class ClientPhishingResponse;
195 class ClientPhishingResponseDefaultTypeInternal;
196 extern ClientPhishingResponseDefaultTypeInternal _ClientPhishingResponse_default_instance_;
197 class ClientSafeBrowsingReportRequest;
198 class ClientSafeBrowsingReportRequestDefaultTypeInternal;
199 extern ClientSafeBrowsingReportRequestDefaultTypeInternal _ClientSafeBrowsingReportRequest_default_instance_;
200 class ClientSafeBrowsingReportRequest_HTTPHeader;
201 class ClientSafeBrowsingReportRequest_HTTPHeaderDefaultTypeInternal;
202 extern ClientSafeBrowsingReportRequest_HTTPHeaderDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPHeader_default_instance_;
203 class ClientSafeBrowsingReportRequest_HTTPRequest;
204 class ClientSafeBrowsingReportRequest_HTTPRequestDefaultTypeInternal;
205 extern ClientSafeBrowsingReportRequest_HTTPRequestDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPRequest_default_instance_;
206 class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine;
207 class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLineDefaultTypeInternal;
208 extern ClientSafeBrowsingReportRequest_HTTPRequest_FirstLineDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine_default_instance_;
209 class ClientSafeBrowsingReportRequest_HTTPResponse;
210 class ClientSafeBrowsingReportRequest_HTTPResponseDefaultTypeInternal;
211 extern ClientSafeBrowsingReportRequest_HTTPResponseDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPResponse_default_instance_;
212 class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine;
213 class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLineDefaultTypeInternal;
214 extern ClientSafeBrowsingReportRequest_HTTPResponse_FirstLineDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine_default_instance_;
215 class ClientSafeBrowsingReportRequest_Resource;
216 class ClientSafeBrowsingReportRequest_ResourceDefaultTypeInternal;
217 extern ClientSafeBrowsingReportRequest_ResourceDefaultTypeInternal _ClientSafeBrowsingReportRequest_Resource_default_instance_;
218 class ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties;
219 class ClientSafeBrowsingReportRequest_SafeBrowsingClientPropertiesDefaultTypeInternal;
220 extern ClientSafeBrowsingReportRequest_SafeBrowsingClientPropertiesDefaultTypeInternal _ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties_default_instance_;
221 class ClientUploadResponse;
222 class ClientUploadResponseDefaultTypeInternal;
223 extern ClientUploadResponseDefaultTypeInternal _ClientUploadResponse_default_instance_;
224 class DownloadMetadata;
225 class DownloadMetadataDefaultTypeInternal;
226 extern DownloadMetadataDefaultTypeInternal _DownloadMetadata_default_instance_;
227 class HTMLElement;
228 class HTMLElementDefaultTypeInternal;
229 extern HTMLElementDefaultTypeInternal _HTMLElement_default_instance_;
230 class HTMLElement_Attribute;
231 class HTMLElement_AttributeDefaultTypeInternal;
232 extern HTMLElement_AttributeDefaultTypeInternal _HTMLElement_Attribute_default_instance_;
233 class ImageData;
234 class ImageDataDefaultTypeInternal;
235 extern ImageDataDefaultTypeInternal _ImageData_default_instance_;
236 class ImageData_Dimensions;
237 class ImageData_DimensionsDefaultTypeInternal;
238 extern ImageData_DimensionsDefaultTypeInternal _ImageData_Dimensions_default_instance_;
239 class LoginReputationClientRequest;
240 class LoginReputationClientRequestDefaultTypeInternal;
241 extern LoginReputationClientRequestDefaultTypeInternal _LoginReputationClientRequest_default_instance_;
242 class LoginReputationClientRequest_Frame;
243 class LoginReputationClientRequest_FrameDefaultTypeInternal;
244 extern LoginReputationClientRequest_FrameDefaultTypeInternal _LoginReputationClientRequest_Frame_default_instance_;
245 class LoginReputationClientRequest_Frame_Form;
246 class LoginReputationClientRequest_Frame_FormDefaultTypeInternal;
247 extern LoginReputationClientRequest_Frame_FormDefaultTypeInternal _LoginReputationClientRequest_Frame_Form_default_instance_;
248 class LoginReputationClientRequest_PasswordReuseEvent;
249 class LoginReputationClientRequest_PasswordReuseEventDefaultTypeInternal;
250 extern LoginReputationClientRequest_PasswordReuseEventDefaultTypeInternal _LoginReputationClientRequest_PasswordReuseEvent_default_instance_;
251 class LoginReputationClientResponse;
252 class LoginReputationClientResponseDefaultTypeInternal;
253 extern LoginReputationClientResponseDefaultTypeInternal _LoginReputationClientResponse_default_instance_;
254 class NotificationImageReportRequest;
255 class NotificationImageReportRequestDefaultTypeInternal;
256 extern NotificationImageReportRequestDefaultTypeInternal _NotificationImageReportRequest_default_instance_;
257 class ReferrerChainEntry;
258 class ReferrerChainEntryDefaultTypeInternal;
259 extern ReferrerChainEntryDefaultTypeInternal _ReferrerChainEntry_default_instance_;
260 class ReferrerChainEntry_ServerRedirect;
261 class ReferrerChainEntry_ServerRedirectDefaultTypeInternal;
262 extern ReferrerChainEntry_ServerRedirectDefaultTypeInternal _ReferrerChainEntry_ServerRedirect_default_instance_;
263 } // namespace safe_browsing
264 PROTOBUF_NAMESPACE_OPEN
265 template<> ::safe_browsing::ChromeUserPopulation* Arena::CreateMaybeMessage<::safe_browsing::ChromeUserPopulation>(Arena*);
266 template<> ::safe_browsing::ClientDownloadReport* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadReport>(Arena*);
267 template<> ::safe_browsing::ClientDownloadReport_UserInformation* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadReport_UserInformation>(Arena*);
268 template<> ::safe_browsing::ClientDownloadRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest>(Arena*);
269 template<> ::safe_browsing::ClientDownloadRequest_ArchivedBinary* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ArchivedBinary>(Arena*);
270 template<> ::safe_browsing::ClientDownloadRequest_CertificateChain* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_CertificateChain>(Arena*);
271 template<> ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_CertificateChain_Element>(Arena*);
272 template<> ::safe_browsing::ClientDownloadRequest_Digests* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_Digests>(Arena*);
273 template<> ::safe_browsing::ClientDownloadRequest_ExtendedAttr* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ExtendedAttr>(Arena*);
274 template<> ::safe_browsing::ClientDownloadRequest_ImageHeaders* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ImageHeaders>(Arena*);
275 template<> ::safe_browsing::ClientDownloadRequest_MachOHeaders* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_MachOHeaders>(Arena*);
276 template<> ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(Arena*);
277 template<> ::safe_browsing::ClientDownloadRequest_PEImageHeaders* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_PEImageHeaders>(Arena*);
278 template<> ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(Arena*);
279 template<> ::safe_browsing::ClientDownloadRequest_Resource* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_Resource>(Arena*);
280 template<> ::safe_browsing::ClientDownloadRequest_SignatureInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_SignatureInfo>(Arena*);
281 template<> ::safe_browsing::ClientDownloadResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadResponse>(Arena*);
282 template<> ::safe_browsing::ClientDownloadResponse_MoreInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadResponse_MoreInfo>(Arena*);
283 template<> ::safe_browsing::ClientIncidentReport* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport>(Arena*);
284 template<> ::safe_browsing::ClientIncidentReport_DownloadDetails* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_DownloadDetails>(Arena*);
285 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData>(Arena*);
286 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Machine>(Arena*);
287 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_OS>(Arena*);
288 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(Arena*);
289 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(Arena*);
290 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process>(Arena*);
291 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(Arena*);
292 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(Arena*);
293 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(Arena*);
294 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(Arena*);
295 template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(Arena*);
296 template<> ::safe_browsing::ClientIncidentReport_ExtensionData* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_ExtensionData>(Arena*);
297 template<> ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo>(Arena*);
298 template<> ::safe_browsing::ClientIncidentReport_IncidentData* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData>(Arena*);
299 template<> ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(Arena*);
300 template<> ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(Arena*);
301 template<> ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident>(Arena*);
302 template<> ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(Arena*);
303 template<> ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails>(Arena*);
304 template<> ::safe_browsing::ClientIncidentResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentResponse>(Arena*);
305 template<> ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentResponse_EnvironmentRequest>(Arena*);
306 template<> ::safe_browsing::ClientMalwareRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientMalwareRequest>(Arena*);
307 template<> ::safe_browsing::ClientMalwareRequest_UrlInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientMalwareRequest_UrlInfo>(Arena*);
308 template<> ::safe_browsing::ClientMalwareResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientMalwareResponse>(Arena*);
309 template<> ::safe_browsing::ClientPhishingRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientPhishingRequest>(Arena*);
310 template<> ::safe_browsing::ClientPhishingRequest_Feature* Arena::CreateMaybeMessage<::safe_browsing::ClientPhishingRequest_Feature>(Arena*);
311 template<> ::safe_browsing::ClientPhishingResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientPhishingResponse>(Arena*);
312 template<> ::safe_browsing::ClientSafeBrowsingReportRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest>(Arena*);
313 template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(Arena*);
314 template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest>(Arena*);
315 template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(Arena*);
316 template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse>(Arena*);
317 template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(Arena*);
318 template<> ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_Resource>(Arena*);
319 template<> ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(Arena*);
320 template<> ::safe_browsing::ClientUploadResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientUploadResponse>(Arena*);
321 template<> ::safe_browsing::DownloadMetadata* Arena::CreateMaybeMessage<::safe_browsing::DownloadMetadata>(Arena*);
322 template<> ::safe_browsing::HTMLElement* Arena::CreateMaybeMessage<::safe_browsing::HTMLElement>(Arena*);
323 template<> ::safe_browsing::HTMLElement_Attribute* Arena::CreateMaybeMessage<::safe_browsing::HTMLElement_Attribute>(Arena*);
324 template<> ::safe_browsing::ImageData* Arena::CreateMaybeMessage<::safe_browsing::ImageData>(Arena*);
325 template<> ::safe_browsing::ImageData_Dimensions* Arena::CreateMaybeMessage<::safe_browsing::ImageData_Dimensions>(Arena*);
326 template<> ::safe_browsing::LoginReputationClientRequest* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest>(Arena*);
327 template<> ::safe_browsing::LoginReputationClientRequest_Frame* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest_Frame>(Arena*);
328 template<> ::safe_browsing::LoginReputationClientRequest_Frame_Form* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest_Frame_Form>(Arena*);
329 template<> ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent>(Arena*);
330 template<> ::safe_browsing::LoginReputationClientResponse* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientResponse>(Arena*);
331 template<> ::safe_browsing::NotificationImageReportRequest* Arena::CreateMaybeMessage<::safe_browsing::NotificationImageReportRequest>(Arena*);
332 template<> ::safe_browsing::ReferrerChainEntry* Arena::CreateMaybeMessage<::safe_browsing::ReferrerChainEntry>(Arena*);
333 template<> ::safe_browsing::ReferrerChainEntry_ServerRedirect* Arena::CreateMaybeMessage<::safe_browsing::ReferrerChainEntry_ServerRedirect>(Arena*);
334 PROTOBUF_NAMESPACE_CLOSE
335 namespace safe_browsing {
336
337 enum ChromeUserPopulation_UserPopulation : int {
338 ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION = 0,
339 ChromeUserPopulation_UserPopulation_SAFE_BROWSING = 1,
340 ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING = 2
341 };
342 bool ChromeUserPopulation_UserPopulation_IsValid(int value);
343 constexpr ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MIN = ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION;
344 constexpr ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MAX = ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING;
345 constexpr int ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE = ChromeUserPopulation_UserPopulation_UserPopulation_MAX + 1;
346
347 const std::string& ChromeUserPopulation_UserPopulation_Name(ChromeUserPopulation_UserPopulation value);
348 template<typename T>
ChromeUserPopulation_UserPopulation_Name(T enum_t_value)349 inline const std::string& ChromeUserPopulation_UserPopulation_Name(T enum_t_value) {
350 static_assert(::std::is_same<T, ChromeUserPopulation_UserPopulation>::value ||
351 ::std::is_integral<T>::value,
352 "Incorrect type passed to function ChromeUserPopulation_UserPopulation_Name.");
353 return ChromeUserPopulation_UserPopulation_Name(static_cast<ChromeUserPopulation_UserPopulation>(enum_t_value));
354 }
355 bool ChromeUserPopulation_UserPopulation_Parse(
356 const std::string& name, ChromeUserPopulation_UserPopulation* value);
357 enum LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType : int {
358 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_NOT_SIGNED_IN = 0,
359 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GMAIL = 1,
360 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GSUITE = 2
361 };
362 bool LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_IsValid(int value);
363 constexpr LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MIN = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_NOT_SIGNED_IN;
364 constexpr LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MAX = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GSUITE;
365 constexpr int LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_ARRAYSIZE = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MAX + 1;
366
367 const std::string& LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value);
368 template<typename T>
LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(T enum_t_value)369 inline const std::string& LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(T enum_t_value) {
370 static_assert(::std::is_same<T, LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType>::value ||
371 ::std::is_integral<T>::value,
372 "Incorrect type passed to function LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name.");
373 return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(static_cast<LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType>(enum_t_value));
374 }
375 bool LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Parse(
376 const std::string& name, LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType* value);
377 enum LoginReputationClientRequest_TriggerType : int {
378 LoginReputationClientRequest_TriggerType_TRIGGER_TYPE_UNSPECIFIED = 0,
379 LoginReputationClientRequest_TriggerType_UNFAMILIAR_LOGIN_PAGE = 1,
380 LoginReputationClientRequest_TriggerType_PASSWORD_REUSE_EVENT = 2
381 };
382 bool LoginReputationClientRequest_TriggerType_IsValid(int value);
383 constexpr LoginReputationClientRequest_TriggerType LoginReputationClientRequest_TriggerType_TriggerType_MIN = LoginReputationClientRequest_TriggerType_TRIGGER_TYPE_UNSPECIFIED;
384 constexpr LoginReputationClientRequest_TriggerType LoginReputationClientRequest_TriggerType_TriggerType_MAX = LoginReputationClientRequest_TriggerType_PASSWORD_REUSE_EVENT;
385 constexpr int LoginReputationClientRequest_TriggerType_TriggerType_ARRAYSIZE = LoginReputationClientRequest_TriggerType_TriggerType_MAX + 1;
386
387 const std::string& LoginReputationClientRequest_TriggerType_Name(LoginReputationClientRequest_TriggerType value);
388 template<typename T>
LoginReputationClientRequest_TriggerType_Name(T enum_t_value)389 inline const std::string& LoginReputationClientRequest_TriggerType_Name(T enum_t_value) {
390 static_assert(::std::is_same<T, LoginReputationClientRequest_TriggerType>::value ||
391 ::std::is_integral<T>::value,
392 "Incorrect type passed to function LoginReputationClientRequest_TriggerType_Name.");
393 return LoginReputationClientRequest_TriggerType_Name(static_cast<LoginReputationClientRequest_TriggerType>(enum_t_value));
394 }
395 bool LoginReputationClientRequest_TriggerType_Parse(
396 const std::string& name, LoginReputationClientRequest_TriggerType* value);
397 enum LoginReputationClientResponse_VerdictType : int {
398 LoginReputationClientResponse_VerdictType_VERDICT_TYPE_UNSPECIFIED = 0,
399 LoginReputationClientResponse_VerdictType_SAFE = 1,
400 LoginReputationClientResponse_VerdictType_LOW_REPUTATION = 2,
401 LoginReputationClientResponse_VerdictType_PHISHING = 3
402 };
403 bool LoginReputationClientResponse_VerdictType_IsValid(int value);
404 constexpr LoginReputationClientResponse_VerdictType LoginReputationClientResponse_VerdictType_VerdictType_MIN = LoginReputationClientResponse_VerdictType_VERDICT_TYPE_UNSPECIFIED;
405 constexpr LoginReputationClientResponse_VerdictType LoginReputationClientResponse_VerdictType_VerdictType_MAX = LoginReputationClientResponse_VerdictType_PHISHING;
406 constexpr int LoginReputationClientResponse_VerdictType_VerdictType_ARRAYSIZE = LoginReputationClientResponse_VerdictType_VerdictType_MAX + 1;
407
408 const std::string& LoginReputationClientResponse_VerdictType_Name(LoginReputationClientResponse_VerdictType value);
409 template<typename T>
LoginReputationClientResponse_VerdictType_Name(T enum_t_value)410 inline const std::string& LoginReputationClientResponse_VerdictType_Name(T enum_t_value) {
411 static_assert(::std::is_same<T, LoginReputationClientResponse_VerdictType>::value ||
412 ::std::is_integral<T>::value,
413 "Incorrect type passed to function LoginReputationClientResponse_VerdictType_Name.");
414 return LoginReputationClientResponse_VerdictType_Name(static_cast<LoginReputationClientResponse_VerdictType>(enum_t_value));
415 }
416 bool LoginReputationClientResponse_VerdictType_Parse(
417 const std::string& name, LoginReputationClientResponse_VerdictType* value);
418 enum ClientDownloadRequest_ResourceType : int {
419 ClientDownloadRequest_ResourceType_DOWNLOAD_URL = 0,
420 ClientDownloadRequest_ResourceType_DOWNLOAD_REDIRECT = 1,
421 ClientDownloadRequest_ResourceType_TAB_URL = 2,
422 ClientDownloadRequest_ResourceType_TAB_REDIRECT = 3,
423 ClientDownloadRequest_ResourceType_PPAPI_DOCUMENT = 4,
424 ClientDownloadRequest_ResourceType_PPAPI_PLUGIN = 5
425 };
426 bool ClientDownloadRequest_ResourceType_IsValid(int value);
427 constexpr ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MIN = ClientDownloadRequest_ResourceType_DOWNLOAD_URL;
428 constexpr ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MAX = ClientDownloadRequest_ResourceType_PPAPI_PLUGIN;
429 constexpr int ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE = ClientDownloadRequest_ResourceType_ResourceType_MAX + 1;
430
431 const std::string& ClientDownloadRequest_ResourceType_Name(ClientDownloadRequest_ResourceType value);
432 template<typename T>
ClientDownloadRequest_ResourceType_Name(T enum_t_value)433 inline const std::string& ClientDownloadRequest_ResourceType_Name(T enum_t_value) {
434 static_assert(::std::is_same<T, ClientDownloadRequest_ResourceType>::value ||
435 ::std::is_integral<T>::value,
436 "Incorrect type passed to function ClientDownloadRequest_ResourceType_Name.");
437 return ClientDownloadRequest_ResourceType_Name(static_cast<ClientDownloadRequest_ResourceType>(enum_t_value));
438 }
439 bool ClientDownloadRequest_ResourceType_Parse(
440 const std::string& name, ClientDownloadRequest_ResourceType* value);
441 enum ClientDownloadRequest_DownloadType : int {
442 ClientDownloadRequest_DownloadType_WIN_EXECUTABLE = 0,
443 ClientDownloadRequest_DownloadType_CHROME_EXTENSION = 1,
444 ClientDownloadRequest_DownloadType_ANDROID_APK = 2,
445 ClientDownloadRequest_DownloadType_ZIPPED_EXECUTABLE = 3,
446 ClientDownloadRequest_DownloadType_MAC_EXECUTABLE = 4,
447 ClientDownloadRequest_DownloadType_ZIPPED_ARCHIVE = 5,
448 ClientDownloadRequest_DownloadType_ARCHIVE = 6,
449 ClientDownloadRequest_DownloadType_INVALID_ZIP = 7,
450 ClientDownloadRequest_DownloadType_INVALID_MAC_ARCHIVE = 8,
451 ClientDownloadRequest_DownloadType_PPAPI_SAVE_REQUEST = 9,
452 ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE = 10
453 };
454 bool ClientDownloadRequest_DownloadType_IsValid(int value);
455 constexpr ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MIN = ClientDownloadRequest_DownloadType_WIN_EXECUTABLE;
456 constexpr ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MAX = ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE;
457 constexpr int ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE = ClientDownloadRequest_DownloadType_DownloadType_MAX + 1;
458
459 const std::string& ClientDownloadRequest_DownloadType_Name(ClientDownloadRequest_DownloadType value);
460 template<typename T>
ClientDownloadRequest_DownloadType_Name(T enum_t_value)461 inline const std::string& ClientDownloadRequest_DownloadType_Name(T enum_t_value) {
462 static_assert(::std::is_same<T, ClientDownloadRequest_DownloadType>::value ||
463 ::std::is_integral<T>::value,
464 "Incorrect type passed to function ClientDownloadRequest_DownloadType_Name.");
465 return ClientDownloadRequest_DownloadType_Name(static_cast<ClientDownloadRequest_DownloadType>(enum_t_value));
466 }
467 bool ClientDownloadRequest_DownloadType_Parse(
468 const std::string& name, ClientDownloadRequest_DownloadType* value);
469 enum ReferrerChainEntry_URLType : int {
470 ReferrerChainEntry_URLType_EVENT_URL = 1,
471 ReferrerChainEntry_URLType_LANDING_PAGE = 2,
472 ReferrerChainEntry_URLType_LANDING_REFERRER = 3,
473 ReferrerChainEntry_URLType_CLIENT_REDIRECT = 4,
474 ReferrerChainEntry_URLType_DEPRECATED_SERVER_REDIRECT = 5
475 };
476 bool ReferrerChainEntry_URLType_IsValid(int value);
477 constexpr ReferrerChainEntry_URLType ReferrerChainEntry_URLType_URLType_MIN = ReferrerChainEntry_URLType_EVENT_URL;
478 constexpr ReferrerChainEntry_URLType ReferrerChainEntry_URLType_URLType_MAX = ReferrerChainEntry_URLType_DEPRECATED_SERVER_REDIRECT;
479 constexpr int ReferrerChainEntry_URLType_URLType_ARRAYSIZE = ReferrerChainEntry_URLType_URLType_MAX + 1;
480
481 const std::string& ReferrerChainEntry_URLType_Name(ReferrerChainEntry_URLType value);
482 template<typename T>
ReferrerChainEntry_URLType_Name(T enum_t_value)483 inline const std::string& ReferrerChainEntry_URLType_Name(T enum_t_value) {
484 static_assert(::std::is_same<T, ReferrerChainEntry_URLType>::value ||
485 ::std::is_integral<T>::value,
486 "Incorrect type passed to function ReferrerChainEntry_URLType_Name.");
487 return ReferrerChainEntry_URLType_Name(static_cast<ReferrerChainEntry_URLType>(enum_t_value));
488 }
489 bool ReferrerChainEntry_URLType_Parse(
490 const std::string& name, ReferrerChainEntry_URLType* value);
491 enum ClientDownloadResponse_Verdict : int {
492 ClientDownloadResponse_Verdict_SAFE = 0,
493 ClientDownloadResponse_Verdict_DANGEROUS = 1,
494 ClientDownloadResponse_Verdict_UNCOMMON = 2,
495 ClientDownloadResponse_Verdict_POTENTIALLY_UNWANTED = 3,
496 ClientDownloadResponse_Verdict_DANGEROUS_HOST = 4,
497 ClientDownloadResponse_Verdict_UNKNOWN = 5
498 };
499 bool ClientDownloadResponse_Verdict_IsValid(int value);
500 constexpr ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MIN = ClientDownloadResponse_Verdict_SAFE;
501 constexpr ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MAX = ClientDownloadResponse_Verdict_UNKNOWN;
502 constexpr int ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE = ClientDownloadResponse_Verdict_Verdict_MAX + 1;
503
504 const std::string& ClientDownloadResponse_Verdict_Name(ClientDownloadResponse_Verdict value);
505 template<typename T>
ClientDownloadResponse_Verdict_Name(T enum_t_value)506 inline const std::string& ClientDownloadResponse_Verdict_Name(T enum_t_value) {
507 static_assert(::std::is_same<T, ClientDownloadResponse_Verdict>::value ||
508 ::std::is_integral<T>::value,
509 "Incorrect type passed to function ClientDownloadResponse_Verdict_Name.");
510 return ClientDownloadResponse_Verdict_Name(static_cast<ClientDownloadResponse_Verdict>(enum_t_value));
511 }
512 bool ClientDownloadResponse_Verdict_Parse(
513 const std::string& name, ClientDownloadResponse_Verdict* value);
514 enum ClientDownloadReport_Reason : int {
515 ClientDownloadReport_Reason_SHARE = 0,
516 ClientDownloadReport_Reason_FALSE_POSITIVE = 1,
517 ClientDownloadReport_Reason_APPEAL = 2
518 };
519 bool ClientDownloadReport_Reason_IsValid(int value);
520 constexpr ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MIN = ClientDownloadReport_Reason_SHARE;
521 constexpr ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MAX = ClientDownloadReport_Reason_APPEAL;
522 constexpr int ClientDownloadReport_Reason_Reason_ARRAYSIZE = ClientDownloadReport_Reason_Reason_MAX + 1;
523
524 const std::string& ClientDownloadReport_Reason_Name(ClientDownloadReport_Reason value);
525 template<typename T>
ClientDownloadReport_Reason_Name(T enum_t_value)526 inline const std::string& ClientDownloadReport_Reason_Name(T enum_t_value) {
527 static_assert(::std::is_same<T, ClientDownloadReport_Reason>::value ||
528 ::std::is_integral<T>::value,
529 "Incorrect type passed to function ClientDownloadReport_Reason_Name.");
530 return ClientDownloadReport_Reason_Name(static_cast<ClientDownloadReport_Reason>(enum_t_value));
531 }
532 bool ClientDownloadReport_Reason_Parse(
533 const std::string& name, ClientDownloadReport_Reason* value);
534 enum ClientUploadResponse_UploadStatus : int {
535 ClientUploadResponse_UploadStatus_SUCCESS = 0,
536 ClientUploadResponse_UploadStatus_UPLOAD_FAILURE = 1
537 };
538 bool ClientUploadResponse_UploadStatus_IsValid(int value);
539 constexpr ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MIN = ClientUploadResponse_UploadStatus_SUCCESS;
540 constexpr ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MAX = ClientUploadResponse_UploadStatus_UPLOAD_FAILURE;
541 constexpr int ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE = ClientUploadResponse_UploadStatus_UploadStatus_MAX + 1;
542
543 const std::string& ClientUploadResponse_UploadStatus_Name(ClientUploadResponse_UploadStatus value);
544 template<typename T>
ClientUploadResponse_UploadStatus_Name(T enum_t_value)545 inline const std::string& ClientUploadResponse_UploadStatus_Name(T enum_t_value) {
546 static_assert(::std::is_same<T, ClientUploadResponse_UploadStatus>::value ||
547 ::std::is_integral<T>::value,
548 "Incorrect type passed to function ClientUploadResponse_UploadStatus_Name.");
549 return ClientUploadResponse_UploadStatus_Name(static_cast<ClientUploadResponse_UploadStatus>(enum_t_value));
550 }
551 bool ClientUploadResponse_UploadStatus_Parse(
552 const std::string& name, ClientUploadResponse_UploadStatus* value);
553 enum ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState : int {
554 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN = 0,
555 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CLEARED = 1,
556 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_WEAK_LEGACY_OBSOLETE = 2,
557 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CHANGED = 3,
558 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE = 4,
559 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CLEARED = 5,
560 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CHANGED = 6
561 };
562 bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(int value);
563 constexpr ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN;
564 constexpr ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CHANGED;
565 constexpr int ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX + 1;
566
567 const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value);
568 template<typename T>
ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(T enum_t_value)569 inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(T enum_t_value) {
570 static_assert(::std::is_same<T, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState>::value ||
571 ::std::is_integral<T>::value,
572 "Incorrect type passed to function ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name.");
573 return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(static_cast<ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState>(enum_t_value));
574 }
575 bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Parse(
576 const std::string& name, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState* value);
577 enum ClientIncidentReport_IncidentData_ResourceRequestIncident_Type : int {
578 ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN = 0,
579 ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN = 3
580 };
581 bool ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(int value);
582 constexpr ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN;
583 constexpr ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN;
584 constexpr int ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX + 1;
585
586 const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value);
587 template<typename T>
ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(T enum_t_value)588 inline const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(T enum_t_value) {
589 static_assert(::std::is_same<T, ClientIncidentReport_IncidentData_ResourceRequestIncident_Type>::value ||
590 ::std::is_integral<T>::value,
591 "Incorrect type passed to function ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name.");
592 return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(static_cast<ClientIncidentReport_IncidentData_ResourceRequestIncident_Type>(enum_t_value));
593 }
594 bool ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Parse(
595 const std::string& name, ClientIncidentReport_IncidentData_ResourceRequestIncident_Type* value);
596 enum ClientIncidentReport_EnvironmentData_Process_Dll_Feature : int {
597 ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN = 0,
598 ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP = 1
599 };
600 bool ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(int value);
601 constexpr ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN;
602 constexpr ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP;
603 constexpr int ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX + 1;
604
605 const std::string& ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(ClientIncidentReport_EnvironmentData_Process_Dll_Feature value);
606 template<typename T>
ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(T enum_t_value)607 inline const std::string& ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(T enum_t_value) {
608 static_assert(::std::is_same<T, ClientIncidentReport_EnvironmentData_Process_Dll_Feature>::value ||
609 ::std::is_integral<T>::value,
610 "Incorrect type passed to function ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name.");
611 return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(static_cast<ClientIncidentReport_EnvironmentData_Process_Dll_Feature>(enum_t_value));
612 }
613 bool ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Parse(
614 const std::string& name, ClientIncidentReport_EnvironmentData_Process_Dll_Feature* value);
615 enum ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState : int {
616 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN = 0,
617 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNKNOWN = 1,
618 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNMODIFIED = 2,
619 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED = 3
620 };
621 bool ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(int value);
622 constexpr ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN;
623 constexpr ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED;
624 constexpr int ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX + 1;
625
626 const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value);
627 template<typename T>
ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(T enum_t_value)628 inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(T enum_t_value) {
629 static_assert(::std::is_same<T, ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState>::value ||
630 ::std::is_integral<T>::value,
631 "Incorrect type passed to function ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name.");
632 return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(static_cast<ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState>(enum_t_value));
633 }
634 bool ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Parse(
635 const std::string& name, ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState* value);
636 enum ClientIncidentReport_EnvironmentData_Process_Channel : int {
637 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN = 0,
638 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_CANARY = 1,
639 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_DEV = 2,
640 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_BETA = 3,
641 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE = 4
642 };
643 bool ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(int value);
644 constexpr ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN;
645 constexpr ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE;
646 constexpr int ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX + 1;
647
648 const std::string& ClientIncidentReport_EnvironmentData_Process_Channel_Name(ClientIncidentReport_EnvironmentData_Process_Channel value);
649 template<typename T>
ClientIncidentReport_EnvironmentData_Process_Channel_Name(T enum_t_value)650 inline const std::string& ClientIncidentReport_EnvironmentData_Process_Channel_Name(T enum_t_value) {
651 static_assert(::std::is_same<T, ClientIncidentReport_EnvironmentData_Process_Channel>::value ||
652 ::std::is_integral<T>::value,
653 "Incorrect type passed to function ClientIncidentReport_EnvironmentData_Process_Channel_Name.");
654 return ClientIncidentReport_EnvironmentData_Process_Channel_Name(static_cast<ClientIncidentReport_EnvironmentData_Process_Channel>(enum_t_value));
655 }
656 bool ClientIncidentReport_EnvironmentData_Process_Channel_Parse(
657 const std::string& name, ClientIncidentReport_EnvironmentData_Process_Channel* value);
658 enum ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState : int {
659 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN = 0,
660 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_ENABLED = 1,
661 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_DISABLED = 2,
662 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLACKLISTED = 3,
663 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLOCKED = 4,
664 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED = 5
665 };
666 bool ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(int value);
667 constexpr ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN;
668 constexpr ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED;
669 constexpr int ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX + 1;
670
671 const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value);
672 template<typename T>
ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(T enum_t_value)673 inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(T enum_t_value) {
674 static_assert(::std::is_same<T, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState>::value ||
675 ::std::is_integral<T>::value,
676 "Incorrect type passed to function ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name.");
677 return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(static_cast<ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState>(enum_t_value));
678 }
679 bool ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Parse(
680 const std::string& name, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState* value);
681 enum ClientSafeBrowsingReportRequest_ReportType : int {
682 ClientSafeBrowsingReportRequest_ReportType_UNKNOWN = 0,
683 ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING = 1,
684 ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE = 2,
685 ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED = 3,
686 ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_PHISHING = 4,
687 ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_MALWARE = 5,
688 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY = 6,
689 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING = 7,
690 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API = 10,
691 ClientSafeBrowsingReportRequest_ReportType_URL_PASSWORD_PROTECTION_PHISHING = 12,
692 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_OPENED = 13,
693 ClientSafeBrowsingReportRequest_ReportType_AD_SAMPLE = 14
694 };
695 bool ClientSafeBrowsingReportRequest_ReportType_IsValid(int value);
696 constexpr ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN = ClientSafeBrowsingReportRequest_ReportType_UNKNOWN;
697 constexpr ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX = ClientSafeBrowsingReportRequest_ReportType_AD_SAMPLE;
698 constexpr int ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE = ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX + 1;
699
700 const std::string& ClientSafeBrowsingReportRequest_ReportType_Name(ClientSafeBrowsingReportRequest_ReportType value);
701 template<typename T>
ClientSafeBrowsingReportRequest_ReportType_Name(T enum_t_value)702 inline const std::string& ClientSafeBrowsingReportRequest_ReportType_Name(T enum_t_value) {
703 static_assert(::std::is_same<T, ClientSafeBrowsingReportRequest_ReportType>::value ||
704 ::std::is_integral<T>::value,
705 "Incorrect type passed to function ClientSafeBrowsingReportRequest_ReportType_Name.");
706 return ClientSafeBrowsingReportRequest_ReportType_Name(static_cast<ClientSafeBrowsingReportRequest_ReportType>(enum_t_value));
707 }
708 bool ClientSafeBrowsingReportRequest_ReportType_Parse(
709 const std::string& name, ClientSafeBrowsingReportRequest_ReportType* value);
710 enum ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType : int {
711 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED = 0,
712 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER3_NATIVE = 1,
713 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER4_NATIVE = 2,
714 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_ANDROID_SAFETYNET = 3,
715 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_FLYWHEEL = 4
716 };
717 bool ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_IsValid(int value);
718 constexpr ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MIN = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED;
719 constexpr ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MAX = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_FLYWHEEL;
720 constexpr int ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_ARRAYSIZE = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MAX + 1;
721
722 const std::string& ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value);
723 template<typename T>
ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(T enum_t_value)724 inline const std::string& ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(T enum_t_value) {
725 static_assert(::std::is_same<T, ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType>::value ||
726 ::std::is_integral<T>::value,
727 "Incorrect type passed to function ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name.");
728 return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(static_cast<ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType>(enum_t_value));
729 }
730 bool ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Parse(
731 const std::string& name, ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType* value);
732 // ===================================================================
733
734 class ChromeUserPopulation :
735 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ChromeUserPopulation) */ {
736 public:
737 ChromeUserPopulation();
738 virtual ~ChromeUserPopulation();
739
740 ChromeUserPopulation(const ChromeUserPopulation& from);
ChromeUserPopulation(ChromeUserPopulation && from)741 ChromeUserPopulation(ChromeUserPopulation&& from) noexcept
742 : ChromeUserPopulation() {
743 *this = ::std::move(from);
744 }
745
746 inline ChromeUserPopulation& operator=(const ChromeUserPopulation& from) {
747 CopyFrom(from);
748 return *this;
749 }
750 inline ChromeUserPopulation& operator=(ChromeUserPopulation&& from) noexcept {
751 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
752 if (this != &from) InternalSwap(&from);
753 } else {
754 CopyFrom(from);
755 }
756 return *this;
757 }
758
unknown_fields()759 inline const std::string& unknown_fields() const {
760 return _internal_metadata_.unknown_fields();
761 }
mutable_unknown_fields()762 inline std::string* mutable_unknown_fields() {
763 return _internal_metadata_.mutable_unknown_fields();
764 }
765
766 static const ChromeUserPopulation& default_instance();
767
768 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()769 static inline const ChromeUserPopulation* internal_default_instance() {
770 return reinterpret_cast<const ChromeUserPopulation*>(
771 &_ChromeUserPopulation_default_instance_);
772 }
773 static constexpr int kIndexInFileMessages =
774 0;
775
swap(ChromeUserPopulation & a,ChromeUserPopulation & b)776 friend void swap(ChromeUserPopulation& a, ChromeUserPopulation& b) {
777 a.Swap(&b);
778 }
Swap(ChromeUserPopulation * other)779 inline void Swap(ChromeUserPopulation* other) {
780 if (other == this) return;
781 InternalSwap(other);
782 }
783
784 // implements Message ----------------------------------------------
785
New()786 inline ChromeUserPopulation* New() const final {
787 return CreateMaybeMessage<ChromeUserPopulation>(nullptr);
788 }
789
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)790 ChromeUserPopulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
791 return CreateMaybeMessage<ChromeUserPopulation>(arena);
792 }
793 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
794 final;
795 void CopyFrom(const ChromeUserPopulation& from);
796 void MergeFrom(const ChromeUserPopulation& from);
797 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
798 bool IsInitialized() const final;
799
800 size_t ByteSizeLong() const final;
801 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
802 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
803 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
804 void DiscardUnknownFields();
GetCachedSize()805 int GetCachedSize() const final { return _cached_size_.Get(); }
806
807 private:
808 inline void SharedCtor();
809 inline void SharedDtor();
810 void SetCachedSize(int size) const;
811 void InternalSwap(ChromeUserPopulation* other);
812 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()813 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
814 return "safe_browsing.ChromeUserPopulation";
815 }
816 private:
GetArenaNoVirtual()817 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
818 return nullptr;
819 }
MaybeArenaPtr()820 inline void* MaybeArenaPtr() const {
821 return nullptr;
822 }
823 public:
824
825 std::string GetTypeName() const final;
826
827 // nested types ----------------------------------------------------
828
829 typedef ChromeUserPopulation_UserPopulation UserPopulation;
830 static constexpr UserPopulation UNKNOWN_USER_POPULATION =
831 ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION;
832 static constexpr UserPopulation SAFE_BROWSING =
833 ChromeUserPopulation_UserPopulation_SAFE_BROWSING;
834 static constexpr UserPopulation EXTENDED_REPORTING =
835 ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING;
UserPopulation_IsValid(int value)836 static inline bool UserPopulation_IsValid(int value) {
837 return ChromeUserPopulation_UserPopulation_IsValid(value);
838 }
839 static constexpr UserPopulation UserPopulation_MIN =
840 ChromeUserPopulation_UserPopulation_UserPopulation_MIN;
841 static constexpr UserPopulation UserPopulation_MAX =
842 ChromeUserPopulation_UserPopulation_UserPopulation_MAX;
843 static constexpr int UserPopulation_ARRAYSIZE =
844 ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE;
845 template<typename T>
UserPopulation_Name(T enum_t_value)846 static inline const std::string& UserPopulation_Name(T enum_t_value) {
847 static_assert(::std::is_same<T, UserPopulation>::value ||
848 ::std::is_integral<T>::value,
849 "Incorrect type passed to function UserPopulation_Name.");
850 return ChromeUserPopulation_UserPopulation_Name(enum_t_value);
851 }
UserPopulation_Parse(const std::string & name,UserPopulation * value)852 static inline bool UserPopulation_Parse(const std::string& name,
853 UserPopulation* value) {
854 return ChromeUserPopulation_UserPopulation_Parse(name, value);
855 }
856
857 // accessors -------------------------------------------------------
858
859 enum : int {
860 kFinchActiveGroupsFieldNumber = 4,
861 kUserPopulationFieldNumber = 1,
862 kIsHistorySyncEnabledFieldNumber = 2,
863 };
864 // repeated string finch_active_groups = 4;
865 int finch_active_groups_size() const;
866 private:
867 int _internal_finch_active_groups_size() const;
868 public:
869 void clear_finch_active_groups();
870 const std::string& finch_active_groups(int index) const;
871 std::string* mutable_finch_active_groups(int index);
872 void set_finch_active_groups(int index, const std::string& value);
873 void set_finch_active_groups(int index, std::string&& value);
874 void set_finch_active_groups(int index, const char* value);
875 void set_finch_active_groups(int index, const char* value, size_t size);
876 std::string* add_finch_active_groups();
877 void add_finch_active_groups(const std::string& value);
878 void add_finch_active_groups(std::string&& value);
879 void add_finch_active_groups(const char* value);
880 void add_finch_active_groups(const char* value, size_t size);
881 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& finch_active_groups() const;
882 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_finch_active_groups();
883 private:
884 const std::string& _internal_finch_active_groups(int index) const;
885 std::string* _internal_add_finch_active_groups();
886 public:
887
888 // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1;
889 bool has_user_population() const;
890 private:
891 bool _internal_has_user_population() const;
892 public:
893 void clear_user_population();
894 ::safe_browsing::ChromeUserPopulation_UserPopulation user_population() const;
895 void set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value);
896 private:
897 ::safe_browsing::ChromeUserPopulation_UserPopulation _internal_user_population() const;
898 void _internal_set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value);
899 public:
900
901 // optional bool is_history_sync_enabled = 2;
902 bool has_is_history_sync_enabled() const;
903 private:
904 bool _internal_has_is_history_sync_enabled() const;
905 public:
906 void clear_is_history_sync_enabled();
907 bool is_history_sync_enabled() const;
908 void set_is_history_sync_enabled(bool value);
909 private:
910 bool _internal_is_history_sync_enabled() const;
911 void _internal_set_is_history_sync_enabled(bool value);
912 public:
913
914 // @@protoc_insertion_point(class_scope:safe_browsing.ChromeUserPopulation)
915 private:
916 class _Internal;
917
918 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
919 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
920 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
921 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> finch_active_groups_;
922 int user_population_;
923 bool is_history_sync_enabled_;
924 friend struct ::TableStruct_csd_2eproto;
925 };
926 // -------------------------------------------------------------------
927
928 class ClientPhishingRequest_Feature :
929 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientPhishingRequest.Feature) */ {
930 public:
931 ClientPhishingRequest_Feature();
932 virtual ~ClientPhishingRequest_Feature();
933
934 ClientPhishingRequest_Feature(const ClientPhishingRequest_Feature& from);
ClientPhishingRequest_Feature(ClientPhishingRequest_Feature && from)935 ClientPhishingRequest_Feature(ClientPhishingRequest_Feature&& from) noexcept
936 : ClientPhishingRequest_Feature() {
937 *this = ::std::move(from);
938 }
939
940 inline ClientPhishingRequest_Feature& operator=(const ClientPhishingRequest_Feature& from) {
941 CopyFrom(from);
942 return *this;
943 }
944 inline ClientPhishingRequest_Feature& operator=(ClientPhishingRequest_Feature&& from) noexcept {
945 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
946 if (this != &from) InternalSwap(&from);
947 } else {
948 CopyFrom(from);
949 }
950 return *this;
951 }
952
unknown_fields()953 inline const std::string& unknown_fields() const {
954 return _internal_metadata_.unknown_fields();
955 }
mutable_unknown_fields()956 inline std::string* mutable_unknown_fields() {
957 return _internal_metadata_.mutable_unknown_fields();
958 }
959
960 static const ClientPhishingRequest_Feature& default_instance();
961
962 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()963 static inline const ClientPhishingRequest_Feature* internal_default_instance() {
964 return reinterpret_cast<const ClientPhishingRequest_Feature*>(
965 &_ClientPhishingRequest_Feature_default_instance_);
966 }
967 static constexpr int kIndexInFileMessages =
968 1;
969
swap(ClientPhishingRequest_Feature & a,ClientPhishingRequest_Feature & b)970 friend void swap(ClientPhishingRequest_Feature& a, ClientPhishingRequest_Feature& b) {
971 a.Swap(&b);
972 }
Swap(ClientPhishingRequest_Feature * other)973 inline void Swap(ClientPhishingRequest_Feature* other) {
974 if (other == this) return;
975 InternalSwap(other);
976 }
977
978 // implements Message ----------------------------------------------
979
New()980 inline ClientPhishingRequest_Feature* New() const final {
981 return CreateMaybeMessage<ClientPhishingRequest_Feature>(nullptr);
982 }
983
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)984 ClientPhishingRequest_Feature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
985 return CreateMaybeMessage<ClientPhishingRequest_Feature>(arena);
986 }
987 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
988 final;
989 void CopyFrom(const ClientPhishingRequest_Feature& from);
990 void MergeFrom(const ClientPhishingRequest_Feature& from);
991 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
992 bool IsInitialized() const final;
993
994 size_t ByteSizeLong() const final;
995 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
996 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
997 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
998 void DiscardUnknownFields();
GetCachedSize()999 int GetCachedSize() const final { return _cached_size_.Get(); }
1000
1001 private:
1002 inline void SharedCtor();
1003 inline void SharedDtor();
1004 void SetCachedSize(int size) const;
1005 void InternalSwap(ClientPhishingRequest_Feature* other);
1006 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1007 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1008 return "safe_browsing.ClientPhishingRequest.Feature";
1009 }
1010 private:
GetArenaNoVirtual()1011 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1012 return nullptr;
1013 }
MaybeArenaPtr()1014 inline void* MaybeArenaPtr() const {
1015 return nullptr;
1016 }
1017 public:
1018
1019 std::string GetTypeName() const final;
1020
1021 // nested types ----------------------------------------------------
1022
1023 // accessors -------------------------------------------------------
1024
1025 enum : int {
1026 kNameFieldNumber = 1,
1027 kValueFieldNumber = 2,
1028 };
1029 // required string name = 1;
1030 bool has_name() const;
1031 private:
1032 bool _internal_has_name() const;
1033 public:
1034 void clear_name();
1035 const std::string& name() const;
1036 void set_name(const std::string& value);
1037 void set_name(std::string&& value);
1038 void set_name(const char* value);
1039 void set_name(const char* value, size_t size);
1040 std::string* mutable_name();
1041 std::string* release_name();
1042 void set_allocated_name(std::string* name);
1043 private:
1044 const std::string& _internal_name() const;
1045 void _internal_set_name(const std::string& value);
1046 std::string* _internal_mutable_name();
1047 public:
1048
1049 // required double value = 2;
1050 bool has_value() const;
1051 private:
1052 bool _internal_has_value() const;
1053 public:
1054 void clear_value();
1055 double value() const;
1056 void set_value(double value);
1057 private:
1058 double _internal_value() const;
1059 void _internal_set_value(double value);
1060 public:
1061
1062 // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest.Feature)
1063 private:
1064 class _Internal;
1065
1066 // helper for ByteSizeLong()
1067 size_t RequiredFieldsByteSizeFallback() const;
1068
1069 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
1070 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1071 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1072 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1073 double value_;
1074 friend struct ::TableStruct_csd_2eproto;
1075 };
1076 // -------------------------------------------------------------------
1077
1078 class ClientPhishingRequest :
1079 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientPhishingRequest) */ {
1080 public:
1081 ClientPhishingRequest();
1082 virtual ~ClientPhishingRequest();
1083
1084 ClientPhishingRequest(const ClientPhishingRequest& from);
ClientPhishingRequest(ClientPhishingRequest && from)1085 ClientPhishingRequest(ClientPhishingRequest&& from) noexcept
1086 : ClientPhishingRequest() {
1087 *this = ::std::move(from);
1088 }
1089
1090 inline ClientPhishingRequest& operator=(const ClientPhishingRequest& from) {
1091 CopyFrom(from);
1092 return *this;
1093 }
1094 inline ClientPhishingRequest& operator=(ClientPhishingRequest&& from) noexcept {
1095 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1096 if (this != &from) InternalSwap(&from);
1097 } else {
1098 CopyFrom(from);
1099 }
1100 return *this;
1101 }
1102
unknown_fields()1103 inline const std::string& unknown_fields() const {
1104 return _internal_metadata_.unknown_fields();
1105 }
mutable_unknown_fields()1106 inline std::string* mutable_unknown_fields() {
1107 return _internal_metadata_.mutable_unknown_fields();
1108 }
1109
1110 static const ClientPhishingRequest& default_instance();
1111
1112 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1113 static inline const ClientPhishingRequest* internal_default_instance() {
1114 return reinterpret_cast<const ClientPhishingRequest*>(
1115 &_ClientPhishingRequest_default_instance_);
1116 }
1117 static constexpr int kIndexInFileMessages =
1118 2;
1119
swap(ClientPhishingRequest & a,ClientPhishingRequest & b)1120 friend void swap(ClientPhishingRequest& a, ClientPhishingRequest& b) {
1121 a.Swap(&b);
1122 }
Swap(ClientPhishingRequest * other)1123 inline void Swap(ClientPhishingRequest* other) {
1124 if (other == this) return;
1125 InternalSwap(other);
1126 }
1127
1128 // implements Message ----------------------------------------------
1129
New()1130 inline ClientPhishingRequest* New() const final {
1131 return CreateMaybeMessage<ClientPhishingRequest>(nullptr);
1132 }
1133
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1134 ClientPhishingRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1135 return CreateMaybeMessage<ClientPhishingRequest>(arena);
1136 }
1137 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
1138 final;
1139 void CopyFrom(const ClientPhishingRequest& from);
1140 void MergeFrom(const ClientPhishingRequest& from);
1141 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1142 bool IsInitialized() const final;
1143
1144 size_t ByteSizeLong() const final;
1145 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1146 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1147 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1148 void DiscardUnknownFields();
GetCachedSize()1149 int GetCachedSize() const final { return _cached_size_.Get(); }
1150
1151 private:
1152 inline void SharedCtor();
1153 inline void SharedDtor();
1154 void SetCachedSize(int size) const;
1155 void InternalSwap(ClientPhishingRequest* other);
1156 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1157 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1158 return "safe_browsing.ClientPhishingRequest";
1159 }
1160 private:
GetArenaNoVirtual()1161 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1162 return nullptr;
1163 }
MaybeArenaPtr()1164 inline void* MaybeArenaPtr() const {
1165 return nullptr;
1166 }
1167 public:
1168
1169 std::string GetTypeName() const final;
1170
1171 // nested types ----------------------------------------------------
1172
1173 typedef ClientPhishingRequest_Feature Feature;
1174
1175 // accessors -------------------------------------------------------
1176
1177 enum : int {
1178 kFeatureMapFieldNumber = 5,
1179 kNonModelFeatureMapFieldNumber = 8,
1180 kShingleHashesFieldNumber = 12,
1181 kUrlFieldNumber = 1,
1182 kOBSOLETEReferrerUrlFieldNumber = 9,
1183 kOBSOLETEHashPrefixFieldNumber = 10,
1184 kModelFilenameFieldNumber = 13,
1185 kPopulationFieldNumber = 14,
1186 kClientScoreFieldNumber = 2,
1187 kIsPhishingFieldNumber = 4,
1188 kModelVersionFieldNumber = 6,
1189 };
1190 // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5;
1191 int feature_map_size() const;
1192 private:
1193 int _internal_feature_map_size() const;
1194 public:
1195 void clear_feature_map();
1196 ::safe_browsing::ClientPhishingRequest_Feature* mutable_feature_map(int index);
1197 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >*
1198 mutable_feature_map();
1199 private:
1200 const ::safe_browsing::ClientPhishingRequest_Feature& _internal_feature_map(int index) const;
1201 ::safe_browsing::ClientPhishingRequest_Feature* _internal_add_feature_map();
1202 public:
1203 const ::safe_browsing::ClientPhishingRequest_Feature& feature_map(int index) const;
1204 ::safe_browsing::ClientPhishingRequest_Feature* add_feature_map();
1205 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >&
1206 feature_map() const;
1207
1208 // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8;
1209 int non_model_feature_map_size() const;
1210 private:
1211 int _internal_non_model_feature_map_size() const;
1212 public:
1213 void clear_non_model_feature_map();
1214 ::safe_browsing::ClientPhishingRequest_Feature* mutable_non_model_feature_map(int index);
1215 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >*
1216 mutable_non_model_feature_map();
1217 private:
1218 const ::safe_browsing::ClientPhishingRequest_Feature& _internal_non_model_feature_map(int index) const;
1219 ::safe_browsing::ClientPhishingRequest_Feature* _internal_add_non_model_feature_map();
1220 public:
1221 const ::safe_browsing::ClientPhishingRequest_Feature& non_model_feature_map(int index) const;
1222 ::safe_browsing::ClientPhishingRequest_Feature* add_non_model_feature_map();
1223 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >&
1224 non_model_feature_map() const;
1225
1226 // repeated uint32 shingle_hashes = 12 [packed = true];
1227 int shingle_hashes_size() const;
1228 private:
1229 int _internal_shingle_hashes_size() const;
1230 public:
1231 void clear_shingle_hashes();
1232 private:
1233 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_shingle_hashes(int index) const;
1234 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1235 _internal_shingle_hashes() const;
1236 void _internal_add_shingle_hashes(::PROTOBUF_NAMESPACE_ID::uint32 value);
1237 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1238 _internal_mutable_shingle_hashes();
1239 public:
1240 ::PROTOBUF_NAMESPACE_ID::uint32 shingle_hashes(int index) const;
1241 void set_shingle_hashes(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value);
1242 void add_shingle_hashes(::PROTOBUF_NAMESPACE_ID::uint32 value);
1243 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1244 shingle_hashes() const;
1245 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1246 mutable_shingle_hashes();
1247
1248 // optional string url = 1;
1249 bool has_url() const;
1250 private:
1251 bool _internal_has_url() const;
1252 public:
1253 void clear_url();
1254 const std::string& url() const;
1255 void set_url(const std::string& value);
1256 void set_url(std::string&& value);
1257 void set_url(const char* value);
1258 void set_url(const char* value, size_t size);
1259 std::string* mutable_url();
1260 std::string* release_url();
1261 void set_allocated_url(std::string* url);
1262 private:
1263 const std::string& _internal_url() const;
1264 void _internal_set_url(const std::string& value);
1265 std::string* _internal_mutable_url();
1266 public:
1267
1268 // optional string OBSOLETE_referrer_url = 9;
1269 bool has_obsolete_referrer_url() const;
1270 private:
1271 bool _internal_has_obsolete_referrer_url() const;
1272 public:
1273 void clear_obsolete_referrer_url();
1274 const std::string& obsolete_referrer_url() const;
1275 void set_obsolete_referrer_url(const std::string& value);
1276 void set_obsolete_referrer_url(std::string&& value);
1277 void set_obsolete_referrer_url(const char* value);
1278 void set_obsolete_referrer_url(const char* value, size_t size);
1279 std::string* mutable_obsolete_referrer_url();
1280 std::string* release_obsolete_referrer_url();
1281 void set_allocated_obsolete_referrer_url(std::string* obsolete_referrer_url);
1282 private:
1283 const std::string& _internal_obsolete_referrer_url() const;
1284 void _internal_set_obsolete_referrer_url(const std::string& value);
1285 std::string* _internal_mutable_obsolete_referrer_url();
1286 public:
1287
1288 // optional bytes OBSOLETE_hash_prefix = 10;
1289 bool has_obsolete_hash_prefix() const;
1290 private:
1291 bool _internal_has_obsolete_hash_prefix() const;
1292 public:
1293 void clear_obsolete_hash_prefix();
1294 const std::string& obsolete_hash_prefix() const;
1295 void set_obsolete_hash_prefix(const std::string& value);
1296 void set_obsolete_hash_prefix(std::string&& value);
1297 void set_obsolete_hash_prefix(const char* value);
1298 void set_obsolete_hash_prefix(const void* value, size_t size);
1299 std::string* mutable_obsolete_hash_prefix();
1300 std::string* release_obsolete_hash_prefix();
1301 void set_allocated_obsolete_hash_prefix(std::string* obsolete_hash_prefix);
1302 private:
1303 const std::string& _internal_obsolete_hash_prefix() const;
1304 void _internal_set_obsolete_hash_prefix(const std::string& value);
1305 std::string* _internal_mutable_obsolete_hash_prefix();
1306 public:
1307
1308 // optional string model_filename = 13;
1309 bool has_model_filename() const;
1310 private:
1311 bool _internal_has_model_filename() const;
1312 public:
1313 void clear_model_filename();
1314 const std::string& model_filename() const;
1315 void set_model_filename(const std::string& value);
1316 void set_model_filename(std::string&& value);
1317 void set_model_filename(const char* value);
1318 void set_model_filename(const char* value, size_t size);
1319 std::string* mutable_model_filename();
1320 std::string* release_model_filename();
1321 void set_allocated_model_filename(std::string* model_filename);
1322 private:
1323 const std::string& _internal_model_filename() const;
1324 void _internal_set_model_filename(const std::string& value);
1325 std::string* _internal_mutable_model_filename();
1326 public:
1327
1328 // optional .safe_browsing.ChromeUserPopulation population = 14;
1329 bool has_population() const;
1330 private:
1331 bool _internal_has_population() const;
1332 public:
1333 void clear_population();
1334 const ::safe_browsing::ChromeUserPopulation& population() const;
1335 ::safe_browsing::ChromeUserPopulation* release_population();
1336 ::safe_browsing::ChromeUserPopulation* mutable_population();
1337 void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
1338 private:
1339 const ::safe_browsing::ChromeUserPopulation& _internal_population() const;
1340 ::safe_browsing::ChromeUserPopulation* _internal_mutable_population();
1341 public:
1342
1343 // required float client_score = 2;
1344 bool has_client_score() const;
1345 private:
1346 bool _internal_has_client_score() const;
1347 public:
1348 void clear_client_score();
1349 float client_score() const;
1350 void set_client_score(float value);
1351 private:
1352 float _internal_client_score() const;
1353 void _internal_set_client_score(float value);
1354 public:
1355
1356 // optional bool is_phishing = 4;
1357 bool has_is_phishing() const;
1358 private:
1359 bool _internal_has_is_phishing() const;
1360 public:
1361 void clear_is_phishing();
1362 bool is_phishing() const;
1363 void set_is_phishing(bool value);
1364 private:
1365 bool _internal_is_phishing() const;
1366 void _internal_set_is_phishing(bool value);
1367 public:
1368
1369 // optional int32 model_version = 6;
1370 bool has_model_version() const;
1371 private:
1372 bool _internal_has_model_version() const;
1373 public:
1374 void clear_model_version();
1375 ::PROTOBUF_NAMESPACE_ID::int32 model_version() const;
1376 void set_model_version(::PROTOBUF_NAMESPACE_ID::int32 value);
1377 private:
1378 ::PROTOBUF_NAMESPACE_ID::int32 _internal_model_version() const;
1379 void _internal_set_model_version(::PROTOBUF_NAMESPACE_ID::int32 value);
1380 public:
1381
1382 // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest)
1383 private:
1384 class _Internal;
1385
1386 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
1387 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1388 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1389 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > feature_map_;
1390 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > non_model_feature_map_;
1391 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > shingle_hashes_;
1392 mutable std::atomic<int> _shingle_hashes_cached_byte_size_;
1393 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
1394 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr obsolete_referrer_url_;
1395 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr obsolete_hash_prefix_;
1396 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_filename_;
1397 ::safe_browsing::ChromeUserPopulation* population_;
1398 float client_score_;
1399 bool is_phishing_;
1400 ::PROTOBUF_NAMESPACE_ID::int32 model_version_;
1401 friend struct ::TableStruct_csd_2eproto;
1402 };
1403 // -------------------------------------------------------------------
1404
1405 class ClientPhishingResponse :
1406 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientPhishingResponse) */ {
1407 public:
1408 ClientPhishingResponse();
1409 virtual ~ClientPhishingResponse();
1410
1411 ClientPhishingResponse(const ClientPhishingResponse& from);
ClientPhishingResponse(ClientPhishingResponse && from)1412 ClientPhishingResponse(ClientPhishingResponse&& from) noexcept
1413 : ClientPhishingResponse() {
1414 *this = ::std::move(from);
1415 }
1416
1417 inline ClientPhishingResponse& operator=(const ClientPhishingResponse& from) {
1418 CopyFrom(from);
1419 return *this;
1420 }
1421 inline ClientPhishingResponse& operator=(ClientPhishingResponse&& from) noexcept {
1422 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1423 if (this != &from) InternalSwap(&from);
1424 } else {
1425 CopyFrom(from);
1426 }
1427 return *this;
1428 }
1429
unknown_fields()1430 inline const std::string& unknown_fields() const {
1431 return _internal_metadata_.unknown_fields();
1432 }
mutable_unknown_fields()1433 inline std::string* mutable_unknown_fields() {
1434 return _internal_metadata_.mutable_unknown_fields();
1435 }
1436
1437 static const ClientPhishingResponse& default_instance();
1438
1439 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1440 static inline const ClientPhishingResponse* internal_default_instance() {
1441 return reinterpret_cast<const ClientPhishingResponse*>(
1442 &_ClientPhishingResponse_default_instance_);
1443 }
1444 static constexpr int kIndexInFileMessages =
1445 3;
1446
swap(ClientPhishingResponse & a,ClientPhishingResponse & b)1447 friend void swap(ClientPhishingResponse& a, ClientPhishingResponse& b) {
1448 a.Swap(&b);
1449 }
Swap(ClientPhishingResponse * other)1450 inline void Swap(ClientPhishingResponse* other) {
1451 if (other == this) return;
1452 InternalSwap(other);
1453 }
1454
1455 // implements Message ----------------------------------------------
1456
New()1457 inline ClientPhishingResponse* New() const final {
1458 return CreateMaybeMessage<ClientPhishingResponse>(nullptr);
1459 }
1460
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1461 ClientPhishingResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1462 return CreateMaybeMessage<ClientPhishingResponse>(arena);
1463 }
1464 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
1465 final;
1466 void CopyFrom(const ClientPhishingResponse& from);
1467 void MergeFrom(const ClientPhishingResponse& from);
1468 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1469 bool IsInitialized() const final;
1470
1471 size_t ByteSizeLong() const final;
1472 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1473 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1474 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1475 void DiscardUnknownFields();
GetCachedSize()1476 int GetCachedSize() const final { return _cached_size_.Get(); }
1477
1478 private:
1479 inline void SharedCtor();
1480 inline void SharedDtor();
1481 void SetCachedSize(int size) const;
1482 void InternalSwap(ClientPhishingResponse* other);
1483 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1484 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1485 return "safe_browsing.ClientPhishingResponse";
1486 }
1487 private:
GetArenaNoVirtual()1488 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1489 return nullptr;
1490 }
MaybeArenaPtr()1491 inline void* MaybeArenaPtr() const {
1492 return nullptr;
1493 }
1494 public:
1495
1496 std::string GetTypeName() const final;
1497
1498 // nested types ----------------------------------------------------
1499
1500 // accessors -------------------------------------------------------
1501
1502 enum : int {
1503 kOBSOLETEWhitelistExpressionFieldNumber = 2,
1504 kPhishyFieldNumber = 1,
1505 };
1506 // repeated string OBSOLETE_whitelist_expression = 2;
1507 int obsolete_whitelist_expression_size() const;
1508 private:
1509 int _internal_obsolete_whitelist_expression_size() const;
1510 public:
1511 void clear_obsolete_whitelist_expression();
1512 const std::string& obsolete_whitelist_expression(int index) const;
1513 std::string* mutable_obsolete_whitelist_expression(int index);
1514 void set_obsolete_whitelist_expression(int index, const std::string& value);
1515 void set_obsolete_whitelist_expression(int index, std::string&& value);
1516 void set_obsolete_whitelist_expression(int index, const char* value);
1517 void set_obsolete_whitelist_expression(int index, const char* value, size_t size);
1518 std::string* add_obsolete_whitelist_expression();
1519 void add_obsolete_whitelist_expression(const std::string& value);
1520 void add_obsolete_whitelist_expression(std::string&& value);
1521 void add_obsolete_whitelist_expression(const char* value);
1522 void add_obsolete_whitelist_expression(const char* value, size_t size);
1523 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& obsolete_whitelist_expression() const;
1524 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_obsolete_whitelist_expression();
1525 private:
1526 const std::string& _internal_obsolete_whitelist_expression(int index) const;
1527 std::string* _internal_add_obsolete_whitelist_expression();
1528 public:
1529
1530 // required bool phishy = 1;
1531 bool has_phishy() const;
1532 private:
1533 bool _internal_has_phishy() const;
1534 public:
1535 void clear_phishy();
1536 bool phishy() const;
1537 void set_phishy(bool value);
1538 private:
1539 bool _internal_phishy() const;
1540 void _internal_set_phishy(bool value);
1541 public:
1542
1543 // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingResponse)
1544 private:
1545 class _Internal;
1546
1547 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
1548 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1549 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1550 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> obsolete_whitelist_expression_;
1551 bool phishy_;
1552 friend struct ::TableStruct_csd_2eproto;
1553 };
1554 // -------------------------------------------------------------------
1555
1556 class ClientMalwareRequest_UrlInfo :
1557 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientMalwareRequest.UrlInfo) */ {
1558 public:
1559 ClientMalwareRequest_UrlInfo();
1560 virtual ~ClientMalwareRequest_UrlInfo();
1561
1562 ClientMalwareRequest_UrlInfo(const ClientMalwareRequest_UrlInfo& from);
ClientMalwareRequest_UrlInfo(ClientMalwareRequest_UrlInfo && from)1563 ClientMalwareRequest_UrlInfo(ClientMalwareRequest_UrlInfo&& from) noexcept
1564 : ClientMalwareRequest_UrlInfo() {
1565 *this = ::std::move(from);
1566 }
1567
1568 inline ClientMalwareRequest_UrlInfo& operator=(const ClientMalwareRequest_UrlInfo& from) {
1569 CopyFrom(from);
1570 return *this;
1571 }
1572 inline ClientMalwareRequest_UrlInfo& operator=(ClientMalwareRequest_UrlInfo&& from) noexcept {
1573 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1574 if (this != &from) InternalSwap(&from);
1575 } else {
1576 CopyFrom(from);
1577 }
1578 return *this;
1579 }
1580
unknown_fields()1581 inline const std::string& unknown_fields() const {
1582 return _internal_metadata_.unknown_fields();
1583 }
mutable_unknown_fields()1584 inline std::string* mutable_unknown_fields() {
1585 return _internal_metadata_.mutable_unknown_fields();
1586 }
1587
1588 static const ClientMalwareRequest_UrlInfo& default_instance();
1589
1590 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1591 static inline const ClientMalwareRequest_UrlInfo* internal_default_instance() {
1592 return reinterpret_cast<const ClientMalwareRequest_UrlInfo*>(
1593 &_ClientMalwareRequest_UrlInfo_default_instance_);
1594 }
1595 static constexpr int kIndexInFileMessages =
1596 4;
1597
swap(ClientMalwareRequest_UrlInfo & a,ClientMalwareRequest_UrlInfo & b)1598 friend void swap(ClientMalwareRequest_UrlInfo& a, ClientMalwareRequest_UrlInfo& b) {
1599 a.Swap(&b);
1600 }
Swap(ClientMalwareRequest_UrlInfo * other)1601 inline void Swap(ClientMalwareRequest_UrlInfo* other) {
1602 if (other == this) return;
1603 InternalSwap(other);
1604 }
1605
1606 // implements Message ----------------------------------------------
1607
New()1608 inline ClientMalwareRequest_UrlInfo* New() const final {
1609 return CreateMaybeMessage<ClientMalwareRequest_UrlInfo>(nullptr);
1610 }
1611
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1612 ClientMalwareRequest_UrlInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1613 return CreateMaybeMessage<ClientMalwareRequest_UrlInfo>(arena);
1614 }
1615 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
1616 final;
1617 void CopyFrom(const ClientMalwareRequest_UrlInfo& from);
1618 void MergeFrom(const ClientMalwareRequest_UrlInfo& from);
1619 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1620 bool IsInitialized() const final;
1621
1622 size_t ByteSizeLong() const final;
1623 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1624 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1625 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1626 void DiscardUnknownFields();
GetCachedSize()1627 int GetCachedSize() const final { return _cached_size_.Get(); }
1628
1629 private:
1630 inline void SharedCtor();
1631 inline void SharedDtor();
1632 void SetCachedSize(int size) const;
1633 void InternalSwap(ClientMalwareRequest_UrlInfo* other);
1634 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1635 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1636 return "safe_browsing.ClientMalwareRequest.UrlInfo";
1637 }
1638 private:
GetArenaNoVirtual()1639 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1640 return nullptr;
1641 }
MaybeArenaPtr()1642 inline void* MaybeArenaPtr() const {
1643 return nullptr;
1644 }
1645 public:
1646
1647 std::string GetTypeName() const final;
1648
1649 // nested types ----------------------------------------------------
1650
1651 // accessors -------------------------------------------------------
1652
1653 enum : int {
1654 kIpFieldNumber = 1,
1655 kUrlFieldNumber = 2,
1656 kMethodFieldNumber = 3,
1657 kReferrerFieldNumber = 4,
1658 kResourceTypeFieldNumber = 5,
1659 };
1660 // required string ip = 1;
1661 bool has_ip() const;
1662 private:
1663 bool _internal_has_ip() const;
1664 public:
1665 void clear_ip();
1666 const std::string& ip() const;
1667 void set_ip(const std::string& value);
1668 void set_ip(std::string&& value);
1669 void set_ip(const char* value);
1670 void set_ip(const char* value, size_t size);
1671 std::string* mutable_ip();
1672 std::string* release_ip();
1673 void set_allocated_ip(std::string* ip);
1674 private:
1675 const std::string& _internal_ip() const;
1676 void _internal_set_ip(const std::string& value);
1677 std::string* _internal_mutable_ip();
1678 public:
1679
1680 // required string url = 2;
1681 bool has_url() const;
1682 private:
1683 bool _internal_has_url() const;
1684 public:
1685 void clear_url();
1686 const std::string& url() const;
1687 void set_url(const std::string& value);
1688 void set_url(std::string&& value);
1689 void set_url(const char* value);
1690 void set_url(const char* value, size_t size);
1691 std::string* mutable_url();
1692 std::string* release_url();
1693 void set_allocated_url(std::string* url);
1694 private:
1695 const std::string& _internal_url() const;
1696 void _internal_set_url(const std::string& value);
1697 std::string* _internal_mutable_url();
1698 public:
1699
1700 // optional string method = 3;
1701 bool has_method() const;
1702 private:
1703 bool _internal_has_method() const;
1704 public:
1705 void clear_method();
1706 const std::string& method() const;
1707 void set_method(const std::string& value);
1708 void set_method(std::string&& value);
1709 void set_method(const char* value);
1710 void set_method(const char* value, size_t size);
1711 std::string* mutable_method();
1712 std::string* release_method();
1713 void set_allocated_method(std::string* method);
1714 private:
1715 const std::string& _internal_method() const;
1716 void _internal_set_method(const std::string& value);
1717 std::string* _internal_mutable_method();
1718 public:
1719
1720 // optional string referrer = 4;
1721 bool has_referrer() const;
1722 private:
1723 bool _internal_has_referrer() const;
1724 public:
1725 void clear_referrer();
1726 const std::string& referrer() const;
1727 void set_referrer(const std::string& value);
1728 void set_referrer(std::string&& value);
1729 void set_referrer(const char* value);
1730 void set_referrer(const char* value, size_t size);
1731 std::string* mutable_referrer();
1732 std::string* release_referrer();
1733 void set_allocated_referrer(std::string* referrer);
1734 private:
1735 const std::string& _internal_referrer() const;
1736 void _internal_set_referrer(const std::string& value);
1737 std::string* _internal_mutable_referrer();
1738 public:
1739
1740 // optional int32 resource_type = 5;
1741 bool has_resource_type() const;
1742 private:
1743 bool _internal_has_resource_type() const;
1744 public:
1745 void clear_resource_type();
1746 ::PROTOBUF_NAMESPACE_ID::int32 resource_type() const;
1747 void set_resource_type(::PROTOBUF_NAMESPACE_ID::int32 value);
1748 private:
1749 ::PROTOBUF_NAMESPACE_ID::int32 _internal_resource_type() const;
1750 void _internal_set_resource_type(::PROTOBUF_NAMESPACE_ID::int32 value);
1751 public:
1752
1753 // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest.UrlInfo)
1754 private:
1755 class _Internal;
1756
1757 // helper for ByteSizeLong()
1758 size_t RequiredFieldsByteSizeFallback() const;
1759
1760 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
1761 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1762 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1763 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_;
1764 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
1765 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr method_;
1766 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_;
1767 ::PROTOBUF_NAMESPACE_ID::int32 resource_type_;
1768 friend struct ::TableStruct_csd_2eproto;
1769 };
1770 // -------------------------------------------------------------------
1771
1772 class ClientMalwareRequest :
1773 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientMalwareRequest) */ {
1774 public:
1775 ClientMalwareRequest();
1776 virtual ~ClientMalwareRequest();
1777
1778 ClientMalwareRequest(const ClientMalwareRequest& from);
ClientMalwareRequest(ClientMalwareRequest && from)1779 ClientMalwareRequest(ClientMalwareRequest&& from) noexcept
1780 : ClientMalwareRequest() {
1781 *this = ::std::move(from);
1782 }
1783
1784 inline ClientMalwareRequest& operator=(const ClientMalwareRequest& from) {
1785 CopyFrom(from);
1786 return *this;
1787 }
1788 inline ClientMalwareRequest& operator=(ClientMalwareRequest&& from) noexcept {
1789 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1790 if (this != &from) InternalSwap(&from);
1791 } else {
1792 CopyFrom(from);
1793 }
1794 return *this;
1795 }
1796
unknown_fields()1797 inline const std::string& unknown_fields() const {
1798 return _internal_metadata_.unknown_fields();
1799 }
mutable_unknown_fields()1800 inline std::string* mutable_unknown_fields() {
1801 return _internal_metadata_.mutable_unknown_fields();
1802 }
1803
1804 static const ClientMalwareRequest& default_instance();
1805
1806 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1807 static inline const ClientMalwareRequest* internal_default_instance() {
1808 return reinterpret_cast<const ClientMalwareRequest*>(
1809 &_ClientMalwareRequest_default_instance_);
1810 }
1811 static constexpr int kIndexInFileMessages =
1812 5;
1813
swap(ClientMalwareRequest & a,ClientMalwareRequest & b)1814 friend void swap(ClientMalwareRequest& a, ClientMalwareRequest& b) {
1815 a.Swap(&b);
1816 }
Swap(ClientMalwareRequest * other)1817 inline void Swap(ClientMalwareRequest* other) {
1818 if (other == this) return;
1819 InternalSwap(other);
1820 }
1821
1822 // implements Message ----------------------------------------------
1823
New()1824 inline ClientMalwareRequest* New() const final {
1825 return CreateMaybeMessage<ClientMalwareRequest>(nullptr);
1826 }
1827
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)1828 ClientMalwareRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1829 return CreateMaybeMessage<ClientMalwareRequest>(arena);
1830 }
1831 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
1832 final;
1833 void CopyFrom(const ClientMalwareRequest& from);
1834 void MergeFrom(const ClientMalwareRequest& from);
1835 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1836 bool IsInitialized() const final;
1837
1838 size_t ByteSizeLong() const final;
1839 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1840 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1841 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1842 void DiscardUnknownFields();
GetCachedSize()1843 int GetCachedSize() const final { return _cached_size_.Get(); }
1844
1845 private:
1846 inline void SharedCtor();
1847 inline void SharedDtor();
1848 void SetCachedSize(int size) const;
1849 void InternalSwap(ClientMalwareRequest* other);
1850 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()1851 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1852 return "safe_browsing.ClientMalwareRequest";
1853 }
1854 private:
GetArenaNoVirtual()1855 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1856 return nullptr;
1857 }
MaybeArenaPtr()1858 inline void* MaybeArenaPtr() const {
1859 return nullptr;
1860 }
1861 public:
1862
1863 std::string GetTypeName() const final;
1864
1865 // nested types ----------------------------------------------------
1866
1867 typedef ClientMalwareRequest_UrlInfo UrlInfo;
1868
1869 // accessors -------------------------------------------------------
1870
1871 enum : int {
1872 kBadIpUrlInfoFieldNumber = 7,
1873 kUrlFieldNumber = 1,
1874 kReferrerUrlFieldNumber = 4,
1875 kPopulationFieldNumber = 9,
1876 };
1877 // repeated .safe_browsing.ClientMalwareRequest.UrlInfo bad_ip_url_info = 7;
1878 int bad_ip_url_info_size() const;
1879 private:
1880 int _internal_bad_ip_url_info_size() const;
1881 public:
1882 void clear_bad_ip_url_info();
1883 ::safe_browsing::ClientMalwareRequest_UrlInfo* mutable_bad_ip_url_info(int index);
1884 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >*
1885 mutable_bad_ip_url_info();
1886 private:
1887 const ::safe_browsing::ClientMalwareRequest_UrlInfo& _internal_bad_ip_url_info(int index) const;
1888 ::safe_browsing::ClientMalwareRequest_UrlInfo* _internal_add_bad_ip_url_info();
1889 public:
1890 const ::safe_browsing::ClientMalwareRequest_UrlInfo& bad_ip_url_info(int index) const;
1891 ::safe_browsing::ClientMalwareRequest_UrlInfo* add_bad_ip_url_info();
1892 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >&
1893 bad_ip_url_info() const;
1894
1895 // required string url = 1;
1896 bool has_url() const;
1897 private:
1898 bool _internal_has_url() const;
1899 public:
1900 void clear_url();
1901 const std::string& url() const;
1902 void set_url(const std::string& value);
1903 void set_url(std::string&& value);
1904 void set_url(const char* value);
1905 void set_url(const char* value, size_t size);
1906 std::string* mutable_url();
1907 std::string* release_url();
1908 void set_allocated_url(std::string* url);
1909 private:
1910 const std::string& _internal_url() const;
1911 void _internal_set_url(const std::string& value);
1912 std::string* _internal_mutable_url();
1913 public:
1914
1915 // optional string referrer_url = 4;
1916 bool has_referrer_url() const;
1917 private:
1918 bool _internal_has_referrer_url() const;
1919 public:
1920 void clear_referrer_url();
1921 const std::string& referrer_url() const;
1922 void set_referrer_url(const std::string& value);
1923 void set_referrer_url(std::string&& value);
1924 void set_referrer_url(const char* value);
1925 void set_referrer_url(const char* value, size_t size);
1926 std::string* mutable_referrer_url();
1927 std::string* release_referrer_url();
1928 void set_allocated_referrer_url(std::string* referrer_url);
1929 private:
1930 const std::string& _internal_referrer_url() const;
1931 void _internal_set_referrer_url(const std::string& value);
1932 std::string* _internal_mutable_referrer_url();
1933 public:
1934
1935 // optional .safe_browsing.ChromeUserPopulation population = 9;
1936 bool has_population() const;
1937 private:
1938 bool _internal_has_population() const;
1939 public:
1940 void clear_population();
1941 const ::safe_browsing::ChromeUserPopulation& population() const;
1942 ::safe_browsing::ChromeUserPopulation* release_population();
1943 ::safe_browsing::ChromeUserPopulation* mutable_population();
1944 void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
1945 private:
1946 const ::safe_browsing::ChromeUserPopulation& _internal_population() const;
1947 ::safe_browsing::ChromeUserPopulation* _internal_mutable_population();
1948 public:
1949
1950 // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest)
1951 private:
1952 class _Internal;
1953
1954 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
1955 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1956 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1957 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo > bad_ip_url_info_;
1958 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
1959 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_url_;
1960 ::safe_browsing::ChromeUserPopulation* population_;
1961 friend struct ::TableStruct_csd_2eproto;
1962 };
1963 // -------------------------------------------------------------------
1964
1965 class LoginReputationClientRequest_Frame_Form :
1966 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest.Frame.Form) */ {
1967 public:
1968 LoginReputationClientRequest_Frame_Form();
1969 virtual ~LoginReputationClientRequest_Frame_Form();
1970
1971 LoginReputationClientRequest_Frame_Form(const LoginReputationClientRequest_Frame_Form& from);
LoginReputationClientRequest_Frame_Form(LoginReputationClientRequest_Frame_Form && from)1972 LoginReputationClientRequest_Frame_Form(LoginReputationClientRequest_Frame_Form&& from) noexcept
1973 : LoginReputationClientRequest_Frame_Form() {
1974 *this = ::std::move(from);
1975 }
1976
1977 inline LoginReputationClientRequest_Frame_Form& operator=(const LoginReputationClientRequest_Frame_Form& from) {
1978 CopyFrom(from);
1979 return *this;
1980 }
1981 inline LoginReputationClientRequest_Frame_Form& operator=(LoginReputationClientRequest_Frame_Form&& from) noexcept {
1982 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1983 if (this != &from) InternalSwap(&from);
1984 } else {
1985 CopyFrom(from);
1986 }
1987 return *this;
1988 }
1989
unknown_fields()1990 inline const std::string& unknown_fields() const {
1991 return _internal_metadata_.unknown_fields();
1992 }
mutable_unknown_fields()1993 inline std::string* mutable_unknown_fields() {
1994 return _internal_metadata_.mutable_unknown_fields();
1995 }
1996
1997 static const LoginReputationClientRequest_Frame_Form& default_instance();
1998
1999 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2000 static inline const LoginReputationClientRequest_Frame_Form* internal_default_instance() {
2001 return reinterpret_cast<const LoginReputationClientRequest_Frame_Form*>(
2002 &_LoginReputationClientRequest_Frame_Form_default_instance_);
2003 }
2004 static constexpr int kIndexInFileMessages =
2005 6;
2006
swap(LoginReputationClientRequest_Frame_Form & a,LoginReputationClientRequest_Frame_Form & b)2007 friend void swap(LoginReputationClientRequest_Frame_Form& a, LoginReputationClientRequest_Frame_Form& b) {
2008 a.Swap(&b);
2009 }
Swap(LoginReputationClientRequest_Frame_Form * other)2010 inline void Swap(LoginReputationClientRequest_Frame_Form* other) {
2011 if (other == this) return;
2012 InternalSwap(other);
2013 }
2014
2015 // implements Message ----------------------------------------------
2016
New()2017 inline LoginReputationClientRequest_Frame_Form* New() const final {
2018 return CreateMaybeMessage<LoginReputationClientRequest_Frame_Form>(nullptr);
2019 }
2020
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2021 LoginReputationClientRequest_Frame_Form* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2022 return CreateMaybeMessage<LoginReputationClientRequest_Frame_Form>(arena);
2023 }
2024 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
2025 final;
2026 void CopyFrom(const LoginReputationClientRequest_Frame_Form& from);
2027 void MergeFrom(const LoginReputationClientRequest_Frame_Form& from);
2028 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2029 bool IsInitialized() const final;
2030
2031 size_t ByteSizeLong() const final;
2032 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2033 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2034 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2035 void DiscardUnknownFields();
GetCachedSize()2036 int GetCachedSize() const final { return _cached_size_.Get(); }
2037
2038 private:
2039 inline void SharedCtor();
2040 inline void SharedDtor();
2041 void SetCachedSize(int size) const;
2042 void InternalSwap(LoginReputationClientRequest_Frame_Form* other);
2043 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2044 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2045 return "safe_browsing.LoginReputationClientRequest.Frame.Form";
2046 }
2047 private:
GetArenaNoVirtual()2048 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2049 return nullptr;
2050 }
MaybeArenaPtr()2051 inline void* MaybeArenaPtr() const {
2052 return nullptr;
2053 }
2054 public:
2055
2056 std::string GetTypeName() const final;
2057
2058 // nested types ----------------------------------------------------
2059
2060 // accessors -------------------------------------------------------
2061
2062 enum : int {
2063 kActionUrlFieldNumber = 1,
2064 kHasPasswordFieldFieldNumber = 2,
2065 };
2066 // optional string action_url = 1;
2067 bool has_action_url() const;
2068 private:
2069 bool _internal_has_action_url() const;
2070 public:
2071 void clear_action_url();
2072 const std::string& action_url() const;
2073 void set_action_url(const std::string& value);
2074 void set_action_url(std::string&& value);
2075 void set_action_url(const char* value);
2076 void set_action_url(const char* value, size_t size);
2077 std::string* mutable_action_url();
2078 std::string* release_action_url();
2079 void set_allocated_action_url(std::string* action_url);
2080 private:
2081 const std::string& _internal_action_url() const;
2082 void _internal_set_action_url(const std::string& value);
2083 std::string* _internal_mutable_action_url();
2084 public:
2085
2086 // optional bool has_password_field = 2;
2087 bool has_has_password_field() const;
2088 private:
2089 bool _internal_has_has_password_field() const;
2090 public:
2091 void clear_has_password_field();
2092 bool has_password_field() const;
2093 void set_has_password_field(bool value);
2094 private:
2095 bool _internal_has_password_field() const;
2096 void _internal_set_has_password_field(bool value);
2097 public:
2098
2099 // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest.Frame.Form)
2100 private:
2101 class _Internal;
2102
2103 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
2104 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2105 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2106 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr action_url_;
2107 bool has_password_field_;
2108 friend struct ::TableStruct_csd_2eproto;
2109 };
2110 // -------------------------------------------------------------------
2111
2112 class LoginReputationClientRequest_Frame :
2113 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest.Frame) */ {
2114 public:
2115 LoginReputationClientRequest_Frame();
2116 virtual ~LoginReputationClientRequest_Frame();
2117
2118 LoginReputationClientRequest_Frame(const LoginReputationClientRequest_Frame& from);
LoginReputationClientRequest_Frame(LoginReputationClientRequest_Frame && from)2119 LoginReputationClientRequest_Frame(LoginReputationClientRequest_Frame&& from) noexcept
2120 : LoginReputationClientRequest_Frame() {
2121 *this = ::std::move(from);
2122 }
2123
2124 inline LoginReputationClientRequest_Frame& operator=(const LoginReputationClientRequest_Frame& from) {
2125 CopyFrom(from);
2126 return *this;
2127 }
2128 inline LoginReputationClientRequest_Frame& operator=(LoginReputationClientRequest_Frame&& from) noexcept {
2129 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2130 if (this != &from) InternalSwap(&from);
2131 } else {
2132 CopyFrom(from);
2133 }
2134 return *this;
2135 }
2136
unknown_fields()2137 inline const std::string& unknown_fields() const {
2138 return _internal_metadata_.unknown_fields();
2139 }
mutable_unknown_fields()2140 inline std::string* mutable_unknown_fields() {
2141 return _internal_metadata_.mutable_unknown_fields();
2142 }
2143
2144 static const LoginReputationClientRequest_Frame& default_instance();
2145
2146 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2147 static inline const LoginReputationClientRequest_Frame* internal_default_instance() {
2148 return reinterpret_cast<const LoginReputationClientRequest_Frame*>(
2149 &_LoginReputationClientRequest_Frame_default_instance_);
2150 }
2151 static constexpr int kIndexInFileMessages =
2152 7;
2153
swap(LoginReputationClientRequest_Frame & a,LoginReputationClientRequest_Frame & b)2154 friend void swap(LoginReputationClientRequest_Frame& a, LoginReputationClientRequest_Frame& b) {
2155 a.Swap(&b);
2156 }
Swap(LoginReputationClientRequest_Frame * other)2157 inline void Swap(LoginReputationClientRequest_Frame* other) {
2158 if (other == this) return;
2159 InternalSwap(other);
2160 }
2161
2162 // implements Message ----------------------------------------------
2163
New()2164 inline LoginReputationClientRequest_Frame* New() const final {
2165 return CreateMaybeMessage<LoginReputationClientRequest_Frame>(nullptr);
2166 }
2167
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2168 LoginReputationClientRequest_Frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2169 return CreateMaybeMessage<LoginReputationClientRequest_Frame>(arena);
2170 }
2171 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
2172 final;
2173 void CopyFrom(const LoginReputationClientRequest_Frame& from);
2174 void MergeFrom(const LoginReputationClientRequest_Frame& from);
2175 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2176 bool IsInitialized() const final;
2177
2178 size_t ByteSizeLong() const final;
2179 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2180 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2181 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2182 void DiscardUnknownFields();
GetCachedSize()2183 int GetCachedSize() const final { return _cached_size_.Get(); }
2184
2185 private:
2186 inline void SharedCtor();
2187 inline void SharedDtor();
2188 void SetCachedSize(int size) const;
2189 void InternalSwap(LoginReputationClientRequest_Frame* other);
2190 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2191 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2192 return "safe_browsing.LoginReputationClientRequest.Frame";
2193 }
2194 private:
GetArenaNoVirtual()2195 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2196 return nullptr;
2197 }
MaybeArenaPtr()2198 inline void* MaybeArenaPtr() const {
2199 return nullptr;
2200 }
2201 public:
2202
2203 std::string GetTypeName() const final;
2204
2205 // nested types ----------------------------------------------------
2206
2207 typedef LoginReputationClientRequest_Frame_Form Form;
2208
2209 // accessors -------------------------------------------------------
2210
2211 enum : int {
2212 kReferrerChainFieldNumber = 5,
2213 kFormsFieldNumber = 6,
2214 kUrlFieldNumber = 3,
2215 kFrameIndexFieldNumber = 1,
2216 kParentFrameIndexFieldNumber = 2,
2217 kHasPasswordFieldFieldNumber = 4,
2218 };
2219 // repeated .safe_browsing.ReferrerChainEntry referrer_chain = 5;
2220 int referrer_chain_size() const;
2221 private:
2222 int _internal_referrer_chain_size() const;
2223 public:
2224 void clear_referrer_chain();
2225 ::safe_browsing::ReferrerChainEntry* mutable_referrer_chain(int index);
2226 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >*
2227 mutable_referrer_chain();
2228 private:
2229 const ::safe_browsing::ReferrerChainEntry& _internal_referrer_chain(int index) const;
2230 ::safe_browsing::ReferrerChainEntry* _internal_add_referrer_chain();
2231 public:
2232 const ::safe_browsing::ReferrerChainEntry& referrer_chain(int index) const;
2233 ::safe_browsing::ReferrerChainEntry* add_referrer_chain();
2234 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >&
2235 referrer_chain() const;
2236
2237 // repeated .safe_browsing.LoginReputationClientRequest.Frame.Form forms = 6;
2238 int forms_size() const;
2239 private:
2240 int _internal_forms_size() const;
2241 public:
2242 void clear_forms();
2243 ::safe_browsing::LoginReputationClientRequest_Frame_Form* mutable_forms(int index);
2244 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form >*
2245 mutable_forms();
2246 private:
2247 const ::safe_browsing::LoginReputationClientRequest_Frame_Form& _internal_forms(int index) const;
2248 ::safe_browsing::LoginReputationClientRequest_Frame_Form* _internal_add_forms();
2249 public:
2250 const ::safe_browsing::LoginReputationClientRequest_Frame_Form& forms(int index) const;
2251 ::safe_browsing::LoginReputationClientRequest_Frame_Form* add_forms();
2252 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form >&
2253 forms() const;
2254
2255 // optional string url = 3;
2256 bool has_url() const;
2257 private:
2258 bool _internal_has_url() const;
2259 public:
2260 void clear_url();
2261 const std::string& url() const;
2262 void set_url(const std::string& value);
2263 void set_url(std::string&& value);
2264 void set_url(const char* value);
2265 void set_url(const char* value, size_t size);
2266 std::string* mutable_url();
2267 std::string* release_url();
2268 void set_allocated_url(std::string* url);
2269 private:
2270 const std::string& _internal_url() const;
2271 void _internal_set_url(const std::string& value);
2272 std::string* _internal_mutable_url();
2273 public:
2274
2275 // optional int32 frame_index = 1;
2276 bool has_frame_index() const;
2277 private:
2278 bool _internal_has_frame_index() const;
2279 public:
2280 void clear_frame_index();
2281 ::PROTOBUF_NAMESPACE_ID::int32 frame_index() const;
2282 void set_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value);
2283 private:
2284 ::PROTOBUF_NAMESPACE_ID::int32 _internal_frame_index() const;
2285 void _internal_set_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value);
2286 public:
2287
2288 // optional int32 parent_frame_index = 2;
2289 bool has_parent_frame_index() const;
2290 private:
2291 bool _internal_has_parent_frame_index() const;
2292 public:
2293 void clear_parent_frame_index();
2294 ::PROTOBUF_NAMESPACE_ID::int32 parent_frame_index() const;
2295 void set_parent_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value);
2296 private:
2297 ::PROTOBUF_NAMESPACE_ID::int32 _internal_parent_frame_index() const;
2298 void _internal_set_parent_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value);
2299 public:
2300
2301 // optional bool has_password_field = 4;
2302 bool has_has_password_field() const;
2303 private:
2304 bool _internal_has_has_password_field() const;
2305 public:
2306 void clear_has_password_field();
2307 bool has_password_field() const;
2308 void set_has_password_field(bool value);
2309 private:
2310 bool _internal_has_password_field() const;
2311 void _internal_set_has_password_field(bool value);
2312 public:
2313
2314 // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest.Frame)
2315 private:
2316 class _Internal;
2317
2318 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
2319 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2320 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2321 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry > referrer_chain_;
2322 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form > forms_;
2323 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
2324 ::PROTOBUF_NAMESPACE_ID::int32 frame_index_;
2325 ::PROTOBUF_NAMESPACE_ID::int32 parent_frame_index_;
2326 bool has_password_field_;
2327 friend struct ::TableStruct_csd_2eproto;
2328 };
2329 // -------------------------------------------------------------------
2330
2331 class LoginReputationClientRequest_PasswordReuseEvent :
2332 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent) */ {
2333 public:
2334 LoginReputationClientRequest_PasswordReuseEvent();
2335 virtual ~LoginReputationClientRequest_PasswordReuseEvent();
2336
2337 LoginReputationClientRequest_PasswordReuseEvent(const LoginReputationClientRequest_PasswordReuseEvent& from);
LoginReputationClientRequest_PasswordReuseEvent(LoginReputationClientRequest_PasswordReuseEvent && from)2338 LoginReputationClientRequest_PasswordReuseEvent(LoginReputationClientRequest_PasswordReuseEvent&& from) noexcept
2339 : LoginReputationClientRequest_PasswordReuseEvent() {
2340 *this = ::std::move(from);
2341 }
2342
2343 inline LoginReputationClientRequest_PasswordReuseEvent& operator=(const LoginReputationClientRequest_PasswordReuseEvent& from) {
2344 CopyFrom(from);
2345 return *this;
2346 }
2347 inline LoginReputationClientRequest_PasswordReuseEvent& operator=(LoginReputationClientRequest_PasswordReuseEvent&& from) noexcept {
2348 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2349 if (this != &from) InternalSwap(&from);
2350 } else {
2351 CopyFrom(from);
2352 }
2353 return *this;
2354 }
2355
unknown_fields()2356 inline const std::string& unknown_fields() const {
2357 return _internal_metadata_.unknown_fields();
2358 }
mutable_unknown_fields()2359 inline std::string* mutable_unknown_fields() {
2360 return _internal_metadata_.mutable_unknown_fields();
2361 }
2362
2363 static const LoginReputationClientRequest_PasswordReuseEvent& default_instance();
2364
2365 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2366 static inline const LoginReputationClientRequest_PasswordReuseEvent* internal_default_instance() {
2367 return reinterpret_cast<const LoginReputationClientRequest_PasswordReuseEvent*>(
2368 &_LoginReputationClientRequest_PasswordReuseEvent_default_instance_);
2369 }
2370 static constexpr int kIndexInFileMessages =
2371 8;
2372
swap(LoginReputationClientRequest_PasswordReuseEvent & a,LoginReputationClientRequest_PasswordReuseEvent & b)2373 friend void swap(LoginReputationClientRequest_PasswordReuseEvent& a, LoginReputationClientRequest_PasswordReuseEvent& b) {
2374 a.Swap(&b);
2375 }
Swap(LoginReputationClientRequest_PasswordReuseEvent * other)2376 inline void Swap(LoginReputationClientRequest_PasswordReuseEvent* other) {
2377 if (other == this) return;
2378 InternalSwap(other);
2379 }
2380
2381 // implements Message ----------------------------------------------
2382
New()2383 inline LoginReputationClientRequest_PasswordReuseEvent* New() const final {
2384 return CreateMaybeMessage<LoginReputationClientRequest_PasswordReuseEvent>(nullptr);
2385 }
2386
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2387 LoginReputationClientRequest_PasswordReuseEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2388 return CreateMaybeMessage<LoginReputationClientRequest_PasswordReuseEvent>(arena);
2389 }
2390 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
2391 final;
2392 void CopyFrom(const LoginReputationClientRequest_PasswordReuseEvent& from);
2393 void MergeFrom(const LoginReputationClientRequest_PasswordReuseEvent& from);
2394 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2395 bool IsInitialized() const final;
2396
2397 size_t ByteSizeLong() const final;
2398 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2399 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2400 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2401 void DiscardUnknownFields();
GetCachedSize()2402 int GetCachedSize() const final { return _cached_size_.Get(); }
2403
2404 private:
2405 inline void SharedCtor();
2406 inline void SharedDtor();
2407 void SetCachedSize(int size) const;
2408 void InternalSwap(LoginReputationClientRequest_PasswordReuseEvent* other);
2409 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2410 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2411 return "safe_browsing.LoginReputationClientRequest.PasswordReuseEvent";
2412 }
2413 private:
GetArenaNoVirtual()2414 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2415 return nullptr;
2416 }
MaybeArenaPtr()2417 inline void* MaybeArenaPtr() const {
2418 return nullptr;
2419 }
2420 public:
2421
2422 std::string GetTypeName() const final;
2423
2424 // nested types ----------------------------------------------------
2425
2426 typedef LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType SyncAccountType;
2427 static constexpr SyncAccountType NOT_SIGNED_IN =
2428 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_NOT_SIGNED_IN;
2429 static constexpr SyncAccountType GMAIL =
2430 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GMAIL;
2431 static constexpr SyncAccountType GSUITE =
2432 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GSUITE;
SyncAccountType_IsValid(int value)2433 static inline bool SyncAccountType_IsValid(int value) {
2434 return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_IsValid(value);
2435 }
2436 static constexpr SyncAccountType SyncAccountType_MIN =
2437 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MIN;
2438 static constexpr SyncAccountType SyncAccountType_MAX =
2439 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MAX;
2440 static constexpr int SyncAccountType_ARRAYSIZE =
2441 LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_ARRAYSIZE;
2442 template<typename T>
SyncAccountType_Name(T enum_t_value)2443 static inline const std::string& SyncAccountType_Name(T enum_t_value) {
2444 static_assert(::std::is_same<T, SyncAccountType>::value ||
2445 ::std::is_integral<T>::value,
2446 "Incorrect type passed to function SyncAccountType_Name.");
2447 return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(enum_t_value);
2448 }
SyncAccountType_Parse(const std::string & name,SyncAccountType * value)2449 static inline bool SyncAccountType_Parse(const std::string& name,
2450 SyncAccountType* value) {
2451 return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Parse(name, value);
2452 }
2453
2454 // accessors -------------------------------------------------------
2455
2456 enum : int {
2457 kDomainsMatchingPasswordFieldNumber = 1,
2458 kFrameIdFieldNumber = 2,
2459 kIsChromeSigninPasswordFieldNumber = 3,
2460 kSyncAccountTypeFieldNumber = 4,
2461 };
2462 // repeated string domains_matching_password = 1;
2463 int domains_matching_password_size() const;
2464 private:
2465 int _internal_domains_matching_password_size() const;
2466 public:
2467 void clear_domains_matching_password();
2468 const std::string& domains_matching_password(int index) const;
2469 std::string* mutable_domains_matching_password(int index);
2470 void set_domains_matching_password(int index, const std::string& value);
2471 void set_domains_matching_password(int index, std::string&& value);
2472 void set_domains_matching_password(int index, const char* value);
2473 void set_domains_matching_password(int index, const char* value, size_t size);
2474 std::string* add_domains_matching_password();
2475 void add_domains_matching_password(const std::string& value);
2476 void add_domains_matching_password(std::string&& value);
2477 void add_domains_matching_password(const char* value);
2478 void add_domains_matching_password(const char* value, size_t size);
2479 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& domains_matching_password() const;
2480 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_domains_matching_password();
2481 private:
2482 const std::string& _internal_domains_matching_password(int index) const;
2483 std::string* _internal_add_domains_matching_password();
2484 public:
2485
2486 // optional int32 frame_id = 2;
2487 bool has_frame_id() const;
2488 private:
2489 bool _internal_has_frame_id() const;
2490 public:
2491 void clear_frame_id();
2492 ::PROTOBUF_NAMESPACE_ID::int32 frame_id() const;
2493 void set_frame_id(::PROTOBUF_NAMESPACE_ID::int32 value);
2494 private:
2495 ::PROTOBUF_NAMESPACE_ID::int32 _internal_frame_id() const;
2496 void _internal_set_frame_id(::PROTOBUF_NAMESPACE_ID::int32 value);
2497 public:
2498
2499 // optional bool is_chrome_signin_password = 3;
2500 bool has_is_chrome_signin_password() const;
2501 private:
2502 bool _internal_has_is_chrome_signin_password() const;
2503 public:
2504 void clear_is_chrome_signin_password();
2505 bool is_chrome_signin_password() const;
2506 void set_is_chrome_signin_password(bool value);
2507 private:
2508 bool _internal_is_chrome_signin_password() const;
2509 void _internal_set_is_chrome_signin_password(bool value);
2510 public:
2511
2512 // optional .safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.SyncAccountType sync_account_type = 4;
2513 bool has_sync_account_type() const;
2514 private:
2515 bool _internal_has_sync_account_type() const;
2516 public:
2517 void clear_sync_account_type();
2518 ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType sync_account_type() const;
2519 void set_sync_account_type(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value);
2520 private:
2521 ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType _internal_sync_account_type() const;
2522 void _internal_set_sync_account_type(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value);
2523 public:
2524
2525 // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent)
2526 private:
2527 class _Internal;
2528
2529 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
2530 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2531 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2532 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> domains_matching_password_;
2533 ::PROTOBUF_NAMESPACE_ID::int32 frame_id_;
2534 bool is_chrome_signin_password_;
2535 int sync_account_type_;
2536 friend struct ::TableStruct_csd_2eproto;
2537 };
2538 // -------------------------------------------------------------------
2539
2540 class LoginReputationClientRequest :
2541 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest) */ {
2542 public:
2543 LoginReputationClientRequest();
2544 virtual ~LoginReputationClientRequest();
2545
2546 LoginReputationClientRequest(const LoginReputationClientRequest& from);
LoginReputationClientRequest(LoginReputationClientRequest && from)2547 LoginReputationClientRequest(LoginReputationClientRequest&& from) noexcept
2548 : LoginReputationClientRequest() {
2549 *this = ::std::move(from);
2550 }
2551
2552 inline LoginReputationClientRequest& operator=(const LoginReputationClientRequest& from) {
2553 CopyFrom(from);
2554 return *this;
2555 }
2556 inline LoginReputationClientRequest& operator=(LoginReputationClientRequest&& from) noexcept {
2557 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2558 if (this != &from) InternalSwap(&from);
2559 } else {
2560 CopyFrom(from);
2561 }
2562 return *this;
2563 }
2564
unknown_fields()2565 inline const std::string& unknown_fields() const {
2566 return _internal_metadata_.unknown_fields();
2567 }
mutable_unknown_fields()2568 inline std::string* mutable_unknown_fields() {
2569 return _internal_metadata_.mutable_unknown_fields();
2570 }
2571
2572 static const LoginReputationClientRequest& default_instance();
2573
2574 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2575 static inline const LoginReputationClientRequest* internal_default_instance() {
2576 return reinterpret_cast<const LoginReputationClientRequest*>(
2577 &_LoginReputationClientRequest_default_instance_);
2578 }
2579 static constexpr int kIndexInFileMessages =
2580 9;
2581
swap(LoginReputationClientRequest & a,LoginReputationClientRequest & b)2582 friend void swap(LoginReputationClientRequest& a, LoginReputationClientRequest& b) {
2583 a.Swap(&b);
2584 }
Swap(LoginReputationClientRequest * other)2585 inline void Swap(LoginReputationClientRequest* other) {
2586 if (other == this) return;
2587 InternalSwap(other);
2588 }
2589
2590 // implements Message ----------------------------------------------
2591
New()2592 inline LoginReputationClientRequest* New() const final {
2593 return CreateMaybeMessage<LoginReputationClientRequest>(nullptr);
2594 }
2595
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2596 LoginReputationClientRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2597 return CreateMaybeMessage<LoginReputationClientRequest>(arena);
2598 }
2599 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
2600 final;
2601 void CopyFrom(const LoginReputationClientRequest& from);
2602 void MergeFrom(const LoginReputationClientRequest& from);
2603 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2604 bool IsInitialized() const final;
2605
2606 size_t ByteSizeLong() const final;
2607 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2608 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2609 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2610 void DiscardUnknownFields();
GetCachedSize()2611 int GetCachedSize() const final { return _cached_size_.Get(); }
2612
2613 private:
2614 inline void SharedCtor();
2615 inline void SharedDtor();
2616 void SetCachedSize(int size) const;
2617 void InternalSwap(LoginReputationClientRequest* other);
2618 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2619 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2620 return "safe_browsing.LoginReputationClientRequest";
2621 }
2622 private:
GetArenaNoVirtual()2623 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2624 return nullptr;
2625 }
MaybeArenaPtr()2626 inline void* MaybeArenaPtr() const {
2627 return nullptr;
2628 }
2629 public:
2630
2631 std::string GetTypeName() const final;
2632
2633 // nested types ----------------------------------------------------
2634
2635 typedef LoginReputationClientRequest_Frame Frame;
2636 typedef LoginReputationClientRequest_PasswordReuseEvent PasswordReuseEvent;
2637
2638 typedef LoginReputationClientRequest_TriggerType TriggerType;
2639 static constexpr TriggerType TRIGGER_TYPE_UNSPECIFIED =
2640 LoginReputationClientRequest_TriggerType_TRIGGER_TYPE_UNSPECIFIED;
2641 static constexpr TriggerType UNFAMILIAR_LOGIN_PAGE =
2642 LoginReputationClientRequest_TriggerType_UNFAMILIAR_LOGIN_PAGE;
2643 static constexpr TriggerType PASSWORD_REUSE_EVENT =
2644 LoginReputationClientRequest_TriggerType_PASSWORD_REUSE_EVENT;
TriggerType_IsValid(int value)2645 static inline bool TriggerType_IsValid(int value) {
2646 return LoginReputationClientRequest_TriggerType_IsValid(value);
2647 }
2648 static constexpr TriggerType TriggerType_MIN =
2649 LoginReputationClientRequest_TriggerType_TriggerType_MIN;
2650 static constexpr TriggerType TriggerType_MAX =
2651 LoginReputationClientRequest_TriggerType_TriggerType_MAX;
2652 static constexpr int TriggerType_ARRAYSIZE =
2653 LoginReputationClientRequest_TriggerType_TriggerType_ARRAYSIZE;
2654 template<typename T>
TriggerType_Name(T enum_t_value)2655 static inline const std::string& TriggerType_Name(T enum_t_value) {
2656 static_assert(::std::is_same<T, TriggerType>::value ||
2657 ::std::is_integral<T>::value,
2658 "Incorrect type passed to function TriggerType_Name.");
2659 return LoginReputationClientRequest_TriggerType_Name(enum_t_value);
2660 }
TriggerType_Parse(const std::string & name,TriggerType * value)2661 static inline bool TriggerType_Parse(const std::string& name,
2662 TriggerType* value) {
2663 return LoginReputationClientRequest_TriggerType_Parse(name, value);
2664 }
2665
2666 // accessors -------------------------------------------------------
2667
2668 enum : int {
2669 kFramesFieldNumber = 3,
2670 kPageUrlFieldNumber = 1,
2671 kPasswordReuseEventFieldNumber = 4,
2672 kPopulationFieldNumber = 6,
2673 kTriggerTypeFieldNumber = 2,
2674 kStoredVerdictCntFieldNumber = 5,
2675 kClickedThroughInterstitialFieldNumber = 7,
2676 };
2677 // repeated .safe_browsing.LoginReputationClientRequest.Frame frames = 3;
2678 int frames_size() const;
2679 private:
2680 int _internal_frames_size() const;
2681 public:
2682 void clear_frames();
2683 ::safe_browsing::LoginReputationClientRequest_Frame* mutable_frames(int index);
2684 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame >*
2685 mutable_frames();
2686 private:
2687 const ::safe_browsing::LoginReputationClientRequest_Frame& _internal_frames(int index) const;
2688 ::safe_browsing::LoginReputationClientRequest_Frame* _internal_add_frames();
2689 public:
2690 const ::safe_browsing::LoginReputationClientRequest_Frame& frames(int index) const;
2691 ::safe_browsing::LoginReputationClientRequest_Frame* add_frames();
2692 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame >&
2693 frames() const;
2694
2695 // optional string page_url = 1;
2696 bool has_page_url() const;
2697 private:
2698 bool _internal_has_page_url() const;
2699 public:
2700 void clear_page_url();
2701 const std::string& page_url() const;
2702 void set_page_url(const std::string& value);
2703 void set_page_url(std::string&& value);
2704 void set_page_url(const char* value);
2705 void set_page_url(const char* value, size_t size);
2706 std::string* mutable_page_url();
2707 std::string* release_page_url();
2708 void set_allocated_page_url(std::string* page_url);
2709 private:
2710 const std::string& _internal_page_url() const;
2711 void _internal_set_page_url(const std::string& value);
2712 std::string* _internal_mutable_page_url();
2713 public:
2714
2715 // optional .safe_browsing.LoginReputationClientRequest.PasswordReuseEvent password_reuse_event = 4;
2716 bool has_password_reuse_event() const;
2717 private:
2718 bool _internal_has_password_reuse_event() const;
2719 public:
2720 void clear_password_reuse_event();
2721 const ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent& password_reuse_event() const;
2722 ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* release_password_reuse_event();
2723 ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* mutable_password_reuse_event();
2724 void set_allocated_password_reuse_event(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* password_reuse_event);
2725 private:
2726 const ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent& _internal_password_reuse_event() const;
2727 ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* _internal_mutable_password_reuse_event();
2728 public:
2729
2730 // optional .safe_browsing.ChromeUserPopulation population = 6;
2731 bool has_population() const;
2732 private:
2733 bool _internal_has_population() const;
2734 public:
2735 void clear_population();
2736 const ::safe_browsing::ChromeUserPopulation& population() const;
2737 ::safe_browsing::ChromeUserPopulation* release_population();
2738 ::safe_browsing::ChromeUserPopulation* mutable_population();
2739 void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
2740 private:
2741 const ::safe_browsing::ChromeUserPopulation& _internal_population() const;
2742 ::safe_browsing::ChromeUserPopulation* _internal_mutable_population();
2743 public:
2744
2745 // optional .safe_browsing.LoginReputationClientRequest.TriggerType trigger_type = 2;
2746 bool has_trigger_type() const;
2747 private:
2748 bool _internal_has_trigger_type() const;
2749 public:
2750 void clear_trigger_type();
2751 ::safe_browsing::LoginReputationClientRequest_TriggerType trigger_type() const;
2752 void set_trigger_type(::safe_browsing::LoginReputationClientRequest_TriggerType value);
2753 private:
2754 ::safe_browsing::LoginReputationClientRequest_TriggerType _internal_trigger_type() const;
2755 void _internal_set_trigger_type(::safe_browsing::LoginReputationClientRequest_TriggerType value);
2756 public:
2757
2758 // optional int32 stored_verdict_cnt = 5;
2759 bool has_stored_verdict_cnt() const;
2760 private:
2761 bool _internal_has_stored_verdict_cnt() const;
2762 public:
2763 void clear_stored_verdict_cnt();
2764 ::PROTOBUF_NAMESPACE_ID::int32 stored_verdict_cnt() const;
2765 void set_stored_verdict_cnt(::PROTOBUF_NAMESPACE_ID::int32 value);
2766 private:
2767 ::PROTOBUF_NAMESPACE_ID::int32 _internal_stored_verdict_cnt() const;
2768 void _internal_set_stored_verdict_cnt(::PROTOBUF_NAMESPACE_ID::int32 value);
2769 public:
2770
2771 // optional bool clicked_through_interstitial = 7;
2772 bool has_clicked_through_interstitial() const;
2773 private:
2774 bool _internal_has_clicked_through_interstitial() const;
2775 public:
2776 void clear_clicked_through_interstitial();
2777 bool clicked_through_interstitial() const;
2778 void set_clicked_through_interstitial(bool value);
2779 private:
2780 bool _internal_clicked_through_interstitial() const;
2781 void _internal_set_clicked_through_interstitial(bool value);
2782 public:
2783
2784 // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest)
2785 private:
2786 class _Internal;
2787
2788 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
2789 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2790 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2791 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame > frames_;
2792 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_url_;
2793 ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* password_reuse_event_;
2794 ::safe_browsing::ChromeUserPopulation* population_;
2795 int trigger_type_;
2796 ::PROTOBUF_NAMESPACE_ID::int32 stored_verdict_cnt_;
2797 bool clicked_through_interstitial_;
2798 friend struct ::TableStruct_csd_2eproto;
2799 };
2800 // -------------------------------------------------------------------
2801
2802 class LoginReputationClientResponse :
2803 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientResponse) */ {
2804 public:
2805 LoginReputationClientResponse();
2806 virtual ~LoginReputationClientResponse();
2807
2808 LoginReputationClientResponse(const LoginReputationClientResponse& from);
LoginReputationClientResponse(LoginReputationClientResponse && from)2809 LoginReputationClientResponse(LoginReputationClientResponse&& from) noexcept
2810 : LoginReputationClientResponse() {
2811 *this = ::std::move(from);
2812 }
2813
2814 inline LoginReputationClientResponse& operator=(const LoginReputationClientResponse& from) {
2815 CopyFrom(from);
2816 return *this;
2817 }
2818 inline LoginReputationClientResponse& operator=(LoginReputationClientResponse&& from) noexcept {
2819 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2820 if (this != &from) InternalSwap(&from);
2821 } else {
2822 CopyFrom(from);
2823 }
2824 return *this;
2825 }
2826
unknown_fields()2827 inline const std::string& unknown_fields() const {
2828 return _internal_metadata_.unknown_fields();
2829 }
mutable_unknown_fields()2830 inline std::string* mutable_unknown_fields() {
2831 return _internal_metadata_.mutable_unknown_fields();
2832 }
2833
2834 static const LoginReputationClientResponse& default_instance();
2835
2836 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2837 static inline const LoginReputationClientResponse* internal_default_instance() {
2838 return reinterpret_cast<const LoginReputationClientResponse*>(
2839 &_LoginReputationClientResponse_default_instance_);
2840 }
2841 static constexpr int kIndexInFileMessages =
2842 10;
2843
swap(LoginReputationClientResponse & a,LoginReputationClientResponse & b)2844 friend void swap(LoginReputationClientResponse& a, LoginReputationClientResponse& b) {
2845 a.Swap(&b);
2846 }
Swap(LoginReputationClientResponse * other)2847 inline void Swap(LoginReputationClientResponse* other) {
2848 if (other == this) return;
2849 InternalSwap(other);
2850 }
2851
2852 // implements Message ----------------------------------------------
2853
New()2854 inline LoginReputationClientResponse* New() const final {
2855 return CreateMaybeMessage<LoginReputationClientResponse>(nullptr);
2856 }
2857
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)2858 LoginReputationClientResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2859 return CreateMaybeMessage<LoginReputationClientResponse>(arena);
2860 }
2861 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
2862 final;
2863 void CopyFrom(const LoginReputationClientResponse& from);
2864 void MergeFrom(const LoginReputationClientResponse& from);
2865 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2866 bool IsInitialized() const final;
2867
2868 size_t ByteSizeLong() const final;
2869 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2870 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2871 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2872 void DiscardUnknownFields();
GetCachedSize()2873 int GetCachedSize() const final { return _cached_size_.Get(); }
2874
2875 private:
2876 inline void SharedCtor();
2877 inline void SharedDtor();
2878 void SetCachedSize(int size) const;
2879 void InternalSwap(LoginReputationClientResponse* other);
2880 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()2881 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2882 return "safe_browsing.LoginReputationClientResponse";
2883 }
2884 private:
GetArenaNoVirtual()2885 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2886 return nullptr;
2887 }
MaybeArenaPtr()2888 inline void* MaybeArenaPtr() const {
2889 return nullptr;
2890 }
2891 public:
2892
2893 std::string GetTypeName() const final;
2894
2895 // nested types ----------------------------------------------------
2896
2897 typedef LoginReputationClientResponse_VerdictType VerdictType;
2898 static constexpr VerdictType VERDICT_TYPE_UNSPECIFIED =
2899 LoginReputationClientResponse_VerdictType_VERDICT_TYPE_UNSPECIFIED;
2900 static constexpr VerdictType SAFE =
2901 LoginReputationClientResponse_VerdictType_SAFE;
2902 static constexpr VerdictType LOW_REPUTATION =
2903 LoginReputationClientResponse_VerdictType_LOW_REPUTATION;
2904 static constexpr VerdictType PHISHING =
2905 LoginReputationClientResponse_VerdictType_PHISHING;
VerdictType_IsValid(int value)2906 static inline bool VerdictType_IsValid(int value) {
2907 return LoginReputationClientResponse_VerdictType_IsValid(value);
2908 }
2909 static constexpr VerdictType VerdictType_MIN =
2910 LoginReputationClientResponse_VerdictType_VerdictType_MIN;
2911 static constexpr VerdictType VerdictType_MAX =
2912 LoginReputationClientResponse_VerdictType_VerdictType_MAX;
2913 static constexpr int VerdictType_ARRAYSIZE =
2914 LoginReputationClientResponse_VerdictType_VerdictType_ARRAYSIZE;
2915 template<typename T>
VerdictType_Name(T enum_t_value)2916 static inline const std::string& VerdictType_Name(T enum_t_value) {
2917 static_assert(::std::is_same<T, VerdictType>::value ||
2918 ::std::is_integral<T>::value,
2919 "Incorrect type passed to function VerdictType_Name.");
2920 return LoginReputationClientResponse_VerdictType_Name(enum_t_value);
2921 }
VerdictType_Parse(const std::string & name,VerdictType * value)2922 static inline bool VerdictType_Parse(const std::string& name,
2923 VerdictType* value) {
2924 return LoginReputationClientResponse_VerdictType_Parse(name, value);
2925 }
2926
2927 // accessors -------------------------------------------------------
2928
2929 enum : int {
2930 kCacheExpressionFieldNumber = 3,
2931 kVerdictTokenFieldNumber = 5,
2932 kCacheDurationSecFieldNumber = 2,
2933 kVerdictTypeFieldNumber = 1,
2934 kDEPRECATEDCacheExpressionExactMatchFieldNumber = 4,
2935 };
2936 // optional string cache_expression = 3;
2937 bool has_cache_expression() const;
2938 private:
2939 bool _internal_has_cache_expression() const;
2940 public:
2941 void clear_cache_expression();
2942 const std::string& cache_expression() const;
2943 void set_cache_expression(const std::string& value);
2944 void set_cache_expression(std::string&& value);
2945 void set_cache_expression(const char* value);
2946 void set_cache_expression(const char* value, size_t size);
2947 std::string* mutable_cache_expression();
2948 std::string* release_cache_expression();
2949 void set_allocated_cache_expression(std::string* cache_expression);
2950 private:
2951 const std::string& _internal_cache_expression() const;
2952 void _internal_set_cache_expression(const std::string& value);
2953 std::string* _internal_mutable_cache_expression();
2954 public:
2955
2956 // optional bytes verdict_token = 5;
2957 bool has_verdict_token() const;
2958 private:
2959 bool _internal_has_verdict_token() const;
2960 public:
2961 void clear_verdict_token();
2962 const std::string& verdict_token() const;
2963 void set_verdict_token(const std::string& value);
2964 void set_verdict_token(std::string&& value);
2965 void set_verdict_token(const char* value);
2966 void set_verdict_token(const void* value, size_t size);
2967 std::string* mutable_verdict_token();
2968 std::string* release_verdict_token();
2969 void set_allocated_verdict_token(std::string* verdict_token);
2970 private:
2971 const std::string& _internal_verdict_token() const;
2972 void _internal_set_verdict_token(const std::string& value);
2973 std::string* _internal_mutable_verdict_token();
2974 public:
2975
2976 // optional int64 cache_duration_sec = 2;
2977 bool has_cache_duration_sec() const;
2978 private:
2979 bool _internal_has_cache_duration_sec() const;
2980 public:
2981 void clear_cache_duration_sec();
2982 ::PROTOBUF_NAMESPACE_ID::int64 cache_duration_sec() const;
2983 void set_cache_duration_sec(::PROTOBUF_NAMESPACE_ID::int64 value);
2984 private:
2985 ::PROTOBUF_NAMESPACE_ID::int64 _internal_cache_duration_sec() const;
2986 void _internal_set_cache_duration_sec(::PROTOBUF_NAMESPACE_ID::int64 value);
2987 public:
2988
2989 // optional .safe_browsing.LoginReputationClientResponse.VerdictType verdict_type = 1;
2990 bool has_verdict_type() const;
2991 private:
2992 bool _internal_has_verdict_type() const;
2993 public:
2994 void clear_verdict_type();
2995 ::safe_browsing::LoginReputationClientResponse_VerdictType verdict_type() const;
2996 void set_verdict_type(::safe_browsing::LoginReputationClientResponse_VerdictType value);
2997 private:
2998 ::safe_browsing::LoginReputationClientResponse_VerdictType _internal_verdict_type() const;
2999 void _internal_set_verdict_type(::safe_browsing::LoginReputationClientResponse_VerdictType value);
3000 public:
3001
3002 // optional bool DEPRECATED_cache_expression_exact_match = 4 [deprecated = true];
3003 PROTOBUF_DEPRECATED bool has_deprecated_cache_expression_exact_match() const;
3004 private:
3005 bool _internal_has_deprecated_cache_expression_exact_match() const;
3006 public:
3007 PROTOBUF_DEPRECATED void clear_deprecated_cache_expression_exact_match();
3008 PROTOBUF_DEPRECATED bool deprecated_cache_expression_exact_match() const;
3009 PROTOBUF_DEPRECATED void set_deprecated_cache_expression_exact_match(bool value);
3010 private:
3011 bool _internal_deprecated_cache_expression_exact_match() const;
3012 void _internal_set_deprecated_cache_expression_exact_match(bool value);
3013 public:
3014
3015 // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientResponse)
3016 private:
3017 class _Internal;
3018
3019 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
3020 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3021 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3022 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cache_expression_;
3023 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr verdict_token_;
3024 ::PROTOBUF_NAMESPACE_ID::int64 cache_duration_sec_;
3025 int verdict_type_;
3026 bool deprecated_cache_expression_exact_match_;
3027 friend struct ::TableStruct_csd_2eproto;
3028 };
3029 // -------------------------------------------------------------------
3030
3031 class ClientMalwareResponse :
3032 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientMalwareResponse) */ {
3033 public:
3034 ClientMalwareResponse();
3035 virtual ~ClientMalwareResponse();
3036
3037 ClientMalwareResponse(const ClientMalwareResponse& from);
ClientMalwareResponse(ClientMalwareResponse && from)3038 ClientMalwareResponse(ClientMalwareResponse&& from) noexcept
3039 : ClientMalwareResponse() {
3040 *this = ::std::move(from);
3041 }
3042
3043 inline ClientMalwareResponse& operator=(const ClientMalwareResponse& from) {
3044 CopyFrom(from);
3045 return *this;
3046 }
3047 inline ClientMalwareResponse& operator=(ClientMalwareResponse&& from) noexcept {
3048 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3049 if (this != &from) InternalSwap(&from);
3050 } else {
3051 CopyFrom(from);
3052 }
3053 return *this;
3054 }
3055
unknown_fields()3056 inline const std::string& unknown_fields() const {
3057 return _internal_metadata_.unknown_fields();
3058 }
mutable_unknown_fields()3059 inline std::string* mutable_unknown_fields() {
3060 return _internal_metadata_.mutable_unknown_fields();
3061 }
3062
3063 static const ClientMalwareResponse& default_instance();
3064
3065 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3066 static inline const ClientMalwareResponse* internal_default_instance() {
3067 return reinterpret_cast<const ClientMalwareResponse*>(
3068 &_ClientMalwareResponse_default_instance_);
3069 }
3070 static constexpr int kIndexInFileMessages =
3071 11;
3072
swap(ClientMalwareResponse & a,ClientMalwareResponse & b)3073 friend void swap(ClientMalwareResponse& a, ClientMalwareResponse& b) {
3074 a.Swap(&b);
3075 }
Swap(ClientMalwareResponse * other)3076 inline void Swap(ClientMalwareResponse* other) {
3077 if (other == this) return;
3078 InternalSwap(other);
3079 }
3080
3081 // implements Message ----------------------------------------------
3082
New()3083 inline ClientMalwareResponse* New() const final {
3084 return CreateMaybeMessage<ClientMalwareResponse>(nullptr);
3085 }
3086
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3087 ClientMalwareResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3088 return CreateMaybeMessage<ClientMalwareResponse>(arena);
3089 }
3090 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
3091 final;
3092 void CopyFrom(const ClientMalwareResponse& from);
3093 void MergeFrom(const ClientMalwareResponse& from);
3094 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3095 bool IsInitialized() const final;
3096
3097 size_t ByteSizeLong() const final;
3098 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3099 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
3100 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3101 void DiscardUnknownFields();
GetCachedSize()3102 int GetCachedSize() const final { return _cached_size_.Get(); }
3103
3104 private:
3105 inline void SharedCtor();
3106 inline void SharedDtor();
3107 void SetCachedSize(int size) const;
3108 void InternalSwap(ClientMalwareResponse* other);
3109 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3110 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3111 return "safe_browsing.ClientMalwareResponse";
3112 }
3113 private:
GetArenaNoVirtual()3114 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3115 return nullptr;
3116 }
MaybeArenaPtr()3117 inline void* MaybeArenaPtr() const {
3118 return nullptr;
3119 }
3120 public:
3121
3122 std::string GetTypeName() const final;
3123
3124 // nested types ----------------------------------------------------
3125
3126 // accessors -------------------------------------------------------
3127
3128 enum : int {
3129 kBadIpFieldNumber = 2,
3130 kBadUrlFieldNumber = 3,
3131 kBlacklistFieldNumber = 1,
3132 };
3133 // optional string bad_ip = 2;
3134 bool has_bad_ip() const;
3135 private:
3136 bool _internal_has_bad_ip() const;
3137 public:
3138 void clear_bad_ip();
3139 const std::string& bad_ip() const;
3140 void set_bad_ip(const std::string& value);
3141 void set_bad_ip(std::string&& value);
3142 void set_bad_ip(const char* value);
3143 void set_bad_ip(const char* value, size_t size);
3144 std::string* mutable_bad_ip();
3145 std::string* release_bad_ip();
3146 void set_allocated_bad_ip(std::string* bad_ip);
3147 private:
3148 const std::string& _internal_bad_ip() const;
3149 void _internal_set_bad_ip(const std::string& value);
3150 std::string* _internal_mutable_bad_ip();
3151 public:
3152
3153 // optional string bad_url = 3;
3154 bool has_bad_url() const;
3155 private:
3156 bool _internal_has_bad_url() const;
3157 public:
3158 void clear_bad_url();
3159 const std::string& bad_url() const;
3160 void set_bad_url(const std::string& value);
3161 void set_bad_url(std::string&& value);
3162 void set_bad_url(const char* value);
3163 void set_bad_url(const char* value, size_t size);
3164 std::string* mutable_bad_url();
3165 std::string* release_bad_url();
3166 void set_allocated_bad_url(std::string* bad_url);
3167 private:
3168 const std::string& _internal_bad_url() const;
3169 void _internal_set_bad_url(const std::string& value);
3170 std::string* _internal_mutable_bad_url();
3171 public:
3172
3173 // required bool blacklist = 1;
3174 bool has_blacklist() const;
3175 private:
3176 bool _internal_has_blacklist() const;
3177 public:
3178 void clear_blacklist();
3179 bool blacklist() const;
3180 void set_blacklist(bool value);
3181 private:
3182 bool _internal_blacklist() const;
3183 void _internal_set_blacklist(bool value);
3184 public:
3185
3186 // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareResponse)
3187 private:
3188 class _Internal;
3189
3190 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
3191 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3192 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3193 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bad_ip_;
3194 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bad_url_;
3195 bool blacklist_;
3196 friend struct ::TableStruct_csd_2eproto;
3197 };
3198 // -------------------------------------------------------------------
3199
3200 class ClientDownloadRequest_Digests :
3201 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.Digests) */ {
3202 public:
3203 ClientDownloadRequest_Digests();
3204 virtual ~ClientDownloadRequest_Digests();
3205
3206 ClientDownloadRequest_Digests(const ClientDownloadRequest_Digests& from);
ClientDownloadRequest_Digests(ClientDownloadRequest_Digests && from)3207 ClientDownloadRequest_Digests(ClientDownloadRequest_Digests&& from) noexcept
3208 : ClientDownloadRequest_Digests() {
3209 *this = ::std::move(from);
3210 }
3211
3212 inline ClientDownloadRequest_Digests& operator=(const ClientDownloadRequest_Digests& from) {
3213 CopyFrom(from);
3214 return *this;
3215 }
3216 inline ClientDownloadRequest_Digests& operator=(ClientDownloadRequest_Digests&& from) noexcept {
3217 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3218 if (this != &from) InternalSwap(&from);
3219 } else {
3220 CopyFrom(from);
3221 }
3222 return *this;
3223 }
3224
unknown_fields()3225 inline const std::string& unknown_fields() const {
3226 return _internal_metadata_.unknown_fields();
3227 }
mutable_unknown_fields()3228 inline std::string* mutable_unknown_fields() {
3229 return _internal_metadata_.mutable_unknown_fields();
3230 }
3231
3232 static const ClientDownloadRequest_Digests& default_instance();
3233
3234 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3235 static inline const ClientDownloadRequest_Digests* internal_default_instance() {
3236 return reinterpret_cast<const ClientDownloadRequest_Digests*>(
3237 &_ClientDownloadRequest_Digests_default_instance_);
3238 }
3239 static constexpr int kIndexInFileMessages =
3240 12;
3241
swap(ClientDownloadRequest_Digests & a,ClientDownloadRequest_Digests & b)3242 friend void swap(ClientDownloadRequest_Digests& a, ClientDownloadRequest_Digests& b) {
3243 a.Swap(&b);
3244 }
Swap(ClientDownloadRequest_Digests * other)3245 inline void Swap(ClientDownloadRequest_Digests* other) {
3246 if (other == this) return;
3247 InternalSwap(other);
3248 }
3249
3250 // implements Message ----------------------------------------------
3251
New()3252 inline ClientDownloadRequest_Digests* New() const final {
3253 return CreateMaybeMessage<ClientDownloadRequest_Digests>(nullptr);
3254 }
3255
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3256 ClientDownloadRequest_Digests* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3257 return CreateMaybeMessage<ClientDownloadRequest_Digests>(arena);
3258 }
3259 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
3260 final;
3261 void CopyFrom(const ClientDownloadRequest_Digests& from);
3262 void MergeFrom(const ClientDownloadRequest_Digests& from);
3263 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3264 bool IsInitialized() const final;
3265
3266 size_t ByteSizeLong() const final;
3267 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3268 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
3269 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3270 void DiscardUnknownFields();
GetCachedSize()3271 int GetCachedSize() const final { return _cached_size_.Get(); }
3272
3273 private:
3274 inline void SharedCtor();
3275 inline void SharedDtor();
3276 void SetCachedSize(int size) const;
3277 void InternalSwap(ClientDownloadRequest_Digests* other);
3278 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3279 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3280 return "safe_browsing.ClientDownloadRequest.Digests";
3281 }
3282 private:
GetArenaNoVirtual()3283 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3284 return nullptr;
3285 }
MaybeArenaPtr()3286 inline void* MaybeArenaPtr() const {
3287 return nullptr;
3288 }
3289 public:
3290
3291 std::string GetTypeName() const final;
3292
3293 // nested types ----------------------------------------------------
3294
3295 // accessors -------------------------------------------------------
3296
3297 enum : int {
3298 kSha256FieldNumber = 1,
3299 kSha1FieldNumber = 2,
3300 kMd5FieldNumber = 3,
3301 };
3302 // optional bytes sha256 = 1;
3303 bool has_sha256() const;
3304 private:
3305 bool _internal_has_sha256() const;
3306 public:
3307 void clear_sha256();
3308 const std::string& sha256() const;
3309 void set_sha256(const std::string& value);
3310 void set_sha256(std::string&& value);
3311 void set_sha256(const char* value);
3312 void set_sha256(const void* value, size_t size);
3313 std::string* mutable_sha256();
3314 std::string* release_sha256();
3315 void set_allocated_sha256(std::string* sha256);
3316 private:
3317 const std::string& _internal_sha256() const;
3318 void _internal_set_sha256(const std::string& value);
3319 std::string* _internal_mutable_sha256();
3320 public:
3321
3322 // optional bytes sha1 = 2;
3323 bool has_sha1() const;
3324 private:
3325 bool _internal_has_sha1() const;
3326 public:
3327 void clear_sha1();
3328 const std::string& sha1() const;
3329 void set_sha1(const std::string& value);
3330 void set_sha1(std::string&& value);
3331 void set_sha1(const char* value);
3332 void set_sha1(const void* value, size_t size);
3333 std::string* mutable_sha1();
3334 std::string* release_sha1();
3335 void set_allocated_sha1(std::string* sha1);
3336 private:
3337 const std::string& _internal_sha1() const;
3338 void _internal_set_sha1(const std::string& value);
3339 std::string* _internal_mutable_sha1();
3340 public:
3341
3342 // optional bytes md5 = 3;
3343 bool has_md5() const;
3344 private:
3345 bool _internal_has_md5() const;
3346 public:
3347 void clear_md5();
3348 const std::string& md5() const;
3349 void set_md5(const std::string& value);
3350 void set_md5(std::string&& value);
3351 void set_md5(const char* value);
3352 void set_md5(const void* value, size_t size);
3353 std::string* mutable_md5();
3354 std::string* release_md5();
3355 void set_allocated_md5(std::string* md5);
3356 private:
3357 const std::string& _internal_md5() const;
3358 void _internal_set_md5(const std::string& value);
3359 std::string* _internal_mutable_md5();
3360 public:
3361
3362 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Digests)
3363 private:
3364 class _Internal;
3365
3366 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
3367 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3368 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3369 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha256_;
3370 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha1_;
3371 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr md5_;
3372 friend struct ::TableStruct_csd_2eproto;
3373 };
3374 // -------------------------------------------------------------------
3375
3376 class ClientDownloadRequest_Resource :
3377 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.Resource) */ {
3378 public:
3379 ClientDownloadRequest_Resource();
3380 virtual ~ClientDownloadRequest_Resource();
3381
3382 ClientDownloadRequest_Resource(const ClientDownloadRequest_Resource& from);
ClientDownloadRequest_Resource(ClientDownloadRequest_Resource && from)3383 ClientDownloadRequest_Resource(ClientDownloadRequest_Resource&& from) noexcept
3384 : ClientDownloadRequest_Resource() {
3385 *this = ::std::move(from);
3386 }
3387
3388 inline ClientDownloadRequest_Resource& operator=(const ClientDownloadRequest_Resource& from) {
3389 CopyFrom(from);
3390 return *this;
3391 }
3392 inline ClientDownloadRequest_Resource& operator=(ClientDownloadRequest_Resource&& from) noexcept {
3393 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3394 if (this != &from) InternalSwap(&from);
3395 } else {
3396 CopyFrom(from);
3397 }
3398 return *this;
3399 }
3400
unknown_fields()3401 inline const std::string& unknown_fields() const {
3402 return _internal_metadata_.unknown_fields();
3403 }
mutable_unknown_fields()3404 inline std::string* mutable_unknown_fields() {
3405 return _internal_metadata_.mutable_unknown_fields();
3406 }
3407
3408 static const ClientDownloadRequest_Resource& default_instance();
3409
3410 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3411 static inline const ClientDownloadRequest_Resource* internal_default_instance() {
3412 return reinterpret_cast<const ClientDownloadRequest_Resource*>(
3413 &_ClientDownloadRequest_Resource_default_instance_);
3414 }
3415 static constexpr int kIndexInFileMessages =
3416 13;
3417
swap(ClientDownloadRequest_Resource & a,ClientDownloadRequest_Resource & b)3418 friend void swap(ClientDownloadRequest_Resource& a, ClientDownloadRequest_Resource& b) {
3419 a.Swap(&b);
3420 }
Swap(ClientDownloadRequest_Resource * other)3421 inline void Swap(ClientDownloadRequest_Resource* other) {
3422 if (other == this) return;
3423 InternalSwap(other);
3424 }
3425
3426 // implements Message ----------------------------------------------
3427
New()3428 inline ClientDownloadRequest_Resource* New() const final {
3429 return CreateMaybeMessage<ClientDownloadRequest_Resource>(nullptr);
3430 }
3431
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3432 ClientDownloadRequest_Resource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3433 return CreateMaybeMessage<ClientDownloadRequest_Resource>(arena);
3434 }
3435 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
3436 final;
3437 void CopyFrom(const ClientDownloadRequest_Resource& from);
3438 void MergeFrom(const ClientDownloadRequest_Resource& from);
3439 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3440 bool IsInitialized() const final;
3441
3442 size_t ByteSizeLong() const final;
3443 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3444 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
3445 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3446 void DiscardUnknownFields();
GetCachedSize()3447 int GetCachedSize() const final { return _cached_size_.Get(); }
3448
3449 private:
3450 inline void SharedCtor();
3451 inline void SharedDtor();
3452 void SetCachedSize(int size) const;
3453 void InternalSwap(ClientDownloadRequest_Resource* other);
3454 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3455 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3456 return "safe_browsing.ClientDownloadRequest.Resource";
3457 }
3458 private:
GetArenaNoVirtual()3459 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3460 return nullptr;
3461 }
MaybeArenaPtr()3462 inline void* MaybeArenaPtr() const {
3463 return nullptr;
3464 }
3465 public:
3466
3467 std::string GetTypeName() const final;
3468
3469 // nested types ----------------------------------------------------
3470
3471 // accessors -------------------------------------------------------
3472
3473 enum : int {
3474 kUrlFieldNumber = 1,
3475 kRemoteIpFieldNumber = 3,
3476 kReferrerFieldNumber = 4,
3477 kTypeFieldNumber = 2,
3478 };
3479 // required string url = 1;
3480 bool has_url() const;
3481 private:
3482 bool _internal_has_url() const;
3483 public:
3484 void clear_url();
3485 const std::string& url() const;
3486 void set_url(const std::string& value);
3487 void set_url(std::string&& value);
3488 void set_url(const char* value);
3489 void set_url(const char* value, size_t size);
3490 std::string* mutable_url();
3491 std::string* release_url();
3492 void set_allocated_url(std::string* url);
3493 private:
3494 const std::string& _internal_url() const;
3495 void _internal_set_url(const std::string& value);
3496 std::string* _internal_mutable_url();
3497 public:
3498
3499 // optional bytes remote_ip = 3;
3500 bool has_remote_ip() const;
3501 private:
3502 bool _internal_has_remote_ip() const;
3503 public:
3504 void clear_remote_ip();
3505 const std::string& remote_ip() const;
3506 void set_remote_ip(const std::string& value);
3507 void set_remote_ip(std::string&& value);
3508 void set_remote_ip(const char* value);
3509 void set_remote_ip(const void* value, size_t size);
3510 std::string* mutable_remote_ip();
3511 std::string* release_remote_ip();
3512 void set_allocated_remote_ip(std::string* remote_ip);
3513 private:
3514 const std::string& _internal_remote_ip() const;
3515 void _internal_set_remote_ip(const std::string& value);
3516 std::string* _internal_mutable_remote_ip();
3517 public:
3518
3519 // optional string referrer = 4;
3520 bool has_referrer() const;
3521 private:
3522 bool _internal_has_referrer() const;
3523 public:
3524 void clear_referrer();
3525 const std::string& referrer() const;
3526 void set_referrer(const std::string& value);
3527 void set_referrer(std::string&& value);
3528 void set_referrer(const char* value);
3529 void set_referrer(const char* value, size_t size);
3530 std::string* mutable_referrer();
3531 std::string* release_referrer();
3532 void set_allocated_referrer(std::string* referrer);
3533 private:
3534 const std::string& _internal_referrer() const;
3535 void _internal_set_referrer(const std::string& value);
3536 std::string* _internal_mutable_referrer();
3537 public:
3538
3539 // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2;
3540 bool has_type() const;
3541 private:
3542 bool _internal_has_type() const;
3543 public:
3544 void clear_type();
3545 ::safe_browsing::ClientDownloadRequest_ResourceType type() const;
3546 void set_type(::safe_browsing::ClientDownloadRequest_ResourceType value);
3547 private:
3548 ::safe_browsing::ClientDownloadRequest_ResourceType _internal_type() const;
3549 void _internal_set_type(::safe_browsing::ClientDownloadRequest_ResourceType value);
3550 public:
3551
3552 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Resource)
3553 private:
3554 class _Internal;
3555
3556 // helper for ByteSizeLong()
3557 size_t RequiredFieldsByteSizeFallback() const;
3558
3559 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
3560 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3561 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3562 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
3563 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_ip_;
3564 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_;
3565 int type_;
3566 friend struct ::TableStruct_csd_2eproto;
3567 };
3568 // -------------------------------------------------------------------
3569
3570 class ClientDownloadRequest_CertificateChain_Element :
3571 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.CertificateChain.Element) */ {
3572 public:
3573 ClientDownloadRequest_CertificateChain_Element();
3574 virtual ~ClientDownloadRequest_CertificateChain_Element();
3575
3576 ClientDownloadRequest_CertificateChain_Element(const ClientDownloadRequest_CertificateChain_Element& from);
ClientDownloadRequest_CertificateChain_Element(ClientDownloadRequest_CertificateChain_Element && from)3577 ClientDownloadRequest_CertificateChain_Element(ClientDownloadRequest_CertificateChain_Element&& from) noexcept
3578 : ClientDownloadRequest_CertificateChain_Element() {
3579 *this = ::std::move(from);
3580 }
3581
3582 inline ClientDownloadRequest_CertificateChain_Element& operator=(const ClientDownloadRequest_CertificateChain_Element& from) {
3583 CopyFrom(from);
3584 return *this;
3585 }
3586 inline ClientDownloadRequest_CertificateChain_Element& operator=(ClientDownloadRequest_CertificateChain_Element&& from) noexcept {
3587 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3588 if (this != &from) InternalSwap(&from);
3589 } else {
3590 CopyFrom(from);
3591 }
3592 return *this;
3593 }
3594
unknown_fields()3595 inline const std::string& unknown_fields() const {
3596 return _internal_metadata_.unknown_fields();
3597 }
mutable_unknown_fields()3598 inline std::string* mutable_unknown_fields() {
3599 return _internal_metadata_.mutable_unknown_fields();
3600 }
3601
3602 static const ClientDownloadRequest_CertificateChain_Element& default_instance();
3603
3604 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3605 static inline const ClientDownloadRequest_CertificateChain_Element* internal_default_instance() {
3606 return reinterpret_cast<const ClientDownloadRequest_CertificateChain_Element*>(
3607 &_ClientDownloadRequest_CertificateChain_Element_default_instance_);
3608 }
3609 static constexpr int kIndexInFileMessages =
3610 14;
3611
swap(ClientDownloadRequest_CertificateChain_Element & a,ClientDownloadRequest_CertificateChain_Element & b)3612 friend void swap(ClientDownloadRequest_CertificateChain_Element& a, ClientDownloadRequest_CertificateChain_Element& b) {
3613 a.Swap(&b);
3614 }
Swap(ClientDownloadRequest_CertificateChain_Element * other)3615 inline void Swap(ClientDownloadRequest_CertificateChain_Element* other) {
3616 if (other == this) return;
3617 InternalSwap(other);
3618 }
3619
3620 // implements Message ----------------------------------------------
3621
New()3622 inline ClientDownloadRequest_CertificateChain_Element* New() const final {
3623 return CreateMaybeMessage<ClientDownloadRequest_CertificateChain_Element>(nullptr);
3624 }
3625
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3626 ClientDownloadRequest_CertificateChain_Element* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3627 return CreateMaybeMessage<ClientDownloadRequest_CertificateChain_Element>(arena);
3628 }
3629 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
3630 final;
3631 void CopyFrom(const ClientDownloadRequest_CertificateChain_Element& from);
3632 void MergeFrom(const ClientDownloadRequest_CertificateChain_Element& from);
3633 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3634 bool IsInitialized() const final;
3635
3636 size_t ByteSizeLong() const final;
3637 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3638 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
3639 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3640 void DiscardUnknownFields();
GetCachedSize()3641 int GetCachedSize() const final { return _cached_size_.Get(); }
3642
3643 private:
3644 inline void SharedCtor();
3645 inline void SharedDtor();
3646 void SetCachedSize(int size) const;
3647 void InternalSwap(ClientDownloadRequest_CertificateChain_Element* other);
3648 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3649 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3650 return "safe_browsing.ClientDownloadRequest.CertificateChain.Element";
3651 }
3652 private:
GetArenaNoVirtual()3653 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3654 return nullptr;
3655 }
MaybeArenaPtr()3656 inline void* MaybeArenaPtr() const {
3657 return nullptr;
3658 }
3659 public:
3660
3661 std::string GetTypeName() const final;
3662
3663 // nested types ----------------------------------------------------
3664
3665 // accessors -------------------------------------------------------
3666
3667 enum : int {
3668 kCertificateFieldNumber = 1,
3669 };
3670 // optional bytes certificate = 1;
3671 bool has_certificate() const;
3672 private:
3673 bool _internal_has_certificate() const;
3674 public:
3675 void clear_certificate();
3676 const std::string& certificate() const;
3677 void set_certificate(const std::string& value);
3678 void set_certificate(std::string&& value);
3679 void set_certificate(const char* value);
3680 void set_certificate(const void* value, size_t size);
3681 std::string* mutable_certificate();
3682 std::string* release_certificate();
3683 void set_allocated_certificate(std::string* certificate);
3684 private:
3685 const std::string& _internal_certificate() const;
3686 void _internal_set_certificate(const std::string& value);
3687 std::string* _internal_mutable_certificate();
3688 public:
3689
3690 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain.Element)
3691 private:
3692 class _Internal;
3693
3694 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
3695 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3696 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3697 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr certificate_;
3698 friend struct ::TableStruct_csd_2eproto;
3699 };
3700 // -------------------------------------------------------------------
3701
3702 class ClientDownloadRequest_CertificateChain :
3703 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.CertificateChain) */ {
3704 public:
3705 ClientDownloadRequest_CertificateChain();
3706 virtual ~ClientDownloadRequest_CertificateChain();
3707
3708 ClientDownloadRequest_CertificateChain(const ClientDownloadRequest_CertificateChain& from);
ClientDownloadRequest_CertificateChain(ClientDownloadRequest_CertificateChain && from)3709 ClientDownloadRequest_CertificateChain(ClientDownloadRequest_CertificateChain&& from) noexcept
3710 : ClientDownloadRequest_CertificateChain() {
3711 *this = ::std::move(from);
3712 }
3713
3714 inline ClientDownloadRequest_CertificateChain& operator=(const ClientDownloadRequest_CertificateChain& from) {
3715 CopyFrom(from);
3716 return *this;
3717 }
3718 inline ClientDownloadRequest_CertificateChain& operator=(ClientDownloadRequest_CertificateChain&& from) noexcept {
3719 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3720 if (this != &from) InternalSwap(&from);
3721 } else {
3722 CopyFrom(from);
3723 }
3724 return *this;
3725 }
3726
unknown_fields()3727 inline const std::string& unknown_fields() const {
3728 return _internal_metadata_.unknown_fields();
3729 }
mutable_unknown_fields()3730 inline std::string* mutable_unknown_fields() {
3731 return _internal_metadata_.mutable_unknown_fields();
3732 }
3733
3734 static const ClientDownloadRequest_CertificateChain& default_instance();
3735
3736 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3737 static inline const ClientDownloadRequest_CertificateChain* internal_default_instance() {
3738 return reinterpret_cast<const ClientDownloadRequest_CertificateChain*>(
3739 &_ClientDownloadRequest_CertificateChain_default_instance_);
3740 }
3741 static constexpr int kIndexInFileMessages =
3742 15;
3743
swap(ClientDownloadRequest_CertificateChain & a,ClientDownloadRequest_CertificateChain & b)3744 friend void swap(ClientDownloadRequest_CertificateChain& a, ClientDownloadRequest_CertificateChain& b) {
3745 a.Swap(&b);
3746 }
Swap(ClientDownloadRequest_CertificateChain * other)3747 inline void Swap(ClientDownloadRequest_CertificateChain* other) {
3748 if (other == this) return;
3749 InternalSwap(other);
3750 }
3751
3752 // implements Message ----------------------------------------------
3753
New()3754 inline ClientDownloadRequest_CertificateChain* New() const final {
3755 return CreateMaybeMessage<ClientDownloadRequest_CertificateChain>(nullptr);
3756 }
3757
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3758 ClientDownloadRequest_CertificateChain* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3759 return CreateMaybeMessage<ClientDownloadRequest_CertificateChain>(arena);
3760 }
3761 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
3762 final;
3763 void CopyFrom(const ClientDownloadRequest_CertificateChain& from);
3764 void MergeFrom(const ClientDownloadRequest_CertificateChain& from);
3765 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3766 bool IsInitialized() const final;
3767
3768 size_t ByteSizeLong() const final;
3769 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3770 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
3771 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3772 void DiscardUnknownFields();
GetCachedSize()3773 int GetCachedSize() const final { return _cached_size_.Get(); }
3774
3775 private:
3776 inline void SharedCtor();
3777 inline void SharedDtor();
3778 void SetCachedSize(int size) const;
3779 void InternalSwap(ClientDownloadRequest_CertificateChain* other);
3780 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3781 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3782 return "safe_browsing.ClientDownloadRequest.CertificateChain";
3783 }
3784 private:
GetArenaNoVirtual()3785 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3786 return nullptr;
3787 }
MaybeArenaPtr()3788 inline void* MaybeArenaPtr() const {
3789 return nullptr;
3790 }
3791 public:
3792
3793 std::string GetTypeName() const final;
3794
3795 // nested types ----------------------------------------------------
3796
3797 typedef ClientDownloadRequest_CertificateChain_Element Element;
3798
3799 // accessors -------------------------------------------------------
3800
3801 enum : int {
3802 kElementFieldNumber = 1,
3803 };
3804 // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1;
3805 int element_size() const;
3806 private:
3807 int _internal_element_size() const;
3808 public:
3809 void clear_element();
3810 ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* mutable_element(int index);
3811 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >*
3812 mutable_element();
3813 private:
3814 const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& _internal_element(int index) const;
3815 ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* _internal_add_element();
3816 public:
3817 const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& element(int index) const;
3818 ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* add_element();
3819 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >&
3820 element() const;
3821
3822 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain)
3823 private:
3824 class _Internal;
3825
3826 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
3827 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3828 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3829 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element > element_;
3830 friend struct ::TableStruct_csd_2eproto;
3831 };
3832 // -------------------------------------------------------------------
3833
3834 class ClientDownloadRequest_ExtendedAttr :
3835 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.ExtendedAttr) */ {
3836 public:
3837 ClientDownloadRequest_ExtendedAttr();
3838 virtual ~ClientDownloadRequest_ExtendedAttr();
3839
3840 ClientDownloadRequest_ExtendedAttr(const ClientDownloadRequest_ExtendedAttr& from);
ClientDownloadRequest_ExtendedAttr(ClientDownloadRequest_ExtendedAttr && from)3841 ClientDownloadRequest_ExtendedAttr(ClientDownloadRequest_ExtendedAttr&& from) noexcept
3842 : ClientDownloadRequest_ExtendedAttr() {
3843 *this = ::std::move(from);
3844 }
3845
3846 inline ClientDownloadRequest_ExtendedAttr& operator=(const ClientDownloadRequest_ExtendedAttr& from) {
3847 CopyFrom(from);
3848 return *this;
3849 }
3850 inline ClientDownloadRequest_ExtendedAttr& operator=(ClientDownloadRequest_ExtendedAttr&& from) noexcept {
3851 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3852 if (this != &from) InternalSwap(&from);
3853 } else {
3854 CopyFrom(from);
3855 }
3856 return *this;
3857 }
3858
unknown_fields()3859 inline const std::string& unknown_fields() const {
3860 return _internal_metadata_.unknown_fields();
3861 }
mutable_unknown_fields()3862 inline std::string* mutable_unknown_fields() {
3863 return _internal_metadata_.mutable_unknown_fields();
3864 }
3865
3866 static const ClientDownloadRequest_ExtendedAttr& default_instance();
3867
3868 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3869 static inline const ClientDownloadRequest_ExtendedAttr* internal_default_instance() {
3870 return reinterpret_cast<const ClientDownloadRequest_ExtendedAttr*>(
3871 &_ClientDownloadRequest_ExtendedAttr_default_instance_);
3872 }
3873 static constexpr int kIndexInFileMessages =
3874 16;
3875
swap(ClientDownloadRequest_ExtendedAttr & a,ClientDownloadRequest_ExtendedAttr & b)3876 friend void swap(ClientDownloadRequest_ExtendedAttr& a, ClientDownloadRequest_ExtendedAttr& b) {
3877 a.Swap(&b);
3878 }
Swap(ClientDownloadRequest_ExtendedAttr * other)3879 inline void Swap(ClientDownloadRequest_ExtendedAttr* other) {
3880 if (other == this) return;
3881 InternalSwap(other);
3882 }
3883
3884 // implements Message ----------------------------------------------
3885
New()3886 inline ClientDownloadRequest_ExtendedAttr* New() const final {
3887 return CreateMaybeMessage<ClientDownloadRequest_ExtendedAttr>(nullptr);
3888 }
3889
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)3890 ClientDownloadRequest_ExtendedAttr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3891 return CreateMaybeMessage<ClientDownloadRequest_ExtendedAttr>(arena);
3892 }
3893 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
3894 final;
3895 void CopyFrom(const ClientDownloadRequest_ExtendedAttr& from);
3896 void MergeFrom(const ClientDownloadRequest_ExtendedAttr& from);
3897 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3898 bool IsInitialized() const final;
3899
3900 size_t ByteSizeLong() const final;
3901 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3902 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
3903 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3904 void DiscardUnknownFields();
GetCachedSize()3905 int GetCachedSize() const final { return _cached_size_.Get(); }
3906
3907 private:
3908 inline void SharedCtor();
3909 inline void SharedDtor();
3910 void SetCachedSize(int size) const;
3911 void InternalSwap(ClientDownloadRequest_ExtendedAttr* other);
3912 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()3913 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3914 return "safe_browsing.ClientDownloadRequest.ExtendedAttr";
3915 }
3916 private:
GetArenaNoVirtual()3917 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
3918 return nullptr;
3919 }
MaybeArenaPtr()3920 inline void* MaybeArenaPtr() const {
3921 return nullptr;
3922 }
3923 public:
3924
3925 std::string GetTypeName() const final;
3926
3927 // nested types ----------------------------------------------------
3928
3929 // accessors -------------------------------------------------------
3930
3931 enum : int {
3932 kKeyFieldNumber = 1,
3933 kValueFieldNumber = 2,
3934 };
3935 // required string key = 1;
3936 bool has_key() const;
3937 private:
3938 bool _internal_has_key() const;
3939 public:
3940 void clear_key();
3941 const std::string& key() const;
3942 void set_key(const std::string& value);
3943 void set_key(std::string&& value);
3944 void set_key(const char* value);
3945 void set_key(const char* value, size_t size);
3946 std::string* mutable_key();
3947 std::string* release_key();
3948 void set_allocated_key(std::string* key);
3949 private:
3950 const std::string& _internal_key() const;
3951 void _internal_set_key(const std::string& value);
3952 std::string* _internal_mutable_key();
3953 public:
3954
3955 // optional bytes value = 2;
3956 bool has_value() const;
3957 private:
3958 bool _internal_has_value() const;
3959 public:
3960 void clear_value();
3961 const std::string& value() const;
3962 void set_value(const std::string& value);
3963 void set_value(std::string&& value);
3964 void set_value(const char* value);
3965 void set_value(const void* value, size_t size);
3966 std::string* mutable_value();
3967 std::string* release_value();
3968 void set_allocated_value(std::string* value);
3969 private:
3970 const std::string& _internal_value() const;
3971 void _internal_set_value(const std::string& value);
3972 std::string* _internal_mutable_value();
3973 public:
3974
3975 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ExtendedAttr)
3976 private:
3977 class _Internal;
3978
3979 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
3980 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3981 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3982 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
3983 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
3984 friend struct ::TableStruct_csd_2eproto;
3985 };
3986 // -------------------------------------------------------------------
3987
3988 class ClientDownloadRequest_SignatureInfo :
3989 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.SignatureInfo) */ {
3990 public:
3991 ClientDownloadRequest_SignatureInfo();
3992 virtual ~ClientDownloadRequest_SignatureInfo();
3993
3994 ClientDownloadRequest_SignatureInfo(const ClientDownloadRequest_SignatureInfo& from);
ClientDownloadRequest_SignatureInfo(ClientDownloadRequest_SignatureInfo && from)3995 ClientDownloadRequest_SignatureInfo(ClientDownloadRequest_SignatureInfo&& from) noexcept
3996 : ClientDownloadRequest_SignatureInfo() {
3997 *this = ::std::move(from);
3998 }
3999
4000 inline ClientDownloadRequest_SignatureInfo& operator=(const ClientDownloadRequest_SignatureInfo& from) {
4001 CopyFrom(from);
4002 return *this;
4003 }
4004 inline ClientDownloadRequest_SignatureInfo& operator=(ClientDownloadRequest_SignatureInfo&& from) noexcept {
4005 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4006 if (this != &from) InternalSwap(&from);
4007 } else {
4008 CopyFrom(from);
4009 }
4010 return *this;
4011 }
4012
unknown_fields()4013 inline const std::string& unknown_fields() const {
4014 return _internal_metadata_.unknown_fields();
4015 }
mutable_unknown_fields()4016 inline std::string* mutable_unknown_fields() {
4017 return _internal_metadata_.mutable_unknown_fields();
4018 }
4019
4020 static const ClientDownloadRequest_SignatureInfo& default_instance();
4021
4022 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4023 static inline const ClientDownloadRequest_SignatureInfo* internal_default_instance() {
4024 return reinterpret_cast<const ClientDownloadRequest_SignatureInfo*>(
4025 &_ClientDownloadRequest_SignatureInfo_default_instance_);
4026 }
4027 static constexpr int kIndexInFileMessages =
4028 17;
4029
swap(ClientDownloadRequest_SignatureInfo & a,ClientDownloadRequest_SignatureInfo & b)4030 friend void swap(ClientDownloadRequest_SignatureInfo& a, ClientDownloadRequest_SignatureInfo& b) {
4031 a.Swap(&b);
4032 }
Swap(ClientDownloadRequest_SignatureInfo * other)4033 inline void Swap(ClientDownloadRequest_SignatureInfo* other) {
4034 if (other == this) return;
4035 InternalSwap(other);
4036 }
4037
4038 // implements Message ----------------------------------------------
4039
New()4040 inline ClientDownloadRequest_SignatureInfo* New() const final {
4041 return CreateMaybeMessage<ClientDownloadRequest_SignatureInfo>(nullptr);
4042 }
4043
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4044 ClientDownloadRequest_SignatureInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4045 return CreateMaybeMessage<ClientDownloadRequest_SignatureInfo>(arena);
4046 }
4047 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
4048 final;
4049 void CopyFrom(const ClientDownloadRequest_SignatureInfo& from);
4050 void MergeFrom(const ClientDownloadRequest_SignatureInfo& from);
4051 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4052 bool IsInitialized() const final;
4053
4054 size_t ByteSizeLong() const final;
4055 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4056 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
4057 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4058 void DiscardUnknownFields();
GetCachedSize()4059 int GetCachedSize() const final { return _cached_size_.Get(); }
4060
4061 private:
4062 inline void SharedCtor();
4063 inline void SharedDtor();
4064 void SetCachedSize(int size) const;
4065 void InternalSwap(ClientDownloadRequest_SignatureInfo* other);
4066 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4067 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4068 return "safe_browsing.ClientDownloadRequest.SignatureInfo";
4069 }
4070 private:
GetArenaNoVirtual()4071 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4072 return nullptr;
4073 }
MaybeArenaPtr()4074 inline void* MaybeArenaPtr() const {
4075 return nullptr;
4076 }
4077 public:
4078
4079 std::string GetTypeName() const final;
4080
4081 // nested types ----------------------------------------------------
4082
4083 // accessors -------------------------------------------------------
4084
4085 enum : int {
4086 kCertificateChainFieldNumber = 1,
4087 kSignedDataFieldNumber = 3,
4088 kXattrFieldNumber = 4,
4089 kTrustedFieldNumber = 2,
4090 };
4091 // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1;
4092 int certificate_chain_size() const;
4093 private:
4094 int _internal_certificate_chain_size() const;
4095 public:
4096 void clear_certificate_chain();
4097 ::safe_browsing::ClientDownloadRequest_CertificateChain* mutable_certificate_chain(int index);
4098 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >*
4099 mutable_certificate_chain();
4100 private:
4101 const ::safe_browsing::ClientDownloadRequest_CertificateChain& _internal_certificate_chain(int index) const;
4102 ::safe_browsing::ClientDownloadRequest_CertificateChain* _internal_add_certificate_chain();
4103 public:
4104 const ::safe_browsing::ClientDownloadRequest_CertificateChain& certificate_chain(int index) const;
4105 ::safe_browsing::ClientDownloadRequest_CertificateChain* add_certificate_chain();
4106 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >&
4107 certificate_chain() const;
4108
4109 // repeated bytes signed_data = 3;
4110 int signed_data_size() const;
4111 private:
4112 int _internal_signed_data_size() const;
4113 public:
4114 void clear_signed_data();
4115 const std::string& signed_data(int index) const;
4116 std::string* mutable_signed_data(int index);
4117 void set_signed_data(int index, const std::string& value);
4118 void set_signed_data(int index, std::string&& value);
4119 void set_signed_data(int index, const char* value);
4120 void set_signed_data(int index, const void* value, size_t size);
4121 std::string* add_signed_data();
4122 void add_signed_data(const std::string& value);
4123 void add_signed_data(std::string&& value);
4124 void add_signed_data(const char* value);
4125 void add_signed_data(const void* value, size_t size);
4126 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& signed_data() const;
4127 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_signed_data();
4128 private:
4129 const std::string& _internal_signed_data(int index) const;
4130 std::string* _internal_add_signed_data();
4131 public:
4132
4133 // repeated .safe_browsing.ClientDownloadRequest.ExtendedAttr xattr = 4;
4134 int xattr_size() const;
4135 private:
4136 int _internal_xattr_size() const;
4137 public:
4138 void clear_xattr();
4139 ::safe_browsing::ClientDownloadRequest_ExtendedAttr* mutable_xattr(int index);
4140 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >*
4141 mutable_xattr();
4142 private:
4143 const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& _internal_xattr(int index) const;
4144 ::safe_browsing::ClientDownloadRequest_ExtendedAttr* _internal_add_xattr();
4145 public:
4146 const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& xattr(int index) const;
4147 ::safe_browsing::ClientDownloadRequest_ExtendedAttr* add_xattr();
4148 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >&
4149 xattr() const;
4150
4151 // optional bool trusted = 2;
4152 bool has_trusted() const;
4153 private:
4154 bool _internal_has_trusted() const;
4155 public:
4156 void clear_trusted();
4157 bool trusted() const;
4158 void set_trusted(bool value);
4159 private:
4160 bool _internal_trusted() const;
4161 void _internal_set_trusted(bool value);
4162 public:
4163
4164 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.SignatureInfo)
4165 private:
4166 class _Internal;
4167
4168 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
4169 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4170 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4171 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain > certificate_chain_;
4172 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> signed_data_;
4173 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr > xattr_;
4174 bool trusted_;
4175 friend struct ::TableStruct_csd_2eproto;
4176 };
4177 // -------------------------------------------------------------------
4178
4179 class ClientDownloadRequest_PEImageHeaders_DebugData :
4180 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData) */ {
4181 public:
4182 ClientDownloadRequest_PEImageHeaders_DebugData();
4183 virtual ~ClientDownloadRequest_PEImageHeaders_DebugData();
4184
4185 ClientDownloadRequest_PEImageHeaders_DebugData(const ClientDownloadRequest_PEImageHeaders_DebugData& from);
ClientDownloadRequest_PEImageHeaders_DebugData(ClientDownloadRequest_PEImageHeaders_DebugData && from)4186 ClientDownloadRequest_PEImageHeaders_DebugData(ClientDownloadRequest_PEImageHeaders_DebugData&& from) noexcept
4187 : ClientDownloadRequest_PEImageHeaders_DebugData() {
4188 *this = ::std::move(from);
4189 }
4190
4191 inline ClientDownloadRequest_PEImageHeaders_DebugData& operator=(const ClientDownloadRequest_PEImageHeaders_DebugData& from) {
4192 CopyFrom(from);
4193 return *this;
4194 }
4195 inline ClientDownloadRequest_PEImageHeaders_DebugData& operator=(ClientDownloadRequest_PEImageHeaders_DebugData&& from) noexcept {
4196 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4197 if (this != &from) InternalSwap(&from);
4198 } else {
4199 CopyFrom(from);
4200 }
4201 return *this;
4202 }
4203
unknown_fields()4204 inline const std::string& unknown_fields() const {
4205 return _internal_metadata_.unknown_fields();
4206 }
mutable_unknown_fields()4207 inline std::string* mutable_unknown_fields() {
4208 return _internal_metadata_.mutable_unknown_fields();
4209 }
4210
4211 static const ClientDownloadRequest_PEImageHeaders_DebugData& default_instance();
4212
4213 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4214 static inline const ClientDownloadRequest_PEImageHeaders_DebugData* internal_default_instance() {
4215 return reinterpret_cast<const ClientDownloadRequest_PEImageHeaders_DebugData*>(
4216 &_ClientDownloadRequest_PEImageHeaders_DebugData_default_instance_);
4217 }
4218 static constexpr int kIndexInFileMessages =
4219 18;
4220
swap(ClientDownloadRequest_PEImageHeaders_DebugData & a,ClientDownloadRequest_PEImageHeaders_DebugData & b)4221 friend void swap(ClientDownloadRequest_PEImageHeaders_DebugData& a, ClientDownloadRequest_PEImageHeaders_DebugData& b) {
4222 a.Swap(&b);
4223 }
Swap(ClientDownloadRequest_PEImageHeaders_DebugData * other)4224 inline void Swap(ClientDownloadRequest_PEImageHeaders_DebugData* other) {
4225 if (other == this) return;
4226 InternalSwap(other);
4227 }
4228
4229 // implements Message ----------------------------------------------
4230
New()4231 inline ClientDownloadRequest_PEImageHeaders_DebugData* New() const final {
4232 return CreateMaybeMessage<ClientDownloadRequest_PEImageHeaders_DebugData>(nullptr);
4233 }
4234
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4235 ClientDownloadRequest_PEImageHeaders_DebugData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4236 return CreateMaybeMessage<ClientDownloadRequest_PEImageHeaders_DebugData>(arena);
4237 }
4238 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
4239 final;
4240 void CopyFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from);
4241 void MergeFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from);
4242 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4243 bool IsInitialized() const final;
4244
4245 size_t ByteSizeLong() const final;
4246 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4247 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
4248 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4249 void DiscardUnknownFields();
GetCachedSize()4250 int GetCachedSize() const final { return _cached_size_.Get(); }
4251
4252 private:
4253 inline void SharedCtor();
4254 inline void SharedDtor();
4255 void SetCachedSize(int size) const;
4256 void InternalSwap(ClientDownloadRequest_PEImageHeaders_DebugData* other);
4257 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4258 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4259 return "safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData";
4260 }
4261 private:
GetArenaNoVirtual()4262 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4263 return nullptr;
4264 }
MaybeArenaPtr()4265 inline void* MaybeArenaPtr() const {
4266 return nullptr;
4267 }
4268 public:
4269
4270 std::string GetTypeName() const final;
4271
4272 // nested types ----------------------------------------------------
4273
4274 // accessors -------------------------------------------------------
4275
4276 enum : int {
4277 kDirectoryEntryFieldNumber = 1,
4278 kRawDataFieldNumber = 2,
4279 };
4280 // optional bytes directory_entry = 1;
4281 bool has_directory_entry() const;
4282 private:
4283 bool _internal_has_directory_entry() const;
4284 public:
4285 void clear_directory_entry();
4286 const std::string& directory_entry() const;
4287 void set_directory_entry(const std::string& value);
4288 void set_directory_entry(std::string&& value);
4289 void set_directory_entry(const char* value);
4290 void set_directory_entry(const void* value, size_t size);
4291 std::string* mutable_directory_entry();
4292 std::string* release_directory_entry();
4293 void set_allocated_directory_entry(std::string* directory_entry);
4294 private:
4295 const std::string& _internal_directory_entry() const;
4296 void _internal_set_directory_entry(const std::string& value);
4297 std::string* _internal_mutable_directory_entry();
4298 public:
4299
4300 // optional bytes raw_data = 2;
4301 bool has_raw_data() const;
4302 private:
4303 bool _internal_has_raw_data() const;
4304 public:
4305 void clear_raw_data();
4306 const std::string& raw_data() const;
4307 void set_raw_data(const std::string& value);
4308 void set_raw_data(std::string&& value);
4309 void set_raw_data(const char* value);
4310 void set_raw_data(const void* value, size_t size);
4311 std::string* mutable_raw_data();
4312 std::string* release_raw_data();
4313 void set_allocated_raw_data(std::string* raw_data);
4314 private:
4315 const std::string& _internal_raw_data() const;
4316 void _internal_set_raw_data(const std::string& value);
4317 std::string* _internal_mutable_raw_data();
4318 public:
4319
4320 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData)
4321 private:
4322 class _Internal;
4323
4324 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
4325 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4326 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4327 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directory_entry_;
4328 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr raw_data_;
4329 friend struct ::TableStruct_csd_2eproto;
4330 };
4331 // -------------------------------------------------------------------
4332
4333 class ClientDownloadRequest_PEImageHeaders :
4334 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.PEImageHeaders) */ {
4335 public:
4336 ClientDownloadRequest_PEImageHeaders();
4337 virtual ~ClientDownloadRequest_PEImageHeaders();
4338
4339 ClientDownloadRequest_PEImageHeaders(const ClientDownloadRequest_PEImageHeaders& from);
ClientDownloadRequest_PEImageHeaders(ClientDownloadRequest_PEImageHeaders && from)4340 ClientDownloadRequest_PEImageHeaders(ClientDownloadRequest_PEImageHeaders&& from) noexcept
4341 : ClientDownloadRequest_PEImageHeaders() {
4342 *this = ::std::move(from);
4343 }
4344
4345 inline ClientDownloadRequest_PEImageHeaders& operator=(const ClientDownloadRequest_PEImageHeaders& from) {
4346 CopyFrom(from);
4347 return *this;
4348 }
4349 inline ClientDownloadRequest_PEImageHeaders& operator=(ClientDownloadRequest_PEImageHeaders&& from) noexcept {
4350 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4351 if (this != &from) InternalSwap(&from);
4352 } else {
4353 CopyFrom(from);
4354 }
4355 return *this;
4356 }
4357
unknown_fields()4358 inline const std::string& unknown_fields() const {
4359 return _internal_metadata_.unknown_fields();
4360 }
mutable_unknown_fields()4361 inline std::string* mutable_unknown_fields() {
4362 return _internal_metadata_.mutable_unknown_fields();
4363 }
4364
4365 static const ClientDownloadRequest_PEImageHeaders& default_instance();
4366
4367 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4368 static inline const ClientDownloadRequest_PEImageHeaders* internal_default_instance() {
4369 return reinterpret_cast<const ClientDownloadRequest_PEImageHeaders*>(
4370 &_ClientDownloadRequest_PEImageHeaders_default_instance_);
4371 }
4372 static constexpr int kIndexInFileMessages =
4373 19;
4374
swap(ClientDownloadRequest_PEImageHeaders & a,ClientDownloadRequest_PEImageHeaders & b)4375 friend void swap(ClientDownloadRequest_PEImageHeaders& a, ClientDownloadRequest_PEImageHeaders& b) {
4376 a.Swap(&b);
4377 }
Swap(ClientDownloadRequest_PEImageHeaders * other)4378 inline void Swap(ClientDownloadRequest_PEImageHeaders* other) {
4379 if (other == this) return;
4380 InternalSwap(other);
4381 }
4382
4383 // implements Message ----------------------------------------------
4384
New()4385 inline ClientDownloadRequest_PEImageHeaders* New() const final {
4386 return CreateMaybeMessage<ClientDownloadRequest_PEImageHeaders>(nullptr);
4387 }
4388
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4389 ClientDownloadRequest_PEImageHeaders* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4390 return CreateMaybeMessage<ClientDownloadRequest_PEImageHeaders>(arena);
4391 }
4392 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
4393 final;
4394 void CopyFrom(const ClientDownloadRequest_PEImageHeaders& from);
4395 void MergeFrom(const ClientDownloadRequest_PEImageHeaders& from);
4396 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4397 bool IsInitialized() const final;
4398
4399 size_t ByteSizeLong() const final;
4400 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4401 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
4402 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4403 void DiscardUnknownFields();
GetCachedSize()4404 int GetCachedSize() const final { return _cached_size_.Get(); }
4405
4406 private:
4407 inline void SharedCtor();
4408 inline void SharedDtor();
4409 void SetCachedSize(int size) const;
4410 void InternalSwap(ClientDownloadRequest_PEImageHeaders* other);
4411 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4412 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4413 return "safe_browsing.ClientDownloadRequest.PEImageHeaders";
4414 }
4415 private:
GetArenaNoVirtual()4416 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4417 return nullptr;
4418 }
MaybeArenaPtr()4419 inline void* MaybeArenaPtr() const {
4420 return nullptr;
4421 }
4422 public:
4423
4424 std::string GetTypeName() const final;
4425
4426 // nested types ----------------------------------------------------
4427
4428 typedef ClientDownloadRequest_PEImageHeaders_DebugData DebugData;
4429
4430 // accessors -------------------------------------------------------
4431
4432 enum : int {
4433 kSectionHeaderFieldNumber = 5,
4434 kDebugDataFieldNumber = 7,
4435 kDosHeaderFieldNumber = 1,
4436 kFileHeaderFieldNumber = 2,
4437 kOptionalHeaders32FieldNumber = 3,
4438 kOptionalHeaders64FieldNumber = 4,
4439 kExportSectionDataFieldNumber = 6,
4440 };
4441 // repeated bytes section_header = 5;
4442 int section_header_size() const;
4443 private:
4444 int _internal_section_header_size() const;
4445 public:
4446 void clear_section_header();
4447 const std::string& section_header(int index) const;
4448 std::string* mutable_section_header(int index);
4449 void set_section_header(int index, const std::string& value);
4450 void set_section_header(int index, std::string&& value);
4451 void set_section_header(int index, const char* value);
4452 void set_section_header(int index, const void* value, size_t size);
4453 std::string* add_section_header();
4454 void add_section_header(const std::string& value);
4455 void add_section_header(std::string&& value);
4456 void add_section_header(const char* value);
4457 void add_section_header(const void* value, size_t size);
4458 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& section_header() const;
4459 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_section_header();
4460 private:
4461 const std::string& _internal_section_header(int index) const;
4462 std::string* _internal_add_section_header();
4463 public:
4464
4465 // repeated .safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData debug_data = 7;
4466 int debug_data_size() const;
4467 private:
4468 int _internal_debug_data_size() const;
4469 public:
4470 void clear_debug_data();
4471 ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* mutable_debug_data(int index);
4472 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >*
4473 mutable_debug_data();
4474 private:
4475 const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& _internal_debug_data(int index) const;
4476 ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* _internal_add_debug_data();
4477 public:
4478 const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& debug_data(int index) const;
4479 ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* add_debug_data();
4480 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >&
4481 debug_data() const;
4482
4483 // optional bytes dos_header = 1;
4484 bool has_dos_header() const;
4485 private:
4486 bool _internal_has_dos_header() const;
4487 public:
4488 void clear_dos_header();
4489 const std::string& dos_header() const;
4490 void set_dos_header(const std::string& value);
4491 void set_dos_header(std::string&& value);
4492 void set_dos_header(const char* value);
4493 void set_dos_header(const void* value, size_t size);
4494 std::string* mutable_dos_header();
4495 std::string* release_dos_header();
4496 void set_allocated_dos_header(std::string* dos_header);
4497 private:
4498 const std::string& _internal_dos_header() const;
4499 void _internal_set_dos_header(const std::string& value);
4500 std::string* _internal_mutable_dos_header();
4501 public:
4502
4503 // optional bytes file_header = 2;
4504 bool has_file_header() const;
4505 private:
4506 bool _internal_has_file_header() const;
4507 public:
4508 void clear_file_header();
4509 const std::string& file_header() const;
4510 void set_file_header(const std::string& value);
4511 void set_file_header(std::string&& value);
4512 void set_file_header(const char* value);
4513 void set_file_header(const void* value, size_t size);
4514 std::string* mutable_file_header();
4515 std::string* release_file_header();
4516 void set_allocated_file_header(std::string* file_header);
4517 private:
4518 const std::string& _internal_file_header() const;
4519 void _internal_set_file_header(const std::string& value);
4520 std::string* _internal_mutable_file_header();
4521 public:
4522
4523 // optional bytes optional_headers32 = 3;
4524 bool has_optional_headers32() const;
4525 private:
4526 bool _internal_has_optional_headers32() const;
4527 public:
4528 void clear_optional_headers32();
4529 const std::string& optional_headers32() const;
4530 void set_optional_headers32(const std::string& value);
4531 void set_optional_headers32(std::string&& value);
4532 void set_optional_headers32(const char* value);
4533 void set_optional_headers32(const void* value, size_t size);
4534 std::string* mutable_optional_headers32();
4535 std::string* release_optional_headers32();
4536 void set_allocated_optional_headers32(std::string* optional_headers32);
4537 private:
4538 const std::string& _internal_optional_headers32() const;
4539 void _internal_set_optional_headers32(const std::string& value);
4540 std::string* _internal_mutable_optional_headers32();
4541 public:
4542
4543 // optional bytes optional_headers64 = 4;
4544 bool has_optional_headers64() const;
4545 private:
4546 bool _internal_has_optional_headers64() const;
4547 public:
4548 void clear_optional_headers64();
4549 const std::string& optional_headers64() const;
4550 void set_optional_headers64(const std::string& value);
4551 void set_optional_headers64(std::string&& value);
4552 void set_optional_headers64(const char* value);
4553 void set_optional_headers64(const void* value, size_t size);
4554 std::string* mutable_optional_headers64();
4555 std::string* release_optional_headers64();
4556 void set_allocated_optional_headers64(std::string* optional_headers64);
4557 private:
4558 const std::string& _internal_optional_headers64() const;
4559 void _internal_set_optional_headers64(const std::string& value);
4560 std::string* _internal_mutable_optional_headers64();
4561 public:
4562
4563 // optional bytes export_section_data = 6;
4564 bool has_export_section_data() const;
4565 private:
4566 bool _internal_has_export_section_data() const;
4567 public:
4568 void clear_export_section_data();
4569 const std::string& export_section_data() const;
4570 void set_export_section_data(const std::string& value);
4571 void set_export_section_data(std::string&& value);
4572 void set_export_section_data(const char* value);
4573 void set_export_section_data(const void* value, size_t size);
4574 std::string* mutable_export_section_data();
4575 std::string* release_export_section_data();
4576 void set_allocated_export_section_data(std::string* export_section_data);
4577 private:
4578 const std::string& _internal_export_section_data() const;
4579 void _internal_set_export_section_data(const std::string& value);
4580 std::string* _internal_mutable_export_section_data();
4581 public:
4582
4583 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders)
4584 private:
4585 class _Internal;
4586
4587 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
4588 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4589 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4590 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> section_header_;
4591 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData > debug_data_;
4592 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dos_header_;
4593 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_header_;
4594 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr optional_headers32_;
4595 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr optional_headers64_;
4596 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr export_section_data_;
4597 friend struct ::TableStruct_csd_2eproto;
4598 };
4599 // -------------------------------------------------------------------
4600
4601 class ClientDownloadRequest_MachOHeaders_LoadCommand :
4602 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand) */ {
4603 public:
4604 ClientDownloadRequest_MachOHeaders_LoadCommand();
4605 virtual ~ClientDownloadRequest_MachOHeaders_LoadCommand();
4606
4607 ClientDownloadRequest_MachOHeaders_LoadCommand(const ClientDownloadRequest_MachOHeaders_LoadCommand& from);
ClientDownloadRequest_MachOHeaders_LoadCommand(ClientDownloadRequest_MachOHeaders_LoadCommand && from)4608 ClientDownloadRequest_MachOHeaders_LoadCommand(ClientDownloadRequest_MachOHeaders_LoadCommand&& from) noexcept
4609 : ClientDownloadRequest_MachOHeaders_LoadCommand() {
4610 *this = ::std::move(from);
4611 }
4612
4613 inline ClientDownloadRequest_MachOHeaders_LoadCommand& operator=(const ClientDownloadRequest_MachOHeaders_LoadCommand& from) {
4614 CopyFrom(from);
4615 return *this;
4616 }
4617 inline ClientDownloadRequest_MachOHeaders_LoadCommand& operator=(ClientDownloadRequest_MachOHeaders_LoadCommand&& from) noexcept {
4618 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4619 if (this != &from) InternalSwap(&from);
4620 } else {
4621 CopyFrom(from);
4622 }
4623 return *this;
4624 }
4625
unknown_fields()4626 inline const std::string& unknown_fields() const {
4627 return _internal_metadata_.unknown_fields();
4628 }
mutable_unknown_fields()4629 inline std::string* mutable_unknown_fields() {
4630 return _internal_metadata_.mutable_unknown_fields();
4631 }
4632
4633 static const ClientDownloadRequest_MachOHeaders_LoadCommand& default_instance();
4634
4635 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4636 static inline const ClientDownloadRequest_MachOHeaders_LoadCommand* internal_default_instance() {
4637 return reinterpret_cast<const ClientDownloadRequest_MachOHeaders_LoadCommand*>(
4638 &_ClientDownloadRequest_MachOHeaders_LoadCommand_default_instance_);
4639 }
4640 static constexpr int kIndexInFileMessages =
4641 20;
4642
swap(ClientDownloadRequest_MachOHeaders_LoadCommand & a,ClientDownloadRequest_MachOHeaders_LoadCommand & b)4643 friend void swap(ClientDownloadRequest_MachOHeaders_LoadCommand& a, ClientDownloadRequest_MachOHeaders_LoadCommand& b) {
4644 a.Swap(&b);
4645 }
Swap(ClientDownloadRequest_MachOHeaders_LoadCommand * other)4646 inline void Swap(ClientDownloadRequest_MachOHeaders_LoadCommand* other) {
4647 if (other == this) return;
4648 InternalSwap(other);
4649 }
4650
4651 // implements Message ----------------------------------------------
4652
New()4653 inline ClientDownloadRequest_MachOHeaders_LoadCommand* New() const final {
4654 return CreateMaybeMessage<ClientDownloadRequest_MachOHeaders_LoadCommand>(nullptr);
4655 }
4656
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4657 ClientDownloadRequest_MachOHeaders_LoadCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4658 return CreateMaybeMessage<ClientDownloadRequest_MachOHeaders_LoadCommand>(arena);
4659 }
4660 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
4661 final;
4662 void CopyFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from);
4663 void MergeFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from);
4664 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4665 bool IsInitialized() const final;
4666
4667 size_t ByteSizeLong() const final;
4668 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4669 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
4670 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4671 void DiscardUnknownFields();
GetCachedSize()4672 int GetCachedSize() const final { return _cached_size_.Get(); }
4673
4674 private:
4675 inline void SharedCtor();
4676 inline void SharedDtor();
4677 void SetCachedSize(int size) const;
4678 void InternalSwap(ClientDownloadRequest_MachOHeaders_LoadCommand* other);
4679 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4680 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4681 return "safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand";
4682 }
4683 private:
GetArenaNoVirtual()4684 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4685 return nullptr;
4686 }
MaybeArenaPtr()4687 inline void* MaybeArenaPtr() const {
4688 return nullptr;
4689 }
4690 public:
4691
4692 std::string GetTypeName() const final;
4693
4694 // nested types ----------------------------------------------------
4695
4696 // accessors -------------------------------------------------------
4697
4698 enum : int {
4699 kCommandFieldNumber = 2,
4700 kCommandIdFieldNumber = 1,
4701 };
4702 // required bytes command = 2;
4703 bool has_command() const;
4704 private:
4705 bool _internal_has_command() const;
4706 public:
4707 void clear_command();
4708 const std::string& command() const;
4709 void set_command(const std::string& value);
4710 void set_command(std::string&& value);
4711 void set_command(const char* value);
4712 void set_command(const void* value, size_t size);
4713 std::string* mutable_command();
4714 std::string* release_command();
4715 void set_allocated_command(std::string* command);
4716 private:
4717 const std::string& _internal_command() const;
4718 void _internal_set_command(const std::string& value);
4719 std::string* _internal_mutable_command();
4720 public:
4721
4722 // required uint32 command_id = 1;
4723 bool has_command_id() const;
4724 private:
4725 bool _internal_has_command_id() const;
4726 public:
4727 void clear_command_id();
4728 ::PROTOBUF_NAMESPACE_ID::uint32 command_id() const;
4729 void set_command_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
4730 private:
4731 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_command_id() const;
4732 void _internal_set_command_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
4733 public:
4734
4735 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand)
4736 private:
4737 class _Internal;
4738
4739 // helper for ByteSizeLong()
4740 size_t RequiredFieldsByteSizeFallback() const;
4741
4742 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
4743 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4744 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4745 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_;
4746 ::PROTOBUF_NAMESPACE_ID::uint32 command_id_;
4747 friend struct ::TableStruct_csd_2eproto;
4748 };
4749 // -------------------------------------------------------------------
4750
4751 class ClientDownloadRequest_MachOHeaders :
4752 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.MachOHeaders) */ {
4753 public:
4754 ClientDownloadRequest_MachOHeaders();
4755 virtual ~ClientDownloadRequest_MachOHeaders();
4756
4757 ClientDownloadRequest_MachOHeaders(const ClientDownloadRequest_MachOHeaders& from);
ClientDownloadRequest_MachOHeaders(ClientDownloadRequest_MachOHeaders && from)4758 ClientDownloadRequest_MachOHeaders(ClientDownloadRequest_MachOHeaders&& from) noexcept
4759 : ClientDownloadRequest_MachOHeaders() {
4760 *this = ::std::move(from);
4761 }
4762
4763 inline ClientDownloadRequest_MachOHeaders& operator=(const ClientDownloadRequest_MachOHeaders& from) {
4764 CopyFrom(from);
4765 return *this;
4766 }
4767 inline ClientDownloadRequest_MachOHeaders& operator=(ClientDownloadRequest_MachOHeaders&& from) noexcept {
4768 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4769 if (this != &from) InternalSwap(&from);
4770 } else {
4771 CopyFrom(from);
4772 }
4773 return *this;
4774 }
4775
unknown_fields()4776 inline const std::string& unknown_fields() const {
4777 return _internal_metadata_.unknown_fields();
4778 }
mutable_unknown_fields()4779 inline std::string* mutable_unknown_fields() {
4780 return _internal_metadata_.mutable_unknown_fields();
4781 }
4782
4783 static const ClientDownloadRequest_MachOHeaders& default_instance();
4784
4785 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4786 static inline const ClientDownloadRequest_MachOHeaders* internal_default_instance() {
4787 return reinterpret_cast<const ClientDownloadRequest_MachOHeaders*>(
4788 &_ClientDownloadRequest_MachOHeaders_default_instance_);
4789 }
4790 static constexpr int kIndexInFileMessages =
4791 21;
4792
swap(ClientDownloadRequest_MachOHeaders & a,ClientDownloadRequest_MachOHeaders & b)4793 friend void swap(ClientDownloadRequest_MachOHeaders& a, ClientDownloadRequest_MachOHeaders& b) {
4794 a.Swap(&b);
4795 }
Swap(ClientDownloadRequest_MachOHeaders * other)4796 inline void Swap(ClientDownloadRequest_MachOHeaders* other) {
4797 if (other == this) return;
4798 InternalSwap(other);
4799 }
4800
4801 // implements Message ----------------------------------------------
4802
New()4803 inline ClientDownloadRequest_MachOHeaders* New() const final {
4804 return CreateMaybeMessage<ClientDownloadRequest_MachOHeaders>(nullptr);
4805 }
4806
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4807 ClientDownloadRequest_MachOHeaders* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4808 return CreateMaybeMessage<ClientDownloadRequest_MachOHeaders>(arena);
4809 }
4810 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
4811 final;
4812 void CopyFrom(const ClientDownloadRequest_MachOHeaders& from);
4813 void MergeFrom(const ClientDownloadRequest_MachOHeaders& from);
4814 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4815 bool IsInitialized() const final;
4816
4817 size_t ByteSizeLong() const final;
4818 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4819 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
4820 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4821 void DiscardUnknownFields();
GetCachedSize()4822 int GetCachedSize() const final { return _cached_size_.Get(); }
4823
4824 private:
4825 inline void SharedCtor();
4826 inline void SharedDtor();
4827 void SetCachedSize(int size) const;
4828 void InternalSwap(ClientDownloadRequest_MachOHeaders* other);
4829 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4830 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4831 return "safe_browsing.ClientDownloadRequest.MachOHeaders";
4832 }
4833 private:
GetArenaNoVirtual()4834 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4835 return nullptr;
4836 }
MaybeArenaPtr()4837 inline void* MaybeArenaPtr() const {
4838 return nullptr;
4839 }
4840 public:
4841
4842 std::string GetTypeName() const final;
4843
4844 // nested types ----------------------------------------------------
4845
4846 typedef ClientDownloadRequest_MachOHeaders_LoadCommand LoadCommand;
4847
4848 // accessors -------------------------------------------------------
4849
4850 enum : int {
4851 kLoadCommandsFieldNumber = 2,
4852 kMachHeaderFieldNumber = 1,
4853 };
4854 // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand load_commands = 2;
4855 int load_commands_size() const;
4856 private:
4857 int _internal_load_commands_size() const;
4858 public:
4859 void clear_load_commands();
4860 ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* mutable_load_commands(int index);
4861 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >*
4862 mutable_load_commands();
4863 private:
4864 const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& _internal_load_commands(int index) const;
4865 ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* _internal_add_load_commands();
4866 public:
4867 const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& load_commands(int index) const;
4868 ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* add_load_commands();
4869 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >&
4870 load_commands() const;
4871
4872 // required bytes mach_header = 1;
4873 bool has_mach_header() const;
4874 private:
4875 bool _internal_has_mach_header() const;
4876 public:
4877 void clear_mach_header();
4878 const std::string& mach_header() const;
4879 void set_mach_header(const std::string& value);
4880 void set_mach_header(std::string&& value);
4881 void set_mach_header(const char* value);
4882 void set_mach_header(const void* value, size_t size);
4883 std::string* mutable_mach_header();
4884 std::string* release_mach_header();
4885 void set_allocated_mach_header(std::string* mach_header);
4886 private:
4887 const std::string& _internal_mach_header() const;
4888 void _internal_set_mach_header(const std::string& value);
4889 std::string* _internal_mutable_mach_header();
4890 public:
4891
4892 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders)
4893 private:
4894 class _Internal;
4895
4896 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
4897 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4898 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4899 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand > load_commands_;
4900 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mach_header_;
4901 friend struct ::TableStruct_csd_2eproto;
4902 };
4903 // -------------------------------------------------------------------
4904
4905 class ClientDownloadRequest_ImageHeaders :
4906 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.ImageHeaders) */ {
4907 public:
4908 ClientDownloadRequest_ImageHeaders();
4909 virtual ~ClientDownloadRequest_ImageHeaders();
4910
4911 ClientDownloadRequest_ImageHeaders(const ClientDownloadRequest_ImageHeaders& from);
ClientDownloadRequest_ImageHeaders(ClientDownloadRequest_ImageHeaders && from)4912 ClientDownloadRequest_ImageHeaders(ClientDownloadRequest_ImageHeaders&& from) noexcept
4913 : ClientDownloadRequest_ImageHeaders() {
4914 *this = ::std::move(from);
4915 }
4916
4917 inline ClientDownloadRequest_ImageHeaders& operator=(const ClientDownloadRequest_ImageHeaders& from) {
4918 CopyFrom(from);
4919 return *this;
4920 }
4921 inline ClientDownloadRequest_ImageHeaders& operator=(ClientDownloadRequest_ImageHeaders&& from) noexcept {
4922 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4923 if (this != &from) InternalSwap(&from);
4924 } else {
4925 CopyFrom(from);
4926 }
4927 return *this;
4928 }
4929
unknown_fields()4930 inline const std::string& unknown_fields() const {
4931 return _internal_metadata_.unknown_fields();
4932 }
mutable_unknown_fields()4933 inline std::string* mutable_unknown_fields() {
4934 return _internal_metadata_.mutable_unknown_fields();
4935 }
4936
4937 static const ClientDownloadRequest_ImageHeaders& default_instance();
4938
4939 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4940 static inline const ClientDownloadRequest_ImageHeaders* internal_default_instance() {
4941 return reinterpret_cast<const ClientDownloadRequest_ImageHeaders*>(
4942 &_ClientDownloadRequest_ImageHeaders_default_instance_);
4943 }
4944 static constexpr int kIndexInFileMessages =
4945 22;
4946
swap(ClientDownloadRequest_ImageHeaders & a,ClientDownloadRequest_ImageHeaders & b)4947 friend void swap(ClientDownloadRequest_ImageHeaders& a, ClientDownloadRequest_ImageHeaders& b) {
4948 a.Swap(&b);
4949 }
Swap(ClientDownloadRequest_ImageHeaders * other)4950 inline void Swap(ClientDownloadRequest_ImageHeaders* other) {
4951 if (other == this) return;
4952 InternalSwap(other);
4953 }
4954
4955 // implements Message ----------------------------------------------
4956
New()4957 inline ClientDownloadRequest_ImageHeaders* New() const final {
4958 return CreateMaybeMessage<ClientDownloadRequest_ImageHeaders>(nullptr);
4959 }
4960
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)4961 ClientDownloadRequest_ImageHeaders* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4962 return CreateMaybeMessage<ClientDownloadRequest_ImageHeaders>(arena);
4963 }
4964 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
4965 final;
4966 void CopyFrom(const ClientDownloadRequest_ImageHeaders& from);
4967 void MergeFrom(const ClientDownloadRequest_ImageHeaders& from);
4968 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4969 bool IsInitialized() const final;
4970
4971 size_t ByteSizeLong() const final;
4972 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4973 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
4974 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4975 void DiscardUnknownFields();
GetCachedSize()4976 int GetCachedSize() const final { return _cached_size_.Get(); }
4977
4978 private:
4979 inline void SharedCtor();
4980 inline void SharedDtor();
4981 void SetCachedSize(int size) const;
4982 void InternalSwap(ClientDownloadRequest_ImageHeaders* other);
4983 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()4984 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4985 return "safe_browsing.ClientDownloadRequest.ImageHeaders";
4986 }
4987 private:
GetArenaNoVirtual()4988 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
4989 return nullptr;
4990 }
MaybeArenaPtr()4991 inline void* MaybeArenaPtr() const {
4992 return nullptr;
4993 }
4994 public:
4995
4996 std::string GetTypeName() const final;
4997
4998 // nested types ----------------------------------------------------
4999
5000 // accessors -------------------------------------------------------
5001
5002 enum : int {
5003 kMachOHeadersFieldNumber = 2,
5004 kPeHeadersFieldNumber = 1,
5005 };
5006 // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders mach_o_headers = 2;
5007 int mach_o_headers_size() const;
5008 private:
5009 int _internal_mach_o_headers_size() const;
5010 public:
5011 void clear_mach_o_headers();
5012 ::safe_browsing::ClientDownloadRequest_MachOHeaders* mutable_mach_o_headers(int index);
5013 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >*
5014 mutable_mach_o_headers();
5015 private:
5016 const ::safe_browsing::ClientDownloadRequest_MachOHeaders& _internal_mach_o_headers(int index) const;
5017 ::safe_browsing::ClientDownloadRequest_MachOHeaders* _internal_add_mach_o_headers();
5018 public:
5019 const ::safe_browsing::ClientDownloadRequest_MachOHeaders& mach_o_headers(int index) const;
5020 ::safe_browsing::ClientDownloadRequest_MachOHeaders* add_mach_o_headers();
5021 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >&
5022 mach_o_headers() const;
5023
5024 // optional .safe_browsing.ClientDownloadRequest.PEImageHeaders pe_headers = 1;
5025 bool has_pe_headers() const;
5026 private:
5027 bool _internal_has_pe_headers() const;
5028 public:
5029 void clear_pe_headers();
5030 const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& pe_headers() const;
5031 ::safe_browsing::ClientDownloadRequest_PEImageHeaders* release_pe_headers();
5032 ::safe_browsing::ClientDownloadRequest_PEImageHeaders* mutable_pe_headers();
5033 void set_allocated_pe_headers(::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers);
5034 private:
5035 const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& _internal_pe_headers() const;
5036 ::safe_browsing::ClientDownloadRequest_PEImageHeaders* _internal_mutable_pe_headers();
5037 public:
5038
5039 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ImageHeaders)
5040 private:
5041 class _Internal;
5042
5043 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
5044 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5045 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5046 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders > mach_o_headers_;
5047 ::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers_;
5048 friend struct ::TableStruct_csd_2eproto;
5049 };
5050 // -------------------------------------------------------------------
5051
5052 class ClientDownloadRequest_ArchivedBinary :
5053 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.ArchivedBinary) */ {
5054 public:
5055 ClientDownloadRequest_ArchivedBinary();
5056 virtual ~ClientDownloadRequest_ArchivedBinary();
5057
5058 ClientDownloadRequest_ArchivedBinary(const ClientDownloadRequest_ArchivedBinary& from);
ClientDownloadRequest_ArchivedBinary(ClientDownloadRequest_ArchivedBinary && from)5059 ClientDownloadRequest_ArchivedBinary(ClientDownloadRequest_ArchivedBinary&& from) noexcept
5060 : ClientDownloadRequest_ArchivedBinary() {
5061 *this = ::std::move(from);
5062 }
5063
5064 inline ClientDownloadRequest_ArchivedBinary& operator=(const ClientDownloadRequest_ArchivedBinary& from) {
5065 CopyFrom(from);
5066 return *this;
5067 }
5068 inline ClientDownloadRequest_ArchivedBinary& operator=(ClientDownloadRequest_ArchivedBinary&& from) noexcept {
5069 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5070 if (this != &from) InternalSwap(&from);
5071 } else {
5072 CopyFrom(from);
5073 }
5074 return *this;
5075 }
5076
unknown_fields()5077 inline const std::string& unknown_fields() const {
5078 return _internal_metadata_.unknown_fields();
5079 }
mutable_unknown_fields()5080 inline std::string* mutable_unknown_fields() {
5081 return _internal_metadata_.mutable_unknown_fields();
5082 }
5083
5084 static const ClientDownloadRequest_ArchivedBinary& default_instance();
5085
5086 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5087 static inline const ClientDownloadRequest_ArchivedBinary* internal_default_instance() {
5088 return reinterpret_cast<const ClientDownloadRequest_ArchivedBinary*>(
5089 &_ClientDownloadRequest_ArchivedBinary_default_instance_);
5090 }
5091 static constexpr int kIndexInFileMessages =
5092 23;
5093
swap(ClientDownloadRequest_ArchivedBinary & a,ClientDownloadRequest_ArchivedBinary & b)5094 friend void swap(ClientDownloadRequest_ArchivedBinary& a, ClientDownloadRequest_ArchivedBinary& b) {
5095 a.Swap(&b);
5096 }
Swap(ClientDownloadRequest_ArchivedBinary * other)5097 inline void Swap(ClientDownloadRequest_ArchivedBinary* other) {
5098 if (other == this) return;
5099 InternalSwap(other);
5100 }
5101
5102 // implements Message ----------------------------------------------
5103
New()5104 inline ClientDownloadRequest_ArchivedBinary* New() const final {
5105 return CreateMaybeMessage<ClientDownloadRequest_ArchivedBinary>(nullptr);
5106 }
5107
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)5108 ClientDownloadRequest_ArchivedBinary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5109 return CreateMaybeMessage<ClientDownloadRequest_ArchivedBinary>(arena);
5110 }
5111 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
5112 final;
5113 void CopyFrom(const ClientDownloadRequest_ArchivedBinary& from);
5114 void MergeFrom(const ClientDownloadRequest_ArchivedBinary& from);
5115 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5116 bool IsInitialized() const final;
5117
5118 size_t ByteSizeLong() const final;
5119 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5120 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
5121 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5122 void DiscardUnknownFields();
GetCachedSize()5123 int GetCachedSize() const final { return _cached_size_.Get(); }
5124
5125 private:
5126 inline void SharedCtor();
5127 inline void SharedDtor();
5128 void SetCachedSize(int size) const;
5129 void InternalSwap(ClientDownloadRequest_ArchivedBinary* other);
5130 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()5131 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5132 return "safe_browsing.ClientDownloadRequest.ArchivedBinary";
5133 }
5134 private:
GetArenaNoVirtual()5135 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5136 return nullptr;
5137 }
MaybeArenaPtr()5138 inline void* MaybeArenaPtr() const {
5139 return nullptr;
5140 }
5141 public:
5142
5143 std::string GetTypeName() const final;
5144
5145 // nested types ----------------------------------------------------
5146
5147 // accessors -------------------------------------------------------
5148
5149 enum : int {
5150 kFileBasenameFieldNumber = 1,
5151 kDigestsFieldNumber = 3,
5152 kSignatureFieldNumber = 5,
5153 kImageHeadersFieldNumber = 6,
5154 kLengthFieldNumber = 4,
5155 kDownloadTypeFieldNumber = 2,
5156 };
5157 // optional string file_basename = 1;
5158 bool has_file_basename() const;
5159 private:
5160 bool _internal_has_file_basename() const;
5161 public:
5162 void clear_file_basename();
5163 const std::string& file_basename() const;
5164 void set_file_basename(const std::string& value);
5165 void set_file_basename(std::string&& value);
5166 void set_file_basename(const char* value);
5167 void set_file_basename(const char* value, size_t size);
5168 std::string* mutable_file_basename();
5169 std::string* release_file_basename();
5170 void set_allocated_file_basename(std::string* file_basename);
5171 private:
5172 const std::string& _internal_file_basename() const;
5173 void _internal_set_file_basename(const std::string& value);
5174 std::string* _internal_mutable_file_basename();
5175 public:
5176
5177 // optional .safe_browsing.ClientDownloadRequest.Digests digests = 3;
5178 bool has_digests() const;
5179 private:
5180 bool _internal_has_digests() const;
5181 public:
5182 void clear_digests();
5183 const ::safe_browsing::ClientDownloadRequest_Digests& digests() const;
5184 ::safe_browsing::ClientDownloadRequest_Digests* release_digests();
5185 ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests();
5186 void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests);
5187 private:
5188 const ::safe_browsing::ClientDownloadRequest_Digests& _internal_digests() const;
5189 ::safe_browsing::ClientDownloadRequest_Digests* _internal_mutable_digests();
5190 public:
5191
5192 // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
5193 bool has_signature() const;
5194 private:
5195 bool _internal_has_signature() const;
5196 public:
5197 void clear_signature();
5198 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
5199 ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
5200 ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
5201 void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
5202 private:
5203 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const;
5204 ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature();
5205 public:
5206
5207 // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6;
5208 bool has_image_headers() const;
5209 private:
5210 bool _internal_has_image_headers() const;
5211 public:
5212 void clear_image_headers();
5213 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
5214 ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
5215 ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
5216 void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
5217 private:
5218 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const;
5219 ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers();
5220 public:
5221
5222 // optional int64 length = 4;
5223 bool has_length() const;
5224 private:
5225 bool _internal_has_length() const;
5226 public:
5227 void clear_length();
5228 ::PROTOBUF_NAMESPACE_ID::int64 length() const;
5229 void set_length(::PROTOBUF_NAMESPACE_ID::int64 value);
5230 private:
5231 ::PROTOBUF_NAMESPACE_ID::int64 _internal_length() const;
5232 void _internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value);
5233 public:
5234
5235 // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 2;
5236 bool has_download_type() const;
5237 private:
5238 bool _internal_has_download_type() const;
5239 public:
5240 void clear_download_type();
5241 ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const;
5242 void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value);
5243 private:
5244 ::safe_browsing::ClientDownloadRequest_DownloadType _internal_download_type() const;
5245 void _internal_set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value);
5246 public:
5247
5248 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ArchivedBinary)
5249 private:
5250 class _Internal;
5251
5252 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
5253 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5254 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5255 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_basename_;
5256 ::safe_browsing::ClientDownloadRequest_Digests* digests_;
5257 ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
5258 ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
5259 ::PROTOBUF_NAMESPACE_ID::int64 length_;
5260 int download_type_;
5261 friend struct ::TableStruct_csd_2eproto;
5262 };
5263 // -------------------------------------------------------------------
5264
5265 class ClientDownloadRequest :
5266 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest) */ {
5267 public:
5268 ClientDownloadRequest();
5269 virtual ~ClientDownloadRequest();
5270
5271 ClientDownloadRequest(const ClientDownloadRequest& from);
ClientDownloadRequest(ClientDownloadRequest && from)5272 ClientDownloadRequest(ClientDownloadRequest&& from) noexcept
5273 : ClientDownloadRequest() {
5274 *this = ::std::move(from);
5275 }
5276
5277 inline ClientDownloadRequest& operator=(const ClientDownloadRequest& from) {
5278 CopyFrom(from);
5279 return *this;
5280 }
5281 inline ClientDownloadRequest& operator=(ClientDownloadRequest&& from) noexcept {
5282 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5283 if (this != &from) InternalSwap(&from);
5284 } else {
5285 CopyFrom(from);
5286 }
5287 return *this;
5288 }
5289
unknown_fields()5290 inline const std::string& unknown_fields() const {
5291 return _internal_metadata_.unknown_fields();
5292 }
mutable_unknown_fields()5293 inline std::string* mutable_unknown_fields() {
5294 return _internal_metadata_.mutable_unknown_fields();
5295 }
5296
5297 static const ClientDownloadRequest& default_instance();
5298
5299 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5300 static inline const ClientDownloadRequest* internal_default_instance() {
5301 return reinterpret_cast<const ClientDownloadRequest*>(
5302 &_ClientDownloadRequest_default_instance_);
5303 }
5304 static constexpr int kIndexInFileMessages =
5305 24;
5306
swap(ClientDownloadRequest & a,ClientDownloadRequest & b)5307 friend void swap(ClientDownloadRequest& a, ClientDownloadRequest& b) {
5308 a.Swap(&b);
5309 }
Swap(ClientDownloadRequest * other)5310 inline void Swap(ClientDownloadRequest* other) {
5311 if (other == this) return;
5312 InternalSwap(other);
5313 }
5314
5315 // implements Message ----------------------------------------------
5316
New()5317 inline ClientDownloadRequest* New() const final {
5318 return CreateMaybeMessage<ClientDownloadRequest>(nullptr);
5319 }
5320
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)5321 ClientDownloadRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5322 return CreateMaybeMessage<ClientDownloadRequest>(arena);
5323 }
5324 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
5325 final;
5326 void CopyFrom(const ClientDownloadRequest& from);
5327 void MergeFrom(const ClientDownloadRequest& from);
5328 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5329 bool IsInitialized() const final;
5330
5331 size_t ByteSizeLong() const final;
5332 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5333 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
5334 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5335 void DiscardUnknownFields();
GetCachedSize()5336 int GetCachedSize() const final { return _cached_size_.Get(); }
5337
5338 private:
5339 inline void SharedCtor();
5340 inline void SharedDtor();
5341 void SetCachedSize(int size) const;
5342 void InternalSwap(ClientDownloadRequest* other);
5343 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()5344 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5345 return "safe_browsing.ClientDownloadRequest";
5346 }
5347 private:
GetArenaNoVirtual()5348 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5349 return nullptr;
5350 }
MaybeArenaPtr()5351 inline void* MaybeArenaPtr() const {
5352 return nullptr;
5353 }
5354 public:
5355
5356 std::string GetTypeName() const final;
5357
5358 // nested types ----------------------------------------------------
5359
5360 typedef ClientDownloadRequest_Digests Digests;
5361 typedef ClientDownloadRequest_Resource Resource;
5362 typedef ClientDownloadRequest_CertificateChain CertificateChain;
5363 typedef ClientDownloadRequest_ExtendedAttr ExtendedAttr;
5364 typedef ClientDownloadRequest_SignatureInfo SignatureInfo;
5365 typedef ClientDownloadRequest_PEImageHeaders PEImageHeaders;
5366 typedef ClientDownloadRequest_MachOHeaders MachOHeaders;
5367 typedef ClientDownloadRequest_ImageHeaders ImageHeaders;
5368 typedef ClientDownloadRequest_ArchivedBinary ArchivedBinary;
5369
5370 typedef ClientDownloadRequest_ResourceType ResourceType;
5371 static constexpr ResourceType DOWNLOAD_URL =
5372 ClientDownloadRequest_ResourceType_DOWNLOAD_URL;
5373 static constexpr ResourceType DOWNLOAD_REDIRECT =
5374 ClientDownloadRequest_ResourceType_DOWNLOAD_REDIRECT;
5375 static constexpr ResourceType TAB_URL =
5376 ClientDownloadRequest_ResourceType_TAB_URL;
5377 static constexpr ResourceType TAB_REDIRECT =
5378 ClientDownloadRequest_ResourceType_TAB_REDIRECT;
5379 static constexpr ResourceType PPAPI_DOCUMENT =
5380 ClientDownloadRequest_ResourceType_PPAPI_DOCUMENT;
5381 static constexpr ResourceType PPAPI_PLUGIN =
5382 ClientDownloadRequest_ResourceType_PPAPI_PLUGIN;
ResourceType_IsValid(int value)5383 static inline bool ResourceType_IsValid(int value) {
5384 return ClientDownloadRequest_ResourceType_IsValid(value);
5385 }
5386 static constexpr ResourceType ResourceType_MIN =
5387 ClientDownloadRequest_ResourceType_ResourceType_MIN;
5388 static constexpr ResourceType ResourceType_MAX =
5389 ClientDownloadRequest_ResourceType_ResourceType_MAX;
5390 static constexpr int ResourceType_ARRAYSIZE =
5391 ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE;
5392 template<typename T>
ResourceType_Name(T enum_t_value)5393 static inline const std::string& ResourceType_Name(T enum_t_value) {
5394 static_assert(::std::is_same<T, ResourceType>::value ||
5395 ::std::is_integral<T>::value,
5396 "Incorrect type passed to function ResourceType_Name.");
5397 return ClientDownloadRequest_ResourceType_Name(enum_t_value);
5398 }
ResourceType_Parse(const std::string & name,ResourceType * value)5399 static inline bool ResourceType_Parse(const std::string& name,
5400 ResourceType* value) {
5401 return ClientDownloadRequest_ResourceType_Parse(name, value);
5402 }
5403
5404 typedef ClientDownloadRequest_DownloadType DownloadType;
5405 static constexpr DownloadType WIN_EXECUTABLE =
5406 ClientDownloadRequest_DownloadType_WIN_EXECUTABLE;
5407 static constexpr DownloadType CHROME_EXTENSION =
5408 ClientDownloadRequest_DownloadType_CHROME_EXTENSION;
5409 static constexpr DownloadType ANDROID_APK =
5410 ClientDownloadRequest_DownloadType_ANDROID_APK;
5411 static constexpr DownloadType ZIPPED_EXECUTABLE =
5412 ClientDownloadRequest_DownloadType_ZIPPED_EXECUTABLE;
5413 static constexpr DownloadType MAC_EXECUTABLE =
5414 ClientDownloadRequest_DownloadType_MAC_EXECUTABLE;
5415 static constexpr DownloadType ZIPPED_ARCHIVE =
5416 ClientDownloadRequest_DownloadType_ZIPPED_ARCHIVE;
5417 static constexpr DownloadType ARCHIVE =
5418 ClientDownloadRequest_DownloadType_ARCHIVE;
5419 static constexpr DownloadType INVALID_ZIP =
5420 ClientDownloadRequest_DownloadType_INVALID_ZIP;
5421 static constexpr DownloadType INVALID_MAC_ARCHIVE =
5422 ClientDownloadRequest_DownloadType_INVALID_MAC_ARCHIVE;
5423 static constexpr DownloadType PPAPI_SAVE_REQUEST =
5424 ClientDownloadRequest_DownloadType_PPAPI_SAVE_REQUEST;
5425 static constexpr DownloadType SAMPLED_UNSUPPORTED_FILE =
5426 ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE;
DownloadType_IsValid(int value)5427 static inline bool DownloadType_IsValid(int value) {
5428 return ClientDownloadRequest_DownloadType_IsValid(value);
5429 }
5430 static constexpr DownloadType DownloadType_MIN =
5431 ClientDownloadRequest_DownloadType_DownloadType_MIN;
5432 static constexpr DownloadType DownloadType_MAX =
5433 ClientDownloadRequest_DownloadType_DownloadType_MAX;
5434 static constexpr int DownloadType_ARRAYSIZE =
5435 ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE;
5436 template<typename T>
DownloadType_Name(T enum_t_value)5437 static inline const std::string& DownloadType_Name(T enum_t_value) {
5438 static_assert(::std::is_same<T, DownloadType>::value ||
5439 ::std::is_integral<T>::value,
5440 "Incorrect type passed to function DownloadType_Name.");
5441 return ClientDownloadRequest_DownloadType_Name(enum_t_value);
5442 }
DownloadType_Parse(const std::string & name,DownloadType * value)5443 static inline bool DownloadType_Parse(const std::string& name,
5444 DownloadType* value) {
5445 return ClientDownloadRequest_DownloadType_Parse(name, value);
5446 }
5447
5448 // accessors -------------------------------------------------------
5449
5450 enum : int {
5451 kResourcesFieldNumber = 4,
5452 kArchivedBinaryFieldNumber = 22,
5453 kAlternateExtensionsFieldNumber = 35,
5454 kReferrerChainFieldNumber = 36,
5455 kUrlFieldNumber = 1,
5456 kFileBasenameFieldNumber = 9,
5457 kLocaleFieldNumber = 11,
5458 kUdifCodeSignatureFieldNumber = 40,
5459 kDigestsFieldNumber = 2,
5460 kSignatureFieldNumber = 5,
5461 kImageHeadersFieldNumber = 18,
5462 kPopulationFieldNumber = 24,
5463 kLengthFieldNumber = 3,
5464 kDEPRECATEDDownloadAttributionFinchEnabledFieldNumber = 39,
5465 kDownloadTypeFieldNumber = 10,
5466 kUserInitiatedFieldNumber = 6,
5467 kArchiveValidFieldNumber = 26,
5468 kSkippedUrlWhitelistFieldNumber = 28,
5469 kSkippedCertificateWhitelistFieldNumber = 31,
5470 };
5471 // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4;
5472 int resources_size() const;
5473 private:
5474 int _internal_resources_size() const;
5475 public:
5476 void clear_resources();
5477 ::safe_browsing::ClientDownloadRequest_Resource* mutable_resources(int index);
5478 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >*
5479 mutable_resources();
5480 private:
5481 const ::safe_browsing::ClientDownloadRequest_Resource& _internal_resources(int index) const;
5482 ::safe_browsing::ClientDownloadRequest_Resource* _internal_add_resources();
5483 public:
5484 const ::safe_browsing::ClientDownloadRequest_Resource& resources(int index) const;
5485 ::safe_browsing::ClientDownloadRequest_Resource* add_resources();
5486 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >&
5487 resources() const;
5488
5489 // repeated .safe_browsing.ClientDownloadRequest.ArchivedBinary archived_binary = 22;
5490 int archived_binary_size() const;
5491 private:
5492 int _internal_archived_binary_size() const;
5493 public:
5494 void clear_archived_binary();
5495 ::safe_browsing::ClientDownloadRequest_ArchivedBinary* mutable_archived_binary(int index);
5496 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >*
5497 mutable_archived_binary();
5498 private:
5499 const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& _internal_archived_binary(int index) const;
5500 ::safe_browsing::ClientDownloadRequest_ArchivedBinary* _internal_add_archived_binary();
5501 public:
5502 const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& archived_binary(int index) const;
5503 ::safe_browsing::ClientDownloadRequest_ArchivedBinary* add_archived_binary();
5504 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >&
5505 archived_binary() const;
5506
5507 // repeated string alternate_extensions = 35;
5508 int alternate_extensions_size() const;
5509 private:
5510 int _internal_alternate_extensions_size() const;
5511 public:
5512 void clear_alternate_extensions();
5513 const std::string& alternate_extensions(int index) const;
5514 std::string* mutable_alternate_extensions(int index);
5515 void set_alternate_extensions(int index, const std::string& value);
5516 void set_alternate_extensions(int index, std::string&& value);
5517 void set_alternate_extensions(int index, const char* value);
5518 void set_alternate_extensions(int index, const char* value, size_t size);
5519 std::string* add_alternate_extensions();
5520 void add_alternate_extensions(const std::string& value);
5521 void add_alternate_extensions(std::string&& value);
5522 void add_alternate_extensions(const char* value);
5523 void add_alternate_extensions(const char* value, size_t size);
5524 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& alternate_extensions() const;
5525 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_alternate_extensions();
5526 private:
5527 const std::string& _internal_alternate_extensions(int index) const;
5528 std::string* _internal_add_alternate_extensions();
5529 public:
5530
5531 // repeated .safe_browsing.ReferrerChainEntry referrer_chain = 36;
5532 int referrer_chain_size() const;
5533 private:
5534 int _internal_referrer_chain_size() const;
5535 public:
5536 void clear_referrer_chain();
5537 ::safe_browsing::ReferrerChainEntry* mutable_referrer_chain(int index);
5538 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >*
5539 mutable_referrer_chain();
5540 private:
5541 const ::safe_browsing::ReferrerChainEntry& _internal_referrer_chain(int index) const;
5542 ::safe_browsing::ReferrerChainEntry* _internal_add_referrer_chain();
5543 public:
5544 const ::safe_browsing::ReferrerChainEntry& referrer_chain(int index) const;
5545 ::safe_browsing::ReferrerChainEntry* add_referrer_chain();
5546 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >&
5547 referrer_chain() const;
5548
5549 // required string url = 1;
5550 bool has_url() const;
5551 private:
5552 bool _internal_has_url() const;
5553 public:
5554 void clear_url();
5555 const std::string& url() const;
5556 void set_url(const std::string& value);
5557 void set_url(std::string&& value);
5558 void set_url(const char* value);
5559 void set_url(const char* value, size_t size);
5560 std::string* mutable_url();
5561 std::string* release_url();
5562 void set_allocated_url(std::string* url);
5563 private:
5564 const std::string& _internal_url() const;
5565 void _internal_set_url(const std::string& value);
5566 std::string* _internal_mutable_url();
5567 public:
5568
5569 // optional string file_basename = 9;
5570 bool has_file_basename() const;
5571 private:
5572 bool _internal_has_file_basename() const;
5573 public:
5574 void clear_file_basename();
5575 const std::string& file_basename() const;
5576 void set_file_basename(const std::string& value);
5577 void set_file_basename(std::string&& value);
5578 void set_file_basename(const char* value);
5579 void set_file_basename(const char* value, size_t size);
5580 std::string* mutable_file_basename();
5581 std::string* release_file_basename();
5582 void set_allocated_file_basename(std::string* file_basename);
5583 private:
5584 const std::string& _internal_file_basename() const;
5585 void _internal_set_file_basename(const std::string& value);
5586 std::string* _internal_mutable_file_basename();
5587 public:
5588
5589 // optional string locale = 11;
5590 bool has_locale() const;
5591 private:
5592 bool _internal_has_locale() const;
5593 public:
5594 void clear_locale();
5595 const std::string& locale() const;
5596 void set_locale(const std::string& value);
5597 void set_locale(std::string&& value);
5598 void set_locale(const char* value);
5599 void set_locale(const char* value, size_t size);
5600 std::string* mutable_locale();
5601 std::string* release_locale();
5602 void set_allocated_locale(std::string* locale);
5603 private:
5604 const std::string& _internal_locale() const;
5605 void _internal_set_locale(const std::string& value);
5606 std::string* _internal_mutable_locale();
5607 public:
5608
5609 // optional bytes udif_code_signature = 40;
5610 bool has_udif_code_signature() const;
5611 private:
5612 bool _internal_has_udif_code_signature() const;
5613 public:
5614 void clear_udif_code_signature();
5615 const std::string& udif_code_signature() const;
5616 void set_udif_code_signature(const std::string& value);
5617 void set_udif_code_signature(std::string&& value);
5618 void set_udif_code_signature(const char* value);
5619 void set_udif_code_signature(const void* value, size_t size);
5620 std::string* mutable_udif_code_signature();
5621 std::string* release_udif_code_signature();
5622 void set_allocated_udif_code_signature(std::string* udif_code_signature);
5623 private:
5624 const std::string& _internal_udif_code_signature() const;
5625 void _internal_set_udif_code_signature(const std::string& value);
5626 std::string* _internal_mutable_udif_code_signature();
5627 public:
5628
5629 // required .safe_browsing.ClientDownloadRequest.Digests digests = 2;
5630 bool has_digests() const;
5631 private:
5632 bool _internal_has_digests() const;
5633 public:
5634 void clear_digests();
5635 const ::safe_browsing::ClientDownloadRequest_Digests& digests() const;
5636 ::safe_browsing::ClientDownloadRequest_Digests* release_digests();
5637 ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests();
5638 void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests);
5639 private:
5640 const ::safe_browsing::ClientDownloadRequest_Digests& _internal_digests() const;
5641 ::safe_browsing::ClientDownloadRequest_Digests* _internal_mutable_digests();
5642 public:
5643
5644 // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5;
5645 bool has_signature() const;
5646 private:
5647 bool _internal_has_signature() const;
5648 public:
5649 void clear_signature();
5650 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
5651 ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
5652 ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
5653 void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
5654 private:
5655 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const;
5656 ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature();
5657 public:
5658
5659 // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 18;
5660 bool has_image_headers() const;
5661 private:
5662 bool _internal_has_image_headers() const;
5663 public:
5664 void clear_image_headers();
5665 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
5666 ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
5667 ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
5668 void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
5669 private:
5670 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const;
5671 ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers();
5672 public:
5673
5674 // optional .safe_browsing.ChromeUserPopulation population = 24;
5675 bool has_population() const;
5676 private:
5677 bool _internal_has_population() const;
5678 public:
5679 void clear_population();
5680 const ::safe_browsing::ChromeUserPopulation& population() const;
5681 ::safe_browsing::ChromeUserPopulation* release_population();
5682 ::safe_browsing::ChromeUserPopulation* mutable_population();
5683 void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
5684 private:
5685 const ::safe_browsing::ChromeUserPopulation& _internal_population() const;
5686 ::safe_browsing::ChromeUserPopulation* _internal_mutable_population();
5687 public:
5688
5689 // required int64 length = 3;
5690 bool has_length() const;
5691 private:
5692 bool _internal_has_length() const;
5693 public:
5694 void clear_length();
5695 ::PROTOBUF_NAMESPACE_ID::int64 length() const;
5696 void set_length(::PROTOBUF_NAMESPACE_ID::int64 value);
5697 private:
5698 ::PROTOBUF_NAMESPACE_ID::int64 _internal_length() const;
5699 void _internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value);
5700 public:
5701
5702 // optional bool DEPRECATED_download_attribution_finch_enabled = 39 [deprecated = true];
5703 PROTOBUF_DEPRECATED bool has_deprecated_download_attribution_finch_enabled() const;
5704 private:
5705 bool _internal_has_deprecated_download_attribution_finch_enabled() const;
5706 public:
5707 PROTOBUF_DEPRECATED void clear_deprecated_download_attribution_finch_enabled();
5708 PROTOBUF_DEPRECATED bool deprecated_download_attribution_finch_enabled() const;
5709 PROTOBUF_DEPRECATED void set_deprecated_download_attribution_finch_enabled(bool value);
5710 private:
5711 bool _internal_deprecated_download_attribution_finch_enabled() const;
5712 void _internal_set_deprecated_download_attribution_finch_enabled(bool value);
5713 public:
5714
5715 // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE];
5716 bool has_download_type() const;
5717 private:
5718 bool _internal_has_download_type() const;
5719 public:
5720 void clear_download_type();
5721 ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const;
5722 void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value);
5723 private:
5724 ::safe_browsing::ClientDownloadRequest_DownloadType _internal_download_type() const;
5725 void _internal_set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value);
5726 public:
5727
5728 // optional bool user_initiated = 6;
5729 bool has_user_initiated() const;
5730 private:
5731 bool _internal_has_user_initiated() const;
5732 public:
5733 void clear_user_initiated();
5734 bool user_initiated() const;
5735 void set_user_initiated(bool value);
5736 private:
5737 bool _internal_user_initiated() const;
5738 void _internal_set_user_initiated(bool value);
5739 public:
5740
5741 // optional bool archive_valid = 26;
5742 bool has_archive_valid() const;
5743 private:
5744 bool _internal_has_archive_valid() const;
5745 public:
5746 void clear_archive_valid();
5747 bool archive_valid() const;
5748 void set_archive_valid(bool value);
5749 private:
5750 bool _internal_archive_valid() const;
5751 void _internal_set_archive_valid(bool value);
5752 public:
5753
5754 // optional bool skipped_url_whitelist = 28;
5755 bool has_skipped_url_whitelist() const;
5756 private:
5757 bool _internal_has_skipped_url_whitelist() const;
5758 public:
5759 void clear_skipped_url_whitelist();
5760 bool skipped_url_whitelist() const;
5761 void set_skipped_url_whitelist(bool value);
5762 private:
5763 bool _internal_skipped_url_whitelist() const;
5764 void _internal_set_skipped_url_whitelist(bool value);
5765 public:
5766
5767 // optional bool skipped_certificate_whitelist = 31;
5768 bool has_skipped_certificate_whitelist() const;
5769 private:
5770 bool _internal_has_skipped_certificate_whitelist() const;
5771 public:
5772 void clear_skipped_certificate_whitelist();
5773 bool skipped_certificate_whitelist() const;
5774 void set_skipped_certificate_whitelist(bool value);
5775 private:
5776 bool _internal_skipped_certificate_whitelist() const;
5777 void _internal_set_skipped_certificate_whitelist(bool value);
5778 public:
5779
5780 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest)
5781 private:
5782 class _Internal;
5783
5784 // helper for ByteSizeLong()
5785 size_t RequiredFieldsByteSizeFallback() const;
5786
5787 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
5788 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5789 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5790 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource > resources_;
5791 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary > archived_binary_;
5792 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> alternate_extensions_;
5793 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry > referrer_chain_;
5794 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
5795 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_basename_;
5796 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr locale_;
5797 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr udif_code_signature_;
5798 ::safe_browsing::ClientDownloadRequest_Digests* digests_;
5799 ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
5800 ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
5801 ::safe_browsing::ChromeUserPopulation* population_;
5802 ::PROTOBUF_NAMESPACE_ID::int64 length_;
5803 bool deprecated_download_attribution_finch_enabled_;
5804 int download_type_;
5805 bool user_initiated_;
5806 bool archive_valid_;
5807 bool skipped_url_whitelist_;
5808 bool skipped_certificate_whitelist_;
5809 friend struct ::TableStruct_csd_2eproto;
5810 };
5811 // -------------------------------------------------------------------
5812
5813 class ReferrerChainEntry_ServerRedirect :
5814 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ReferrerChainEntry.ServerRedirect) */ {
5815 public:
5816 ReferrerChainEntry_ServerRedirect();
5817 virtual ~ReferrerChainEntry_ServerRedirect();
5818
5819 ReferrerChainEntry_ServerRedirect(const ReferrerChainEntry_ServerRedirect& from);
ReferrerChainEntry_ServerRedirect(ReferrerChainEntry_ServerRedirect && from)5820 ReferrerChainEntry_ServerRedirect(ReferrerChainEntry_ServerRedirect&& from) noexcept
5821 : ReferrerChainEntry_ServerRedirect() {
5822 *this = ::std::move(from);
5823 }
5824
5825 inline ReferrerChainEntry_ServerRedirect& operator=(const ReferrerChainEntry_ServerRedirect& from) {
5826 CopyFrom(from);
5827 return *this;
5828 }
5829 inline ReferrerChainEntry_ServerRedirect& operator=(ReferrerChainEntry_ServerRedirect&& from) noexcept {
5830 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5831 if (this != &from) InternalSwap(&from);
5832 } else {
5833 CopyFrom(from);
5834 }
5835 return *this;
5836 }
5837
unknown_fields()5838 inline const std::string& unknown_fields() const {
5839 return _internal_metadata_.unknown_fields();
5840 }
mutable_unknown_fields()5841 inline std::string* mutable_unknown_fields() {
5842 return _internal_metadata_.mutable_unknown_fields();
5843 }
5844
5845 static const ReferrerChainEntry_ServerRedirect& default_instance();
5846
5847 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5848 static inline const ReferrerChainEntry_ServerRedirect* internal_default_instance() {
5849 return reinterpret_cast<const ReferrerChainEntry_ServerRedirect*>(
5850 &_ReferrerChainEntry_ServerRedirect_default_instance_);
5851 }
5852 static constexpr int kIndexInFileMessages =
5853 25;
5854
swap(ReferrerChainEntry_ServerRedirect & a,ReferrerChainEntry_ServerRedirect & b)5855 friend void swap(ReferrerChainEntry_ServerRedirect& a, ReferrerChainEntry_ServerRedirect& b) {
5856 a.Swap(&b);
5857 }
Swap(ReferrerChainEntry_ServerRedirect * other)5858 inline void Swap(ReferrerChainEntry_ServerRedirect* other) {
5859 if (other == this) return;
5860 InternalSwap(other);
5861 }
5862
5863 // implements Message ----------------------------------------------
5864
New()5865 inline ReferrerChainEntry_ServerRedirect* New() const final {
5866 return CreateMaybeMessage<ReferrerChainEntry_ServerRedirect>(nullptr);
5867 }
5868
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)5869 ReferrerChainEntry_ServerRedirect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5870 return CreateMaybeMessage<ReferrerChainEntry_ServerRedirect>(arena);
5871 }
5872 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
5873 final;
5874 void CopyFrom(const ReferrerChainEntry_ServerRedirect& from);
5875 void MergeFrom(const ReferrerChainEntry_ServerRedirect& from);
5876 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5877 bool IsInitialized() const final;
5878
5879 size_t ByteSizeLong() const final;
5880 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5881 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
5882 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5883 void DiscardUnknownFields();
GetCachedSize()5884 int GetCachedSize() const final { return _cached_size_.Get(); }
5885
5886 private:
5887 inline void SharedCtor();
5888 inline void SharedDtor();
5889 void SetCachedSize(int size) const;
5890 void InternalSwap(ReferrerChainEntry_ServerRedirect* other);
5891 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()5892 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5893 return "safe_browsing.ReferrerChainEntry.ServerRedirect";
5894 }
5895 private:
GetArenaNoVirtual()5896 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
5897 return nullptr;
5898 }
MaybeArenaPtr()5899 inline void* MaybeArenaPtr() const {
5900 return nullptr;
5901 }
5902 public:
5903
5904 std::string GetTypeName() const final;
5905
5906 // nested types ----------------------------------------------------
5907
5908 // accessors -------------------------------------------------------
5909
5910 enum : int {
5911 kUrlFieldNumber = 1,
5912 };
5913 // optional string url = 1;
5914 bool has_url() const;
5915 private:
5916 bool _internal_has_url() const;
5917 public:
5918 void clear_url();
5919 const std::string& url() const;
5920 void set_url(const std::string& value);
5921 void set_url(std::string&& value);
5922 void set_url(const char* value);
5923 void set_url(const char* value, size_t size);
5924 std::string* mutable_url();
5925 std::string* release_url();
5926 void set_allocated_url(std::string* url);
5927 private:
5928 const std::string& _internal_url() const;
5929 void _internal_set_url(const std::string& value);
5930 std::string* _internal_mutable_url();
5931 public:
5932
5933 // @@protoc_insertion_point(class_scope:safe_browsing.ReferrerChainEntry.ServerRedirect)
5934 private:
5935 class _Internal;
5936
5937 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
5938 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5939 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5940 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
5941 friend struct ::TableStruct_csd_2eproto;
5942 };
5943 // -------------------------------------------------------------------
5944
5945 class ReferrerChainEntry :
5946 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ReferrerChainEntry) */ {
5947 public:
5948 ReferrerChainEntry();
5949 virtual ~ReferrerChainEntry();
5950
5951 ReferrerChainEntry(const ReferrerChainEntry& from);
ReferrerChainEntry(ReferrerChainEntry && from)5952 ReferrerChainEntry(ReferrerChainEntry&& from) noexcept
5953 : ReferrerChainEntry() {
5954 *this = ::std::move(from);
5955 }
5956
5957 inline ReferrerChainEntry& operator=(const ReferrerChainEntry& from) {
5958 CopyFrom(from);
5959 return *this;
5960 }
5961 inline ReferrerChainEntry& operator=(ReferrerChainEntry&& from) noexcept {
5962 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5963 if (this != &from) InternalSwap(&from);
5964 } else {
5965 CopyFrom(from);
5966 }
5967 return *this;
5968 }
5969
unknown_fields()5970 inline const std::string& unknown_fields() const {
5971 return _internal_metadata_.unknown_fields();
5972 }
mutable_unknown_fields()5973 inline std::string* mutable_unknown_fields() {
5974 return _internal_metadata_.mutable_unknown_fields();
5975 }
5976
5977 static const ReferrerChainEntry& default_instance();
5978
5979 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5980 static inline const ReferrerChainEntry* internal_default_instance() {
5981 return reinterpret_cast<const ReferrerChainEntry*>(
5982 &_ReferrerChainEntry_default_instance_);
5983 }
5984 static constexpr int kIndexInFileMessages =
5985 26;
5986
swap(ReferrerChainEntry & a,ReferrerChainEntry & b)5987 friend void swap(ReferrerChainEntry& a, ReferrerChainEntry& b) {
5988 a.Swap(&b);
5989 }
Swap(ReferrerChainEntry * other)5990 inline void Swap(ReferrerChainEntry* other) {
5991 if (other == this) return;
5992 InternalSwap(other);
5993 }
5994
5995 // implements Message ----------------------------------------------
5996
New()5997 inline ReferrerChainEntry* New() const final {
5998 return CreateMaybeMessage<ReferrerChainEntry>(nullptr);
5999 }
6000
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6001 ReferrerChainEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6002 return CreateMaybeMessage<ReferrerChainEntry>(arena);
6003 }
6004 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
6005 final;
6006 void CopyFrom(const ReferrerChainEntry& from);
6007 void MergeFrom(const ReferrerChainEntry& from);
6008 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6009 bool IsInitialized() const final;
6010
6011 size_t ByteSizeLong() const final;
6012 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6013 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
6014 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6015 void DiscardUnknownFields();
GetCachedSize()6016 int GetCachedSize() const final { return _cached_size_.Get(); }
6017
6018 private:
6019 inline void SharedCtor();
6020 inline void SharedDtor();
6021 void SetCachedSize(int size) const;
6022 void InternalSwap(ReferrerChainEntry* other);
6023 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6024 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6025 return "safe_browsing.ReferrerChainEntry";
6026 }
6027 private:
GetArenaNoVirtual()6028 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6029 return nullptr;
6030 }
MaybeArenaPtr()6031 inline void* MaybeArenaPtr() const {
6032 return nullptr;
6033 }
6034 public:
6035
6036 std::string GetTypeName() const final;
6037
6038 // nested types ----------------------------------------------------
6039
6040 typedef ReferrerChainEntry_ServerRedirect ServerRedirect;
6041
6042 typedef ReferrerChainEntry_URLType URLType;
6043 static constexpr URLType EVENT_URL =
6044 ReferrerChainEntry_URLType_EVENT_URL;
6045 static constexpr URLType LANDING_PAGE =
6046 ReferrerChainEntry_URLType_LANDING_PAGE;
6047 static constexpr URLType LANDING_REFERRER =
6048 ReferrerChainEntry_URLType_LANDING_REFERRER;
6049 static constexpr URLType CLIENT_REDIRECT =
6050 ReferrerChainEntry_URLType_CLIENT_REDIRECT;
6051 static constexpr URLType DEPRECATED_SERVER_REDIRECT =
6052 ReferrerChainEntry_URLType_DEPRECATED_SERVER_REDIRECT;
URLType_IsValid(int value)6053 static inline bool URLType_IsValid(int value) {
6054 return ReferrerChainEntry_URLType_IsValid(value);
6055 }
6056 static constexpr URLType URLType_MIN =
6057 ReferrerChainEntry_URLType_URLType_MIN;
6058 static constexpr URLType URLType_MAX =
6059 ReferrerChainEntry_URLType_URLType_MAX;
6060 static constexpr int URLType_ARRAYSIZE =
6061 ReferrerChainEntry_URLType_URLType_ARRAYSIZE;
6062 template<typename T>
URLType_Name(T enum_t_value)6063 static inline const std::string& URLType_Name(T enum_t_value) {
6064 static_assert(::std::is_same<T, URLType>::value ||
6065 ::std::is_integral<T>::value,
6066 "Incorrect type passed to function URLType_Name.");
6067 return ReferrerChainEntry_URLType_Name(enum_t_value);
6068 }
URLType_Parse(const std::string & name,URLType * value)6069 static inline bool URLType_Parse(const std::string& name,
6070 URLType* value) {
6071 return ReferrerChainEntry_URLType_Parse(name, value);
6072 }
6073
6074 // accessors -------------------------------------------------------
6075
6076 enum : int {
6077 kIpAddressesFieldNumber = 3,
6078 kServerRedirectChainFieldNumber = 8,
6079 kUrlFieldNumber = 1,
6080 kReferrerUrlFieldNumber = 4,
6081 kReferrerMainFrameUrlFieldNumber = 5,
6082 kMainFrameUrlFieldNumber = 9,
6083 kNavigationTimeMsecFieldNumber = 7,
6084 kIsRetargetingFieldNumber = 6,
6085 kTypeFieldNumber = 2,
6086 };
6087 // repeated string ip_addresses = 3;
6088 int ip_addresses_size() const;
6089 private:
6090 int _internal_ip_addresses_size() const;
6091 public:
6092 void clear_ip_addresses();
6093 const std::string& ip_addresses(int index) const;
6094 std::string* mutable_ip_addresses(int index);
6095 void set_ip_addresses(int index, const std::string& value);
6096 void set_ip_addresses(int index, std::string&& value);
6097 void set_ip_addresses(int index, const char* value);
6098 void set_ip_addresses(int index, const char* value, size_t size);
6099 std::string* add_ip_addresses();
6100 void add_ip_addresses(const std::string& value);
6101 void add_ip_addresses(std::string&& value);
6102 void add_ip_addresses(const char* value);
6103 void add_ip_addresses(const char* value, size_t size);
6104 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& ip_addresses() const;
6105 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_ip_addresses();
6106 private:
6107 const std::string& _internal_ip_addresses(int index) const;
6108 std::string* _internal_add_ip_addresses();
6109 public:
6110
6111 // repeated .safe_browsing.ReferrerChainEntry.ServerRedirect server_redirect_chain = 8;
6112 int server_redirect_chain_size() const;
6113 private:
6114 int _internal_server_redirect_chain_size() const;
6115 public:
6116 void clear_server_redirect_chain();
6117 ::safe_browsing::ReferrerChainEntry_ServerRedirect* mutable_server_redirect_chain(int index);
6118 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect >*
6119 mutable_server_redirect_chain();
6120 private:
6121 const ::safe_browsing::ReferrerChainEntry_ServerRedirect& _internal_server_redirect_chain(int index) const;
6122 ::safe_browsing::ReferrerChainEntry_ServerRedirect* _internal_add_server_redirect_chain();
6123 public:
6124 const ::safe_browsing::ReferrerChainEntry_ServerRedirect& server_redirect_chain(int index) const;
6125 ::safe_browsing::ReferrerChainEntry_ServerRedirect* add_server_redirect_chain();
6126 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect >&
6127 server_redirect_chain() const;
6128
6129 // optional string url = 1;
6130 bool has_url() const;
6131 private:
6132 bool _internal_has_url() const;
6133 public:
6134 void clear_url();
6135 const std::string& url() const;
6136 void set_url(const std::string& value);
6137 void set_url(std::string&& value);
6138 void set_url(const char* value);
6139 void set_url(const char* value, size_t size);
6140 std::string* mutable_url();
6141 std::string* release_url();
6142 void set_allocated_url(std::string* url);
6143 private:
6144 const std::string& _internal_url() const;
6145 void _internal_set_url(const std::string& value);
6146 std::string* _internal_mutable_url();
6147 public:
6148
6149 // optional string referrer_url = 4;
6150 bool has_referrer_url() const;
6151 private:
6152 bool _internal_has_referrer_url() const;
6153 public:
6154 void clear_referrer_url();
6155 const std::string& referrer_url() const;
6156 void set_referrer_url(const std::string& value);
6157 void set_referrer_url(std::string&& value);
6158 void set_referrer_url(const char* value);
6159 void set_referrer_url(const char* value, size_t size);
6160 std::string* mutable_referrer_url();
6161 std::string* release_referrer_url();
6162 void set_allocated_referrer_url(std::string* referrer_url);
6163 private:
6164 const std::string& _internal_referrer_url() const;
6165 void _internal_set_referrer_url(const std::string& value);
6166 std::string* _internal_mutable_referrer_url();
6167 public:
6168
6169 // optional string referrer_main_frame_url = 5;
6170 bool has_referrer_main_frame_url() const;
6171 private:
6172 bool _internal_has_referrer_main_frame_url() const;
6173 public:
6174 void clear_referrer_main_frame_url();
6175 const std::string& referrer_main_frame_url() const;
6176 void set_referrer_main_frame_url(const std::string& value);
6177 void set_referrer_main_frame_url(std::string&& value);
6178 void set_referrer_main_frame_url(const char* value);
6179 void set_referrer_main_frame_url(const char* value, size_t size);
6180 std::string* mutable_referrer_main_frame_url();
6181 std::string* release_referrer_main_frame_url();
6182 void set_allocated_referrer_main_frame_url(std::string* referrer_main_frame_url);
6183 private:
6184 const std::string& _internal_referrer_main_frame_url() const;
6185 void _internal_set_referrer_main_frame_url(const std::string& value);
6186 std::string* _internal_mutable_referrer_main_frame_url();
6187 public:
6188
6189 // optional string main_frame_url = 9;
6190 bool has_main_frame_url() const;
6191 private:
6192 bool _internal_has_main_frame_url() const;
6193 public:
6194 void clear_main_frame_url();
6195 const std::string& main_frame_url() const;
6196 void set_main_frame_url(const std::string& value);
6197 void set_main_frame_url(std::string&& value);
6198 void set_main_frame_url(const char* value);
6199 void set_main_frame_url(const char* value, size_t size);
6200 std::string* mutable_main_frame_url();
6201 std::string* release_main_frame_url();
6202 void set_allocated_main_frame_url(std::string* main_frame_url);
6203 private:
6204 const std::string& _internal_main_frame_url() const;
6205 void _internal_set_main_frame_url(const std::string& value);
6206 std::string* _internal_mutable_main_frame_url();
6207 public:
6208
6209 // optional double navigation_time_msec = 7;
6210 bool has_navigation_time_msec() const;
6211 private:
6212 bool _internal_has_navigation_time_msec() const;
6213 public:
6214 void clear_navigation_time_msec();
6215 double navigation_time_msec() const;
6216 void set_navigation_time_msec(double value);
6217 private:
6218 double _internal_navigation_time_msec() const;
6219 void _internal_set_navigation_time_msec(double value);
6220 public:
6221
6222 // optional bool is_retargeting = 6;
6223 bool has_is_retargeting() const;
6224 private:
6225 bool _internal_has_is_retargeting() const;
6226 public:
6227 void clear_is_retargeting();
6228 bool is_retargeting() const;
6229 void set_is_retargeting(bool value);
6230 private:
6231 bool _internal_is_retargeting() const;
6232 void _internal_set_is_retargeting(bool value);
6233 public:
6234
6235 // optional .safe_browsing.ReferrerChainEntry.URLType type = 2 [default = CLIENT_REDIRECT];
6236 bool has_type() const;
6237 private:
6238 bool _internal_has_type() const;
6239 public:
6240 void clear_type();
6241 ::safe_browsing::ReferrerChainEntry_URLType type() const;
6242 void set_type(::safe_browsing::ReferrerChainEntry_URLType value);
6243 private:
6244 ::safe_browsing::ReferrerChainEntry_URLType _internal_type() const;
6245 void _internal_set_type(::safe_browsing::ReferrerChainEntry_URLType value);
6246 public:
6247
6248 // @@protoc_insertion_point(class_scope:safe_browsing.ReferrerChainEntry)
6249 private:
6250 class _Internal;
6251
6252 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
6253 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6254 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6255 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> ip_addresses_;
6256 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect > server_redirect_chain_;
6257 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
6258 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_url_;
6259 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_main_frame_url_;
6260 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr main_frame_url_;
6261 double navigation_time_msec_;
6262 bool is_retargeting_;
6263 int type_;
6264 friend struct ::TableStruct_csd_2eproto;
6265 };
6266 // -------------------------------------------------------------------
6267
6268 class ClientDownloadResponse_MoreInfo :
6269 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadResponse.MoreInfo) */ {
6270 public:
6271 ClientDownloadResponse_MoreInfo();
6272 virtual ~ClientDownloadResponse_MoreInfo();
6273
6274 ClientDownloadResponse_MoreInfo(const ClientDownloadResponse_MoreInfo& from);
ClientDownloadResponse_MoreInfo(ClientDownloadResponse_MoreInfo && from)6275 ClientDownloadResponse_MoreInfo(ClientDownloadResponse_MoreInfo&& from) noexcept
6276 : ClientDownloadResponse_MoreInfo() {
6277 *this = ::std::move(from);
6278 }
6279
6280 inline ClientDownloadResponse_MoreInfo& operator=(const ClientDownloadResponse_MoreInfo& from) {
6281 CopyFrom(from);
6282 return *this;
6283 }
6284 inline ClientDownloadResponse_MoreInfo& operator=(ClientDownloadResponse_MoreInfo&& from) noexcept {
6285 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6286 if (this != &from) InternalSwap(&from);
6287 } else {
6288 CopyFrom(from);
6289 }
6290 return *this;
6291 }
6292
unknown_fields()6293 inline const std::string& unknown_fields() const {
6294 return _internal_metadata_.unknown_fields();
6295 }
mutable_unknown_fields()6296 inline std::string* mutable_unknown_fields() {
6297 return _internal_metadata_.mutable_unknown_fields();
6298 }
6299
6300 static const ClientDownloadResponse_MoreInfo& default_instance();
6301
6302 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6303 static inline const ClientDownloadResponse_MoreInfo* internal_default_instance() {
6304 return reinterpret_cast<const ClientDownloadResponse_MoreInfo*>(
6305 &_ClientDownloadResponse_MoreInfo_default_instance_);
6306 }
6307 static constexpr int kIndexInFileMessages =
6308 27;
6309
swap(ClientDownloadResponse_MoreInfo & a,ClientDownloadResponse_MoreInfo & b)6310 friend void swap(ClientDownloadResponse_MoreInfo& a, ClientDownloadResponse_MoreInfo& b) {
6311 a.Swap(&b);
6312 }
Swap(ClientDownloadResponse_MoreInfo * other)6313 inline void Swap(ClientDownloadResponse_MoreInfo* other) {
6314 if (other == this) return;
6315 InternalSwap(other);
6316 }
6317
6318 // implements Message ----------------------------------------------
6319
New()6320 inline ClientDownloadResponse_MoreInfo* New() const final {
6321 return CreateMaybeMessage<ClientDownloadResponse_MoreInfo>(nullptr);
6322 }
6323
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6324 ClientDownloadResponse_MoreInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6325 return CreateMaybeMessage<ClientDownloadResponse_MoreInfo>(arena);
6326 }
6327 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
6328 final;
6329 void CopyFrom(const ClientDownloadResponse_MoreInfo& from);
6330 void MergeFrom(const ClientDownloadResponse_MoreInfo& from);
6331 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6332 bool IsInitialized() const final;
6333
6334 size_t ByteSizeLong() const final;
6335 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6336 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
6337 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6338 void DiscardUnknownFields();
GetCachedSize()6339 int GetCachedSize() const final { return _cached_size_.Get(); }
6340
6341 private:
6342 inline void SharedCtor();
6343 inline void SharedDtor();
6344 void SetCachedSize(int size) const;
6345 void InternalSwap(ClientDownloadResponse_MoreInfo* other);
6346 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6347 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6348 return "safe_browsing.ClientDownloadResponse.MoreInfo";
6349 }
6350 private:
GetArenaNoVirtual()6351 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6352 return nullptr;
6353 }
MaybeArenaPtr()6354 inline void* MaybeArenaPtr() const {
6355 return nullptr;
6356 }
6357 public:
6358
6359 std::string GetTypeName() const final;
6360
6361 // nested types ----------------------------------------------------
6362
6363 // accessors -------------------------------------------------------
6364
6365 enum : int {
6366 kDescriptionFieldNumber = 1,
6367 kUrlFieldNumber = 2,
6368 };
6369 // optional string description = 1;
6370 bool has_description() const;
6371 private:
6372 bool _internal_has_description() const;
6373 public:
6374 void clear_description();
6375 const std::string& description() const;
6376 void set_description(const std::string& value);
6377 void set_description(std::string&& value);
6378 void set_description(const char* value);
6379 void set_description(const char* value, size_t size);
6380 std::string* mutable_description();
6381 std::string* release_description();
6382 void set_allocated_description(std::string* description);
6383 private:
6384 const std::string& _internal_description() const;
6385 void _internal_set_description(const std::string& value);
6386 std::string* _internal_mutable_description();
6387 public:
6388
6389 // optional string url = 2;
6390 bool has_url() const;
6391 private:
6392 bool _internal_has_url() const;
6393 public:
6394 void clear_url();
6395 const std::string& url() const;
6396 void set_url(const std::string& value);
6397 void set_url(std::string&& value);
6398 void set_url(const char* value);
6399 void set_url(const char* value, size_t size);
6400 std::string* mutable_url();
6401 std::string* release_url();
6402 void set_allocated_url(std::string* url);
6403 private:
6404 const std::string& _internal_url() const;
6405 void _internal_set_url(const std::string& value);
6406 std::string* _internal_mutable_url();
6407 public:
6408
6409 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse.MoreInfo)
6410 private:
6411 class _Internal;
6412
6413 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
6414 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6415 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6416 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
6417 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
6418 friend struct ::TableStruct_csd_2eproto;
6419 };
6420 // -------------------------------------------------------------------
6421
6422 class ClientDownloadResponse :
6423 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadResponse) */ {
6424 public:
6425 ClientDownloadResponse();
6426 virtual ~ClientDownloadResponse();
6427
6428 ClientDownloadResponse(const ClientDownloadResponse& from);
ClientDownloadResponse(ClientDownloadResponse && from)6429 ClientDownloadResponse(ClientDownloadResponse&& from) noexcept
6430 : ClientDownloadResponse() {
6431 *this = ::std::move(from);
6432 }
6433
6434 inline ClientDownloadResponse& operator=(const ClientDownloadResponse& from) {
6435 CopyFrom(from);
6436 return *this;
6437 }
6438 inline ClientDownloadResponse& operator=(ClientDownloadResponse&& from) noexcept {
6439 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6440 if (this != &from) InternalSwap(&from);
6441 } else {
6442 CopyFrom(from);
6443 }
6444 return *this;
6445 }
6446
unknown_fields()6447 inline const std::string& unknown_fields() const {
6448 return _internal_metadata_.unknown_fields();
6449 }
mutable_unknown_fields()6450 inline std::string* mutable_unknown_fields() {
6451 return _internal_metadata_.mutable_unknown_fields();
6452 }
6453
6454 static const ClientDownloadResponse& default_instance();
6455
6456 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6457 static inline const ClientDownloadResponse* internal_default_instance() {
6458 return reinterpret_cast<const ClientDownloadResponse*>(
6459 &_ClientDownloadResponse_default_instance_);
6460 }
6461 static constexpr int kIndexInFileMessages =
6462 28;
6463
swap(ClientDownloadResponse & a,ClientDownloadResponse & b)6464 friend void swap(ClientDownloadResponse& a, ClientDownloadResponse& b) {
6465 a.Swap(&b);
6466 }
Swap(ClientDownloadResponse * other)6467 inline void Swap(ClientDownloadResponse* other) {
6468 if (other == this) return;
6469 InternalSwap(other);
6470 }
6471
6472 // implements Message ----------------------------------------------
6473
New()6474 inline ClientDownloadResponse* New() const final {
6475 return CreateMaybeMessage<ClientDownloadResponse>(nullptr);
6476 }
6477
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6478 ClientDownloadResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6479 return CreateMaybeMessage<ClientDownloadResponse>(arena);
6480 }
6481 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
6482 final;
6483 void CopyFrom(const ClientDownloadResponse& from);
6484 void MergeFrom(const ClientDownloadResponse& from);
6485 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6486 bool IsInitialized() const final;
6487
6488 size_t ByteSizeLong() const final;
6489 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6490 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
6491 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6492 void DiscardUnknownFields();
GetCachedSize()6493 int GetCachedSize() const final { return _cached_size_.Get(); }
6494
6495 private:
6496 inline void SharedCtor();
6497 inline void SharedDtor();
6498 void SetCachedSize(int size) const;
6499 void InternalSwap(ClientDownloadResponse* other);
6500 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6501 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6502 return "safe_browsing.ClientDownloadResponse";
6503 }
6504 private:
GetArenaNoVirtual()6505 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6506 return nullptr;
6507 }
MaybeArenaPtr()6508 inline void* MaybeArenaPtr() const {
6509 return nullptr;
6510 }
6511 public:
6512
6513 std::string GetTypeName() const final;
6514
6515 // nested types ----------------------------------------------------
6516
6517 typedef ClientDownloadResponse_MoreInfo MoreInfo;
6518
6519 typedef ClientDownloadResponse_Verdict Verdict;
6520 static constexpr Verdict SAFE =
6521 ClientDownloadResponse_Verdict_SAFE;
6522 static constexpr Verdict DANGEROUS =
6523 ClientDownloadResponse_Verdict_DANGEROUS;
6524 static constexpr Verdict UNCOMMON =
6525 ClientDownloadResponse_Verdict_UNCOMMON;
6526 static constexpr Verdict POTENTIALLY_UNWANTED =
6527 ClientDownloadResponse_Verdict_POTENTIALLY_UNWANTED;
6528 static constexpr Verdict DANGEROUS_HOST =
6529 ClientDownloadResponse_Verdict_DANGEROUS_HOST;
6530 static constexpr Verdict UNKNOWN =
6531 ClientDownloadResponse_Verdict_UNKNOWN;
Verdict_IsValid(int value)6532 static inline bool Verdict_IsValid(int value) {
6533 return ClientDownloadResponse_Verdict_IsValid(value);
6534 }
6535 static constexpr Verdict Verdict_MIN =
6536 ClientDownloadResponse_Verdict_Verdict_MIN;
6537 static constexpr Verdict Verdict_MAX =
6538 ClientDownloadResponse_Verdict_Verdict_MAX;
6539 static constexpr int Verdict_ARRAYSIZE =
6540 ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE;
6541 template<typename T>
Verdict_Name(T enum_t_value)6542 static inline const std::string& Verdict_Name(T enum_t_value) {
6543 static_assert(::std::is_same<T, Verdict>::value ||
6544 ::std::is_integral<T>::value,
6545 "Incorrect type passed to function Verdict_Name.");
6546 return ClientDownloadResponse_Verdict_Name(enum_t_value);
6547 }
Verdict_Parse(const std::string & name,Verdict * value)6548 static inline bool Verdict_Parse(const std::string& name,
6549 Verdict* value) {
6550 return ClientDownloadResponse_Verdict_Parse(name, value);
6551 }
6552
6553 // accessors -------------------------------------------------------
6554
6555 enum : int {
6556 kTokenFieldNumber = 3,
6557 kMoreInfoFieldNumber = 2,
6558 kVerdictFieldNumber = 1,
6559 kUploadFieldNumber = 5,
6560 };
6561 // optional bytes token = 3;
6562 bool has_token() const;
6563 private:
6564 bool _internal_has_token() const;
6565 public:
6566 void clear_token();
6567 const std::string& token() const;
6568 void set_token(const std::string& value);
6569 void set_token(std::string&& value);
6570 void set_token(const char* value);
6571 void set_token(const void* value, size_t size);
6572 std::string* mutable_token();
6573 std::string* release_token();
6574 void set_allocated_token(std::string* token);
6575 private:
6576 const std::string& _internal_token() const;
6577 void _internal_set_token(const std::string& value);
6578 std::string* _internal_mutable_token();
6579 public:
6580
6581 // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2;
6582 bool has_more_info() const;
6583 private:
6584 bool _internal_has_more_info() const;
6585 public:
6586 void clear_more_info();
6587 const ::safe_browsing::ClientDownloadResponse_MoreInfo& more_info() const;
6588 ::safe_browsing::ClientDownloadResponse_MoreInfo* release_more_info();
6589 ::safe_browsing::ClientDownloadResponse_MoreInfo* mutable_more_info();
6590 void set_allocated_more_info(::safe_browsing::ClientDownloadResponse_MoreInfo* more_info);
6591 private:
6592 const ::safe_browsing::ClientDownloadResponse_MoreInfo& _internal_more_info() const;
6593 ::safe_browsing::ClientDownloadResponse_MoreInfo* _internal_mutable_more_info();
6594 public:
6595
6596 // optional .safe_browsing.ClientDownloadResponse.Verdict verdict = 1 [default = SAFE];
6597 bool has_verdict() const;
6598 private:
6599 bool _internal_has_verdict() const;
6600 public:
6601 void clear_verdict();
6602 ::safe_browsing::ClientDownloadResponse_Verdict verdict() const;
6603 void set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value);
6604 private:
6605 ::safe_browsing::ClientDownloadResponse_Verdict _internal_verdict() const;
6606 void _internal_set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value);
6607 public:
6608
6609 // optional bool upload = 5;
6610 bool has_upload() const;
6611 private:
6612 bool _internal_has_upload() const;
6613 public:
6614 void clear_upload();
6615 bool upload() const;
6616 void set_upload(bool value);
6617 private:
6618 bool _internal_upload() const;
6619 void _internal_set_upload(bool value);
6620 public:
6621
6622 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse)
6623 private:
6624 class _Internal;
6625
6626 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
6627 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6628 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6629 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
6630 ::safe_browsing::ClientDownloadResponse_MoreInfo* more_info_;
6631 int verdict_;
6632 bool upload_;
6633 friend struct ::TableStruct_csd_2eproto;
6634 };
6635 // -------------------------------------------------------------------
6636
6637 class ClientDownloadReport_UserInformation :
6638 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadReport.UserInformation) */ {
6639 public:
6640 ClientDownloadReport_UserInformation();
6641 virtual ~ClientDownloadReport_UserInformation();
6642
6643 ClientDownloadReport_UserInformation(const ClientDownloadReport_UserInformation& from);
ClientDownloadReport_UserInformation(ClientDownloadReport_UserInformation && from)6644 ClientDownloadReport_UserInformation(ClientDownloadReport_UserInformation&& from) noexcept
6645 : ClientDownloadReport_UserInformation() {
6646 *this = ::std::move(from);
6647 }
6648
6649 inline ClientDownloadReport_UserInformation& operator=(const ClientDownloadReport_UserInformation& from) {
6650 CopyFrom(from);
6651 return *this;
6652 }
6653 inline ClientDownloadReport_UserInformation& operator=(ClientDownloadReport_UserInformation&& from) noexcept {
6654 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6655 if (this != &from) InternalSwap(&from);
6656 } else {
6657 CopyFrom(from);
6658 }
6659 return *this;
6660 }
6661
unknown_fields()6662 inline const std::string& unknown_fields() const {
6663 return _internal_metadata_.unknown_fields();
6664 }
mutable_unknown_fields()6665 inline std::string* mutable_unknown_fields() {
6666 return _internal_metadata_.mutable_unknown_fields();
6667 }
6668
6669 static const ClientDownloadReport_UserInformation& default_instance();
6670
6671 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6672 static inline const ClientDownloadReport_UserInformation* internal_default_instance() {
6673 return reinterpret_cast<const ClientDownloadReport_UserInformation*>(
6674 &_ClientDownloadReport_UserInformation_default_instance_);
6675 }
6676 static constexpr int kIndexInFileMessages =
6677 29;
6678
swap(ClientDownloadReport_UserInformation & a,ClientDownloadReport_UserInformation & b)6679 friend void swap(ClientDownloadReport_UserInformation& a, ClientDownloadReport_UserInformation& b) {
6680 a.Swap(&b);
6681 }
Swap(ClientDownloadReport_UserInformation * other)6682 inline void Swap(ClientDownloadReport_UserInformation* other) {
6683 if (other == this) return;
6684 InternalSwap(other);
6685 }
6686
6687 // implements Message ----------------------------------------------
6688
New()6689 inline ClientDownloadReport_UserInformation* New() const final {
6690 return CreateMaybeMessage<ClientDownloadReport_UserInformation>(nullptr);
6691 }
6692
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6693 ClientDownloadReport_UserInformation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6694 return CreateMaybeMessage<ClientDownloadReport_UserInformation>(arena);
6695 }
6696 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
6697 final;
6698 void CopyFrom(const ClientDownloadReport_UserInformation& from);
6699 void MergeFrom(const ClientDownloadReport_UserInformation& from);
6700 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6701 bool IsInitialized() const final;
6702
6703 size_t ByteSizeLong() const final;
6704 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6705 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
6706 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6707 void DiscardUnknownFields();
GetCachedSize()6708 int GetCachedSize() const final { return _cached_size_.Get(); }
6709
6710 private:
6711 inline void SharedCtor();
6712 inline void SharedDtor();
6713 void SetCachedSize(int size) const;
6714 void InternalSwap(ClientDownloadReport_UserInformation* other);
6715 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6716 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6717 return "safe_browsing.ClientDownloadReport.UserInformation";
6718 }
6719 private:
GetArenaNoVirtual()6720 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6721 return nullptr;
6722 }
MaybeArenaPtr()6723 inline void* MaybeArenaPtr() const {
6724 return nullptr;
6725 }
6726 public:
6727
6728 std::string GetTypeName() const final;
6729
6730 // nested types ----------------------------------------------------
6731
6732 // accessors -------------------------------------------------------
6733
6734 enum : int {
6735 kEmailFieldNumber = 1,
6736 };
6737 // optional string email = 1;
6738 bool has_email() const;
6739 private:
6740 bool _internal_has_email() const;
6741 public:
6742 void clear_email();
6743 const std::string& email() const;
6744 void set_email(const std::string& value);
6745 void set_email(std::string&& value);
6746 void set_email(const char* value);
6747 void set_email(const char* value, size_t size);
6748 std::string* mutable_email();
6749 std::string* release_email();
6750 void set_allocated_email(std::string* email);
6751 private:
6752 const std::string& _internal_email() const;
6753 void _internal_set_email(const std::string& value);
6754 std::string* _internal_mutable_email();
6755 public:
6756
6757 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport.UserInformation)
6758 private:
6759 class _Internal;
6760
6761 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
6762 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6763 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6764 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr email_;
6765 friend struct ::TableStruct_csd_2eproto;
6766 };
6767 // -------------------------------------------------------------------
6768
6769 class ClientDownloadReport :
6770 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadReport) */ {
6771 public:
6772 ClientDownloadReport();
6773 virtual ~ClientDownloadReport();
6774
6775 ClientDownloadReport(const ClientDownloadReport& from);
ClientDownloadReport(ClientDownloadReport && from)6776 ClientDownloadReport(ClientDownloadReport&& from) noexcept
6777 : ClientDownloadReport() {
6778 *this = ::std::move(from);
6779 }
6780
6781 inline ClientDownloadReport& operator=(const ClientDownloadReport& from) {
6782 CopyFrom(from);
6783 return *this;
6784 }
6785 inline ClientDownloadReport& operator=(ClientDownloadReport&& from) noexcept {
6786 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6787 if (this != &from) InternalSwap(&from);
6788 } else {
6789 CopyFrom(from);
6790 }
6791 return *this;
6792 }
6793
unknown_fields()6794 inline const std::string& unknown_fields() const {
6795 return _internal_metadata_.unknown_fields();
6796 }
mutable_unknown_fields()6797 inline std::string* mutable_unknown_fields() {
6798 return _internal_metadata_.mutable_unknown_fields();
6799 }
6800
6801 static const ClientDownloadReport& default_instance();
6802
6803 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6804 static inline const ClientDownloadReport* internal_default_instance() {
6805 return reinterpret_cast<const ClientDownloadReport*>(
6806 &_ClientDownloadReport_default_instance_);
6807 }
6808 static constexpr int kIndexInFileMessages =
6809 30;
6810
swap(ClientDownloadReport & a,ClientDownloadReport & b)6811 friend void swap(ClientDownloadReport& a, ClientDownloadReport& b) {
6812 a.Swap(&b);
6813 }
Swap(ClientDownloadReport * other)6814 inline void Swap(ClientDownloadReport* other) {
6815 if (other == this) return;
6816 InternalSwap(other);
6817 }
6818
6819 // implements Message ----------------------------------------------
6820
New()6821 inline ClientDownloadReport* New() const final {
6822 return CreateMaybeMessage<ClientDownloadReport>(nullptr);
6823 }
6824
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)6825 ClientDownloadReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6826 return CreateMaybeMessage<ClientDownloadReport>(arena);
6827 }
6828 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
6829 final;
6830 void CopyFrom(const ClientDownloadReport& from);
6831 void MergeFrom(const ClientDownloadReport& from);
6832 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6833 bool IsInitialized() const final;
6834
6835 size_t ByteSizeLong() const final;
6836 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6837 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
6838 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6839 void DiscardUnknownFields();
GetCachedSize()6840 int GetCachedSize() const final { return _cached_size_.Get(); }
6841
6842 private:
6843 inline void SharedCtor();
6844 inline void SharedDtor();
6845 void SetCachedSize(int size) const;
6846 void InternalSwap(ClientDownloadReport* other);
6847 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()6848 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6849 return "safe_browsing.ClientDownloadReport";
6850 }
6851 private:
GetArenaNoVirtual()6852 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
6853 return nullptr;
6854 }
MaybeArenaPtr()6855 inline void* MaybeArenaPtr() const {
6856 return nullptr;
6857 }
6858 public:
6859
6860 std::string GetTypeName() const final;
6861
6862 // nested types ----------------------------------------------------
6863
6864 typedef ClientDownloadReport_UserInformation UserInformation;
6865
6866 typedef ClientDownloadReport_Reason Reason;
6867 static constexpr Reason SHARE =
6868 ClientDownloadReport_Reason_SHARE;
6869 static constexpr Reason FALSE_POSITIVE =
6870 ClientDownloadReport_Reason_FALSE_POSITIVE;
6871 static constexpr Reason APPEAL =
6872 ClientDownloadReport_Reason_APPEAL;
Reason_IsValid(int value)6873 static inline bool Reason_IsValid(int value) {
6874 return ClientDownloadReport_Reason_IsValid(value);
6875 }
6876 static constexpr Reason Reason_MIN =
6877 ClientDownloadReport_Reason_Reason_MIN;
6878 static constexpr Reason Reason_MAX =
6879 ClientDownloadReport_Reason_Reason_MAX;
6880 static constexpr int Reason_ARRAYSIZE =
6881 ClientDownloadReport_Reason_Reason_ARRAYSIZE;
6882 template<typename T>
Reason_Name(T enum_t_value)6883 static inline const std::string& Reason_Name(T enum_t_value) {
6884 static_assert(::std::is_same<T, Reason>::value ||
6885 ::std::is_integral<T>::value,
6886 "Incorrect type passed to function Reason_Name.");
6887 return ClientDownloadReport_Reason_Name(enum_t_value);
6888 }
Reason_Parse(const std::string & name,Reason * value)6889 static inline bool Reason_Parse(const std::string& name,
6890 Reason* value) {
6891 return ClientDownloadReport_Reason_Parse(name, value);
6892 }
6893
6894 // accessors -------------------------------------------------------
6895
6896 enum : int {
6897 kCommentFieldNumber = 4,
6898 kDownloadRequestFieldNumber = 2,
6899 kUserInformationFieldNumber = 3,
6900 kDownloadResponseFieldNumber = 5,
6901 kReasonFieldNumber = 1,
6902 };
6903 // optional bytes comment = 4;
6904 bool has_comment() const;
6905 private:
6906 bool _internal_has_comment() const;
6907 public:
6908 void clear_comment();
6909 const std::string& comment() const;
6910 void set_comment(const std::string& value);
6911 void set_comment(std::string&& value);
6912 void set_comment(const char* value);
6913 void set_comment(const void* value, size_t size);
6914 std::string* mutable_comment();
6915 std::string* release_comment();
6916 void set_allocated_comment(std::string* comment);
6917 private:
6918 const std::string& _internal_comment() const;
6919 void _internal_set_comment(const std::string& value);
6920 std::string* _internal_mutable_comment();
6921 public:
6922
6923 // optional .safe_browsing.ClientDownloadRequest download_request = 2;
6924 bool has_download_request() const;
6925 private:
6926 bool _internal_has_download_request() const;
6927 public:
6928 void clear_download_request();
6929 const ::safe_browsing::ClientDownloadRequest& download_request() const;
6930 ::safe_browsing::ClientDownloadRequest* release_download_request();
6931 ::safe_browsing::ClientDownloadRequest* mutable_download_request();
6932 void set_allocated_download_request(::safe_browsing::ClientDownloadRequest* download_request);
6933 private:
6934 const ::safe_browsing::ClientDownloadRequest& _internal_download_request() const;
6935 ::safe_browsing::ClientDownloadRequest* _internal_mutable_download_request();
6936 public:
6937
6938 // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3;
6939 bool has_user_information() const;
6940 private:
6941 bool _internal_has_user_information() const;
6942 public:
6943 void clear_user_information();
6944 const ::safe_browsing::ClientDownloadReport_UserInformation& user_information() const;
6945 ::safe_browsing::ClientDownloadReport_UserInformation* release_user_information();
6946 ::safe_browsing::ClientDownloadReport_UserInformation* mutable_user_information();
6947 void set_allocated_user_information(::safe_browsing::ClientDownloadReport_UserInformation* user_information);
6948 private:
6949 const ::safe_browsing::ClientDownloadReport_UserInformation& _internal_user_information() const;
6950 ::safe_browsing::ClientDownloadReport_UserInformation* _internal_mutable_user_information();
6951 public:
6952
6953 // optional .safe_browsing.ClientDownloadResponse download_response = 5;
6954 bool has_download_response() const;
6955 private:
6956 bool _internal_has_download_response() const;
6957 public:
6958 void clear_download_response();
6959 const ::safe_browsing::ClientDownloadResponse& download_response() const;
6960 ::safe_browsing::ClientDownloadResponse* release_download_response();
6961 ::safe_browsing::ClientDownloadResponse* mutable_download_response();
6962 void set_allocated_download_response(::safe_browsing::ClientDownloadResponse* download_response);
6963 private:
6964 const ::safe_browsing::ClientDownloadResponse& _internal_download_response() const;
6965 ::safe_browsing::ClientDownloadResponse* _internal_mutable_download_response();
6966 public:
6967
6968 // optional .safe_browsing.ClientDownloadReport.Reason reason = 1;
6969 bool has_reason() const;
6970 private:
6971 bool _internal_has_reason() const;
6972 public:
6973 void clear_reason();
6974 ::safe_browsing::ClientDownloadReport_Reason reason() const;
6975 void set_reason(::safe_browsing::ClientDownloadReport_Reason value);
6976 private:
6977 ::safe_browsing::ClientDownloadReport_Reason _internal_reason() const;
6978 void _internal_set_reason(::safe_browsing::ClientDownloadReport_Reason value);
6979 public:
6980
6981 // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport)
6982 private:
6983 class _Internal;
6984
6985 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
6986 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6987 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6988 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
6989 ::safe_browsing::ClientDownloadRequest* download_request_;
6990 ::safe_browsing::ClientDownloadReport_UserInformation* user_information_;
6991 ::safe_browsing::ClientDownloadResponse* download_response_;
6992 int reason_;
6993 friend struct ::TableStruct_csd_2eproto;
6994 };
6995 // -------------------------------------------------------------------
6996
6997 class ClientUploadResponse :
6998 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientUploadResponse) */ {
6999 public:
7000 ClientUploadResponse();
7001 virtual ~ClientUploadResponse();
7002
7003 ClientUploadResponse(const ClientUploadResponse& from);
ClientUploadResponse(ClientUploadResponse && from)7004 ClientUploadResponse(ClientUploadResponse&& from) noexcept
7005 : ClientUploadResponse() {
7006 *this = ::std::move(from);
7007 }
7008
7009 inline ClientUploadResponse& operator=(const ClientUploadResponse& from) {
7010 CopyFrom(from);
7011 return *this;
7012 }
7013 inline ClientUploadResponse& operator=(ClientUploadResponse&& from) noexcept {
7014 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7015 if (this != &from) InternalSwap(&from);
7016 } else {
7017 CopyFrom(from);
7018 }
7019 return *this;
7020 }
7021
unknown_fields()7022 inline const std::string& unknown_fields() const {
7023 return _internal_metadata_.unknown_fields();
7024 }
mutable_unknown_fields()7025 inline std::string* mutable_unknown_fields() {
7026 return _internal_metadata_.mutable_unknown_fields();
7027 }
7028
7029 static const ClientUploadResponse& default_instance();
7030
7031 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7032 static inline const ClientUploadResponse* internal_default_instance() {
7033 return reinterpret_cast<const ClientUploadResponse*>(
7034 &_ClientUploadResponse_default_instance_);
7035 }
7036 static constexpr int kIndexInFileMessages =
7037 31;
7038
swap(ClientUploadResponse & a,ClientUploadResponse & b)7039 friend void swap(ClientUploadResponse& a, ClientUploadResponse& b) {
7040 a.Swap(&b);
7041 }
Swap(ClientUploadResponse * other)7042 inline void Swap(ClientUploadResponse* other) {
7043 if (other == this) return;
7044 InternalSwap(other);
7045 }
7046
7047 // implements Message ----------------------------------------------
7048
New()7049 inline ClientUploadResponse* New() const final {
7050 return CreateMaybeMessage<ClientUploadResponse>(nullptr);
7051 }
7052
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)7053 ClientUploadResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7054 return CreateMaybeMessage<ClientUploadResponse>(arena);
7055 }
7056 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
7057 final;
7058 void CopyFrom(const ClientUploadResponse& from);
7059 void MergeFrom(const ClientUploadResponse& from);
7060 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7061 bool IsInitialized() const final;
7062
7063 size_t ByteSizeLong() const final;
7064 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7065 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
7066 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7067 void DiscardUnknownFields();
GetCachedSize()7068 int GetCachedSize() const final { return _cached_size_.Get(); }
7069
7070 private:
7071 inline void SharedCtor();
7072 inline void SharedDtor();
7073 void SetCachedSize(int size) const;
7074 void InternalSwap(ClientUploadResponse* other);
7075 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()7076 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7077 return "safe_browsing.ClientUploadResponse";
7078 }
7079 private:
GetArenaNoVirtual()7080 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
7081 return nullptr;
7082 }
MaybeArenaPtr()7083 inline void* MaybeArenaPtr() const {
7084 return nullptr;
7085 }
7086 public:
7087
7088 std::string GetTypeName() const final;
7089
7090 // nested types ----------------------------------------------------
7091
7092 typedef ClientUploadResponse_UploadStatus UploadStatus;
7093 static constexpr UploadStatus SUCCESS =
7094 ClientUploadResponse_UploadStatus_SUCCESS;
7095 static constexpr UploadStatus UPLOAD_FAILURE =
7096 ClientUploadResponse_UploadStatus_UPLOAD_FAILURE;
UploadStatus_IsValid(int value)7097 static inline bool UploadStatus_IsValid(int value) {
7098 return ClientUploadResponse_UploadStatus_IsValid(value);
7099 }
7100 static constexpr UploadStatus UploadStatus_MIN =
7101 ClientUploadResponse_UploadStatus_UploadStatus_MIN;
7102 static constexpr UploadStatus UploadStatus_MAX =
7103 ClientUploadResponse_UploadStatus_UploadStatus_MAX;
7104 static constexpr int UploadStatus_ARRAYSIZE =
7105 ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE;
7106 template<typename T>
UploadStatus_Name(T enum_t_value)7107 static inline const std::string& UploadStatus_Name(T enum_t_value) {
7108 static_assert(::std::is_same<T, UploadStatus>::value ||
7109 ::std::is_integral<T>::value,
7110 "Incorrect type passed to function UploadStatus_Name.");
7111 return ClientUploadResponse_UploadStatus_Name(enum_t_value);
7112 }
UploadStatus_Parse(const std::string & name,UploadStatus * value)7113 static inline bool UploadStatus_Parse(const std::string& name,
7114 UploadStatus* value) {
7115 return ClientUploadResponse_UploadStatus_Parse(name, value);
7116 }
7117
7118 // accessors -------------------------------------------------------
7119
7120 enum : int {
7121 kPermalinkFieldNumber = 2,
7122 kStatusFieldNumber = 1,
7123 };
7124 // optional string permalink = 2;
7125 bool has_permalink() const;
7126 private:
7127 bool _internal_has_permalink() const;
7128 public:
7129 void clear_permalink();
7130 const std::string& permalink() const;
7131 void set_permalink(const std::string& value);
7132 void set_permalink(std::string&& value);
7133 void set_permalink(const char* value);
7134 void set_permalink(const char* value, size_t size);
7135 std::string* mutable_permalink();
7136 std::string* release_permalink();
7137 void set_allocated_permalink(std::string* permalink);
7138 private:
7139 const std::string& _internal_permalink() const;
7140 void _internal_set_permalink(const std::string& value);
7141 std::string* _internal_mutable_permalink();
7142 public:
7143
7144 // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1;
7145 bool has_status() const;
7146 private:
7147 bool _internal_has_status() const;
7148 public:
7149 void clear_status();
7150 ::safe_browsing::ClientUploadResponse_UploadStatus status() const;
7151 void set_status(::safe_browsing::ClientUploadResponse_UploadStatus value);
7152 private:
7153 ::safe_browsing::ClientUploadResponse_UploadStatus _internal_status() const;
7154 void _internal_set_status(::safe_browsing::ClientUploadResponse_UploadStatus value);
7155 public:
7156
7157 // @@protoc_insertion_point(class_scope:safe_browsing.ClientUploadResponse)
7158 private:
7159 class _Internal;
7160
7161 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
7162 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
7163 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7164 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr permalink_;
7165 int status_;
7166 friend struct ::TableStruct_csd_2eproto;
7167 };
7168 // -------------------------------------------------------------------
7169
7170 class ClientIncidentReport_IncidentData_TrackedPreferenceIncident :
7171 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident) */ {
7172 public:
7173 ClientIncidentReport_IncidentData_TrackedPreferenceIncident();
7174 virtual ~ClientIncidentReport_IncidentData_TrackedPreferenceIncident();
7175
7176 ClientIncidentReport_IncidentData_TrackedPreferenceIncident(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from);
ClientIncidentReport_IncidentData_TrackedPreferenceIncident(ClientIncidentReport_IncidentData_TrackedPreferenceIncident && from)7177 ClientIncidentReport_IncidentData_TrackedPreferenceIncident(ClientIncidentReport_IncidentData_TrackedPreferenceIncident&& from) noexcept
7178 : ClientIncidentReport_IncidentData_TrackedPreferenceIncident() {
7179 *this = ::std::move(from);
7180 }
7181
7182 inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident& operator=(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from) {
7183 CopyFrom(from);
7184 return *this;
7185 }
7186 inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident& operator=(ClientIncidentReport_IncidentData_TrackedPreferenceIncident&& from) noexcept {
7187 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7188 if (this != &from) InternalSwap(&from);
7189 } else {
7190 CopyFrom(from);
7191 }
7192 return *this;
7193 }
7194
unknown_fields()7195 inline const std::string& unknown_fields() const {
7196 return _internal_metadata_.unknown_fields();
7197 }
mutable_unknown_fields()7198 inline std::string* mutable_unknown_fields() {
7199 return _internal_metadata_.mutable_unknown_fields();
7200 }
7201
7202 static const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& default_instance();
7203
7204 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7205 static inline const ClientIncidentReport_IncidentData_TrackedPreferenceIncident* internal_default_instance() {
7206 return reinterpret_cast<const ClientIncidentReport_IncidentData_TrackedPreferenceIncident*>(
7207 &_ClientIncidentReport_IncidentData_TrackedPreferenceIncident_default_instance_);
7208 }
7209 static constexpr int kIndexInFileMessages =
7210 32;
7211
swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident & a,ClientIncidentReport_IncidentData_TrackedPreferenceIncident & b)7212 friend void swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident& a, ClientIncidentReport_IncidentData_TrackedPreferenceIncident& b) {
7213 a.Swap(&b);
7214 }
Swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident * other)7215 inline void Swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident* other) {
7216 if (other == this) return;
7217 InternalSwap(other);
7218 }
7219
7220 // implements Message ----------------------------------------------
7221
New()7222 inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident* New() const final {
7223 return CreateMaybeMessage<ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(nullptr);
7224 }
7225
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)7226 ClientIncidentReport_IncidentData_TrackedPreferenceIncident* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7227 return CreateMaybeMessage<ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(arena);
7228 }
7229 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
7230 final;
7231 void CopyFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from);
7232 void MergeFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from);
7233 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7234 bool IsInitialized() const final;
7235
7236 size_t ByteSizeLong() const final;
7237 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7238 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
7239 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7240 void DiscardUnknownFields();
GetCachedSize()7241 int GetCachedSize() const final { return _cached_size_.Get(); }
7242
7243 private:
7244 inline void SharedCtor();
7245 inline void SharedDtor();
7246 void SetCachedSize(int size) const;
7247 void InternalSwap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident* other);
7248 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()7249 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7250 return "safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident";
7251 }
7252 private:
GetArenaNoVirtual()7253 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
7254 return nullptr;
7255 }
MaybeArenaPtr()7256 inline void* MaybeArenaPtr() const {
7257 return nullptr;
7258 }
7259 public:
7260
7261 std::string GetTypeName() const final;
7262
7263 // nested types ----------------------------------------------------
7264
7265 typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ValueState;
7266 static constexpr ValueState UNKNOWN =
7267 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN;
7268 static constexpr ValueState CLEARED =
7269 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CLEARED;
7270 static constexpr ValueState WEAK_LEGACY_OBSOLETE =
7271 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_WEAK_LEGACY_OBSOLETE;
7272 static constexpr ValueState CHANGED =
7273 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CHANGED;
7274 static constexpr ValueState UNTRUSTED_UNKNOWN_VALUE =
7275 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE;
7276 static constexpr ValueState BYPASS_CLEARED =
7277 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CLEARED;
7278 static constexpr ValueState BYPASS_CHANGED =
7279 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CHANGED;
ValueState_IsValid(int value)7280 static inline bool ValueState_IsValid(int value) {
7281 return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(value);
7282 }
7283 static constexpr ValueState ValueState_MIN =
7284 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN;
7285 static constexpr ValueState ValueState_MAX =
7286 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX;
7287 static constexpr int ValueState_ARRAYSIZE =
7288 ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE;
7289 template<typename T>
ValueState_Name(T enum_t_value)7290 static inline const std::string& ValueState_Name(T enum_t_value) {
7291 static_assert(::std::is_same<T, ValueState>::value ||
7292 ::std::is_integral<T>::value,
7293 "Incorrect type passed to function ValueState_Name.");
7294 return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(enum_t_value);
7295 }
ValueState_Parse(const std::string & name,ValueState * value)7296 static inline bool ValueState_Parse(const std::string& name,
7297 ValueState* value) {
7298 return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Parse(name, value);
7299 }
7300
7301 // accessors -------------------------------------------------------
7302
7303 enum : int {
7304 kSplitKeyFieldNumber = 3,
7305 kPathFieldNumber = 1,
7306 kAtomicValueFieldNumber = 2,
7307 kValueStateFieldNumber = 4,
7308 };
7309 // repeated string split_key = 3;
7310 int split_key_size() const;
7311 private:
7312 int _internal_split_key_size() const;
7313 public:
7314 void clear_split_key();
7315 const std::string& split_key(int index) const;
7316 std::string* mutable_split_key(int index);
7317 void set_split_key(int index, const std::string& value);
7318 void set_split_key(int index, std::string&& value);
7319 void set_split_key(int index, const char* value);
7320 void set_split_key(int index, const char* value, size_t size);
7321 std::string* add_split_key();
7322 void add_split_key(const std::string& value);
7323 void add_split_key(std::string&& value);
7324 void add_split_key(const char* value);
7325 void add_split_key(const char* value, size_t size);
7326 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& split_key() const;
7327 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_split_key();
7328 private:
7329 const std::string& _internal_split_key(int index) const;
7330 std::string* _internal_add_split_key();
7331 public:
7332
7333 // optional string path = 1;
7334 bool has_path() const;
7335 private:
7336 bool _internal_has_path() const;
7337 public:
7338 void clear_path();
7339 const std::string& path() const;
7340 void set_path(const std::string& value);
7341 void set_path(std::string&& value);
7342 void set_path(const char* value);
7343 void set_path(const char* value, size_t size);
7344 std::string* mutable_path();
7345 std::string* release_path();
7346 void set_allocated_path(std::string* path);
7347 private:
7348 const std::string& _internal_path() const;
7349 void _internal_set_path(const std::string& value);
7350 std::string* _internal_mutable_path();
7351 public:
7352
7353 // optional string atomic_value = 2;
7354 bool has_atomic_value() const;
7355 private:
7356 bool _internal_has_atomic_value() const;
7357 public:
7358 void clear_atomic_value();
7359 const std::string& atomic_value() const;
7360 void set_atomic_value(const std::string& value);
7361 void set_atomic_value(std::string&& value);
7362 void set_atomic_value(const char* value);
7363 void set_atomic_value(const char* value, size_t size);
7364 std::string* mutable_atomic_value();
7365 std::string* release_atomic_value();
7366 void set_allocated_atomic_value(std::string* atomic_value);
7367 private:
7368 const std::string& _internal_atomic_value() const;
7369 void _internal_set_atomic_value(const std::string& value);
7370 std::string* _internal_mutable_atomic_value();
7371 public:
7372
7373 // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.ValueState value_state = 4;
7374 bool has_value_state() const;
7375 private:
7376 bool _internal_has_value_state() const;
7377 public:
7378 void clear_value_state();
7379 ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value_state() const;
7380 void set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value);
7381 private:
7382 ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState _internal_value_state() const;
7383 void _internal_set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value);
7384 public:
7385
7386 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident)
7387 private:
7388 class _Internal;
7389
7390 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
7391 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
7392 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7393 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> split_key_;
7394 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
7395 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr atomic_value_;
7396 int value_state_;
7397 friend struct ::TableStruct_csd_2eproto;
7398 };
7399 // -------------------------------------------------------------------
7400
7401 class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile :
7402 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile) */ {
7403 public:
7404 ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile();
7405 virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile();
7406
7407 ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from);
ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile && from)7408 ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile&& from) noexcept
7409 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile() {
7410 *this = ::std::move(from);
7411 }
7412
7413 inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from) {
7414 CopyFrom(from);
7415 return *this;
7416 }
7417 inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& operator=(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile&& from) noexcept {
7418 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7419 if (this != &from) InternalSwap(&from);
7420 } else {
7421 CopyFrom(from);
7422 }
7423 return *this;
7424 }
7425
unknown_fields()7426 inline const std::string& unknown_fields() const {
7427 return _internal_metadata_.unknown_fields();
7428 }
mutable_unknown_fields()7429 inline std::string* mutable_unknown_fields() {
7430 return _internal_metadata_.mutable_unknown_fields();
7431 }
7432
7433 static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& default_instance();
7434
7435 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7436 static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* internal_default_instance() {
7437 return reinterpret_cast<const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile*>(
7438 &_ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile_default_instance_);
7439 }
7440 static constexpr int kIndexInFileMessages =
7441 33;
7442
swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile & a,ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile & b)7443 friend void swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& a, ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& b) {
7444 a.Swap(&b);
7445 }
Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile * other)7446 inline void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* other) {
7447 if (other == this) return;
7448 InternalSwap(other);
7449 }
7450
7451 // implements Message ----------------------------------------------
7452
New()7453 inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* New() const final {
7454 return CreateMaybeMessage<ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(nullptr);
7455 }
7456
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)7457 ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7458 return CreateMaybeMessage<ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(arena);
7459 }
7460 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
7461 final;
7462 void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from);
7463 void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from);
7464 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7465 bool IsInitialized() const final;
7466
7467 size_t ByteSizeLong() const final;
7468 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7469 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
7470 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7471 void DiscardUnknownFields();
GetCachedSize()7472 int GetCachedSize() const final { return _cached_size_.Get(); }
7473
7474 private:
7475 inline void SharedCtor();
7476 inline void SharedDtor();
7477 void SetCachedSize(int size) const;
7478 void InternalSwap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* other);
7479 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()7480 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7481 return "safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile";
7482 }
7483 private:
GetArenaNoVirtual()7484 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
7485 return nullptr;
7486 }
MaybeArenaPtr()7487 inline void* MaybeArenaPtr() const {
7488 return nullptr;
7489 }
7490 public:
7491
7492 std::string GetTypeName() const final;
7493
7494 // nested types ----------------------------------------------------
7495
7496 // accessors -------------------------------------------------------
7497
7498 enum : int {
7499 kRelativePathFieldNumber = 1,
7500 kSignatureFieldNumber = 2,
7501 kImageHeadersFieldNumber = 3,
7502 };
7503 // optional string relative_path = 1;
7504 bool has_relative_path() const;
7505 private:
7506 bool _internal_has_relative_path() const;
7507 public:
7508 void clear_relative_path();
7509 const std::string& relative_path() const;
7510 void set_relative_path(const std::string& value);
7511 void set_relative_path(std::string&& value);
7512 void set_relative_path(const char* value);
7513 void set_relative_path(const char* value, size_t size);
7514 std::string* mutable_relative_path();
7515 std::string* release_relative_path();
7516 void set_allocated_relative_path(std::string* relative_path);
7517 private:
7518 const std::string& _internal_relative_path() const;
7519 void _internal_set_relative_path(const std::string& value);
7520 std::string* _internal_mutable_relative_path();
7521 public:
7522
7523 // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2;
7524 bool has_signature() const;
7525 private:
7526 bool _internal_has_signature() const;
7527 public:
7528 void clear_signature();
7529 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
7530 ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
7531 ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
7532 void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
7533 private:
7534 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const;
7535 ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature();
7536 public:
7537
7538 // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3;
7539 bool has_image_headers() const;
7540 private:
7541 bool _internal_has_image_headers() const;
7542 public:
7543 void clear_image_headers();
7544 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
7545 ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
7546 ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
7547 void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
7548 private:
7549 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const;
7550 ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers();
7551 public:
7552
7553 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile)
7554 private:
7555 class _Internal;
7556
7557 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
7558 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
7559 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7560 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr relative_path_;
7561 ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
7562 ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
7563 friend struct ::TableStruct_csd_2eproto;
7564 };
7565 // -------------------------------------------------------------------
7566
7567 class ClientIncidentReport_IncidentData_BinaryIntegrityIncident :
7568 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident) */ {
7569 public:
7570 ClientIncidentReport_IncidentData_BinaryIntegrityIncident();
7571 virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident();
7572
7573 ClientIncidentReport_IncidentData_BinaryIntegrityIncident(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from);
ClientIncidentReport_IncidentData_BinaryIntegrityIncident(ClientIncidentReport_IncidentData_BinaryIntegrityIncident && from)7574 ClientIncidentReport_IncidentData_BinaryIntegrityIncident(ClientIncidentReport_IncidentData_BinaryIntegrityIncident&& from) noexcept
7575 : ClientIncidentReport_IncidentData_BinaryIntegrityIncident() {
7576 *this = ::std::move(from);
7577 }
7578
7579 inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from) {
7580 CopyFrom(from);
7581 return *this;
7582 }
7583 inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident& operator=(ClientIncidentReport_IncidentData_BinaryIntegrityIncident&& from) noexcept {
7584 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7585 if (this != &from) InternalSwap(&from);
7586 } else {
7587 CopyFrom(from);
7588 }
7589 return *this;
7590 }
7591
unknown_fields()7592 inline const std::string& unknown_fields() const {
7593 return _internal_metadata_.unknown_fields();
7594 }
mutable_unknown_fields()7595 inline std::string* mutable_unknown_fields() {
7596 return _internal_metadata_.mutable_unknown_fields();
7597 }
7598
7599 static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& default_instance();
7600
7601 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7602 static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident* internal_default_instance() {
7603 return reinterpret_cast<const ClientIncidentReport_IncidentData_BinaryIntegrityIncident*>(
7604 &_ClientIncidentReport_IncidentData_BinaryIntegrityIncident_default_instance_);
7605 }
7606 static constexpr int kIndexInFileMessages =
7607 34;
7608
swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident & a,ClientIncidentReport_IncidentData_BinaryIntegrityIncident & b)7609 friend void swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident& a, ClientIncidentReport_IncidentData_BinaryIntegrityIncident& b) {
7610 a.Swap(&b);
7611 }
Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident * other)7612 inline void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident* other) {
7613 if (other == this) return;
7614 InternalSwap(other);
7615 }
7616
7617 // implements Message ----------------------------------------------
7618
New()7619 inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident* New() const final {
7620 return CreateMaybeMessage<ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(nullptr);
7621 }
7622
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)7623 ClientIncidentReport_IncidentData_BinaryIntegrityIncident* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7624 return CreateMaybeMessage<ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(arena);
7625 }
7626 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
7627 final;
7628 void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from);
7629 void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from);
7630 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7631 bool IsInitialized() const final;
7632
7633 size_t ByteSizeLong() const final;
7634 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7635 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
7636 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7637 void DiscardUnknownFields();
GetCachedSize()7638 int GetCachedSize() const final { return _cached_size_.Get(); }
7639
7640 private:
7641 inline void SharedCtor();
7642 inline void SharedDtor();
7643 void SetCachedSize(int size) const;
7644 void InternalSwap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident* other);
7645 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()7646 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7647 return "safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident";
7648 }
7649 private:
GetArenaNoVirtual()7650 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
7651 return nullptr;
7652 }
MaybeArenaPtr()7653 inline void* MaybeArenaPtr() const {
7654 return nullptr;
7655 }
7656 public:
7657
7658 std::string GetTypeName() const final;
7659
7660 // nested types ----------------------------------------------------
7661
7662 typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile ContainedFile;
7663
7664 // accessors -------------------------------------------------------
7665
7666 enum : int {
7667 kContainedFileFieldNumber = 5,
7668 kFileBasenameFieldNumber = 1,
7669 kSignatureFieldNumber = 2,
7670 kImageHeadersFieldNumber = 3,
7671 kSecErrorFieldNumber = 4,
7672 };
7673 // repeated .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile contained_file = 5;
7674 int contained_file_size() const;
7675 private:
7676 int _internal_contained_file_size() const;
7677 public:
7678 void clear_contained_file();
7679 ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* mutable_contained_file(int index);
7680 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >*
7681 mutable_contained_file();
7682 private:
7683 const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& _internal_contained_file(int index) const;
7684 ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* _internal_add_contained_file();
7685 public:
7686 const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& contained_file(int index) const;
7687 ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* add_contained_file();
7688 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >&
7689 contained_file() const;
7690
7691 // optional string file_basename = 1;
7692 bool has_file_basename() const;
7693 private:
7694 bool _internal_has_file_basename() const;
7695 public:
7696 void clear_file_basename();
7697 const std::string& file_basename() const;
7698 void set_file_basename(const std::string& value);
7699 void set_file_basename(std::string&& value);
7700 void set_file_basename(const char* value);
7701 void set_file_basename(const char* value, size_t size);
7702 std::string* mutable_file_basename();
7703 std::string* release_file_basename();
7704 void set_allocated_file_basename(std::string* file_basename);
7705 private:
7706 const std::string& _internal_file_basename() const;
7707 void _internal_set_file_basename(const std::string& value);
7708 std::string* _internal_mutable_file_basename();
7709 public:
7710
7711 // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2;
7712 bool has_signature() const;
7713 private:
7714 bool _internal_has_signature() const;
7715 public:
7716 void clear_signature();
7717 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const;
7718 ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature();
7719 ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature();
7720 void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature);
7721 private:
7722 const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const;
7723 ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature();
7724 public:
7725
7726 // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3;
7727 bool has_image_headers() const;
7728 private:
7729 bool _internal_has_image_headers() const;
7730 public:
7731 void clear_image_headers();
7732 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
7733 ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
7734 ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
7735 void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
7736 private:
7737 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const;
7738 ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers();
7739 public:
7740
7741 // optional int32 sec_error = 4;
7742 bool has_sec_error() const;
7743 private:
7744 bool _internal_has_sec_error() const;
7745 public:
7746 void clear_sec_error();
7747 ::PROTOBUF_NAMESPACE_ID::int32 sec_error() const;
7748 void set_sec_error(::PROTOBUF_NAMESPACE_ID::int32 value);
7749 private:
7750 ::PROTOBUF_NAMESPACE_ID::int32 _internal_sec_error() const;
7751 void _internal_set_sec_error(::PROTOBUF_NAMESPACE_ID::int32 value);
7752 public:
7753
7754 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident)
7755 private:
7756 class _Internal;
7757
7758 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
7759 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
7760 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7761 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile > contained_file_;
7762 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_basename_;
7763 ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_;
7764 ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
7765 ::PROTOBUF_NAMESPACE_ID::int32 sec_error_;
7766 friend struct ::TableStruct_csd_2eproto;
7767 };
7768 // -------------------------------------------------------------------
7769
7770 class ClientIncidentReport_IncidentData_ResourceRequestIncident :
7771 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident) */ {
7772 public:
7773 ClientIncidentReport_IncidentData_ResourceRequestIncident();
7774 virtual ~ClientIncidentReport_IncidentData_ResourceRequestIncident();
7775
7776 ClientIncidentReport_IncidentData_ResourceRequestIncident(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from);
ClientIncidentReport_IncidentData_ResourceRequestIncident(ClientIncidentReport_IncidentData_ResourceRequestIncident && from)7777 ClientIncidentReport_IncidentData_ResourceRequestIncident(ClientIncidentReport_IncidentData_ResourceRequestIncident&& from) noexcept
7778 : ClientIncidentReport_IncidentData_ResourceRequestIncident() {
7779 *this = ::std::move(from);
7780 }
7781
7782 inline ClientIncidentReport_IncidentData_ResourceRequestIncident& operator=(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from) {
7783 CopyFrom(from);
7784 return *this;
7785 }
7786 inline ClientIncidentReport_IncidentData_ResourceRequestIncident& operator=(ClientIncidentReport_IncidentData_ResourceRequestIncident&& from) noexcept {
7787 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7788 if (this != &from) InternalSwap(&from);
7789 } else {
7790 CopyFrom(from);
7791 }
7792 return *this;
7793 }
7794
unknown_fields()7795 inline const std::string& unknown_fields() const {
7796 return _internal_metadata_.unknown_fields();
7797 }
mutable_unknown_fields()7798 inline std::string* mutable_unknown_fields() {
7799 return _internal_metadata_.mutable_unknown_fields();
7800 }
7801
7802 static const ClientIncidentReport_IncidentData_ResourceRequestIncident& default_instance();
7803
7804 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7805 static inline const ClientIncidentReport_IncidentData_ResourceRequestIncident* internal_default_instance() {
7806 return reinterpret_cast<const ClientIncidentReport_IncidentData_ResourceRequestIncident*>(
7807 &_ClientIncidentReport_IncidentData_ResourceRequestIncident_default_instance_);
7808 }
7809 static constexpr int kIndexInFileMessages =
7810 35;
7811
swap(ClientIncidentReport_IncidentData_ResourceRequestIncident & a,ClientIncidentReport_IncidentData_ResourceRequestIncident & b)7812 friend void swap(ClientIncidentReport_IncidentData_ResourceRequestIncident& a, ClientIncidentReport_IncidentData_ResourceRequestIncident& b) {
7813 a.Swap(&b);
7814 }
Swap(ClientIncidentReport_IncidentData_ResourceRequestIncident * other)7815 inline void Swap(ClientIncidentReport_IncidentData_ResourceRequestIncident* other) {
7816 if (other == this) return;
7817 InternalSwap(other);
7818 }
7819
7820 // implements Message ----------------------------------------------
7821
New()7822 inline ClientIncidentReport_IncidentData_ResourceRequestIncident* New() const final {
7823 return CreateMaybeMessage<ClientIncidentReport_IncidentData_ResourceRequestIncident>(nullptr);
7824 }
7825
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)7826 ClientIncidentReport_IncidentData_ResourceRequestIncident* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7827 return CreateMaybeMessage<ClientIncidentReport_IncidentData_ResourceRequestIncident>(arena);
7828 }
7829 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
7830 final;
7831 void CopyFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from);
7832 void MergeFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from);
7833 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7834 bool IsInitialized() const final;
7835
7836 size_t ByteSizeLong() const final;
7837 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7838 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
7839 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7840 void DiscardUnknownFields();
GetCachedSize()7841 int GetCachedSize() const final { return _cached_size_.Get(); }
7842
7843 private:
7844 inline void SharedCtor();
7845 inline void SharedDtor();
7846 void SetCachedSize(int size) const;
7847 void InternalSwap(ClientIncidentReport_IncidentData_ResourceRequestIncident* other);
7848 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()7849 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7850 return "safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident";
7851 }
7852 private:
GetArenaNoVirtual()7853 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
7854 return nullptr;
7855 }
MaybeArenaPtr()7856 inline void* MaybeArenaPtr() const {
7857 return nullptr;
7858 }
7859 public:
7860
7861 std::string GetTypeName() const final;
7862
7863 // nested types ----------------------------------------------------
7864
7865 typedef ClientIncidentReport_IncidentData_ResourceRequestIncident_Type Type;
7866 static constexpr Type UNKNOWN =
7867 ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN;
7868 static constexpr Type TYPE_PATTERN =
7869 ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN;
Type_IsValid(int value)7870 static inline bool Type_IsValid(int value) {
7871 return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(value);
7872 }
7873 static constexpr Type Type_MIN =
7874 ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN;
7875 static constexpr Type Type_MAX =
7876 ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX;
7877 static constexpr int Type_ARRAYSIZE =
7878 ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE;
7879 template<typename T>
Type_Name(T enum_t_value)7880 static inline const std::string& Type_Name(T enum_t_value) {
7881 static_assert(::std::is_same<T, Type>::value ||
7882 ::std::is_integral<T>::value,
7883 "Incorrect type passed to function Type_Name.");
7884 return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(enum_t_value);
7885 }
Type_Parse(const std::string & name,Type * value)7886 static inline bool Type_Parse(const std::string& name,
7887 Type* value) {
7888 return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Parse(name, value);
7889 }
7890
7891 // accessors -------------------------------------------------------
7892
7893 enum : int {
7894 kDigestFieldNumber = 1,
7895 kOriginFieldNumber = 2,
7896 kTypeFieldNumber = 3,
7897 };
7898 // optional bytes digest = 1;
7899 bool has_digest() const;
7900 private:
7901 bool _internal_has_digest() const;
7902 public:
7903 void clear_digest();
7904 const std::string& digest() const;
7905 void set_digest(const std::string& value);
7906 void set_digest(std::string&& value);
7907 void set_digest(const char* value);
7908 void set_digest(const void* value, size_t size);
7909 std::string* mutable_digest();
7910 std::string* release_digest();
7911 void set_allocated_digest(std::string* digest);
7912 private:
7913 const std::string& _internal_digest() const;
7914 void _internal_set_digest(const std::string& value);
7915 std::string* _internal_mutable_digest();
7916 public:
7917
7918 // optional string origin = 2;
7919 bool has_origin() const;
7920 private:
7921 bool _internal_has_origin() const;
7922 public:
7923 void clear_origin();
7924 const std::string& origin() const;
7925 void set_origin(const std::string& value);
7926 void set_origin(std::string&& value);
7927 void set_origin(const char* value);
7928 void set_origin(const char* value, size_t size);
7929 std::string* mutable_origin();
7930 std::string* release_origin();
7931 void set_allocated_origin(std::string* origin);
7932 private:
7933 const std::string& _internal_origin() const;
7934 void _internal_set_origin(const std::string& value);
7935 std::string* _internal_mutable_origin();
7936 public:
7937
7938 // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.Type type = 3 [default = UNKNOWN];
7939 bool has_type() const;
7940 private:
7941 bool _internal_has_type() const;
7942 public:
7943 void clear_type();
7944 ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type type() const;
7945 void set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value);
7946 private:
7947 ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type _internal_type() const;
7948 void _internal_set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value);
7949 public:
7950
7951 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident)
7952 private:
7953 class _Internal;
7954
7955 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
7956 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
7957 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7958 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr digest_;
7959 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr origin_;
7960 int type_;
7961 friend struct ::TableStruct_csd_2eproto;
7962 };
7963 // -------------------------------------------------------------------
7964
7965 class ClientIncidentReport_IncidentData :
7966 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData) */ {
7967 public:
7968 ClientIncidentReport_IncidentData();
7969 virtual ~ClientIncidentReport_IncidentData();
7970
7971 ClientIncidentReport_IncidentData(const ClientIncidentReport_IncidentData& from);
ClientIncidentReport_IncidentData(ClientIncidentReport_IncidentData && from)7972 ClientIncidentReport_IncidentData(ClientIncidentReport_IncidentData&& from) noexcept
7973 : ClientIncidentReport_IncidentData() {
7974 *this = ::std::move(from);
7975 }
7976
7977 inline ClientIncidentReport_IncidentData& operator=(const ClientIncidentReport_IncidentData& from) {
7978 CopyFrom(from);
7979 return *this;
7980 }
7981 inline ClientIncidentReport_IncidentData& operator=(ClientIncidentReport_IncidentData&& from) noexcept {
7982 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7983 if (this != &from) InternalSwap(&from);
7984 } else {
7985 CopyFrom(from);
7986 }
7987 return *this;
7988 }
7989
unknown_fields()7990 inline const std::string& unknown_fields() const {
7991 return _internal_metadata_.unknown_fields();
7992 }
mutable_unknown_fields()7993 inline std::string* mutable_unknown_fields() {
7994 return _internal_metadata_.mutable_unknown_fields();
7995 }
7996
7997 static const ClientIncidentReport_IncidentData& default_instance();
7998
7999 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8000 static inline const ClientIncidentReport_IncidentData* internal_default_instance() {
8001 return reinterpret_cast<const ClientIncidentReport_IncidentData*>(
8002 &_ClientIncidentReport_IncidentData_default_instance_);
8003 }
8004 static constexpr int kIndexInFileMessages =
8005 36;
8006
swap(ClientIncidentReport_IncidentData & a,ClientIncidentReport_IncidentData & b)8007 friend void swap(ClientIncidentReport_IncidentData& a, ClientIncidentReport_IncidentData& b) {
8008 a.Swap(&b);
8009 }
Swap(ClientIncidentReport_IncidentData * other)8010 inline void Swap(ClientIncidentReport_IncidentData* other) {
8011 if (other == this) return;
8012 InternalSwap(other);
8013 }
8014
8015 // implements Message ----------------------------------------------
8016
New()8017 inline ClientIncidentReport_IncidentData* New() const final {
8018 return CreateMaybeMessage<ClientIncidentReport_IncidentData>(nullptr);
8019 }
8020
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)8021 ClientIncidentReport_IncidentData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8022 return CreateMaybeMessage<ClientIncidentReport_IncidentData>(arena);
8023 }
8024 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
8025 final;
8026 void CopyFrom(const ClientIncidentReport_IncidentData& from);
8027 void MergeFrom(const ClientIncidentReport_IncidentData& from);
8028 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8029 bool IsInitialized() const final;
8030
8031 size_t ByteSizeLong() const final;
8032 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8033 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
8034 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8035 void DiscardUnknownFields();
GetCachedSize()8036 int GetCachedSize() const final { return _cached_size_.Get(); }
8037
8038 private:
8039 inline void SharedCtor();
8040 inline void SharedDtor();
8041 void SetCachedSize(int size) const;
8042 void InternalSwap(ClientIncidentReport_IncidentData* other);
8043 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()8044 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8045 return "safe_browsing.ClientIncidentReport.IncidentData";
8046 }
8047 private:
GetArenaNoVirtual()8048 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
8049 return nullptr;
8050 }
MaybeArenaPtr()8051 inline void* MaybeArenaPtr() const {
8052 return nullptr;
8053 }
8054 public:
8055
8056 std::string GetTypeName() const final;
8057
8058 // nested types ----------------------------------------------------
8059
8060 typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident TrackedPreferenceIncident;
8061 typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident BinaryIntegrityIncident;
8062 typedef ClientIncidentReport_IncidentData_ResourceRequestIncident ResourceRequestIncident;
8063
8064 // accessors -------------------------------------------------------
8065
8066 enum : int {
8067 kTrackedPreferenceFieldNumber = 2,
8068 kBinaryIntegrityFieldNumber = 3,
8069 kResourceRequestFieldNumber = 7,
8070 kIncidentTimeMsecFieldNumber = 1,
8071 };
8072 // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident tracked_preference = 2;
8073 bool has_tracked_preference() const;
8074 private:
8075 bool _internal_has_tracked_preference() const;
8076 public:
8077 void clear_tracked_preference();
8078 const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& tracked_preference() const;
8079 ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* release_tracked_preference();
8080 ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* mutable_tracked_preference();
8081 void set_allocated_tracked_preference(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference);
8082 private:
8083 const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& _internal_tracked_preference() const;
8084 ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* _internal_mutable_tracked_preference();
8085 public:
8086
8087 // optional .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident binary_integrity = 3;
8088 bool has_binary_integrity() const;
8089 private:
8090 bool _internal_has_binary_integrity() const;
8091 public:
8092 void clear_binary_integrity();
8093 const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& binary_integrity() const;
8094 ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* release_binary_integrity();
8095 ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* mutable_binary_integrity();
8096 void set_allocated_binary_integrity(::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity);
8097 private:
8098 const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& _internal_binary_integrity() const;
8099 ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* _internal_mutable_binary_integrity();
8100 public:
8101
8102 // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident resource_request = 7;
8103 bool has_resource_request() const;
8104 private:
8105 bool _internal_has_resource_request() const;
8106 public:
8107 void clear_resource_request();
8108 const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& resource_request() const;
8109 ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* release_resource_request();
8110 ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* mutable_resource_request();
8111 void set_allocated_resource_request(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request);
8112 private:
8113 const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& _internal_resource_request() const;
8114 ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* _internal_mutable_resource_request();
8115 public:
8116
8117 // optional int64 incident_time_msec = 1;
8118 bool has_incident_time_msec() const;
8119 private:
8120 bool _internal_has_incident_time_msec() const;
8121 public:
8122 void clear_incident_time_msec();
8123 ::PROTOBUF_NAMESPACE_ID::int64 incident_time_msec() const;
8124 void set_incident_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
8125 private:
8126 ::PROTOBUF_NAMESPACE_ID::int64 _internal_incident_time_msec() const;
8127 void _internal_set_incident_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
8128 public:
8129
8130 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData)
8131 private:
8132 class _Internal;
8133
8134 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
8135 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
8136 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8137 ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference_;
8138 ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity_;
8139 ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request_;
8140 ::PROTOBUF_NAMESPACE_ID::int64 incident_time_msec_;
8141 friend struct ::TableStruct_csd_2eproto;
8142 };
8143 // -------------------------------------------------------------------
8144
8145 class ClientIncidentReport_DownloadDetails :
8146 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.DownloadDetails) */ {
8147 public:
8148 ClientIncidentReport_DownloadDetails();
8149 virtual ~ClientIncidentReport_DownloadDetails();
8150
8151 ClientIncidentReport_DownloadDetails(const ClientIncidentReport_DownloadDetails& from);
ClientIncidentReport_DownloadDetails(ClientIncidentReport_DownloadDetails && from)8152 ClientIncidentReport_DownloadDetails(ClientIncidentReport_DownloadDetails&& from) noexcept
8153 : ClientIncidentReport_DownloadDetails() {
8154 *this = ::std::move(from);
8155 }
8156
8157 inline ClientIncidentReport_DownloadDetails& operator=(const ClientIncidentReport_DownloadDetails& from) {
8158 CopyFrom(from);
8159 return *this;
8160 }
8161 inline ClientIncidentReport_DownloadDetails& operator=(ClientIncidentReport_DownloadDetails&& from) noexcept {
8162 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8163 if (this != &from) InternalSwap(&from);
8164 } else {
8165 CopyFrom(from);
8166 }
8167 return *this;
8168 }
8169
unknown_fields()8170 inline const std::string& unknown_fields() const {
8171 return _internal_metadata_.unknown_fields();
8172 }
mutable_unknown_fields()8173 inline std::string* mutable_unknown_fields() {
8174 return _internal_metadata_.mutable_unknown_fields();
8175 }
8176
8177 static const ClientIncidentReport_DownloadDetails& default_instance();
8178
8179 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8180 static inline const ClientIncidentReport_DownloadDetails* internal_default_instance() {
8181 return reinterpret_cast<const ClientIncidentReport_DownloadDetails*>(
8182 &_ClientIncidentReport_DownloadDetails_default_instance_);
8183 }
8184 static constexpr int kIndexInFileMessages =
8185 37;
8186
swap(ClientIncidentReport_DownloadDetails & a,ClientIncidentReport_DownloadDetails & b)8187 friend void swap(ClientIncidentReport_DownloadDetails& a, ClientIncidentReport_DownloadDetails& b) {
8188 a.Swap(&b);
8189 }
Swap(ClientIncidentReport_DownloadDetails * other)8190 inline void Swap(ClientIncidentReport_DownloadDetails* other) {
8191 if (other == this) return;
8192 InternalSwap(other);
8193 }
8194
8195 // implements Message ----------------------------------------------
8196
New()8197 inline ClientIncidentReport_DownloadDetails* New() const final {
8198 return CreateMaybeMessage<ClientIncidentReport_DownloadDetails>(nullptr);
8199 }
8200
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)8201 ClientIncidentReport_DownloadDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8202 return CreateMaybeMessage<ClientIncidentReport_DownloadDetails>(arena);
8203 }
8204 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
8205 final;
8206 void CopyFrom(const ClientIncidentReport_DownloadDetails& from);
8207 void MergeFrom(const ClientIncidentReport_DownloadDetails& from);
8208 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8209 bool IsInitialized() const final;
8210
8211 size_t ByteSizeLong() const final;
8212 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8213 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
8214 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8215 void DiscardUnknownFields();
GetCachedSize()8216 int GetCachedSize() const final { return _cached_size_.Get(); }
8217
8218 private:
8219 inline void SharedCtor();
8220 inline void SharedDtor();
8221 void SetCachedSize(int size) const;
8222 void InternalSwap(ClientIncidentReport_DownloadDetails* other);
8223 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()8224 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8225 return "safe_browsing.ClientIncidentReport.DownloadDetails";
8226 }
8227 private:
GetArenaNoVirtual()8228 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
8229 return nullptr;
8230 }
MaybeArenaPtr()8231 inline void* MaybeArenaPtr() const {
8232 return nullptr;
8233 }
8234 public:
8235
8236 std::string GetTypeName() const final;
8237
8238 // nested types ----------------------------------------------------
8239
8240 // accessors -------------------------------------------------------
8241
8242 enum : int {
8243 kTokenFieldNumber = 1,
8244 kDownloadFieldNumber = 2,
8245 kDownloadTimeMsecFieldNumber = 3,
8246 kOpenTimeMsecFieldNumber = 4,
8247 };
8248 // optional bytes token = 1;
8249 bool has_token() const;
8250 private:
8251 bool _internal_has_token() const;
8252 public:
8253 void clear_token();
8254 const std::string& token() const;
8255 void set_token(const std::string& value);
8256 void set_token(std::string&& value);
8257 void set_token(const char* value);
8258 void set_token(const void* value, size_t size);
8259 std::string* mutable_token();
8260 std::string* release_token();
8261 void set_allocated_token(std::string* token);
8262 private:
8263 const std::string& _internal_token() const;
8264 void _internal_set_token(const std::string& value);
8265 std::string* _internal_mutable_token();
8266 public:
8267
8268 // optional .safe_browsing.ClientDownloadRequest download = 2;
8269 bool has_download() const;
8270 private:
8271 bool _internal_has_download() const;
8272 public:
8273 void clear_download();
8274 const ::safe_browsing::ClientDownloadRequest& download() const;
8275 ::safe_browsing::ClientDownloadRequest* release_download();
8276 ::safe_browsing::ClientDownloadRequest* mutable_download();
8277 void set_allocated_download(::safe_browsing::ClientDownloadRequest* download);
8278 private:
8279 const ::safe_browsing::ClientDownloadRequest& _internal_download() const;
8280 ::safe_browsing::ClientDownloadRequest* _internal_mutable_download();
8281 public:
8282
8283 // optional int64 download_time_msec = 3;
8284 bool has_download_time_msec() const;
8285 private:
8286 bool _internal_has_download_time_msec() const;
8287 public:
8288 void clear_download_time_msec();
8289 ::PROTOBUF_NAMESPACE_ID::int64 download_time_msec() const;
8290 void set_download_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
8291 private:
8292 ::PROTOBUF_NAMESPACE_ID::int64 _internal_download_time_msec() const;
8293 void _internal_set_download_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
8294 public:
8295
8296 // optional int64 open_time_msec = 4;
8297 bool has_open_time_msec() const;
8298 private:
8299 bool _internal_has_open_time_msec() const;
8300 public:
8301 void clear_open_time_msec();
8302 ::PROTOBUF_NAMESPACE_ID::int64 open_time_msec() const;
8303 void set_open_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
8304 private:
8305 ::PROTOBUF_NAMESPACE_ID::int64 _internal_open_time_msec() const;
8306 void _internal_set_open_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
8307 public:
8308
8309 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.DownloadDetails)
8310 private:
8311 class _Internal;
8312
8313 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
8314 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
8315 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8316 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
8317 ::safe_browsing::ClientDownloadRequest* download_;
8318 ::PROTOBUF_NAMESPACE_ID::int64 download_time_msec_;
8319 ::PROTOBUF_NAMESPACE_ID::int64 open_time_msec_;
8320 friend struct ::TableStruct_csd_2eproto;
8321 };
8322 // -------------------------------------------------------------------
8323
8324 class ClientIncidentReport_EnvironmentData_OS_RegistryValue :
8325 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue) */ {
8326 public:
8327 ClientIncidentReport_EnvironmentData_OS_RegistryValue();
8328 virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryValue();
8329
8330 ClientIncidentReport_EnvironmentData_OS_RegistryValue(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from);
ClientIncidentReport_EnvironmentData_OS_RegistryValue(ClientIncidentReport_EnvironmentData_OS_RegistryValue && from)8331 ClientIncidentReport_EnvironmentData_OS_RegistryValue(ClientIncidentReport_EnvironmentData_OS_RegistryValue&& from) noexcept
8332 : ClientIncidentReport_EnvironmentData_OS_RegistryValue() {
8333 *this = ::std::move(from);
8334 }
8335
8336 inline ClientIncidentReport_EnvironmentData_OS_RegistryValue& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from) {
8337 CopyFrom(from);
8338 return *this;
8339 }
8340 inline ClientIncidentReport_EnvironmentData_OS_RegistryValue& operator=(ClientIncidentReport_EnvironmentData_OS_RegistryValue&& from) noexcept {
8341 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8342 if (this != &from) InternalSwap(&from);
8343 } else {
8344 CopyFrom(from);
8345 }
8346 return *this;
8347 }
8348
unknown_fields()8349 inline const std::string& unknown_fields() const {
8350 return _internal_metadata_.unknown_fields();
8351 }
mutable_unknown_fields()8352 inline std::string* mutable_unknown_fields() {
8353 return _internal_metadata_.mutable_unknown_fields();
8354 }
8355
8356 static const ClientIncidentReport_EnvironmentData_OS_RegistryValue& default_instance();
8357
8358 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8359 static inline const ClientIncidentReport_EnvironmentData_OS_RegistryValue* internal_default_instance() {
8360 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_OS_RegistryValue*>(
8361 &_ClientIncidentReport_EnvironmentData_OS_RegistryValue_default_instance_);
8362 }
8363 static constexpr int kIndexInFileMessages =
8364 38;
8365
swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue & a,ClientIncidentReport_EnvironmentData_OS_RegistryValue & b)8366 friend void swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue& a, ClientIncidentReport_EnvironmentData_OS_RegistryValue& b) {
8367 a.Swap(&b);
8368 }
Swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue * other)8369 inline void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue* other) {
8370 if (other == this) return;
8371 InternalSwap(other);
8372 }
8373
8374 // implements Message ----------------------------------------------
8375
New()8376 inline ClientIncidentReport_EnvironmentData_OS_RegistryValue* New() const final {
8377 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_OS_RegistryValue>(nullptr);
8378 }
8379
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)8380 ClientIncidentReport_EnvironmentData_OS_RegistryValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8381 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_OS_RegistryValue>(arena);
8382 }
8383 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
8384 final;
8385 void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from);
8386 void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from);
8387 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8388 bool IsInitialized() const final;
8389
8390 size_t ByteSizeLong() const final;
8391 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8392 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
8393 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8394 void DiscardUnknownFields();
GetCachedSize()8395 int GetCachedSize() const final { return _cached_size_.Get(); }
8396
8397 private:
8398 inline void SharedCtor();
8399 inline void SharedDtor();
8400 void SetCachedSize(int size) const;
8401 void InternalSwap(ClientIncidentReport_EnvironmentData_OS_RegistryValue* other);
8402 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()8403 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8404 return "safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue";
8405 }
8406 private:
GetArenaNoVirtual()8407 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
8408 return nullptr;
8409 }
MaybeArenaPtr()8410 inline void* MaybeArenaPtr() const {
8411 return nullptr;
8412 }
8413 public:
8414
8415 std::string GetTypeName() const final;
8416
8417 // nested types ----------------------------------------------------
8418
8419 // accessors -------------------------------------------------------
8420
8421 enum : int {
8422 kNameFieldNumber = 1,
8423 kDataFieldNumber = 3,
8424 kTypeFieldNumber = 2,
8425 };
8426 // optional string name = 1;
8427 bool has_name() const;
8428 private:
8429 bool _internal_has_name() const;
8430 public:
8431 void clear_name();
8432 const std::string& name() const;
8433 void set_name(const std::string& value);
8434 void set_name(std::string&& value);
8435 void set_name(const char* value);
8436 void set_name(const char* value, size_t size);
8437 std::string* mutable_name();
8438 std::string* release_name();
8439 void set_allocated_name(std::string* name);
8440 private:
8441 const std::string& _internal_name() const;
8442 void _internal_set_name(const std::string& value);
8443 std::string* _internal_mutable_name();
8444 public:
8445
8446 // optional bytes data = 3;
8447 bool has_data() const;
8448 private:
8449 bool _internal_has_data() const;
8450 public:
8451 void clear_data();
8452 const std::string& data() const;
8453 void set_data(const std::string& value);
8454 void set_data(std::string&& value);
8455 void set_data(const char* value);
8456 void set_data(const void* value, size_t size);
8457 std::string* mutable_data();
8458 std::string* release_data();
8459 void set_allocated_data(std::string* data);
8460 private:
8461 const std::string& _internal_data() const;
8462 void _internal_set_data(const std::string& value);
8463 std::string* _internal_mutable_data();
8464 public:
8465
8466 // optional uint32 type = 2;
8467 bool has_type() const;
8468 private:
8469 bool _internal_has_type() const;
8470 public:
8471 void clear_type();
8472 ::PROTOBUF_NAMESPACE_ID::uint32 type() const;
8473 void set_type(::PROTOBUF_NAMESPACE_ID::uint32 value);
8474 private:
8475 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_type() const;
8476 void _internal_set_type(::PROTOBUF_NAMESPACE_ID::uint32 value);
8477 public:
8478
8479 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue)
8480 private:
8481 class _Internal;
8482
8483 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
8484 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
8485 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8486 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
8487 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
8488 ::PROTOBUF_NAMESPACE_ID::uint32 type_;
8489 friend struct ::TableStruct_csd_2eproto;
8490 };
8491 // -------------------------------------------------------------------
8492
8493 class ClientIncidentReport_EnvironmentData_OS_RegistryKey :
8494 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey) */ {
8495 public:
8496 ClientIncidentReport_EnvironmentData_OS_RegistryKey();
8497 virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryKey();
8498
8499 ClientIncidentReport_EnvironmentData_OS_RegistryKey(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from);
ClientIncidentReport_EnvironmentData_OS_RegistryKey(ClientIncidentReport_EnvironmentData_OS_RegistryKey && from)8500 ClientIncidentReport_EnvironmentData_OS_RegistryKey(ClientIncidentReport_EnvironmentData_OS_RegistryKey&& from) noexcept
8501 : ClientIncidentReport_EnvironmentData_OS_RegistryKey() {
8502 *this = ::std::move(from);
8503 }
8504
8505 inline ClientIncidentReport_EnvironmentData_OS_RegistryKey& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from) {
8506 CopyFrom(from);
8507 return *this;
8508 }
8509 inline ClientIncidentReport_EnvironmentData_OS_RegistryKey& operator=(ClientIncidentReport_EnvironmentData_OS_RegistryKey&& from) noexcept {
8510 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8511 if (this != &from) InternalSwap(&from);
8512 } else {
8513 CopyFrom(from);
8514 }
8515 return *this;
8516 }
8517
unknown_fields()8518 inline const std::string& unknown_fields() const {
8519 return _internal_metadata_.unknown_fields();
8520 }
mutable_unknown_fields()8521 inline std::string* mutable_unknown_fields() {
8522 return _internal_metadata_.mutable_unknown_fields();
8523 }
8524
8525 static const ClientIncidentReport_EnvironmentData_OS_RegistryKey& default_instance();
8526
8527 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8528 static inline const ClientIncidentReport_EnvironmentData_OS_RegistryKey* internal_default_instance() {
8529 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_OS_RegistryKey*>(
8530 &_ClientIncidentReport_EnvironmentData_OS_RegistryKey_default_instance_);
8531 }
8532 static constexpr int kIndexInFileMessages =
8533 39;
8534
swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey & a,ClientIncidentReport_EnvironmentData_OS_RegistryKey & b)8535 friend void swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey& a, ClientIncidentReport_EnvironmentData_OS_RegistryKey& b) {
8536 a.Swap(&b);
8537 }
Swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey * other)8538 inline void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey* other) {
8539 if (other == this) return;
8540 InternalSwap(other);
8541 }
8542
8543 // implements Message ----------------------------------------------
8544
New()8545 inline ClientIncidentReport_EnvironmentData_OS_RegistryKey* New() const final {
8546 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_OS_RegistryKey>(nullptr);
8547 }
8548
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)8549 ClientIncidentReport_EnvironmentData_OS_RegistryKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8550 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_OS_RegistryKey>(arena);
8551 }
8552 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
8553 final;
8554 void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from);
8555 void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from);
8556 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8557 bool IsInitialized() const final;
8558
8559 size_t ByteSizeLong() const final;
8560 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8561 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
8562 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8563 void DiscardUnknownFields();
GetCachedSize()8564 int GetCachedSize() const final { return _cached_size_.Get(); }
8565
8566 private:
8567 inline void SharedCtor();
8568 inline void SharedDtor();
8569 void SetCachedSize(int size) const;
8570 void InternalSwap(ClientIncidentReport_EnvironmentData_OS_RegistryKey* other);
8571 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()8572 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8573 return "safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey";
8574 }
8575 private:
GetArenaNoVirtual()8576 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
8577 return nullptr;
8578 }
MaybeArenaPtr()8579 inline void* MaybeArenaPtr() const {
8580 return nullptr;
8581 }
8582 public:
8583
8584 std::string GetTypeName() const final;
8585
8586 // nested types ----------------------------------------------------
8587
8588 // accessors -------------------------------------------------------
8589
8590 enum : int {
8591 kValueFieldNumber = 2,
8592 kKeyFieldNumber = 3,
8593 kNameFieldNumber = 1,
8594 };
8595 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue value = 2;
8596 int value_size() const;
8597 private:
8598 int _internal_value_size() const;
8599 public:
8600 void clear_value();
8601 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* mutable_value(int index);
8602 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >*
8603 mutable_value();
8604 private:
8605 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& _internal_value(int index) const;
8606 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* _internal_add_value();
8607 public:
8608 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& value(int index) const;
8609 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* add_value();
8610 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >&
8611 value() const;
8612
8613 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey key = 3;
8614 int key_size() const;
8615 private:
8616 int _internal_key_size() const;
8617 public:
8618 void clear_key();
8619 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_key(int index);
8620 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >*
8621 mutable_key();
8622 private:
8623 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& _internal_key(int index) const;
8624 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* _internal_add_key();
8625 public:
8626 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& key(int index) const;
8627 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_key();
8628 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >&
8629 key() const;
8630
8631 // optional string name = 1;
8632 bool has_name() const;
8633 private:
8634 bool _internal_has_name() const;
8635 public:
8636 void clear_name();
8637 const std::string& name() const;
8638 void set_name(const std::string& value);
8639 void set_name(std::string&& value);
8640 void set_name(const char* value);
8641 void set_name(const char* value, size_t size);
8642 std::string* mutable_name();
8643 std::string* release_name();
8644 void set_allocated_name(std::string* name);
8645 private:
8646 const std::string& _internal_name() const;
8647 void _internal_set_name(const std::string& value);
8648 std::string* _internal_mutable_name();
8649 public:
8650
8651 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey)
8652 private:
8653 class _Internal;
8654
8655 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
8656 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
8657 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8658 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue > value_;
8659 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > key_;
8660 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
8661 friend struct ::TableStruct_csd_2eproto;
8662 };
8663 // -------------------------------------------------------------------
8664
8665 class ClientIncidentReport_EnvironmentData_OS :
8666 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.OS) */ {
8667 public:
8668 ClientIncidentReport_EnvironmentData_OS();
8669 virtual ~ClientIncidentReport_EnvironmentData_OS();
8670
8671 ClientIncidentReport_EnvironmentData_OS(const ClientIncidentReport_EnvironmentData_OS& from);
ClientIncidentReport_EnvironmentData_OS(ClientIncidentReport_EnvironmentData_OS && from)8672 ClientIncidentReport_EnvironmentData_OS(ClientIncidentReport_EnvironmentData_OS&& from) noexcept
8673 : ClientIncidentReport_EnvironmentData_OS() {
8674 *this = ::std::move(from);
8675 }
8676
8677 inline ClientIncidentReport_EnvironmentData_OS& operator=(const ClientIncidentReport_EnvironmentData_OS& from) {
8678 CopyFrom(from);
8679 return *this;
8680 }
8681 inline ClientIncidentReport_EnvironmentData_OS& operator=(ClientIncidentReport_EnvironmentData_OS&& from) noexcept {
8682 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8683 if (this != &from) InternalSwap(&from);
8684 } else {
8685 CopyFrom(from);
8686 }
8687 return *this;
8688 }
8689
unknown_fields()8690 inline const std::string& unknown_fields() const {
8691 return _internal_metadata_.unknown_fields();
8692 }
mutable_unknown_fields()8693 inline std::string* mutable_unknown_fields() {
8694 return _internal_metadata_.mutable_unknown_fields();
8695 }
8696
8697 static const ClientIncidentReport_EnvironmentData_OS& default_instance();
8698
8699 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8700 static inline const ClientIncidentReport_EnvironmentData_OS* internal_default_instance() {
8701 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_OS*>(
8702 &_ClientIncidentReport_EnvironmentData_OS_default_instance_);
8703 }
8704 static constexpr int kIndexInFileMessages =
8705 40;
8706
swap(ClientIncidentReport_EnvironmentData_OS & a,ClientIncidentReport_EnvironmentData_OS & b)8707 friend void swap(ClientIncidentReport_EnvironmentData_OS& a, ClientIncidentReport_EnvironmentData_OS& b) {
8708 a.Swap(&b);
8709 }
Swap(ClientIncidentReport_EnvironmentData_OS * other)8710 inline void Swap(ClientIncidentReport_EnvironmentData_OS* other) {
8711 if (other == this) return;
8712 InternalSwap(other);
8713 }
8714
8715 // implements Message ----------------------------------------------
8716
New()8717 inline ClientIncidentReport_EnvironmentData_OS* New() const final {
8718 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_OS>(nullptr);
8719 }
8720
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)8721 ClientIncidentReport_EnvironmentData_OS* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8722 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_OS>(arena);
8723 }
8724 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
8725 final;
8726 void CopyFrom(const ClientIncidentReport_EnvironmentData_OS& from);
8727 void MergeFrom(const ClientIncidentReport_EnvironmentData_OS& from);
8728 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8729 bool IsInitialized() const final;
8730
8731 size_t ByteSizeLong() const final;
8732 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8733 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
8734 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8735 void DiscardUnknownFields();
GetCachedSize()8736 int GetCachedSize() const final { return _cached_size_.Get(); }
8737
8738 private:
8739 inline void SharedCtor();
8740 inline void SharedDtor();
8741 void SetCachedSize(int size) const;
8742 void InternalSwap(ClientIncidentReport_EnvironmentData_OS* other);
8743 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()8744 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8745 return "safe_browsing.ClientIncidentReport.EnvironmentData.OS";
8746 }
8747 private:
GetArenaNoVirtual()8748 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
8749 return nullptr;
8750 }
MaybeArenaPtr()8751 inline void* MaybeArenaPtr() const {
8752 return nullptr;
8753 }
8754 public:
8755
8756 std::string GetTypeName() const final;
8757
8758 // nested types ----------------------------------------------------
8759
8760 typedef ClientIncidentReport_EnvironmentData_OS_RegistryValue RegistryValue;
8761 typedef ClientIncidentReport_EnvironmentData_OS_RegistryKey RegistryKey;
8762
8763 // accessors -------------------------------------------------------
8764
8765 enum : int {
8766 kRegistryKeyFieldNumber = 3,
8767 kOsNameFieldNumber = 1,
8768 kOsVersionFieldNumber = 2,
8769 kIsEnrolledToDomainFieldNumber = 4,
8770 };
8771 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey registry_key = 3;
8772 int registry_key_size() const;
8773 private:
8774 int _internal_registry_key_size() const;
8775 public:
8776 void clear_registry_key();
8777 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_registry_key(int index);
8778 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >*
8779 mutable_registry_key();
8780 private:
8781 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& _internal_registry_key(int index) const;
8782 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* _internal_add_registry_key();
8783 public:
8784 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& registry_key(int index) const;
8785 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_registry_key();
8786 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >&
8787 registry_key() const;
8788
8789 // optional string os_name = 1;
8790 bool has_os_name() const;
8791 private:
8792 bool _internal_has_os_name() const;
8793 public:
8794 void clear_os_name();
8795 const std::string& os_name() const;
8796 void set_os_name(const std::string& value);
8797 void set_os_name(std::string&& value);
8798 void set_os_name(const char* value);
8799 void set_os_name(const char* value, size_t size);
8800 std::string* mutable_os_name();
8801 std::string* release_os_name();
8802 void set_allocated_os_name(std::string* os_name);
8803 private:
8804 const std::string& _internal_os_name() const;
8805 void _internal_set_os_name(const std::string& value);
8806 std::string* _internal_mutable_os_name();
8807 public:
8808
8809 // optional string os_version = 2;
8810 bool has_os_version() const;
8811 private:
8812 bool _internal_has_os_version() const;
8813 public:
8814 void clear_os_version();
8815 const std::string& os_version() const;
8816 void set_os_version(const std::string& value);
8817 void set_os_version(std::string&& value);
8818 void set_os_version(const char* value);
8819 void set_os_version(const char* value, size_t size);
8820 std::string* mutable_os_version();
8821 std::string* release_os_version();
8822 void set_allocated_os_version(std::string* os_version);
8823 private:
8824 const std::string& _internal_os_version() const;
8825 void _internal_set_os_version(const std::string& value);
8826 std::string* _internal_mutable_os_version();
8827 public:
8828
8829 // optional bool is_enrolled_to_domain = 4;
8830 bool has_is_enrolled_to_domain() const;
8831 private:
8832 bool _internal_has_is_enrolled_to_domain() const;
8833 public:
8834 void clear_is_enrolled_to_domain();
8835 bool is_enrolled_to_domain() const;
8836 void set_is_enrolled_to_domain(bool value);
8837 private:
8838 bool _internal_is_enrolled_to_domain() const;
8839 void _internal_set_is_enrolled_to_domain(bool value);
8840 public:
8841
8842 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS)
8843 private:
8844 class _Internal;
8845
8846 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
8847 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
8848 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8849 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > registry_key_;
8850 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr os_name_;
8851 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr os_version_;
8852 bool is_enrolled_to_domain_;
8853 friend struct ::TableStruct_csd_2eproto;
8854 };
8855 // -------------------------------------------------------------------
8856
8857 class ClientIncidentReport_EnvironmentData_Machine :
8858 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Machine) */ {
8859 public:
8860 ClientIncidentReport_EnvironmentData_Machine();
8861 virtual ~ClientIncidentReport_EnvironmentData_Machine();
8862
8863 ClientIncidentReport_EnvironmentData_Machine(const ClientIncidentReport_EnvironmentData_Machine& from);
ClientIncidentReport_EnvironmentData_Machine(ClientIncidentReport_EnvironmentData_Machine && from)8864 ClientIncidentReport_EnvironmentData_Machine(ClientIncidentReport_EnvironmentData_Machine&& from) noexcept
8865 : ClientIncidentReport_EnvironmentData_Machine() {
8866 *this = ::std::move(from);
8867 }
8868
8869 inline ClientIncidentReport_EnvironmentData_Machine& operator=(const ClientIncidentReport_EnvironmentData_Machine& from) {
8870 CopyFrom(from);
8871 return *this;
8872 }
8873 inline ClientIncidentReport_EnvironmentData_Machine& operator=(ClientIncidentReport_EnvironmentData_Machine&& from) noexcept {
8874 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8875 if (this != &from) InternalSwap(&from);
8876 } else {
8877 CopyFrom(from);
8878 }
8879 return *this;
8880 }
8881
unknown_fields()8882 inline const std::string& unknown_fields() const {
8883 return _internal_metadata_.unknown_fields();
8884 }
mutable_unknown_fields()8885 inline std::string* mutable_unknown_fields() {
8886 return _internal_metadata_.mutable_unknown_fields();
8887 }
8888
8889 static const ClientIncidentReport_EnvironmentData_Machine& default_instance();
8890
8891 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8892 static inline const ClientIncidentReport_EnvironmentData_Machine* internal_default_instance() {
8893 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_Machine*>(
8894 &_ClientIncidentReport_EnvironmentData_Machine_default_instance_);
8895 }
8896 static constexpr int kIndexInFileMessages =
8897 41;
8898
swap(ClientIncidentReport_EnvironmentData_Machine & a,ClientIncidentReport_EnvironmentData_Machine & b)8899 friend void swap(ClientIncidentReport_EnvironmentData_Machine& a, ClientIncidentReport_EnvironmentData_Machine& b) {
8900 a.Swap(&b);
8901 }
Swap(ClientIncidentReport_EnvironmentData_Machine * other)8902 inline void Swap(ClientIncidentReport_EnvironmentData_Machine* other) {
8903 if (other == this) return;
8904 InternalSwap(other);
8905 }
8906
8907 // implements Message ----------------------------------------------
8908
New()8909 inline ClientIncidentReport_EnvironmentData_Machine* New() const final {
8910 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Machine>(nullptr);
8911 }
8912
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)8913 ClientIncidentReport_EnvironmentData_Machine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8914 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Machine>(arena);
8915 }
8916 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
8917 final;
8918 void CopyFrom(const ClientIncidentReport_EnvironmentData_Machine& from);
8919 void MergeFrom(const ClientIncidentReport_EnvironmentData_Machine& from);
8920 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8921 bool IsInitialized() const final;
8922
8923 size_t ByteSizeLong() const final;
8924 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8925 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
8926 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8927 void DiscardUnknownFields();
GetCachedSize()8928 int GetCachedSize() const final { return _cached_size_.Get(); }
8929
8930 private:
8931 inline void SharedCtor();
8932 inline void SharedDtor();
8933 void SetCachedSize(int size) const;
8934 void InternalSwap(ClientIncidentReport_EnvironmentData_Machine* other);
8935 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()8936 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8937 return "safe_browsing.ClientIncidentReport.EnvironmentData.Machine";
8938 }
8939 private:
GetArenaNoVirtual()8940 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
8941 return nullptr;
8942 }
MaybeArenaPtr()8943 inline void* MaybeArenaPtr() const {
8944 return nullptr;
8945 }
8946 public:
8947
8948 std::string GetTypeName() const final;
8949
8950 // nested types ----------------------------------------------------
8951
8952 // accessors -------------------------------------------------------
8953
8954 enum : int {
8955 kCpuArchitectureFieldNumber = 1,
8956 kCpuVendorFieldNumber = 2,
8957 kCpuidFieldNumber = 3,
8958 };
8959 // optional string cpu_architecture = 1;
8960 bool has_cpu_architecture() const;
8961 private:
8962 bool _internal_has_cpu_architecture() const;
8963 public:
8964 void clear_cpu_architecture();
8965 const std::string& cpu_architecture() const;
8966 void set_cpu_architecture(const std::string& value);
8967 void set_cpu_architecture(std::string&& value);
8968 void set_cpu_architecture(const char* value);
8969 void set_cpu_architecture(const char* value, size_t size);
8970 std::string* mutable_cpu_architecture();
8971 std::string* release_cpu_architecture();
8972 void set_allocated_cpu_architecture(std::string* cpu_architecture);
8973 private:
8974 const std::string& _internal_cpu_architecture() const;
8975 void _internal_set_cpu_architecture(const std::string& value);
8976 std::string* _internal_mutable_cpu_architecture();
8977 public:
8978
8979 // optional string cpu_vendor = 2;
8980 bool has_cpu_vendor() const;
8981 private:
8982 bool _internal_has_cpu_vendor() const;
8983 public:
8984 void clear_cpu_vendor();
8985 const std::string& cpu_vendor() const;
8986 void set_cpu_vendor(const std::string& value);
8987 void set_cpu_vendor(std::string&& value);
8988 void set_cpu_vendor(const char* value);
8989 void set_cpu_vendor(const char* value, size_t size);
8990 std::string* mutable_cpu_vendor();
8991 std::string* release_cpu_vendor();
8992 void set_allocated_cpu_vendor(std::string* cpu_vendor);
8993 private:
8994 const std::string& _internal_cpu_vendor() const;
8995 void _internal_set_cpu_vendor(const std::string& value);
8996 std::string* _internal_mutable_cpu_vendor();
8997 public:
8998
8999 // optional uint32 cpuid = 3;
9000 bool has_cpuid() const;
9001 private:
9002 bool _internal_has_cpuid() const;
9003 public:
9004 void clear_cpuid();
9005 ::PROTOBUF_NAMESPACE_ID::uint32 cpuid() const;
9006 void set_cpuid(::PROTOBUF_NAMESPACE_ID::uint32 value);
9007 private:
9008 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_cpuid() const;
9009 void _internal_set_cpuid(::PROTOBUF_NAMESPACE_ID::uint32 value);
9010 public:
9011
9012 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Machine)
9013 private:
9014 class _Internal;
9015
9016 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
9017 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
9018 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9019 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_architecture_;
9020 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_vendor_;
9021 ::PROTOBUF_NAMESPACE_ID::uint32 cpuid_;
9022 friend struct ::TableStruct_csd_2eproto;
9023 };
9024 // -------------------------------------------------------------------
9025
9026 class ClientIncidentReport_EnvironmentData_Process_Patch :
9027 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch) */ {
9028 public:
9029 ClientIncidentReport_EnvironmentData_Process_Patch();
9030 virtual ~ClientIncidentReport_EnvironmentData_Process_Patch();
9031
9032 ClientIncidentReport_EnvironmentData_Process_Patch(const ClientIncidentReport_EnvironmentData_Process_Patch& from);
ClientIncidentReport_EnvironmentData_Process_Patch(ClientIncidentReport_EnvironmentData_Process_Patch && from)9033 ClientIncidentReport_EnvironmentData_Process_Patch(ClientIncidentReport_EnvironmentData_Process_Patch&& from) noexcept
9034 : ClientIncidentReport_EnvironmentData_Process_Patch() {
9035 *this = ::std::move(from);
9036 }
9037
9038 inline ClientIncidentReport_EnvironmentData_Process_Patch& operator=(const ClientIncidentReport_EnvironmentData_Process_Patch& from) {
9039 CopyFrom(from);
9040 return *this;
9041 }
9042 inline ClientIncidentReport_EnvironmentData_Process_Patch& operator=(ClientIncidentReport_EnvironmentData_Process_Patch&& from) noexcept {
9043 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9044 if (this != &from) InternalSwap(&from);
9045 } else {
9046 CopyFrom(from);
9047 }
9048 return *this;
9049 }
9050
unknown_fields()9051 inline const std::string& unknown_fields() const {
9052 return _internal_metadata_.unknown_fields();
9053 }
mutable_unknown_fields()9054 inline std::string* mutable_unknown_fields() {
9055 return _internal_metadata_.mutable_unknown_fields();
9056 }
9057
9058 static const ClientIncidentReport_EnvironmentData_Process_Patch& default_instance();
9059
9060 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9061 static inline const ClientIncidentReport_EnvironmentData_Process_Patch* internal_default_instance() {
9062 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_Process_Patch*>(
9063 &_ClientIncidentReport_EnvironmentData_Process_Patch_default_instance_);
9064 }
9065 static constexpr int kIndexInFileMessages =
9066 42;
9067
swap(ClientIncidentReport_EnvironmentData_Process_Patch & a,ClientIncidentReport_EnvironmentData_Process_Patch & b)9068 friend void swap(ClientIncidentReport_EnvironmentData_Process_Patch& a, ClientIncidentReport_EnvironmentData_Process_Patch& b) {
9069 a.Swap(&b);
9070 }
Swap(ClientIncidentReport_EnvironmentData_Process_Patch * other)9071 inline void Swap(ClientIncidentReport_EnvironmentData_Process_Patch* other) {
9072 if (other == this) return;
9073 InternalSwap(other);
9074 }
9075
9076 // implements Message ----------------------------------------------
9077
New()9078 inline ClientIncidentReport_EnvironmentData_Process_Patch* New() const final {
9079 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_Patch>(nullptr);
9080 }
9081
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)9082 ClientIncidentReport_EnvironmentData_Process_Patch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9083 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_Patch>(arena);
9084 }
9085 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
9086 final;
9087 void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from);
9088 void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from);
9089 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9090 bool IsInitialized() const final;
9091
9092 size_t ByteSizeLong() const final;
9093 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9094 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
9095 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9096 void DiscardUnknownFields();
GetCachedSize()9097 int GetCachedSize() const final { return _cached_size_.Get(); }
9098
9099 private:
9100 inline void SharedCtor();
9101 inline void SharedDtor();
9102 void SetCachedSize(int size) const;
9103 void InternalSwap(ClientIncidentReport_EnvironmentData_Process_Patch* other);
9104 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()9105 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9106 return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch";
9107 }
9108 private:
GetArenaNoVirtual()9109 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
9110 return nullptr;
9111 }
MaybeArenaPtr()9112 inline void* MaybeArenaPtr() const {
9113 return nullptr;
9114 }
9115 public:
9116
9117 std::string GetTypeName() const final;
9118
9119 // nested types ----------------------------------------------------
9120
9121 // accessors -------------------------------------------------------
9122
9123 enum : int {
9124 kFunctionFieldNumber = 1,
9125 kTargetDllFieldNumber = 2,
9126 };
9127 // optional string function = 1;
9128 bool has_function() const;
9129 private:
9130 bool _internal_has_function() const;
9131 public:
9132 void clear_function();
9133 const std::string& function() const;
9134 void set_function(const std::string& value);
9135 void set_function(std::string&& value);
9136 void set_function(const char* value);
9137 void set_function(const char* value, size_t size);
9138 std::string* mutable_function();
9139 std::string* release_function();
9140 void set_allocated_function(std::string* function);
9141 private:
9142 const std::string& _internal_function() const;
9143 void _internal_set_function(const std::string& value);
9144 std::string* _internal_mutable_function();
9145 public:
9146
9147 // optional string target_dll = 2;
9148 bool has_target_dll() const;
9149 private:
9150 bool _internal_has_target_dll() const;
9151 public:
9152 void clear_target_dll();
9153 const std::string& target_dll() const;
9154 void set_target_dll(const std::string& value);
9155 void set_target_dll(std::string&& value);
9156 void set_target_dll(const char* value);
9157 void set_target_dll(const char* value, size_t size);
9158 std::string* mutable_target_dll();
9159 std::string* release_target_dll();
9160 void set_allocated_target_dll(std::string* target_dll);
9161 private:
9162 const std::string& _internal_target_dll() const;
9163 void _internal_set_target_dll(const std::string& value);
9164 std::string* _internal_mutable_target_dll();
9165 public:
9166
9167 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch)
9168 private:
9169 class _Internal;
9170
9171 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
9172 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
9173 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9174 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr function_;
9175 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr target_dll_;
9176 friend struct ::TableStruct_csd_2eproto;
9177 };
9178 // -------------------------------------------------------------------
9179
9180 class ClientIncidentReport_EnvironmentData_Process_NetworkProvider :
9181 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider) */ {
9182 public:
9183 ClientIncidentReport_EnvironmentData_Process_NetworkProvider();
9184 virtual ~ClientIncidentReport_EnvironmentData_Process_NetworkProvider();
9185
9186 ClientIncidentReport_EnvironmentData_Process_NetworkProvider(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from);
ClientIncidentReport_EnvironmentData_Process_NetworkProvider(ClientIncidentReport_EnvironmentData_Process_NetworkProvider && from)9187 ClientIncidentReport_EnvironmentData_Process_NetworkProvider(ClientIncidentReport_EnvironmentData_Process_NetworkProvider&& from) noexcept
9188 : ClientIncidentReport_EnvironmentData_Process_NetworkProvider() {
9189 *this = ::std::move(from);
9190 }
9191
9192 inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider& operator=(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from) {
9193 CopyFrom(from);
9194 return *this;
9195 }
9196 inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider& operator=(ClientIncidentReport_EnvironmentData_Process_NetworkProvider&& from) noexcept {
9197 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9198 if (this != &from) InternalSwap(&from);
9199 } else {
9200 CopyFrom(from);
9201 }
9202 return *this;
9203 }
9204
unknown_fields()9205 inline const std::string& unknown_fields() const {
9206 return _internal_metadata_.unknown_fields();
9207 }
mutable_unknown_fields()9208 inline std::string* mutable_unknown_fields() {
9209 return _internal_metadata_.mutable_unknown_fields();
9210 }
9211
9212 static const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& default_instance();
9213
9214 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9215 static inline const ClientIncidentReport_EnvironmentData_Process_NetworkProvider* internal_default_instance() {
9216 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_Process_NetworkProvider*>(
9217 &_ClientIncidentReport_EnvironmentData_Process_NetworkProvider_default_instance_);
9218 }
9219 static constexpr int kIndexInFileMessages =
9220 43;
9221
swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider & a,ClientIncidentReport_EnvironmentData_Process_NetworkProvider & b)9222 friend void swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider& a, ClientIncidentReport_EnvironmentData_Process_NetworkProvider& b) {
9223 a.Swap(&b);
9224 }
Swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider * other)9225 inline void Swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider* other) {
9226 if (other == this) return;
9227 InternalSwap(other);
9228 }
9229
9230 // implements Message ----------------------------------------------
9231
New()9232 inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider* New() const final {
9233 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(nullptr);
9234 }
9235
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)9236 ClientIncidentReport_EnvironmentData_Process_NetworkProvider* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9237 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(arena);
9238 }
9239 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
9240 final;
9241 void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from);
9242 void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from);
9243 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9244 bool IsInitialized() const final;
9245
9246 size_t ByteSizeLong() const final;
9247 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9248 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
9249 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9250 void DiscardUnknownFields();
GetCachedSize()9251 int GetCachedSize() const final { return _cached_size_.Get(); }
9252
9253 private:
9254 inline void SharedCtor();
9255 inline void SharedDtor();
9256 void SetCachedSize(int size) const;
9257 void InternalSwap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider* other);
9258 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()9259 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9260 return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider";
9261 }
9262 private:
GetArenaNoVirtual()9263 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
9264 return nullptr;
9265 }
MaybeArenaPtr()9266 inline void* MaybeArenaPtr() const {
9267 return nullptr;
9268 }
9269 public:
9270
9271 std::string GetTypeName() const final;
9272
9273 // nested types ----------------------------------------------------
9274
9275 // accessors -------------------------------------------------------
9276
9277 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider)
9278 private:
9279 class _Internal;
9280
9281 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
9282 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
9283 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9284 friend struct ::TableStruct_csd_2eproto;
9285 };
9286 // -------------------------------------------------------------------
9287
9288 class ClientIncidentReport_EnvironmentData_Process_Dll :
9289 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll) */ {
9290 public:
9291 ClientIncidentReport_EnvironmentData_Process_Dll();
9292 virtual ~ClientIncidentReport_EnvironmentData_Process_Dll();
9293
9294 ClientIncidentReport_EnvironmentData_Process_Dll(const ClientIncidentReport_EnvironmentData_Process_Dll& from);
ClientIncidentReport_EnvironmentData_Process_Dll(ClientIncidentReport_EnvironmentData_Process_Dll && from)9295 ClientIncidentReport_EnvironmentData_Process_Dll(ClientIncidentReport_EnvironmentData_Process_Dll&& from) noexcept
9296 : ClientIncidentReport_EnvironmentData_Process_Dll() {
9297 *this = ::std::move(from);
9298 }
9299
9300 inline ClientIncidentReport_EnvironmentData_Process_Dll& operator=(const ClientIncidentReport_EnvironmentData_Process_Dll& from) {
9301 CopyFrom(from);
9302 return *this;
9303 }
9304 inline ClientIncidentReport_EnvironmentData_Process_Dll& operator=(ClientIncidentReport_EnvironmentData_Process_Dll&& from) noexcept {
9305 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9306 if (this != &from) InternalSwap(&from);
9307 } else {
9308 CopyFrom(from);
9309 }
9310 return *this;
9311 }
9312
unknown_fields()9313 inline const std::string& unknown_fields() const {
9314 return _internal_metadata_.unknown_fields();
9315 }
mutable_unknown_fields()9316 inline std::string* mutable_unknown_fields() {
9317 return _internal_metadata_.mutable_unknown_fields();
9318 }
9319
9320 static const ClientIncidentReport_EnvironmentData_Process_Dll& default_instance();
9321
9322 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9323 static inline const ClientIncidentReport_EnvironmentData_Process_Dll* internal_default_instance() {
9324 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_Process_Dll*>(
9325 &_ClientIncidentReport_EnvironmentData_Process_Dll_default_instance_);
9326 }
9327 static constexpr int kIndexInFileMessages =
9328 44;
9329
swap(ClientIncidentReport_EnvironmentData_Process_Dll & a,ClientIncidentReport_EnvironmentData_Process_Dll & b)9330 friend void swap(ClientIncidentReport_EnvironmentData_Process_Dll& a, ClientIncidentReport_EnvironmentData_Process_Dll& b) {
9331 a.Swap(&b);
9332 }
Swap(ClientIncidentReport_EnvironmentData_Process_Dll * other)9333 inline void Swap(ClientIncidentReport_EnvironmentData_Process_Dll* other) {
9334 if (other == this) return;
9335 InternalSwap(other);
9336 }
9337
9338 // implements Message ----------------------------------------------
9339
New()9340 inline ClientIncidentReport_EnvironmentData_Process_Dll* New() const final {
9341 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_Dll>(nullptr);
9342 }
9343
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)9344 ClientIncidentReport_EnvironmentData_Process_Dll* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9345 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_Dll>(arena);
9346 }
9347 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
9348 final;
9349 void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from);
9350 void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from);
9351 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9352 bool IsInitialized() const final;
9353
9354 size_t ByteSizeLong() const final;
9355 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9356 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
9357 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9358 void DiscardUnknownFields();
GetCachedSize()9359 int GetCachedSize() const final { return _cached_size_.Get(); }
9360
9361 private:
9362 inline void SharedCtor();
9363 inline void SharedDtor();
9364 void SetCachedSize(int size) const;
9365 void InternalSwap(ClientIncidentReport_EnvironmentData_Process_Dll* other);
9366 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()9367 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9368 return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll";
9369 }
9370 private:
GetArenaNoVirtual()9371 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
9372 return nullptr;
9373 }
MaybeArenaPtr()9374 inline void* MaybeArenaPtr() const {
9375 return nullptr;
9376 }
9377 public:
9378
9379 std::string GetTypeName() const final;
9380
9381 // nested types ----------------------------------------------------
9382
9383 typedef ClientIncidentReport_EnvironmentData_Process_Dll_Feature Feature;
9384 static constexpr Feature UNKNOWN =
9385 ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN;
9386 static constexpr Feature LSP =
9387 ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP;
Feature_IsValid(int value)9388 static inline bool Feature_IsValid(int value) {
9389 return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value);
9390 }
9391 static constexpr Feature Feature_MIN =
9392 ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN;
9393 static constexpr Feature Feature_MAX =
9394 ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX;
9395 static constexpr int Feature_ARRAYSIZE =
9396 ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE;
9397 template<typename T>
Feature_Name(T enum_t_value)9398 static inline const std::string& Feature_Name(T enum_t_value) {
9399 static_assert(::std::is_same<T, Feature>::value ||
9400 ::std::is_integral<T>::value,
9401 "Incorrect type passed to function Feature_Name.");
9402 return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(enum_t_value);
9403 }
Feature_Parse(const std::string & name,Feature * value)9404 static inline bool Feature_Parse(const std::string& name,
9405 Feature* value) {
9406 return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Parse(name, value);
9407 }
9408
9409 // accessors -------------------------------------------------------
9410
9411 enum : int {
9412 kFeatureFieldNumber = 4,
9413 kPathFieldNumber = 1,
9414 kImageHeadersFieldNumber = 5,
9415 kBaseAddressFieldNumber = 2,
9416 kLengthFieldNumber = 3,
9417 };
9418 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.Feature feature = 4;
9419 int feature_size() const;
9420 private:
9421 int _internal_feature_size() const;
9422 public:
9423 void clear_feature();
9424 private:
9425 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature _internal_feature(int index) const;
9426 void _internal_add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value);
9427 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_feature();
9428 public:
9429 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature feature(int index) const;
9430 void set_feature(int index, ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value);
9431 void add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value);
9432 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& feature() const;
9433 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_feature();
9434
9435 // optional string path = 1;
9436 bool has_path() const;
9437 private:
9438 bool _internal_has_path() const;
9439 public:
9440 void clear_path();
9441 const std::string& path() const;
9442 void set_path(const std::string& value);
9443 void set_path(std::string&& value);
9444 void set_path(const char* value);
9445 void set_path(const char* value, size_t size);
9446 std::string* mutable_path();
9447 std::string* release_path();
9448 void set_allocated_path(std::string* path);
9449 private:
9450 const std::string& _internal_path() const;
9451 void _internal_set_path(const std::string& value);
9452 std::string* _internal_mutable_path();
9453 public:
9454
9455 // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5;
9456 bool has_image_headers() const;
9457 private:
9458 bool _internal_has_image_headers() const;
9459 public:
9460 void clear_image_headers();
9461 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const;
9462 ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers();
9463 ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers();
9464 void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers);
9465 private:
9466 const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const;
9467 ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers();
9468 public:
9469
9470 // optional uint64 base_address = 2;
9471 bool has_base_address() const;
9472 private:
9473 bool _internal_has_base_address() const;
9474 public:
9475 void clear_base_address();
9476 ::PROTOBUF_NAMESPACE_ID::uint64 base_address() const;
9477 void set_base_address(::PROTOBUF_NAMESPACE_ID::uint64 value);
9478 private:
9479 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_base_address() const;
9480 void _internal_set_base_address(::PROTOBUF_NAMESPACE_ID::uint64 value);
9481 public:
9482
9483 // optional uint32 length = 3;
9484 bool has_length() const;
9485 private:
9486 bool _internal_has_length() const;
9487 public:
9488 void clear_length();
9489 ::PROTOBUF_NAMESPACE_ID::uint32 length() const;
9490 void set_length(::PROTOBUF_NAMESPACE_ID::uint32 value);
9491 private:
9492 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_length() const;
9493 void _internal_set_length(::PROTOBUF_NAMESPACE_ID::uint32 value);
9494 public:
9495
9496 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll)
9497 private:
9498 class _Internal;
9499
9500 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
9501 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
9502 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9503 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> feature_;
9504 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
9505 ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_;
9506 ::PROTOBUF_NAMESPACE_ID::uint64 base_address_;
9507 ::PROTOBUF_NAMESPACE_ID::uint32 length_;
9508 friend struct ::TableStruct_csd_2eproto;
9509 };
9510 // -------------------------------------------------------------------
9511
9512 class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification :
9513 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification) */ {
9514 public:
9515 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification();
9516 virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification();
9517
9518 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from);
ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification && from)9519 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification&& from) noexcept
9520 : ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification() {
9521 *this = ::std::move(from);
9522 }
9523
9524 inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from) {
9525 CopyFrom(from);
9526 return *this;
9527 }
9528 inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& operator=(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification&& from) noexcept {
9529 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9530 if (this != &from) InternalSwap(&from);
9531 } else {
9532 CopyFrom(from);
9533 }
9534 return *this;
9535 }
9536
unknown_fields()9537 inline const std::string& unknown_fields() const {
9538 return _internal_metadata_.unknown_fields();
9539 }
mutable_unknown_fields()9540 inline std::string* mutable_unknown_fields() {
9541 return _internal_metadata_.mutable_unknown_fields();
9542 }
9543
9544 static const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& default_instance();
9545
9546 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9547 static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* internal_default_instance() {
9548 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification*>(
9549 &_ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification_default_instance_);
9550 }
9551 static constexpr int kIndexInFileMessages =
9552 45;
9553
swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification & a,ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification & b)9554 friend void swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& a, ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& b) {
9555 a.Swap(&b);
9556 }
Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification * other)9557 inline void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* other) {
9558 if (other == this) return;
9559 InternalSwap(other);
9560 }
9561
9562 // implements Message ----------------------------------------------
9563
New()9564 inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* New() const final {
9565 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(nullptr);
9566 }
9567
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)9568 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9569 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(arena);
9570 }
9571 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
9572 final;
9573 void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from);
9574 void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from);
9575 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9576 bool IsInitialized() const final;
9577
9578 size_t ByteSizeLong() const final;
9579 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9580 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
9581 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9582 void DiscardUnknownFields();
GetCachedSize()9583 int GetCachedSize() const final { return _cached_size_.Get(); }
9584
9585 private:
9586 inline void SharedCtor();
9587 inline void SharedDtor();
9588 void SetCachedSize(int size) const;
9589 void InternalSwap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* other);
9590 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()9591 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9592 return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification";
9593 }
9594 private:
GetArenaNoVirtual()9595 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
9596 return nullptr;
9597 }
MaybeArenaPtr()9598 inline void* MaybeArenaPtr() const {
9599 return nullptr;
9600 }
9601 public:
9602
9603 std::string GetTypeName() const final;
9604
9605 // nested types ----------------------------------------------------
9606
9607 // accessors -------------------------------------------------------
9608
9609 enum : int {
9610 kModifiedBytesFieldNumber = 3,
9611 kExportNameFieldNumber = 4,
9612 kFileOffsetFieldNumber = 1,
9613 kByteCountFieldNumber = 2,
9614 };
9615 // optional bytes modified_bytes = 3;
9616 bool has_modified_bytes() const;
9617 private:
9618 bool _internal_has_modified_bytes() const;
9619 public:
9620 void clear_modified_bytes();
9621 const std::string& modified_bytes() const;
9622 void set_modified_bytes(const std::string& value);
9623 void set_modified_bytes(std::string&& value);
9624 void set_modified_bytes(const char* value);
9625 void set_modified_bytes(const void* value, size_t size);
9626 std::string* mutable_modified_bytes();
9627 std::string* release_modified_bytes();
9628 void set_allocated_modified_bytes(std::string* modified_bytes);
9629 private:
9630 const std::string& _internal_modified_bytes() const;
9631 void _internal_set_modified_bytes(const std::string& value);
9632 std::string* _internal_mutable_modified_bytes();
9633 public:
9634
9635 // optional string export_name = 4;
9636 bool has_export_name() const;
9637 private:
9638 bool _internal_has_export_name() const;
9639 public:
9640 void clear_export_name();
9641 const std::string& export_name() const;
9642 void set_export_name(const std::string& value);
9643 void set_export_name(std::string&& value);
9644 void set_export_name(const char* value);
9645 void set_export_name(const char* value, size_t size);
9646 std::string* mutable_export_name();
9647 std::string* release_export_name();
9648 void set_allocated_export_name(std::string* export_name);
9649 private:
9650 const std::string& _internal_export_name() const;
9651 void _internal_set_export_name(const std::string& value);
9652 std::string* _internal_mutable_export_name();
9653 public:
9654
9655 // optional uint32 file_offset = 1;
9656 bool has_file_offset() const;
9657 private:
9658 bool _internal_has_file_offset() const;
9659 public:
9660 void clear_file_offset();
9661 ::PROTOBUF_NAMESPACE_ID::uint32 file_offset() const;
9662 void set_file_offset(::PROTOBUF_NAMESPACE_ID::uint32 value);
9663 private:
9664 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_file_offset() const;
9665 void _internal_set_file_offset(::PROTOBUF_NAMESPACE_ID::uint32 value);
9666 public:
9667
9668 // optional int32 byte_count = 2;
9669 bool has_byte_count() const;
9670 private:
9671 bool _internal_has_byte_count() const;
9672 public:
9673 void clear_byte_count();
9674 ::PROTOBUF_NAMESPACE_ID::int32 byte_count() const;
9675 void set_byte_count(::PROTOBUF_NAMESPACE_ID::int32 value);
9676 private:
9677 ::PROTOBUF_NAMESPACE_ID::int32 _internal_byte_count() const;
9678 void _internal_set_byte_count(::PROTOBUF_NAMESPACE_ID::int32 value);
9679 public:
9680
9681 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification)
9682 private:
9683 class _Internal;
9684
9685 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
9686 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
9687 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9688 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr modified_bytes_;
9689 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr export_name_;
9690 ::PROTOBUF_NAMESPACE_ID::uint32 file_offset_;
9691 ::PROTOBUF_NAMESPACE_ID::int32 byte_count_;
9692 friend struct ::TableStruct_csd_2eproto;
9693 };
9694 // -------------------------------------------------------------------
9695
9696 class ClientIncidentReport_EnvironmentData_Process_ModuleState :
9697 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState) */ {
9698 public:
9699 ClientIncidentReport_EnvironmentData_Process_ModuleState();
9700 virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState();
9701
9702 ClientIncidentReport_EnvironmentData_Process_ModuleState(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from);
ClientIncidentReport_EnvironmentData_Process_ModuleState(ClientIncidentReport_EnvironmentData_Process_ModuleState && from)9703 ClientIncidentReport_EnvironmentData_Process_ModuleState(ClientIncidentReport_EnvironmentData_Process_ModuleState&& from) noexcept
9704 : ClientIncidentReport_EnvironmentData_Process_ModuleState() {
9705 *this = ::std::move(from);
9706 }
9707
9708 inline ClientIncidentReport_EnvironmentData_Process_ModuleState& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from) {
9709 CopyFrom(from);
9710 return *this;
9711 }
9712 inline ClientIncidentReport_EnvironmentData_Process_ModuleState& operator=(ClientIncidentReport_EnvironmentData_Process_ModuleState&& from) noexcept {
9713 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9714 if (this != &from) InternalSwap(&from);
9715 } else {
9716 CopyFrom(from);
9717 }
9718 return *this;
9719 }
9720
unknown_fields()9721 inline const std::string& unknown_fields() const {
9722 return _internal_metadata_.unknown_fields();
9723 }
mutable_unknown_fields()9724 inline std::string* mutable_unknown_fields() {
9725 return _internal_metadata_.mutable_unknown_fields();
9726 }
9727
9728 static const ClientIncidentReport_EnvironmentData_Process_ModuleState& default_instance();
9729
9730 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9731 static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState* internal_default_instance() {
9732 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_Process_ModuleState*>(
9733 &_ClientIncidentReport_EnvironmentData_Process_ModuleState_default_instance_);
9734 }
9735 static constexpr int kIndexInFileMessages =
9736 46;
9737
swap(ClientIncidentReport_EnvironmentData_Process_ModuleState & a,ClientIncidentReport_EnvironmentData_Process_ModuleState & b)9738 friend void swap(ClientIncidentReport_EnvironmentData_Process_ModuleState& a, ClientIncidentReport_EnvironmentData_Process_ModuleState& b) {
9739 a.Swap(&b);
9740 }
Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState * other)9741 inline void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState* other) {
9742 if (other == this) return;
9743 InternalSwap(other);
9744 }
9745
9746 // implements Message ----------------------------------------------
9747
New()9748 inline ClientIncidentReport_EnvironmentData_Process_ModuleState* New() const final {
9749 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_ModuleState>(nullptr);
9750 }
9751
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)9752 ClientIncidentReport_EnvironmentData_Process_ModuleState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9753 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process_ModuleState>(arena);
9754 }
9755 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
9756 final;
9757 void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from);
9758 void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from);
9759 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9760 bool IsInitialized() const final;
9761
9762 size_t ByteSizeLong() const final;
9763 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9764 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
9765 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9766 void DiscardUnknownFields();
GetCachedSize()9767 int GetCachedSize() const final { return _cached_size_.Get(); }
9768
9769 private:
9770 inline void SharedCtor();
9771 inline void SharedDtor();
9772 void SetCachedSize(int size) const;
9773 void InternalSwap(ClientIncidentReport_EnvironmentData_Process_ModuleState* other);
9774 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()9775 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9776 return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState";
9777 }
9778 private:
GetArenaNoVirtual()9779 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
9780 return nullptr;
9781 }
MaybeArenaPtr()9782 inline void* MaybeArenaPtr() const {
9783 return nullptr;
9784 }
9785 public:
9786
9787 std::string GetTypeName() const final;
9788
9789 // nested types ----------------------------------------------------
9790
9791 typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification Modification;
9792
9793 typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ModifiedState;
9794 static constexpr ModifiedState UNKNOWN =
9795 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN;
9796 static constexpr ModifiedState MODULE_STATE_UNKNOWN =
9797 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNKNOWN;
9798 static constexpr ModifiedState MODULE_STATE_UNMODIFIED =
9799 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNMODIFIED;
9800 static constexpr ModifiedState MODULE_STATE_MODIFIED =
9801 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED;
ModifiedState_IsValid(int value)9802 static inline bool ModifiedState_IsValid(int value) {
9803 return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(value);
9804 }
9805 static constexpr ModifiedState ModifiedState_MIN =
9806 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN;
9807 static constexpr ModifiedState ModifiedState_MAX =
9808 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX;
9809 static constexpr int ModifiedState_ARRAYSIZE =
9810 ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE;
9811 template<typename T>
ModifiedState_Name(T enum_t_value)9812 static inline const std::string& ModifiedState_Name(T enum_t_value) {
9813 static_assert(::std::is_same<T, ModifiedState>::value ||
9814 ::std::is_integral<T>::value,
9815 "Incorrect type passed to function ModifiedState_Name.");
9816 return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(enum_t_value);
9817 }
ModifiedState_Parse(const std::string & name,ModifiedState * value)9818 static inline bool ModifiedState_Parse(const std::string& name,
9819 ModifiedState* value) {
9820 return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Parse(name, value);
9821 }
9822
9823 // accessors -------------------------------------------------------
9824
9825 enum : int {
9826 kOBSOLETEModifiedExportFieldNumber = 3,
9827 kModificationFieldNumber = 4,
9828 kNameFieldNumber = 1,
9829 kModifiedStateFieldNumber = 2,
9830 };
9831 // repeated string OBSOLETE_modified_export = 3;
9832 int obsolete_modified_export_size() const;
9833 private:
9834 int _internal_obsolete_modified_export_size() const;
9835 public:
9836 void clear_obsolete_modified_export();
9837 const std::string& obsolete_modified_export(int index) const;
9838 std::string* mutable_obsolete_modified_export(int index);
9839 void set_obsolete_modified_export(int index, const std::string& value);
9840 void set_obsolete_modified_export(int index, std::string&& value);
9841 void set_obsolete_modified_export(int index, const char* value);
9842 void set_obsolete_modified_export(int index, const char* value, size_t size);
9843 std::string* add_obsolete_modified_export();
9844 void add_obsolete_modified_export(const std::string& value);
9845 void add_obsolete_modified_export(std::string&& value);
9846 void add_obsolete_modified_export(const char* value);
9847 void add_obsolete_modified_export(const char* value, size_t size);
9848 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& obsolete_modified_export() const;
9849 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_obsolete_modified_export();
9850 private:
9851 const std::string& _internal_obsolete_modified_export(int index) const;
9852 std::string* _internal_add_obsolete_modified_export();
9853 public:
9854
9855 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification modification = 4;
9856 int modification_size() const;
9857 private:
9858 int _internal_modification_size() const;
9859 public:
9860 void clear_modification();
9861 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* mutable_modification(int index);
9862 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >*
9863 mutable_modification();
9864 private:
9865 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& _internal_modification(int index) const;
9866 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* _internal_add_modification();
9867 public:
9868 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& modification(int index) const;
9869 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* add_modification();
9870 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >&
9871 modification() const;
9872
9873 // optional string name = 1;
9874 bool has_name() const;
9875 private:
9876 bool _internal_has_name() const;
9877 public:
9878 void clear_name();
9879 const std::string& name() const;
9880 void set_name(const std::string& value);
9881 void set_name(std::string&& value);
9882 void set_name(const char* value);
9883 void set_name(const char* value, size_t size);
9884 std::string* mutable_name();
9885 std::string* release_name();
9886 void set_allocated_name(std::string* name);
9887 private:
9888 const std::string& _internal_name() const;
9889 void _internal_set_name(const std::string& value);
9890 std::string* _internal_mutable_name();
9891 public:
9892
9893 // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.ModifiedState modified_state = 2;
9894 bool has_modified_state() const;
9895 private:
9896 bool _internal_has_modified_state() const;
9897 public:
9898 void clear_modified_state();
9899 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState modified_state() const;
9900 void set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value);
9901 private:
9902 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState _internal_modified_state() const;
9903 void _internal_set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value);
9904 public:
9905
9906 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState)
9907 private:
9908 class _Internal;
9909
9910 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
9911 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
9912 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9913 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> obsolete_modified_export_;
9914 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification > modification_;
9915 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
9916 int modified_state_;
9917 friend struct ::TableStruct_csd_2eproto;
9918 };
9919 // -------------------------------------------------------------------
9920
9921 class ClientIncidentReport_EnvironmentData_Process :
9922 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process) */ {
9923 public:
9924 ClientIncidentReport_EnvironmentData_Process();
9925 virtual ~ClientIncidentReport_EnvironmentData_Process();
9926
9927 ClientIncidentReport_EnvironmentData_Process(const ClientIncidentReport_EnvironmentData_Process& from);
ClientIncidentReport_EnvironmentData_Process(ClientIncidentReport_EnvironmentData_Process && from)9928 ClientIncidentReport_EnvironmentData_Process(ClientIncidentReport_EnvironmentData_Process&& from) noexcept
9929 : ClientIncidentReport_EnvironmentData_Process() {
9930 *this = ::std::move(from);
9931 }
9932
9933 inline ClientIncidentReport_EnvironmentData_Process& operator=(const ClientIncidentReport_EnvironmentData_Process& from) {
9934 CopyFrom(from);
9935 return *this;
9936 }
9937 inline ClientIncidentReport_EnvironmentData_Process& operator=(ClientIncidentReport_EnvironmentData_Process&& from) noexcept {
9938 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9939 if (this != &from) InternalSwap(&from);
9940 } else {
9941 CopyFrom(from);
9942 }
9943 return *this;
9944 }
9945
unknown_fields()9946 inline const std::string& unknown_fields() const {
9947 return _internal_metadata_.unknown_fields();
9948 }
mutable_unknown_fields()9949 inline std::string* mutable_unknown_fields() {
9950 return _internal_metadata_.mutable_unknown_fields();
9951 }
9952
9953 static const ClientIncidentReport_EnvironmentData_Process& default_instance();
9954
9955 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9956 static inline const ClientIncidentReport_EnvironmentData_Process* internal_default_instance() {
9957 return reinterpret_cast<const ClientIncidentReport_EnvironmentData_Process*>(
9958 &_ClientIncidentReport_EnvironmentData_Process_default_instance_);
9959 }
9960 static constexpr int kIndexInFileMessages =
9961 47;
9962
swap(ClientIncidentReport_EnvironmentData_Process & a,ClientIncidentReport_EnvironmentData_Process & b)9963 friend void swap(ClientIncidentReport_EnvironmentData_Process& a, ClientIncidentReport_EnvironmentData_Process& b) {
9964 a.Swap(&b);
9965 }
Swap(ClientIncidentReport_EnvironmentData_Process * other)9966 inline void Swap(ClientIncidentReport_EnvironmentData_Process* other) {
9967 if (other == this) return;
9968 InternalSwap(other);
9969 }
9970
9971 // implements Message ----------------------------------------------
9972
New()9973 inline ClientIncidentReport_EnvironmentData_Process* New() const final {
9974 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process>(nullptr);
9975 }
9976
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)9977 ClientIncidentReport_EnvironmentData_Process* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9978 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData_Process>(arena);
9979 }
9980 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
9981 final;
9982 void CopyFrom(const ClientIncidentReport_EnvironmentData_Process& from);
9983 void MergeFrom(const ClientIncidentReport_EnvironmentData_Process& from);
9984 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9985 bool IsInitialized() const final;
9986
9987 size_t ByteSizeLong() const final;
9988 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9989 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
9990 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9991 void DiscardUnknownFields();
GetCachedSize()9992 int GetCachedSize() const final { return _cached_size_.Get(); }
9993
9994 private:
9995 inline void SharedCtor();
9996 inline void SharedDtor();
9997 void SetCachedSize(int size) const;
9998 void InternalSwap(ClientIncidentReport_EnvironmentData_Process* other);
9999 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()10000 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
10001 return "safe_browsing.ClientIncidentReport.EnvironmentData.Process";
10002 }
10003 private:
GetArenaNoVirtual()10004 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
10005 return nullptr;
10006 }
MaybeArenaPtr()10007 inline void* MaybeArenaPtr() const {
10008 return nullptr;
10009 }
10010 public:
10011
10012 std::string GetTypeName() const final;
10013
10014 // nested types ----------------------------------------------------
10015
10016 typedef ClientIncidentReport_EnvironmentData_Process_Patch Patch;
10017 typedef ClientIncidentReport_EnvironmentData_Process_NetworkProvider NetworkProvider;
10018 typedef ClientIncidentReport_EnvironmentData_Process_Dll Dll;
10019 typedef ClientIncidentReport_EnvironmentData_Process_ModuleState ModuleState;
10020
10021 typedef ClientIncidentReport_EnvironmentData_Process_Channel Channel;
10022 static constexpr Channel CHANNEL_UNKNOWN =
10023 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN;
10024 static constexpr Channel CHANNEL_CANARY =
10025 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_CANARY;
10026 static constexpr Channel CHANNEL_DEV =
10027 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_DEV;
10028 static constexpr Channel CHANNEL_BETA =
10029 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_BETA;
10030 static constexpr Channel CHANNEL_STABLE =
10031 ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE;
Channel_IsValid(int value)10032 static inline bool Channel_IsValid(int value) {
10033 return ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(value);
10034 }
10035 static constexpr Channel Channel_MIN =
10036 ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN;
10037 static constexpr Channel Channel_MAX =
10038 ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX;
10039 static constexpr int Channel_ARRAYSIZE =
10040 ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE;
10041 template<typename T>
Channel_Name(T enum_t_value)10042 static inline const std::string& Channel_Name(T enum_t_value) {
10043 static_assert(::std::is_same<T, Channel>::value ||
10044 ::std::is_integral<T>::value,
10045 "Incorrect type passed to function Channel_Name.");
10046 return ClientIncidentReport_EnvironmentData_Process_Channel_Name(enum_t_value);
10047 }
Channel_Parse(const std::string & name,Channel * value)10048 static inline bool Channel_Parse(const std::string& name,
10049 Channel* value) {
10050 return ClientIncidentReport_EnvironmentData_Process_Channel_Parse(name, value);
10051 }
10052
10053 // accessors -------------------------------------------------------
10054
10055 enum : int {
10056 kOBSOLETEDllsFieldNumber = 2,
10057 kPatchesFieldNumber = 3,
10058 kNetworkProvidersFieldNumber = 4,
10059 kDllFieldNumber = 9,
10060 kBlacklistedDllFieldNumber = 10,
10061 kModuleStateFieldNumber = 11,
10062 kVersionFieldNumber = 1,
10063 kUptimeMsecFieldNumber = 6,
10064 kChromeUpdateChannelFieldNumber = 5,
10065 kMetricsConsentFieldNumber = 7,
10066 kOBSOLETEExtendedConsentFieldNumber = 8,
10067 kOBSOLETEFieldTrialParticipantFieldNumber = 12,
10068 };
10069 // repeated string OBSOLETE_dlls = 2;
10070 int obsolete_dlls_size() const;
10071 private:
10072 int _internal_obsolete_dlls_size() const;
10073 public:
10074 void clear_obsolete_dlls();
10075 const std::string& obsolete_dlls(int index) const;
10076 std::string* mutable_obsolete_dlls(int index);
10077 void set_obsolete_dlls(int index, const std::string& value);
10078 void set_obsolete_dlls(int index, std::string&& value);
10079 void set_obsolete_dlls(int index, const char* value);
10080 void set_obsolete_dlls(int index, const char* value, size_t size);
10081 std::string* add_obsolete_dlls();
10082 void add_obsolete_dlls(const std::string& value);
10083 void add_obsolete_dlls(std::string&& value);
10084 void add_obsolete_dlls(const char* value);
10085 void add_obsolete_dlls(const char* value, size_t size);
10086 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& obsolete_dlls() const;
10087 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_obsolete_dlls();
10088 private:
10089 const std::string& _internal_obsolete_dlls(int index) const;
10090 std::string* _internal_add_obsolete_dlls();
10091 public:
10092
10093 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch patches = 3;
10094 int patches_size() const;
10095 private:
10096 int _internal_patches_size() const;
10097 public:
10098 void clear_patches();
10099 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* mutable_patches(int index);
10100 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >*
10101 mutable_patches();
10102 private:
10103 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& _internal_patches(int index) const;
10104 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* _internal_add_patches();
10105 public:
10106 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& patches(int index) const;
10107 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* add_patches();
10108 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >&
10109 patches() const;
10110
10111 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider network_providers = 4;
10112 int network_providers_size() const;
10113 private:
10114 int _internal_network_providers_size() const;
10115 public:
10116 void clear_network_providers();
10117 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* mutable_network_providers(int index);
10118 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >*
10119 mutable_network_providers();
10120 private:
10121 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& _internal_network_providers(int index) const;
10122 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* _internal_add_network_providers();
10123 public:
10124 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& network_providers(int index) const;
10125 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* add_network_providers();
10126 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >&
10127 network_providers() const;
10128
10129 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll dll = 9;
10130 int dll_size() const;
10131 private:
10132 int _internal_dll_size() const;
10133 public:
10134 void clear_dll();
10135 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* mutable_dll(int index);
10136 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >*
10137 mutable_dll();
10138 private:
10139 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& _internal_dll(int index) const;
10140 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* _internal_add_dll();
10141 public:
10142 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& dll(int index) const;
10143 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* add_dll();
10144 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >&
10145 dll() const;
10146
10147 // repeated string blacklisted_dll = 10;
10148 int blacklisted_dll_size() const;
10149 private:
10150 int _internal_blacklisted_dll_size() const;
10151 public:
10152 void clear_blacklisted_dll();
10153 const std::string& blacklisted_dll(int index) const;
10154 std::string* mutable_blacklisted_dll(int index);
10155 void set_blacklisted_dll(int index, const std::string& value);
10156 void set_blacklisted_dll(int index, std::string&& value);
10157 void set_blacklisted_dll(int index, const char* value);
10158 void set_blacklisted_dll(int index, const char* value, size_t size);
10159 std::string* add_blacklisted_dll();
10160 void add_blacklisted_dll(const std::string& value);
10161 void add_blacklisted_dll(std::string&& value);
10162 void add_blacklisted_dll(const char* value);
10163 void add_blacklisted_dll(const char* value, size_t size);
10164 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& blacklisted_dll() const;
10165 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_blacklisted_dll();
10166 private:
10167 const std::string& _internal_blacklisted_dll(int index) const;
10168 std::string* _internal_add_blacklisted_dll();
10169 public:
10170
10171 // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState module_state = 11;
10172 int module_state_size() const;
10173 private:
10174 int _internal_module_state_size() const;
10175 public:
10176 void clear_module_state();
10177 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* mutable_module_state(int index);
10178 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >*
10179 mutable_module_state();
10180 private:
10181 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& _internal_module_state(int index) const;
10182 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* _internal_add_module_state();
10183 public:
10184 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& module_state(int index) const;
10185 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* add_module_state();
10186 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >&
10187 module_state() const;
10188
10189 // optional string version = 1;
10190 bool has_version() const;
10191 private:
10192 bool _internal_has_version() const;
10193 public:
10194 void clear_version();
10195 const std::string& version() const;
10196 void set_version(const std::string& value);
10197 void set_version(std::string&& value);
10198 void set_version(const char* value);
10199 void set_version(const char* value, size_t size);
10200 std::string* mutable_version();
10201 std::string* release_version();
10202 void set_allocated_version(std::string* version);
10203 private:
10204 const std::string& _internal_version() const;
10205 void _internal_set_version(const std::string& value);
10206 std::string* _internal_mutable_version();
10207 public:
10208
10209 // optional int64 uptime_msec = 6;
10210 bool has_uptime_msec() const;
10211 private:
10212 bool _internal_has_uptime_msec() const;
10213 public:
10214 void clear_uptime_msec();
10215 ::PROTOBUF_NAMESPACE_ID::int64 uptime_msec() const;
10216 void set_uptime_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
10217 private:
10218 ::PROTOBUF_NAMESPACE_ID::int64 _internal_uptime_msec() const;
10219 void _internal_set_uptime_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
10220 public:
10221
10222 // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Channel chrome_update_channel = 5;
10223 bool has_chrome_update_channel() const;
10224 private:
10225 bool _internal_has_chrome_update_channel() const;
10226 public:
10227 void clear_chrome_update_channel();
10228 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel chrome_update_channel() const;
10229 void set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value);
10230 private:
10231 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel _internal_chrome_update_channel() const;
10232 void _internal_set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value);
10233 public:
10234
10235 // optional bool metrics_consent = 7;
10236 bool has_metrics_consent() const;
10237 private:
10238 bool _internal_has_metrics_consent() const;
10239 public:
10240 void clear_metrics_consent();
10241 bool metrics_consent() const;
10242 void set_metrics_consent(bool value);
10243 private:
10244 bool _internal_metrics_consent() const;
10245 void _internal_set_metrics_consent(bool value);
10246 public:
10247
10248 // optional bool OBSOLETE_extended_consent = 8;
10249 bool has_obsolete_extended_consent() const;
10250 private:
10251 bool _internal_has_obsolete_extended_consent() const;
10252 public:
10253 void clear_obsolete_extended_consent();
10254 bool obsolete_extended_consent() const;
10255 void set_obsolete_extended_consent(bool value);
10256 private:
10257 bool _internal_obsolete_extended_consent() const;
10258 void _internal_set_obsolete_extended_consent(bool value);
10259 public:
10260
10261 // optional bool OBSOLETE_field_trial_participant = 12;
10262 bool has_obsolete_field_trial_participant() const;
10263 private:
10264 bool _internal_has_obsolete_field_trial_participant() const;
10265 public:
10266 void clear_obsolete_field_trial_participant();
10267 bool obsolete_field_trial_participant() const;
10268 void set_obsolete_field_trial_participant(bool value);
10269 private:
10270 bool _internal_obsolete_field_trial_participant() const;
10271 void _internal_set_obsolete_field_trial_participant(bool value);
10272 public:
10273
10274 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process)
10275 private:
10276 class _Internal;
10277
10278 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
10279 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
10280 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
10281 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> obsolete_dlls_;
10282 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch > patches_;
10283 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider > network_providers_;
10284 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll > dll_;
10285 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> blacklisted_dll_;
10286 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState > module_state_;
10287 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
10288 ::PROTOBUF_NAMESPACE_ID::int64 uptime_msec_;
10289 int chrome_update_channel_;
10290 bool metrics_consent_;
10291 bool obsolete_extended_consent_;
10292 bool obsolete_field_trial_participant_;
10293 friend struct ::TableStruct_csd_2eproto;
10294 };
10295 // -------------------------------------------------------------------
10296
10297 class ClientIncidentReport_EnvironmentData :
10298 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData) */ {
10299 public:
10300 ClientIncidentReport_EnvironmentData();
10301 virtual ~ClientIncidentReport_EnvironmentData();
10302
10303 ClientIncidentReport_EnvironmentData(const ClientIncidentReport_EnvironmentData& from);
ClientIncidentReport_EnvironmentData(ClientIncidentReport_EnvironmentData && from)10304 ClientIncidentReport_EnvironmentData(ClientIncidentReport_EnvironmentData&& from) noexcept
10305 : ClientIncidentReport_EnvironmentData() {
10306 *this = ::std::move(from);
10307 }
10308
10309 inline ClientIncidentReport_EnvironmentData& operator=(const ClientIncidentReport_EnvironmentData& from) {
10310 CopyFrom(from);
10311 return *this;
10312 }
10313 inline ClientIncidentReport_EnvironmentData& operator=(ClientIncidentReport_EnvironmentData&& from) noexcept {
10314 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10315 if (this != &from) InternalSwap(&from);
10316 } else {
10317 CopyFrom(from);
10318 }
10319 return *this;
10320 }
10321
unknown_fields()10322 inline const std::string& unknown_fields() const {
10323 return _internal_metadata_.unknown_fields();
10324 }
mutable_unknown_fields()10325 inline std::string* mutable_unknown_fields() {
10326 return _internal_metadata_.mutable_unknown_fields();
10327 }
10328
10329 static const ClientIncidentReport_EnvironmentData& default_instance();
10330
10331 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10332 static inline const ClientIncidentReport_EnvironmentData* internal_default_instance() {
10333 return reinterpret_cast<const ClientIncidentReport_EnvironmentData*>(
10334 &_ClientIncidentReport_EnvironmentData_default_instance_);
10335 }
10336 static constexpr int kIndexInFileMessages =
10337 48;
10338
swap(ClientIncidentReport_EnvironmentData & a,ClientIncidentReport_EnvironmentData & b)10339 friend void swap(ClientIncidentReport_EnvironmentData& a, ClientIncidentReport_EnvironmentData& b) {
10340 a.Swap(&b);
10341 }
Swap(ClientIncidentReport_EnvironmentData * other)10342 inline void Swap(ClientIncidentReport_EnvironmentData* other) {
10343 if (other == this) return;
10344 InternalSwap(other);
10345 }
10346
10347 // implements Message ----------------------------------------------
10348
New()10349 inline ClientIncidentReport_EnvironmentData* New() const final {
10350 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData>(nullptr);
10351 }
10352
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)10353 ClientIncidentReport_EnvironmentData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
10354 return CreateMaybeMessage<ClientIncidentReport_EnvironmentData>(arena);
10355 }
10356 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
10357 final;
10358 void CopyFrom(const ClientIncidentReport_EnvironmentData& from);
10359 void MergeFrom(const ClientIncidentReport_EnvironmentData& from);
10360 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
10361 bool IsInitialized() const final;
10362
10363 size_t ByteSizeLong() const final;
10364 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
10365 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
10366 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
10367 void DiscardUnknownFields();
GetCachedSize()10368 int GetCachedSize() const final { return _cached_size_.Get(); }
10369
10370 private:
10371 inline void SharedCtor();
10372 inline void SharedDtor();
10373 void SetCachedSize(int size) const;
10374 void InternalSwap(ClientIncidentReport_EnvironmentData* other);
10375 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()10376 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
10377 return "safe_browsing.ClientIncidentReport.EnvironmentData";
10378 }
10379 private:
GetArenaNoVirtual()10380 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
10381 return nullptr;
10382 }
MaybeArenaPtr()10383 inline void* MaybeArenaPtr() const {
10384 return nullptr;
10385 }
10386 public:
10387
10388 std::string GetTypeName() const final;
10389
10390 // nested types ----------------------------------------------------
10391
10392 typedef ClientIncidentReport_EnvironmentData_OS OS;
10393 typedef ClientIncidentReport_EnvironmentData_Machine Machine;
10394 typedef ClientIncidentReport_EnvironmentData_Process Process;
10395
10396 // accessors -------------------------------------------------------
10397
10398 enum : int {
10399 kOsFieldNumber = 1,
10400 kMachineFieldNumber = 2,
10401 kProcessFieldNumber = 3,
10402 };
10403 // optional .safe_browsing.ClientIncidentReport.EnvironmentData.OS os = 1;
10404 bool has_os() const;
10405 private:
10406 bool _internal_has_os() const;
10407 public:
10408 void clear_os();
10409 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& os() const;
10410 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* release_os();
10411 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* mutable_os();
10412 void set_allocated_os(::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os);
10413 private:
10414 const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& _internal_os() const;
10415 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* _internal_mutable_os();
10416 public:
10417
10418 // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Machine machine = 2;
10419 bool has_machine() const;
10420 private:
10421 bool _internal_has_machine() const;
10422 public:
10423 void clear_machine();
10424 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& machine() const;
10425 ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* release_machine();
10426 ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* mutable_machine();
10427 void set_allocated_machine(::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine);
10428 private:
10429 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& _internal_machine() const;
10430 ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* _internal_mutable_machine();
10431 public:
10432
10433 // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process process = 3;
10434 bool has_process() const;
10435 private:
10436 bool _internal_has_process() const;
10437 public:
10438 void clear_process();
10439 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& process() const;
10440 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* release_process();
10441 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* mutable_process();
10442 void set_allocated_process(::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process);
10443 private:
10444 const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& _internal_process() const;
10445 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* _internal_mutable_process();
10446 public:
10447
10448 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData)
10449 private:
10450 class _Internal;
10451
10452 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
10453 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
10454 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
10455 ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os_;
10456 ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine_;
10457 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process_;
10458 friend struct ::TableStruct_csd_2eproto;
10459 };
10460 // -------------------------------------------------------------------
10461
10462 class ClientIncidentReport_ExtensionData_ExtensionInfo :
10463 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo) */ {
10464 public:
10465 ClientIncidentReport_ExtensionData_ExtensionInfo();
10466 virtual ~ClientIncidentReport_ExtensionData_ExtensionInfo();
10467
10468 ClientIncidentReport_ExtensionData_ExtensionInfo(const ClientIncidentReport_ExtensionData_ExtensionInfo& from);
ClientIncidentReport_ExtensionData_ExtensionInfo(ClientIncidentReport_ExtensionData_ExtensionInfo && from)10469 ClientIncidentReport_ExtensionData_ExtensionInfo(ClientIncidentReport_ExtensionData_ExtensionInfo&& from) noexcept
10470 : ClientIncidentReport_ExtensionData_ExtensionInfo() {
10471 *this = ::std::move(from);
10472 }
10473
10474 inline ClientIncidentReport_ExtensionData_ExtensionInfo& operator=(const ClientIncidentReport_ExtensionData_ExtensionInfo& from) {
10475 CopyFrom(from);
10476 return *this;
10477 }
10478 inline ClientIncidentReport_ExtensionData_ExtensionInfo& operator=(ClientIncidentReport_ExtensionData_ExtensionInfo&& from) noexcept {
10479 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10480 if (this != &from) InternalSwap(&from);
10481 } else {
10482 CopyFrom(from);
10483 }
10484 return *this;
10485 }
10486
unknown_fields()10487 inline const std::string& unknown_fields() const {
10488 return _internal_metadata_.unknown_fields();
10489 }
mutable_unknown_fields()10490 inline std::string* mutable_unknown_fields() {
10491 return _internal_metadata_.mutable_unknown_fields();
10492 }
10493
10494 static const ClientIncidentReport_ExtensionData_ExtensionInfo& default_instance();
10495
10496 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10497 static inline const ClientIncidentReport_ExtensionData_ExtensionInfo* internal_default_instance() {
10498 return reinterpret_cast<const ClientIncidentReport_ExtensionData_ExtensionInfo*>(
10499 &_ClientIncidentReport_ExtensionData_ExtensionInfo_default_instance_);
10500 }
10501 static constexpr int kIndexInFileMessages =
10502 49;
10503
swap(ClientIncidentReport_ExtensionData_ExtensionInfo & a,ClientIncidentReport_ExtensionData_ExtensionInfo & b)10504 friend void swap(ClientIncidentReport_ExtensionData_ExtensionInfo& a, ClientIncidentReport_ExtensionData_ExtensionInfo& b) {
10505 a.Swap(&b);
10506 }
Swap(ClientIncidentReport_ExtensionData_ExtensionInfo * other)10507 inline void Swap(ClientIncidentReport_ExtensionData_ExtensionInfo* other) {
10508 if (other == this) return;
10509 InternalSwap(other);
10510 }
10511
10512 // implements Message ----------------------------------------------
10513
New()10514 inline ClientIncidentReport_ExtensionData_ExtensionInfo* New() const final {
10515 return CreateMaybeMessage<ClientIncidentReport_ExtensionData_ExtensionInfo>(nullptr);
10516 }
10517
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)10518 ClientIncidentReport_ExtensionData_ExtensionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
10519 return CreateMaybeMessage<ClientIncidentReport_ExtensionData_ExtensionInfo>(arena);
10520 }
10521 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
10522 final;
10523 void CopyFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from);
10524 void MergeFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from);
10525 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
10526 bool IsInitialized() const final;
10527
10528 size_t ByteSizeLong() const final;
10529 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
10530 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
10531 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
10532 void DiscardUnknownFields();
GetCachedSize()10533 int GetCachedSize() const final { return _cached_size_.Get(); }
10534
10535 private:
10536 inline void SharedCtor();
10537 inline void SharedDtor();
10538 void SetCachedSize(int size) const;
10539 void InternalSwap(ClientIncidentReport_ExtensionData_ExtensionInfo* other);
10540 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()10541 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
10542 return "safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo";
10543 }
10544 private:
GetArenaNoVirtual()10545 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
10546 return nullptr;
10547 }
MaybeArenaPtr()10548 inline void* MaybeArenaPtr() const {
10549 return nullptr;
10550 }
10551 public:
10552
10553 std::string GetTypeName() const final;
10554
10555 // nested types ----------------------------------------------------
10556
10557 typedef ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ExtensionState;
10558 static constexpr ExtensionState STATE_UNKNOWN =
10559 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN;
10560 static constexpr ExtensionState STATE_ENABLED =
10561 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_ENABLED;
10562 static constexpr ExtensionState STATE_DISABLED =
10563 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_DISABLED;
10564 static constexpr ExtensionState STATE_BLACKLISTED =
10565 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLACKLISTED;
10566 static constexpr ExtensionState STATE_BLOCKED =
10567 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLOCKED;
10568 static constexpr ExtensionState STATE_TERMINATED =
10569 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED;
ExtensionState_IsValid(int value)10570 static inline bool ExtensionState_IsValid(int value) {
10571 return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(value);
10572 }
10573 static constexpr ExtensionState ExtensionState_MIN =
10574 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN;
10575 static constexpr ExtensionState ExtensionState_MAX =
10576 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX;
10577 static constexpr int ExtensionState_ARRAYSIZE =
10578 ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE;
10579 template<typename T>
ExtensionState_Name(T enum_t_value)10580 static inline const std::string& ExtensionState_Name(T enum_t_value) {
10581 static_assert(::std::is_same<T, ExtensionState>::value ||
10582 ::std::is_integral<T>::value,
10583 "Incorrect type passed to function ExtensionState_Name.");
10584 return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(enum_t_value);
10585 }
ExtensionState_Parse(const std::string & name,ExtensionState * value)10586 static inline bool ExtensionState_Parse(const std::string& name,
10587 ExtensionState* value) {
10588 return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Parse(name, value);
10589 }
10590
10591 // accessors -------------------------------------------------------
10592
10593 enum : int {
10594 kIdFieldNumber = 1,
10595 kVersionFieldNumber = 2,
10596 kNameFieldNumber = 3,
10597 kDescriptionFieldNumber = 4,
10598 kUpdateUrlFieldNumber = 7,
10599 kManifestFieldNumber = 19,
10600 kStateFieldNumber = 5,
10601 kTypeFieldNumber = 6,
10602 kHasSignatureValidationFieldNumber = 8,
10603 kSignatureIsValidFieldNumber = 9,
10604 kInstalledByCustodianFieldNumber = 10,
10605 kInstalledByDefaultFieldNumber = 11,
10606 kInstalledByOemFieldNumber = 12,
10607 kFromBookmarkFieldNumber = 13,
10608 kFromWebstoreFieldNumber = 14,
10609 kConvertedFromUserScriptFieldNumber = 15,
10610 kInstallTimeMsecFieldNumber = 17,
10611 kMayBeUntrustedFieldNumber = 16,
10612 kManifestLocationTypeFieldNumber = 18,
10613 };
10614 // optional string id = 1;
10615 bool has_id() const;
10616 private:
10617 bool _internal_has_id() const;
10618 public:
10619 void clear_id();
10620 const std::string& id() const;
10621 void set_id(const std::string& value);
10622 void set_id(std::string&& value);
10623 void set_id(const char* value);
10624 void set_id(const char* value, size_t size);
10625 std::string* mutable_id();
10626 std::string* release_id();
10627 void set_allocated_id(std::string* id);
10628 private:
10629 const std::string& _internal_id() const;
10630 void _internal_set_id(const std::string& value);
10631 std::string* _internal_mutable_id();
10632 public:
10633
10634 // optional string version = 2;
10635 bool has_version() const;
10636 private:
10637 bool _internal_has_version() const;
10638 public:
10639 void clear_version();
10640 const std::string& version() const;
10641 void set_version(const std::string& value);
10642 void set_version(std::string&& value);
10643 void set_version(const char* value);
10644 void set_version(const char* value, size_t size);
10645 std::string* mutable_version();
10646 std::string* release_version();
10647 void set_allocated_version(std::string* version);
10648 private:
10649 const std::string& _internal_version() const;
10650 void _internal_set_version(const std::string& value);
10651 std::string* _internal_mutable_version();
10652 public:
10653
10654 // optional string name = 3;
10655 bool has_name() const;
10656 private:
10657 bool _internal_has_name() const;
10658 public:
10659 void clear_name();
10660 const std::string& name() const;
10661 void set_name(const std::string& value);
10662 void set_name(std::string&& value);
10663 void set_name(const char* value);
10664 void set_name(const char* value, size_t size);
10665 std::string* mutable_name();
10666 std::string* release_name();
10667 void set_allocated_name(std::string* name);
10668 private:
10669 const std::string& _internal_name() const;
10670 void _internal_set_name(const std::string& value);
10671 std::string* _internal_mutable_name();
10672 public:
10673
10674 // optional string description = 4;
10675 bool has_description() const;
10676 private:
10677 bool _internal_has_description() const;
10678 public:
10679 void clear_description();
10680 const std::string& description() const;
10681 void set_description(const std::string& value);
10682 void set_description(std::string&& value);
10683 void set_description(const char* value);
10684 void set_description(const char* value, size_t size);
10685 std::string* mutable_description();
10686 std::string* release_description();
10687 void set_allocated_description(std::string* description);
10688 private:
10689 const std::string& _internal_description() const;
10690 void _internal_set_description(const std::string& value);
10691 std::string* _internal_mutable_description();
10692 public:
10693
10694 // optional string update_url = 7;
10695 bool has_update_url() const;
10696 private:
10697 bool _internal_has_update_url() const;
10698 public:
10699 void clear_update_url();
10700 const std::string& update_url() const;
10701 void set_update_url(const std::string& value);
10702 void set_update_url(std::string&& value);
10703 void set_update_url(const char* value);
10704 void set_update_url(const char* value, size_t size);
10705 std::string* mutable_update_url();
10706 std::string* release_update_url();
10707 void set_allocated_update_url(std::string* update_url);
10708 private:
10709 const std::string& _internal_update_url() const;
10710 void _internal_set_update_url(const std::string& value);
10711 std::string* _internal_mutable_update_url();
10712 public:
10713
10714 // optional string manifest = 19;
10715 bool has_manifest() const;
10716 private:
10717 bool _internal_has_manifest() const;
10718 public:
10719 void clear_manifest();
10720 const std::string& manifest() const;
10721 void set_manifest(const std::string& value);
10722 void set_manifest(std::string&& value);
10723 void set_manifest(const char* value);
10724 void set_manifest(const char* value, size_t size);
10725 std::string* mutable_manifest();
10726 std::string* release_manifest();
10727 void set_allocated_manifest(std::string* manifest);
10728 private:
10729 const std::string& _internal_manifest() const;
10730 void _internal_set_manifest(const std::string& value);
10731 std::string* _internal_mutable_manifest();
10732 public:
10733
10734 // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.ExtensionState state = 5 [default = STATE_UNKNOWN];
10735 bool has_state() const;
10736 private:
10737 bool _internal_has_state() const;
10738 public:
10739 void clear_state();
10740 ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState state() const;
10741 void set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value);
10742 private:
10743 ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState _internal_state() const;
10744 void _internal_set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value);
10745 public:
10746
10747 // optional int32 type = 6;
10748 bool has_type() const;
10749 private:
10750 bool _internal_has_type() const;
10751 public:
10752 void clear_type();
10753 ::PROTOBUF_NAMESPACE_ID::int32 type() const;
10754 void set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
10755 private:
10756 ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const;
10757 void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value);
10758 public:
10759
10760 // optional bool has_signature_validation = 8;
10761 bool has_has_signature_validation() const;
10762 private:
10763 bool _internal_has_has_signature_validation() const;
10764 public:
10765 void clear_has_signature_validation();
10766 bool has_signature_validation() const;
10767 void set_has_signature_validation(bool value);
10768 private:
10769 bool _internal_has_signature_validation() const;
10770 void _internal_set_has_signature_validation(bool value);
10771 public:
10772
10773 // optional bool signature_is_valid = 9;
10774 bool has_signature_is_valid() const;
10775 private:
10776 bool _internal_has_signature_is_valid() const;
10777 public:
10778 void clear_signature_is_valid();
10779 bool signature_is_valid() const;
10780 void set_signature_is_valid(bool value);
10781 private:
10782 bool _internal_signature_is_valid() const;
10783 void _internal_set_signature_is_valid(bool value);
10784 public:
10785
10786 // optional bool installed_by_custodian = 10;
10787 bool has_installed_by_custodian() const;
10788 private:
10789 bool _internal_has_installed_by_custodian() const;
10790 public:
10791 void clear_installed_by_custodian();
10792 bool installed_by_custodian() const;
10793 void set_installed_by_custodian(bool value);
10794 private:
10795 bool _internal_installed_by_custodian() const;
10796 void _internal_set_installed_by_custodian(bool value);
10797 public:
10798
10799 // optional bool installed_by_default = 11;
10800 bool has_installed_by_default() const;
10801 private:
10802 bool _internal_has_installed_by_default() const;
10803 public:
10804 void clear_installed_by_default();
10805 bool installed_by_default() const;
10806 void set_installed_by_default(bool value);
10807 private:
10808 bool _internal_installed_by_default() const;
10809 void _internal_set_installed_by_default(bool value);
10810 public:
10811
10812 // optional bool installed_by_oem = 12;
10813 bool has_installed_by_oem() const;
10814 private:
10815 bool _internal_has_installed_by_oem() const;
10816 public:
10817 void clear_installed_by_oem();
10818 bool installed_by_oem() const;
10819 void set_installed_by_oem(bool value);
10820 private:
10821 bool _internal_installed_by_oem() const;
10822 void _internal_set_installed_by_oem(bool value);
10823 public:
10824
10825 // optional bool from_bookmark = 13;
10826 bool has_from_bookmark() const;
10827 private:
10828 bool _internal_has_from_bookmark() const;
10829 public:
10830 void clear_from_bookmark();
10831 bool from_bookmark() const;
10832 void set_from_bookmark(bool value);
10833 private:
10834 bool _internal_from_bookmark() const;
10835 void _internal_set_from_bookmark(bool value);
10836 public:
10837
10838 // optional bool from_webstore = 14;
10839 bool has_from_webstore() const;
10840 private:
10841 bool _internal_has_from_webstore() const;
10842 public:
10843 void clear_from_webstore();
10844 bool from_webstore() const;
10845 void set_from_webstore(bool value);
10846 private:
10847 bool _internal_from_webstore() const;
10848 void _internal_set_from_webstore(bool value);
10849 public:
10850
10851 // optional bool converted_from_user_script = 15;
10852 bool has_converted_from_user_script() const;
10853 private:
10854 bool _internal_has_converted_from_user_script() const;
10855 public:
10856 void clear_converted_from_user_script();
10857 bool converted_from_user_script() const;
10858 void set_converted_from_user_script(bool value);
10859 private:
10860 bool _internal_converted_from_user_script() const;
10861 void _internal_set_converted_from_user_script(bool value);
10862 public:
10863
10864 // optional int64 install_time_msec = 17;
10865 bool has_install_time_msec() const;
10866 private:
10867 bool _internal_has_install_time_msec() const;
10868 public:
10869 void clear_install_time_msec();
10870 ::PROTOBUF_NAMESPACE_ID::int64 install_time_msec() const;
10871 void set_install_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
10872 private:
10873 ::PROTOBUF_NAMESPACE_ID::int64 _internal_install_time_msec() const;
10874 void _internal_set_install_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value);
10875 public:
10876
10877 // optional bool may_be_untrusted = 16;
10878 bool has_may_be_untrusted() const;
10879 private:
10880 bool _internal_has_may_be_untrusted() const;
10881 public:
10882 void clear_may_be_untrusted();
10883 bool may_be_untrusted() const;
10884 void set_may_be_untrusted(bool value);
10885 private:
10886 bool _internal_may_be_untrusted() const;
10887 void _internal_set_may_be_untrusted(bool value);
10888 public:
10889
10890 // optional int32 manifest_location_type = 18;
10891 bool has_manifest_location_type() const;
10892 private:
10893 bool _internal_has_manifest_location_type() const;
10894 public:
10895 void clear_manifest_location_type();
10896 ::PROTOBUF_NAMESPACE_ID::int32 manifest_location_type() const;
10897 void set_manifest_location_type(::PROTOBUF_NAMESPACE_ID::int32 value);
10898 private:
10899 ::PROTOBUF_NAMESPACE_ID::int32 _internal_manifest_location_type() const;
10900 void _internal_set_manifest_location_type(::PROTOBUF_NAMESPACE_ID::int32 value);
10901 public:
10902
10903 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo)
10904 private:
10905 class _Internal;
10906
10907 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
10908 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
10909 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
10910 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
10911 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
10912 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
10913 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
10914 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr update_url_;
10915 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manifest_;
10916 int state_;
10917 ::PROTOBUF_NAMESPACE_ID::int32 type_;
10918 bool has_signature_validation_;
10919 bool signature_is_valid_;
10920 bool installed_by_custodian_;
10921 bool installed_by_default_;
10922 bool installed_by_oem_;
10923 bool from_bookmark_;
10924 bool from_webstore_;
10925 bool converted_from_user_script_;
10926 ::PROTOBUF_NAMESPACE_ID::int64 install_time_msec_;
10927 bool may_be_untrusted_;
10928 ::PROTOBUF_NAMESPACE_ID::int32 manifest_location_type_;
10929 friend struct ::TableStruct_csd_2eproto;
10930 };
10931 // -------------------------------------------------------------------
10932
10933 class ClientIncidentReport_ExtensionData :
10934 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.ExtensionData) */ {
10935 public:
10936 ClientIncidentReport_ExtensionData();
10937 virtual ~ClientIncidentReport_ExtensionData();
10938
10939 ClientIncidentReport_ExtensionData(const ClientIncidentReport_ExtensionData& from);
ClientIncidentReport_ExtensionData(ClientIncidentReport_ExtensionData && from)10940 ClientIncidentReport_ExtensionData(ClientIncidentReport_ExtensionData&& from) noexcept
10941 : ClientIncidentReport_ExtensionData() {
10942 *this = ::std::move(from);
10943 }
10944
10945 inline ClientIncidentReport_ExtensionData& operator=(const ClientIncidentReport_ExtensionData& from) {
10946 CopyFrom(from);
10947 return *this;
10948 }
10949 inline ClientIncidentReport_ExtensionData& operator=(ClientIncidentReport_ExtensionData&& from) noexcept {
10950 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10951 if (this != &from) InternalSwap(&from);
10952 } else {
10953 CopyFrom(from);
10954 }
10955 return *this;
10956 }
10957
unknown_fields()10958 inline const std::string& unknown_fields() const {
10959 return _internal_metadata_.unknown_fields();
10960 }
mutable_unknown_fields()10961 inline std::string* mutable_unknown_fields() {
10962 return _internal_metadata_.mutable_unknown_fields();
10963 }
10964
10965 static const ClientIncidentReport_ExtensionData& default_instance();
10966
10967 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10968 static inline const ClientIncidentReport_ExtensionData* internal_default_instance() {
10969 return reinterpret_cast<const ClientIncidentReport_ExtensionData*>(
10970 &_ClientIncidentReport_ExtensionData_default_instance_);
10971 }
10972 static constexpr int kIndexInFileMessages =
10973 50;
10974
swap(ClientIncidentReport_ExtensionData & a,ClientIncidentReport_ExtensionData & b)10975 friend void swap(ClientIncidentReport_ExtensionData& a, ClientIncidentReport_ExtensionData& b) {
10976 a.Swap(&b);
10977 }
Swap(ClientIncidentReport_ExtensionData * other)10978 inline void Swap(ClientIncidentReport_ExtensionData* other) {
10979 if (other == this) return;
10980 InternalSwap(other);
10981 }
10982
10983 // implements Message ----------------------------------------------
10984
New()10985 inline ClientIncidentReport_ExtensionData* New() const final {
10986 return CreateMaybeMessage<ClientIncidentReport_ExtensionData>(nullptr);
10987 }
10988
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)10989 ClientIncidentReport_ExtensionData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
10990 return CreateMaybeMessage<ClientIncidentReport_ExtensionData>(arena);
10991 }
10992 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
10993 final;
10994 void CopyFrom(const ClientIncidentReport_ExtensionData& from);
10995 void MergeFrom(const ClientIncidentReport_ExtensionData& from);
10996 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
10997 bool IsInitialized() const final;
10998
10999 size_t ByteSizeLong() const final;
11000 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
11001 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
11002 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
11003 void DiscardUnknownFields();
GetCachedSize()11004 int GetCachedSize() const final { return _cached_size_.Get(); }
11005
11006 private:
11007 inline void SharedCtor();
11008 inline void SharedDtor();
11009 void SetCachedSize(int size) const;
11010 void InternalSwap(ClientIncidentReport_ExtensionData* other);
11011 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()11012 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
11013 return "safe_browsing.ClientIncidentReport.ExtensionData";
11014 }
11015 private:
GetArenaNoVirtual()11016 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
11017 return nullptr;
11018 }
MaybeArenaPtr()11019 inline void* MaybeArenaPtr() const {
11020 return nullptr;
11021 }
11022 public:
11023
11024 std::string GetTypeName() const final;
11025
11026 // nested types ----------------------------------------------------
11027
11028 typedef ClientIncidentReport_ExtensionData_ExtensionInfo ExtensionInfo;
11029
11030 // accessors -------------------------------------------------------
11031
11032 enum : int {
11033 kLastInstalledExtensionFieldNumber = 1,
11034 };
11035 // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo last_installed_extension = 1;
11036 bool has_last_installed_extension() const;
11037 private:
11038 bool _internal_has_last_installed_extension() const;
11039 public:
11040 void clear_last_installed_extension();
11041 const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& last_installed_extension() const;
11042 ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* release_last_installed_extension();
11043 ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* mutable_last_installed_extension();
11044 void set_allocated_last_installed_extension(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension);
11045 private:
11046 const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& _internal_last_installed_extension() const;
11047 ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* _internal_mutable_last_installed_extension();
11048 public:
11049
11050 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData)
11051 private:
11052 class _Internal;
11053
11054 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
11055 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
11056 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
11057 ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension_;
11058 friend struct ::TableStruct_csd_2eproto;
11059 };
11060 // -------------------------------------------------------------------
11061
11062 class ClientIncidentReport_NonBinaryDownloadDetails :
11063 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails) */ {
11064 public:
11065 ClientIncidentReport_NonBinaryDownloadDetails();
11066 virtual ~ClientIncidentReport_NonBinaryDownloadDetails();
11067
11068 ClientIncidentReport_NonBinaryDownloadDetails(const ClientIncidentReport_NonBinaryDownloadDetails& from);
ClientIncidentReport_NonBinaryDownloadDetails(ClientIncidentReport_NonBinaryDownloadDetails && from)11069 ClientIncidentReport_NonBinaryDownloadDetails(ClientIncidentReport_NonBinaryDownloadDetails&& from) noexcept
11070 : ClientIncidentReport_NonBinaryDownloadDetails() {
11071 *this = ::std::move(from);
11072 }
11073
11074 inline ClientIncidentReport_NonBinaryDownloadDetails& operator=(const ClientIncidentReport_NonBinaryDownloadDetails& from) {
11075 CopyFrom(from);
11076 return *this;
11077 }
11078 inline ClientIncidentReport_NonBinaryDownloadDetails& operator=(ClientIncidentReport_NonBinaryDownloadDetails&& from) noexcept {
11079 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11080 if (this != &from) InternalSwap(&from);
11081 } else {
11082 CopyFrom(from);
11083 }
11084 return *this;
11085 }
11086
unknown_fields()11087 inline const std::string& unknown_fields() const {
11088 return _internal_metadata_.unknown_fields();
11089 }
mutable_unknown_fields()11090 inline std::string* mutable_unknown_fields() {
11091 return _internal_metadata_.mutable_unknown_fields();
11092 }
11093
11094 static const ClientIncidentReport_NonBinaryDownloadDetails& default_instance();
11095
11096 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11097 static inline const ClientIncidentReport_NonBinaryDownloadDetails* internal_default_instance() {
11098 return reinterpret_cast<const ClientIncidentReport_NonBinaryDownloadDetails*>(
11099 &_ClientIncidentReport_NonBinaryDownloadDetails_default_instance_);
11100 }
11101 static constexpr int kIndexInFileMessages =
11102 51;
11103
swap(ClientIncidentReport_NonBinaryDownloadDetails & a,ClientIncidentReport_NonBinaryDownloadDetails & b)11104 friend void swap(ClientIncidentReport_NonBinaryDownloadDetails& a, ClientIncidentReport_NonBinaryDownloadDetails& b) {
11105 a.Swap(&b);
11106 }
Swap(ClientIncidentReport_NonBinaryDownloadDetails * other)11107 inline void Swap(ClientIncidentReport_NonBinaryDownloadDetails* other) {
11108 if (other == this) return;
11109 InternalSwap(other);
11110 }
11111
11112 // implements Message ----------------------------------------------
11113
New()11114 inline ClientIncidentReport_NonBinaryDownloadDetails* New() const final {
11115 return CreateMaybeMessage<ClientIncidentReport_NonBinaryDownloadDetails>(nullptr);
11116 }
11117
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)11118 ClientIncidentReport_NonBinaryDownloadDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
11119 return CreateMaybeMessage<ClientIncidentReport_NonBinaryDownloadDetails>(arena);
11120 }
11121 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
11122 final;
11123 void CopyFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from);
11124 void MergeFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from);
11125 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
11126 bool IsInitialized() const final;
11127
11128 size_t ByteSizeLong() const final;
11129 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
11130 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
11131 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
11132 void DiscardUnknownFields();
GetCachedSize()11133 int GetCachedSize() const final { return _cached_size_.Get(); }
11134
11135 private:
11136 inline void SharedCtor();
11137 inline void SharedDtor();
11138 void SetCachedSize(int size) const;
11139 void InternalSwap(ClientIncidentReport_NonBinaryDownloadDetails* other);
11140 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()11141 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
11142 return "safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails";
11143 }
11144 private:
GetArenaNoVirtual()11145 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
11146 return nullptr;
11147 }
MaybeArenaPtr()11148 inline void* MaybeArenaPtr() const {
11149 return nullptr;
11150 }
11151 public:
11152
11153 std::string GetTypeName() const final;
11154
11155 // nested types ----------------------------------------------------
11156
11157 // accessors -------------------------------------------------------
11158
11159 enum : int {
11160 kFileTypeFieldNumber = 1,
11161 kUrlSpecSha256FieldNumber = 2,
11162 kHostFieldNumber = 3,
11163 kLengthFieldNumber = 4,
11164 };
11165 // optional string file_type = 1;
11166 bool has_file_type() const;
11167 private:
11168 bool _internal_has_file_type() const;
11169 public:
11170 void clear_file_type();
11171 const std::string& file_type() const;
11172 void set_file_type(const std::string& value);
11173 void set_file_type(std::string&& value);
11174 void set_file_type(const char* value);
11175 void set_file_type(const char* value, size_t size);
11176 std::string* mutable_file_type();
11177 std::string* release_file_type();
11178 void set_allocated_file_type(std::string* file_type);
11179 private:
11180 const std::string& _internal_file_type() const;
11181 void _internal_set_file_type(const std::string& value);
11182 std::string* _internal_mutable_file_type();
11183 public:
11184
11185 // optional bytes url_spec_sha256 = 2;
11186 bool has_url_spec_sha256() const;
11187 private:
11188 bool _internal_has_url_spec_sha256() const;
11189 public:
11190 void clear_url_spec_sha256();
11191 const std::string& url_spec_sha256() const;
11192 void set_url_spec_sha256(const std::string& value);
11193 void set_url_spec_sha256(std::string&& value);
11194 void set_url_spec_sha256(const char* value);
11195 void set_url_spec_sha256(const void* value, size_t size);
11196 std::string* mutable_url_spec_sha256();
11197 std::string* release_url_spec_sha256();
11198 void set_allocated_url_spec_sha256(std::string* url_spec_sha256);
11199 private:
11200 const std::string& _internal_url_spec_sha256() const;
11201 void _internal_set_url_spec_sha256(const std::string& value);
11202 std::string* _internal_mutable_url_spec_sha256();
11203 public:
11204
11205 // optional string host = 3;
11206 bool has_host() const;
11207 private:
11208 bool _internal_has_host() const;
11209 public:
11210 void clear_host();
11211 const std::string& host() const;
11212 void set_host(const std::string& value);
11213 void set_host(std::string&& value);
11214 void set_host(const char* value);
11215 void set_host(const char* value, size_t size);
11216 std::string* mutable_host();
11217 std::string* release_host();
11218 void set_allocated_host(std::string* host);
11219 private:
11220 const std::string& _internal_host() const;
11221 void _internal_set_host(const std::string& value);
11222 std::string* _internal_mutable_host();
11223 public:
11224
11225 // optional int64 length = 4;
11226 bool has_length() const;
11227 private:
11228 bool _internal_has_length() const;
11229 public:
11230 void clear_length();
11231 ::PROTOBUF_NAMESPACE_ID::int64 length() const;
11232 void set_length(::PROTOBUF_NAMESPACE_ID::int64 value);
11233 private:
11234 ::PROTOBUF_NAMESPACE_ID::int64 _internal_length() const;
11235 void _internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value);
11236 public:
11237
11238 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails)
11239 private:
11240 class _Internal;
11241
11242 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
11243 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
11244 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
11245 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_type_;
11246 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_spec_sha256_;
11247 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_;
11248 ::PROTOBUF_NAMESPACE_ID::int64 length_;
11249 friend struct ::TableStruct_csd_2eproto;
11250 };
11251 // -------------------------------------------------------------------
11252
11253 class ClientIncidentReport :
11254 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport) */ {
11255 public:
11256 ClientIncidentReport();
11257 virtual ~ClientIncidentReport();
11258
11259 ClientIncidentReport(const ClientIncidentReport& from);
ClientIncidentReport(ClientIncidentReport && from)11260 ClientIncidentReport(ClientIncidentReport&& from) noexcept
11261 : ClientIncidentReport() {
11262 *this = ::std::move(from);
11263 }
11264
11265 inline ClientIncidentReport& operator=(const ClientIncidentReport& from) {
11266 CopyFrom(from);
11267 return *this;
11268 }
11269 inline ClientIncidentReport& operator=(ClientIncidentReport&& from) noexcept {
11270 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11271 if (this != &from) InternalSwap(&from);
11272 } else {
11273 CopyFrom(from);
11274 }
11275 return *this;
11276 }
11277
unknown_fields()11278 inline const std::string& unknown_fields() const {
11279 return _internal_metadata_.unknown_fields();
11280 }
mutable_unknown_fields()11281 inline std::string* mutable_unknown_fields() {
11282 return _internal_metadata_.mutable_unknown_fields();
11283 }
11284
11285 static const ClientIncidentReport& default_instance();
11286
11287 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11288 static inline const ClientIncidentReport* internal_default_instance() {
11289 return reinterpret_cast<const ClientIncidentReport*>(
11290 &_ClientIncidentReport_default_instance_);
11291 }
11292 static constexpr int kIndexInFileMessages =
11293 52;
11294
swap(ClientIncidentReport & a,ClientIncidentReport & b)11295 friend void swap(ClientIncidentReport& a, ClientIncidentReport& b) {
11296 a.Swap(&b);
11297 }
Swap(ClientIncidentReport * other)11298 inline void Swap(ClientIncidentReport* other) {
11299 if (other == this) return;
11300 InternalSwap(other);
11301 }
11302
11303 // implements Message ----------------------------------------------
11304
New()11305 inline ClientIncidentReport* New() const final {
11306 return CreateMaybeMessage<ClientIncidentReport>(nullptr);
11307 }
11308
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)11309 ClientIncidentReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
11310 return CreateMaybeMessage<ClientIncidentReport>(arena);
11311 }
11312 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
11313 final;
11314 void CopyFrom(const ClientIncidentReport& from);
11315 void MergeFrom(const ClientIncidentReport& from);
11316 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
11317 bool IsInitialized() const final;
11318
11319 size_t ByteSizeLong() const final;
11320 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
11321 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
11322 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
11323 void DiscardUnknownFields();
GetCachedSize()11324 int GetCachedSize() const final { return _cached_size_.Get(); }
11325
11326 private:
11327 inline void SharedCtor();
11328 inline void SharedDtor();
11329 void SetCachedSize(int size) const;
11330 void InternalSwap(ClientIncidentReport* other);
11331 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()11332 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
11333 return "safe_browsing.ClientIncidentReport";
11334 }
11335 private:
GetArenaNoVirtual()11336 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
11337 return nullptr;
11338 }
MaybeArenaPtr()11339 inline void* MaybeArenaPtr() const {
11340 return nullptr;
11341 }
11342 public:
11343
11344 std::string GetTypeName() const final;
11345
11346 // nested types ----------------------------------------------------
11347
11348 typedef ClientIncidentReport_IncidentData IncidentData;
11349 typedef ClientIncidentReport_DownloadDetails DownloadDetails;
11350 typedef ClientIncidentReport_EnvironmentData EnvironmentData;
11351 typedef ClientIncidentReport_ExtensionData ExtensionData;
11352 typedef ClientIncidentReport_NonBinaryDownloadDetails NonBinaryDownloadDetails;
11353
11354 // accessors -------------------------------------------------------
11355
11356 enum : int {
11357 kIncidentFieldNumber = 1,
11358 kDownloadFieldNumber = 2,
11359 kEnvironmentFieldNumber = 3,
11360 kPopulationFieldNumber = 7,
11361 kExtensionDataFieldNumber = 8,
11362 kNonBinaryDownloadFieldNumber = 9,
11363 };
11364 // repeated .safe_browsing.ClientIncidentReport.IncidentData incident = 1;
11365 int incident_size() const;
11366 private:
11367 int _internal_incident_size() const;
11368 public:
11369 void clear_incident();
11370 ::safe_browsing::ClientIncidentReport_IncidentData* mutable_incident(int index);
11371 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >*
11372 mutable_incident();
11373 private:
11374 const ::safe_browsing::ClientIncidentReport_IncidentData& _internal_incident(int index) const;
11375 ::safe_browsing::ClientIncidentReport_IncidentData* _internal_add_incident();
11376 public:
11377 const ::safe_browsing::ClientIncidentReport_IncidentData& incident(int index) const;
11378 ::safe_browsing::ClientIncidentReport_IncidentData* add_incident();
11379 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >&
11380 incident() const;
11381
11382 // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2;
11383 bool has_download() const;
11384 private:
11385 bool _internal_has_download() const;
11386 public:
11387 void clear_download();
11388 const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const;
11389 ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download();
11390 ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download();
11391 void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download);
11392 private:
11393 const ::safe_browsing::ClientIncidentReport_DownloadDetails& _internal_download() const;
11394 ::safe_browsing::ClientIncidentReport_DownloadDetails* _internal_mutable_download();
11395 public:
11396
11397 // optional .safe_browsing.ClientIncidentReport.EnvironmentData environment = 3;
11398 bool has_environment() const;
11399 private:
11400 bool _internal_has_environment() const;
11401 public:
11402 void clear_environment();
11403 const ::safe_browsing::ClientIncidentReport_EnvironmentData& environment() const;
11404 ::safe_browsing::ClientIncidentReport_EnvironmentData* release_environment();
11405 ::safe_browsing::ClientIncidentReport_EnvironmentData* mutable_environment();
11406 void set_allocated_environment(::safe_browsing::ClientIncidentReport_EnvironmentData* environment);
11407 private:
11408 const ::safe_browsing::ClientIncidentReport_EnvironmentData& _internal_environment() const;
11409 ::safe_browsing::ClientIncidentReport_EnvironmentData* _internal_mutable_environment();
11410 public:
11411
11412 // optional .safe_browsing.ChromeUserPopulation population = 7;
11413 bool has_population() const;
11414 private:
11415 bool _internal_has_population() const;
11416 public:
11417 void clear_population();
11418 const ::safe_browsing::ChromeUserPopulation& population() const;
11419 ::safe_browsing::ChromeUserPopulation* release_population();
11420 ::safe_browsing::ChromeUserPopulation* mutable_population();
11421 void set_allocated_population(::safe_browsing::ChromeUserPopulation* population);
11422 private:
11423 const ::safe_browsing::ChromeUserPopulation& _internal_population() const;
11424 ::safe_browsing::ChromeUserPopulation* _internal_mutable_population();
11425 public:
11426
11427 // optional .safe_browsing.ClientIncidentReport.ExtensionData extension_data = 8;
11428 bool has_extension_data() const;
11429 private:
11430 bool _internal_has_extension_data() const;
11431 public:
11432 void clear_extension_data();
11433 const ::safe_browsing::ClientIncidentReport_ExtensionData& extension_data() const;
11434 ::safe_browsing::ClientIncidentReport_ExtensionData* release_extension_data();
11435 ::safe_browsing::ClientIncidentReport_ExtensionData* mutable_extension_data();
11436 void set_allocated_extension_data(::safe_browsing::ClientIncidentReport_ExtensionData* extension_data);
11437 private:
11438 const ::safe_browsing::ClientIncidentReport_ExtensionData& _internal_extension_data() const;
11439 ::safe_browsing::ClientIncidentReport_ExtensionData* _internal_mutable_extension_data();
11440 public:
11441
11442 // optional .safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails non_binary_download = 9;
11443 bool has_non_binary_download() const;
11444 private:
11445 bool _internal_has_non_binary_download() const;
11446 public:
11447 void clear_non_binary_download();
11448 const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& non_binary_download() const;
11449 ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* release_non_binary_download();
11450 ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* mutable_non_binary_download();
11451 void set_allocated_non_binary_download(::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download);
11452 private:
11453 const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& _internal_non_binary_download() const;
11454 ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* _internal_mutable_non_binary_download();
11455 public:
11456
11457 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport)
11458 private:
11459 class _Internal;
11460
11461 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
11462 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
11463 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
11464 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData > incident_;
11465 ::safe_browsing::ClientIncidentReport_DownloadDetails* download_;
11466 ::safe_browsing::ClientIncidentReport_EnvironmentData* environment_;
11467 ::safe_browsing::ChromeUserPopulation* population_;
11468 ::safe_browsing::ClientIncidentReport_ExtensionData* extension_data_;
11469 ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download_;
11470 friend struct ::TableStruct_csd_2eproto;
11471 };
11472 // -------------------------------------------------------------------
11473
11474 class ClientIncidentResponse_EnvironmentRequest :
11475 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentResponse.EnvironmentRequest) */ {
11476 public:
11477 ClientIncidentResponse_EnvironmentRequest();
11478 virtual ~ClientIncidentResponse_EnvironmentRequest();
11479
11480 ClientIncidentResponse_EnvironmentRequest(const ClientIncidentResponse_EnvironmentRequest& from);
ClientIncidentResponse_EnvironmentRequest(ClientIncidentResponse_EnvironmentRequest && from)11481 ClientIncidentResponse_EnvironmentRequest(ClientIncidentResponse_EnvironmentRequest&& from) noexcept
11482 : ClientIncidentResponse_EnvironmentRequest() {
11483 *this = ::std::move(from);
11484 }
11485
11486 inline ClientIncidentResponse_EnvironmentRequest& operator=(const ClientIncidentResponse_EnvironmentRequest& from) {
11487 CopyFrom(from);
11488 return *this;
11489 }
11490 inline ClientIncidentResponse_EnvironmentRequest& operator=(ClientIncidentResponse_EnvironmentRequest&& from) noexcept {
11491 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11492 if (this != &from) InternalSwap(&from);
11493 } else {
11494 CopyFrom(from);
11495 }
11496 return *this;
11497 }
11498
unknown_fields()11499 inline const std::string& unknown_fields() const {
11500 return _internal_metadata_.unknown_fields();
11501 }
mutable_unknown_fields()11502 inline std::string* mutable_unknown_fields() {
11503 return _internal_metadata_.mutable_unknown_fields();
11504 }
11505
11506 static const ClientIncidentResponse_EnvironmentRequest& default_instance();
11507
11508 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11509 static inline const ClientIncidentResponse_EnvironmentRequest* internal_default_instance() {
11510 return reinterpret_cast<const ClientIncidentResponse_EnvironmentRequest*>(
11511 &_ClientIncidentResponse_EnvironmentRequest_default_instance_);
11512 }
11513 static constexpr int kIndexInFileMessages =
11514 53;
11515
swap(ClientIncidentResponse_EnvironmentRequest & a,ClientIncidentResponse_EnvironmentRequest & b)11516 friend void swap(ClientIncidentResponse_EnvironmentRequest& a, ClientIncidentResponse_EnvironmentRequest& b) {
11517 a.Swap(&b);
11518 }
Swap(ClientIncidentResponse_EnvironmentRequest * other)11519 inline void Swap(ClientIncidentResponse_EnvironmentRequest* other) {
11520 if (other == this) return;
11521 InternalSwap(other);
11522 }
11523
11524 // implements Message ----------------------------------------------
11525
New()11526 inline ClientIncidentResponse_EnvironmentRequest* New() const final {
11527 return CreateMaybeMessage<ClientIncidentResponse_EnvironmentRequest>(nullptr);
11528 }
11529
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)11530 ClientIncidentResponse_EnvironmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
11531 return CreateMaybeMessage<ClientIncidentResponse_EnvironmentRequest>(arena);
11532 }
11533 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
11534 final;
11535 void CopyFrom(const ClientIncidentResponse_EnvironmentRequest& from);
11536 void MergeFrom(const ClientIncidentResponse_EnvironmentRequest& from);
11537 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
11538 bool IsInitialized() const final;
11539
11540 size_t ByteSizeLong() const final;
11541 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
11542 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
11543 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
11544 void DiscardUnknownFields();
GetCachedSize()11545 int GetCachedSize() const final { return _cached_size_.Get(); }
11546
11547 private:
11548 inline void SharedCtor();
11549 inline void SharedDtor();
11550 void SetCachedSize(int size) const;
11551 void InternalSwap(ClientIncidentResponse_EnvironmentRequest* other);
11552 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()11553 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
11554 return "safe_browsing.ClientIncidentResponse.EnvironmentRequest";
11555 }
11556 private:
GetArenaNoVirtual()11557 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
11558 return nullptr;
11559 }
MaybeArenaPtr()11560 inline void* MaybeArenaPtr() const {
11561 return nullptr;
11562 }
11563 public:
11564
11565 std::string GetTypeName() const final;
11566
11567 // nested types ----------------------------------------------------
11568
11569 // accessors -------------------------------------------------------
11570
11571 enum : int {
11572 kDllIndexFieldNumber = 1,
11573 };
11574 // optional int32 dll_index = 1;
11575 bool has_dll_index() const;
11576 private:
11577 bool _internal_has_dll_index() const;
11578 public:
11579 void clear_dll_index();
11580 ::PROTOBUF_NAMESPACE_ID::int32 dll_index() const;
11581 void set_dll_index(::PROTOBUF_NAMESPACE_ID::int32 value);
11582 private:
11583 ::PROTOBUF_NAMESPACE_ID::int32 _internal_dll_index() const;
11584 void _internal_set_dll_index(::PROTOBUF_NAMESPACE_ID::int32 value);
11585 public:
11586
11587 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse.EnvironmentRequest)
11588 private:
11589 class _Internal;
11590
11591 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
11592 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
11593 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
11594 ::PROTOBUF_NAMESPACE_ID::int32 dll_index_;
11595 friend struct ::TableStruct_csd_2eproto;
11596 };
11597 // -------------------------------------------------------------------
11598
11599 class ClientIncidentResponse :
11600 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentResponse) */ {
11601 public:
11602 ClientIncidentResponse();
11603 virtual ~ClientIncidentResponse();
11604
11605 ClientIncidentResponse(const ClientIncidentResponse& from);
ClientIncidentResponse(ClientIncidentResponse && from)11606 ClientIncidentResponse(ClientIncidentResponse&& from) noexcept
11607 : ClientIncidentResponse() {
11608 *this = ::std::move(from);
11609 }
11610
11611 inline ClientIncidentResponse& operator=(const ClientIncidentResponse& from) {
11612 CopyFrom(from);
11613 return *this;
11614 }
11615 inline ClientIncidentResponse& operator=(ClientIncidentResponse&& from) noexcept {
11616 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11617 if (this != &from) InternalSwap(&from);
11618 } else {
11619 CopyFrom(from);
11620 }
11621 return *this;
11622 }
11623
unknown_fields()11624 inline const std::string& unknown_fields() const {
11625 return _internal_metadata_.unknown_fields();
11626 }
mutable_unknown_fields()11627 inline std::string* mutable_unknown_fields() {
11628 return _internal_metadata_.mutable_unknown_fields();
11629 }
11630
11631 static const ClientIncidentResponse& default_instance();
11632
11633 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11634 static inline const ClientIncidentResponse* internal_default_instance() {
11635 return reinterpret_cast<const ClientIncidentResponse*>(
11636 &_ClientIncidentResponse_default_instance_);
11637 }
11638 static constexpr int kIndexInFileMessages =
11639 54;
11640
swap(ClientIncidentResponse & a,ClientIncidentResponse & b)11641 friend void swap(ClientIncidentResponse& a, ClientIncidentResponse& b) {
11642 a.Swap(&b);
11643 }
Swap(ClientIncidentResponse * other)11644 inline void Swap(ClientIncidentResponse* other) {
11645 if (other == this) return;
11646 InternalSwap(other);
11647 }
11648
11649 // implements Message ----------------------------------------------
11650
New()11651 inline ClientIncidentResponse* New() const final {
11652 return CreateMaybeMessage<ClientIncidentResponse>(nullptr);
11653 }
11654
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)11655 ClientIncidentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
11656 return CreateMaybeMessage<ClientIncidentResponse>(arena);
11657 }
11658 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
11659 final;
11660 void CopyFrom(const ClientIncidentResponse& from);
11661 void MergeFrom(const ClientIncidentResponse& from);
11662 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
11663 bool IsInitialized() const final;
11664
11665 size_t ByteSizeLong() const final;
11666 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
11667 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
11668 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
11669 void DiscardUnknownFields();
GetCachedSize()11670 int GetCachedSize() const final { return _cached_size_.Get(); }
11671
11672 private:
11673 inline void SharedCtor();
11674 inline void SharedDtor();
11675 void SetCachedSize(int size) const;
11676 void InternalSwap(ClientIncidentResponse* other);
11677 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()11678 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
11679 return "safe_browsing.ClientIncidentResponse";
11680 }
11681 private:
GetArenaNoVirtual()11682 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
11683 return nullptr;
11684 }
MaybeArenaPtr()11685 inline void* MaybeArenaPtr() const {
11686 return nullptr;
11687 }
11688 public:
11689
11690 std::string GetTypeName() const final;
11691
11692 // nested types ----------------------------------------------------
11693
11694 typedef ClientIncidentResponse_EnvironmentRequest EnvironmentRequest;
11695
11696 // accessors -------------------------------------------------------
11697
11698 enum : int {
11699 kEnvironmentRequestsFieldNumber = 3,
11700 kTokenFieldNumber = 1,
11701 kDownloadRequestedFieldNumber = 2,
11702 };
11703 // repeated .safe_browsing.ClientIncidentResponse.EnvironmentRequest environment_requests = 3;
11704 int environment_requests_size() const;
11705 private:
11706 int _internal_environment_requests_size() const;
11707 public:
11708 void clear_environment_requests();
11709 ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* mutable_environment_requests(int index);
11710 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >*
11711 mutable_environment_requests();
11712 private:
11713 const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& _internal_environment_requests(int index) const;
11714 ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* _internal_add_environment_requests();
11715 public:
11716 const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& environment_requests(int index) const;
11717 ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* add_environment_requests();
11718 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >&
11719 environment_requests() const;
11720
11721 // optional bytes token = 1;
11722 bool has_token() const;
11723 private:
11724 bool _internal_has_token() const;
11725 public:
11726 void clear_token();
11727 const std::string& token() const;
11728 void set_token(const std::string& value);
11729 void set_token(std::string&& value);
11730 void set_token(const char* value);
11731 void set_token(const void* value, size_t size);
11732 std::string* mutable_token();
11733 std::string* release_token();
11734 void set_allocated_token(std::string* token);
11735 private:
11736 const std::string& _internal_token() const;
11737 void _internal_set_token(const std::string& value);
11738 std::string* _internal_mutable_token();
11739 public:
11740
11741 // optional bool download_requested = 2;
11742 bool has_download_requested() const;
11743 private:
11744 bool _internal_has_download_requested() const;
11745 public:
11746 void clear_download_requested();
11747 bool download_requested() const;
11748 void set_download_requested(bool value);
11749 private:
11750 bool _internal_download_requested() const;
11751 void _internal_set_download_requested(bool value);
11752 public:
11753
11754 // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse)
11755 private:
11756 class _Internal;
11757
11758 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
11759 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
11760 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
11761 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest > environment_requests_;
11762 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
11763 bool download_requested_;
11764 friend struct ::TableStruct_csd_2eproto;
11765 };
11766 // -------------------------------------------------------------------
11767
11768 class DownloadMetadata :
11769 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.DownloadMetadata) */ {
11770 public:
11771 DownloadMetadata();
11772 virtual ~DownloadMetadata();
11773
11774 DownloadMetadata(const DownloadMetadata& from);
DownloadMetadata(DownloadMetadata && from)11775 DownloadMetadata(DownloadMetadata&& from) noexcept
11776 : DownloadMetadata() {
11777 *this = ::std::move(from);
11778 }
11779
11780 inline DownloadMetadata& operator=(const DownloadMetadata& from) {
11781 CopyFrom(from);
11782 return *this;
11783 }
11784 inline DownloadMetadata& operator=(DownloadMetadata&& from) noexcept {
11785 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11786 if (this != &from) InternalSwap(&from);
11787 } else {
11788 CopyFrom(from);
11789 }
11790 return *this;
11791 }
11792
unknown_fields()11793 inline const std::string& unknown_fields() const {
11794 return _internal_metadata_.unknown_fields();
11795 }
mutable_unknown_fields()11796 inline std::string* mutable_unknown_fields() {
11797 return _internal_metadata_.mutable_unknown_fields();
11798 }
11799
11800 static const DownloadMetadata& default_instance();
11801
11802 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11803 static inline const DownloadMetadata* internal_default_instance() {
11804 return reinterpret_cast<const DownloadMetadata*>(
11805 &_DownloadMetadata_default_instance_);
11806 }
11807 static constexpr int kIndexInFileMessages =
11808 55;
11809
swap(DownloadMetadata & a,DownloadMetadata & b)11810 friend void swap(DownloadMetadata& a, DownloadMetadata& b) {
11811 a.Swap(&b);
11812 }
Swap(DownloadMetadata * other)11813 inline void Swap(DownloadMetadata* other) {
11814 if (other == this) return;
11815 InternalSwap(other);
11816 }
11817
11818 // implements Message ----------------------------------------------
11819
New()11820 inline DownloadMetadata* New() const final {
11821 return CreateMaybeMessage<DownloadMetadata>(nullptr);
11822 }
11823
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)11824 DownloadMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
11825 return CreateMaybeMessage<DownloadMetadata>(arena);
11826 }
11827 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
11828 final;
11829 void CopyFrom(const DownloadMetadata& from);
11830 void MergeFrom(const DownloadMetadata& from);
11831 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
11832 bool IsInitialized() const final;
11833
11834 size_t ByteSizeLong() const final;
11835 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
11836 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
11837 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
11838 void DiscardUnknownFields();
GetCachedSize()11839 int GetCachedSize() const final { return _cached_size_.Get(); }
11840
11841 private:
11842 inline void SharedCtor();
11843 inline void SharedDtor();
11844 void SetCachedSize(int size) const;
11845 void InternalSwap(DownloadMetadata* other);
11846 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()11847 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
11848 return "safe_browsing.DownloadMetadata";
11849 }
11850 private:
GetArenaNoVirtual()11851 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
11852 return nullptr;
11853 }
MaybeArenaPtr()11854 inline void* MaybeArenaPtr() const {
11855 return nullptr;
11856 }
11857 public:
11858
11859 std::string GetTypeName() const final;
11860
11861 // nested types ----------------------------------------------------
11862
11863 // accessors -------------------------------------------------------
11864
11865 enum : int {
11866 kDownloadFieldNumber = 2,
11867 kDownloadIdFieldNumber = 1,
11868 };
11869 // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2;
11870 bool has_download() const;
11871 private:
11872 bool _internal_has_download() const;
11873 public:
11874 void clear_download();
11875 const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const;
11876 ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download();
11877 ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download();
11878 void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download);
11879 private:
11880 const ::safe_browsing::ClientIncidentReport_DownloadDetails& _internal_download() const;
11881 ::safe_browsing::ClientIncidentReport_DownloadDetails* _internal_mutable_download();
11882 public:
11883
11884 // optional uint32 download_id = 1;
11885 bool has_download_id() const;
11886 private:
11887 bool _internal_has_download_id() const;
11888 public:
11889 void clear_download_id();
11890 ::PROTOBUF_NAMESPACE_ID::uint32 download_id() const;
11891 void set_download_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
11892 private:
11893 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_download_id() const;
11894 void _internal_set_download_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
11895 public:
11896
11897 // @@protoc_insertion_point(class_scope:safe_browsing.DownloadMetadata)
11898 private:
11899 class _Internal;
11900
11901 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
11902 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
11903 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
11904 ::safe_browsing::ClientIncidentReport_DownloadDetails* download_;
11905 ::PROTOBUF_NAMESPACE_ID::uint32 download_id_;
11906 friend struct ::TableStruct_csd_2eproto;
11907 };
11908 // -------------------------------------------------------------------
11909
11910 class ClientSafeBrowsingReportRequest_HTTPHeader :
11911 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader) */ {
11912 public:
11913 ClientSafeBrowsingReportRequest_HTTPHeader();
11914 virtual ~ClientSafeBrowsingReportRequest_HTTPHeader();
11915
11916 ClientSafeBrowsingReportRequest_HTTPHeader(const ClientSafeBrowsingReportRequest_HTTPHeader& from);
ClientSafeBrowsingReportRequest_HTTPHeader(ClientSafeBrowsingReportRequest_HTTPHeader && from)11917 ClientSafeBrowsingReportRequest_HTTPHeader(ClientSafeBrowsingReportRequest_HTTPHeader&& from) noexcept
11918 : ClientSafeBrowsingReportRequest_HTTPHeader() {
11919 *this = ::std::move(from);
11920 }
11921
11922 inline ClientSafeBrowsingReportRequest_HTTPHeader& operator=(const ClientSafeBrowsingReportRequest_HTTPHeader& from) {
11923 CopyFrom(from);
11924 return *this;
11925 }
11926 inline ClientSafeBrowsingReportRequest_HTTPHeader& operator=(ClientSafeBrowsingReportRequest_HTTPHeader&& from) noexcept {
11927 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11928 if (this != &from) InternalSwap(&from);
11929 } else {
11930 CopyFrom(from);
11931 }
11932 return *this;
11933 }
11934
unknown_fields()11935 inline const std::string& unknown_fields() const {
11936 return _internal_metadata_.unknown_fields();
11937 }
mutable_unknown_fields()11938 inline std::string* mutable_unknown_fields() {
11939 return _internal_metadata_.mutable_unknown_fields();
11940 }
11941
11942 static const ClientSafeBrowsingReportRequest_HTTPHeader& default_instance();
11943
11944 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11945 static inline const ClientSafeBrowsingReportRequest_HTTPHeader* internal_default_instance() {
11946 return reinterpret_cast<const ClientSafeBrowsingReportRequest_HTTPHeader*>(
11947 &_ClientSafeBrowsingReportRequest_HTTPHeader_default_instance_);
11948 }
11949 static constexpr int kIndexInFileMessages =
11950 56;
11951
swap(ClientSafeBrowsingReportRequest_HTTPHeader & a,ClientSafeBrowsingReportRequest_HTTPHeader & b)11952 friend void swap(ClientSafeBrowsingReportRequest_HTTPHeader& a, ClientSafeBrowsingReportRequest_HTTPHeader& b) {
11953 a.Swap(&b);
11954 }
Swap(ClientSafeBrowsingReportRequest_HTTPHeader * other)11955 inline void Swap(ClientSafeBrowsingReportRequest_HTTPHeader* other) {
11956 if (other == this) return;
11957 InternalSwap(other);
11958 }
11959
11960 // implements Message ----------------------------------------------
11961
New()11962 inline ClientSafeBrowsingReportRequest_HTTPHeader* New() const final {
11963 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPHeader>(nullptr);
11964 }
11965
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)11966 ClientSafeBrowsingReportRequest_HTTPHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
11967 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPHeader>(arena);
11968 }
11969 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
11970 final;
11971 void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from);
11972 void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from);
11973 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
11974 bool IsInitialized() const final;
11975
11976 size_t ByteSizeLong() const final;
11977 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
11978 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
11979 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
11980 void DiscardUnknownFields();
GetCachedSize()11981 int GetCachedSize() const final { return _cached_size_.Get(); }
11982
11983 private:
11984 inline void SharedCtor();
11985 inline void SharedDtor();
11986 void SetCachedSize(int size) const;
11987 void InternalSwap(ClientSafeBrowsingReportRequest_HTTPHeader* other);
11988 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()11989 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
11990 return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader";
11991 }
11992 private:
GetArenaNoVirtual()11993 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
11994 return nullptr;
11995 }
MaybeArenaPtr()11996 inline void* MaybeArenaPtr() const {
11997 return nullptr;
11998 }
11999 public:
12000
12001 std::string GetTypeName() const final;
12002
12003 // nested types ----------------------------------------------------
12004
12005 // accessors -------------------------------------------------------
12006
12007 enum : int {
12008 kNameFieldNumber = 1,
12009 kValueFieldNumber = 2,
12010 };
12011 // required bytes name = 1;
12012 bool has_name() const;
12013 private:
12014 bool _internal_has_name() const;
12015 public:
12016 void clear_name();
12017 const std::string& name() const;
12018 void set_name(const std::string& value);
12019 void set_name(std::string&& value);
12020 void set_name(const char* value);
12021 void set_name(const void* value, size_t size);
12022 std::string* mutable_name();
12023 std::string* release_name();
12024 void set_allocated_name(std::string* name);
12025 private:
12026 const std::string& _internal_name() const;
12027 void _internal_set_name(const std::string& value);
12028 std::string* _internal_mutable_name();
12029 public:
12030
12031 // optional bytes value = 2;
12032 bool has_value() const;
12033 private:
12034 bool _internal_has_value() const;
12035 public:
12036 void clear_value();
12037 const std::string& value() const;
12038 void set_value(const std::string& value);
12039 void set_value(std::string&& value);
12040 void set_value(const char* value);
12041 void set_value(const void* value, size_t size);
12042 std::string* mutable_value();
12043 std::string* release_value();
12044 void set_allocated_value(std::string* value);
12045 private:
12046 const std::string& _internal_value() const;
12047 void _internal_set_value(const std::string& value);
12048 std::string* _internal_mutable_value();
12049 public:
12050
12051 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader)
12052 private:
12053 class _Internal;
12054
12055 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
12056 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
12057 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
12058 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
12059 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
12060 friend struct ::TableStruct_csd_2eproto;
12061 };
12062 // -------------------------------------------------------------------
12063
12064 class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine :
12065 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine) */ {
12066 public:
12067 ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine();
12068 virtual ~ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine();
12069
12070 ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from);
ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine && from)12071 ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine&& from) noexcept
12072 : ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine() {
12073 *this = ::std::move(from);
12074 }
12075
12076 inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from) {
12077 CopyFrom(from);
12078 return *this;
12079 }
12080 inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& operator=(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine&& from) noexcept {
12081 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12082 if (this != &from) InternalSwap(&from);
12083 } else {
12084 CopyFrom(from);
12085 }
12086 return *this;
12087 }
12088
unknown_fields()12089 inline const std::string& unknown_fields() const {
12090 return _internal_metadata_.unknown_fields();
12091 }
mutable_unknown_fields()12092 inline std::string* mutable_unknown_fields() {
12093 return _internal_metadata_.mutable_unknown_fields();
12094 }
12095
12096 static const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& default_instance();
12097
12098 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12099 static inline const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* internal_default_instance() {
12100 return reinterpret_cast<const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine*>(
12101 &_ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine_default_instance_);
12102 }
12103 static constexpr int kIndexInFileMessages =
12104 57;
12105
swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine & a,ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine & b)12106 friend void swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& a, ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& b) {
12107 a.Swap(&b);
12108 }
Swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine * other)12109 inline void Swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* other) {
12110 if (other == this) return;
12111 InternalSwap(other);
12112 }
12113
12114 // implements Message ----------------------------------------------
12115
New()12116 inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* New() const final {
12117 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(nullptr);
12118 }
12119
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)12120 ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
12121 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(arena);
12122 }
12123 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
12124 final;
12125 void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from);
12126 void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from);
12127 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
12128 bool IsInitialized() const final;
12129
12130 size_t ByteSizeLong() const final;
12131 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
12132 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
12133 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
12134 void DiscardUnknownFields();
GetCachedSize()12135 int GetCachedSize() const final { return _cached_size_.Get(); }
12136
12137 private:
12138 inline void SharedCtor();
12139 inline void SharedDtor();
12140 void SetCachedSize(int size) const;
12141 void InternalSwap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* other);
12142 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()12143 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
12144 return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine";
12145 }
12146 private:
GetArenaNoVirtual()12147 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
12148 return nullptr;
12149 }
MaybeArenaPtr()12150 inline void* MaybeArenaPtr() const {
12151 return nullptr;
12152 }
12153 public:
12154
12155 std::string GetTypeName() const final;
12156
12157 // nested types ----------------------------------------------------
12158
12159 // accessors -------------------------------------------------------
12160
12161 enum : int {
12162 kVerbFieldNumber = 1,
12163 kUriFieldNumber = 2,
12164 kVersionFieldNumber = 3,
12165 };
12166 // optional bytes verb = 1;
12167 bool has_verb() const;
12168 private:
12169 bool _internal_has_verb() const;
12170 public:
12171 void clear_verb();
12172 const std::string& verb() const;
12173 void set_verb(const std::string& value);
12174 void set_verb(std::string&& value);
12175 void set_verb(const char* value);
12176 void set_verb(const void* value, size_t size);
12177 std::string* mutable_verb();
12178 std::string* release_verb();
12179 void set_allocated_verb(std::string* verb);
12180 private:
12181 const std::string& _internal_verb() const;
12182 void _internal_set_verb(const std::string& value);
12183 std::string* _internal_mutable_verb();
12184 public:
12185
12186 // optional bytes uri = 2;
12187 bool has_uri() const;
12188 private:
12189 bool _internal_has_uri() const;
12190 public:
12191 void clear_uri();
12192 const std::string& uri() const;
12193 void set_uri(const std::string& value);
12194 void set_uri(std::string&& value);
12195 void set_uri(const char* value);
12196 void set_uri(const void* value, size_t size);
12197 std::string* mutable_uri();
12198 std::string* release_uri();
12199 void set_allocated_uri(std::string* uri);
12200 private:
12201 const std::string& _internal_uri() const;
12202 void _internal_set_uri(const std::string& value);
12203 std::string* _internal_mutable_uri();
12204 public:
12205
12206 // optional bytes version = 3;
12207 bool has_version() const;
12208 private:
12209 bool _internal_has_version() const;
12210 public:
12211 void clear_version();
12212 const std::string& version() const;
12213 void set_version(const std::string& value);
12214 void set_version(std::string&& value);
12215 void set_version(const char* value);
12216 void set_version(const void* value, size_t size);
12217 std::string* mutable_version();
12218 std::string* release_version();
12219 void set_allocated_version(std::string* version);
12220 private:
12221 const std::string& _internal_version() const;
12222 void _internal_set_version(const std::string& value);
12223 std::string* _internal_mutable_version();
12224 public:
12225
12226 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine)
12227 private:
12228 class _Internal;
12229
12230 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
12231 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
12232 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
12233 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr verb_;
12234 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uri_;
12235 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
12236 friend struct ::TableStruct_csd_2eproto;
12237 };
12238 // -------------------------------------------------------------------
12239
12240 class ClientSafeBrowsingReportRequest_HTTPRequest :
12241 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest) */ {
12242 public:
12243 ClientSafeBrowsingReportRequest_HTTPRequest();
12244 virtual ~ClientSafeBrowsingReportRequest_HTTPRequest();
12245
12246 ClientSafeBrowsingReportRequest_HTTPRequest(const ClientSafeBrowsingReportRequest_HTTPRequest& from);
ClientSafeBrowsingReportRequest_HTTPRequest(ClientSafeBrowsingReportRequest_HTTPRequest && from)12247 ClientSafeBrowsingReportRequest_HTTPRequest(ClientSafeBrowsingReportRequest_HTTPRequest&& from) noexcept
12248 : ClientSafeBrowsingReportRequest_HTTPRequest() {
12249 *this = ::std::move(from);
12250 }
12251
12252 inline ClientSafeBrowsingReportRequest_HTTPRequest& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest& from) {
12253 CopyFrom(from);
12254 return *this;
12255 }
12256 inline ClientSafeBrowsingReportRequest_HTTPRequest& operator=(ClientSafeBrowsingReportRequest_HTTPRequest&& from) noexcept {
12257 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12258 if (this != &from) InternalSwap(&from);
12259 } else {
12260 CopyFrom(from);
12261 }
12262 return *this;
12263 }
12264
unknown_fields()12265 inline const std::string& unknown_fields() const {
12266 return _internal_metadata_.unknown_fields();
12267 }
mutable_unknown_fields()12268 inline std::string* mutable_unknown_fields() {
12269 return _internal_metadata_.mutable_unknown_fields();
12270 }
12271
12272 static const ClientSafeBrowsingReportRequest_HTTPRequest& default_instance();
12273
12274 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12275 static inline const ClientSafeBrowsingReportRequest_HTTPRequest* internal_default_instance() {
12276 return reinterpret_cast<const ClientSafeBrowsingReportRequest_HTTPRequest*>(
12277 &_ClientSafeBrowsingReportRequest_HTTPRequest_default_instance_);
12278 }
12279 static constexpr int kIndexInFileMessages =
12280 58;
12281
swap(ClientSafeBrowsingReportRequest_HTTPRequest & a,ClientSafeBrowsingReportRequest_HTTPRequest & b)12282 friend void swap(ClientSafeBrowsingReportRequest_HTTPRequest& a, ClientSafeBrowsingReportRequest_HTTPRequest& b) {
12283 a.Swap(&b);
12284 }
Swap(ClientSafeBrowsingReportRequest_HTTPRequest * other)12285 inline void Swap(ClientSafeBrowsingReportRequest_HTTPRequest* other) {
12286 if (other == this) return;
12287 InternalSwap(other);
12288 }
12289
12290 // implements Message ----------------------------------------------
12291
New()12292 inline ClientSafeBrowsingReportRequest_HTTPRequest* New() const final {
12293 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPRequest>(nullptr);
12294 }
12295
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)12296 ClientSafeBrowsingReportRequest_HTTPRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
12297 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPRequest>(arena);
12298 }
12299 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
12300 final;
12301 void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from);
12302 void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from);
12303 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
12304 bool IsInitialized() const final;
12305
12306 size_t ByteSizeLong() const final;
12307 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
12308 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
12309 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
12310 void DiscardUnknownFields();
GetCachedSize()12311 int GetCachedSize() const final { return _cached_size_.Get(); }
12312
12313 private:
12314 inline void SharedCtor();
12315 inline void SharedDtor();
12316 void SetCachedSize(int size) const;
12317 void InternalSwap(ClientSafeBrowsingReportRequest_HTTPRequest* other);
12318 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()12319 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
12320 return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest";
12321 }
12322 private:
GetArenaNoVirtual()12323 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
12324 return nullptr;
12325 }
MaybeArenaPtr()12326 inline void* MaybeArenaPtr() const {
12327 return nullptr;
12328 }
12329 public:
12330
12331 std::string GetTypeName() const final;
12332
12333 // nested types ----------------------------------------------------
12334
12335 typedef ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine FirstLine;
12336
12337 // accessors -------------------------------------------------------
12338
12339 enum : int {
12340 kHeadersFieldNumber = 2,
12341 kBodyFieldNumber = 3,
12342 kBodydigestFieldNumber = 4,
12343 kFirstlineFieldNumber = 1,
12344 kBodylengthFieldNumber = 5,
12345 };
12346 // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2;
12347 int headers_size() const;
12348 private:
12349 int _internal_headers_size() const;
12350 public:
12351 void clear_headers();
12352 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index);
12353 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >*
12354 mutable_headers();
12355 private:
12356 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& _internal_headers(int index) const;
12357 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* _internal_add_headers();
12358 public:
12359 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const;
12360 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers();
12361 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >&
12362 headers() const;
12363
12364 // optional bytes body = 3;
12365 bool has_body() const;
12366 private:
12367 bool _internal_has_body() const;
12368 public:
12369 void clear_body();
12370 const std::string& body() const;
12371 void set_body(const std::string& value);
12372 void set_body(std::string&& value);
12373 void set_body(const char* value);
12374 void set_body(const void* value, size_t size);
12375 std::string* mutable_body();
12376 std::string* release_body();
12377 void set_allocated_body(std::string* body);
12378 private:
12379 const std::string& _internal_body() const;
12380 void _internal_set_body(const std::string& value);
12381 std::string* _internal_mutable_body();
12382 public:
12383
12384 // optional bytes bodydigest = 4;
12385 bool has_bodydigest() const;
12386 private:
12387 bool _internal_has_bodydigest() const;
12388 public:
12389 void clear_bodydigest();
12390 const std::string& bodydigest() const;
12391 void set_bodydigest(const std::string& value);
12392 void set_bodydigest(std::string&& value);
12393 void set_bodydigest(const char* value);
12394 void set_bodydigest(const void* value, size_t size);
12395 std::string* mutable_bodydigest();
12396 std::string* release_bodydigest();
12397 void set_allocated_bodydigest(std::string* bodydigest);
12398 private:
12399 const std::string& _internal_bodydigest() const;
12400 void _internal_set_bodydigest(const std::string& value);
12401 std::string* _internal_mutable_bodydigest();
12402 public:
12403
12404 // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine firstline = 1;
12405 bool has_firstline() const;
12406 private:
12407 bool _internal_has_firstline() const;
12408 public:
12409 void clear_firstline();
12410 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& firstline() const;
12411 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* release_firstline();
12412 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* mutable_firstline();
12413 void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline);
12414 private:
12415 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& _internal_firstline() const;
12416 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* _internal_mutable_firstline();
12417 public:
12418
12419 // optional int32 bodylength = 5;
12420 bool has_bodylength() const;
12421 private:
12422 bool _internal_has_bodylength() const;
12423 public:
12424 void clear_bodylength();
12425 ::PROTOBUF_NAMESPACE_ID::int32 bodylength() const;
12426 void set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value);
12427 private:
12428 ::PROTOBUF_NAMESPACE_ID::int32 _internal_bodylength() const;
12429 void _internal_set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value);
12430 public:
12431
12432 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest)
12433 private:
12434 class _Internal;
12435
12436 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
12437 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
12438 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
12439 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_;
12440 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_;
12441 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bodydigest_;
12442 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline_;
12443 ::PROTOBUF_NAMESPACE_ID::int32 bodylength_;
12444 friend struct ::TableStruct_csd_2eproto;
12445 };
12446 // -------------------------------------------------------------------
12447
12448 class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine :
12449 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine) */ {
12450 public:
12451 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine();
12452 virtual ~ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine();
12453
12454 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from);
ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine && from)12455 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine&& from) noexcept
12456 : ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine() {
12457 *this = ::std::move(from);
12458 }
12459
12460 inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from) {
12461 CopyFrom(from);
12462 return *this;
12463 }
12464 inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& operator=(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine&& from) noexcept {
12465 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12466 if (this != &from) InternalSwap(&from);
12467 } else {
12468 CopyFrom(from);
12469 }
12470 return *this;
12471 }
12472
unknown_fields()12473 inline const std::string& unknown_fields() const {
12474 return _internal_metadata_.unknown_fields();
12475 }
mutable_unknown_fields()12476 inline std::string* mutable_unknown_fields() {
12477 return _internal_metadata_.mutable_unknown_fields();
12478 }
12479
12480 static const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& default_instance();
12481
12482 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12483 static inline const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* internal_default_instance() {
12484 return reinterpret_cast<const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine*>(
12485 &_ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine_default_instance_);
12486 }
12487 static constexpr int kIndexInFileMessages =
12488 59;
12489
swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine & a,ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine & b)12490 friend void swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& a, ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& b) {
12491 a.Swap(&b);
12492 }
Swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine * other)12493 inline void Swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* other) {
12494 if (other == this) return;
12495 InternalSwap(other);
12496 }
12497
12498 // implements Message ----------------------------------------------
12499
New()12500 inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* New() const final {
12501 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(nullptr);
12502 }
12503
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)12504 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
12505 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(arena);
12506 }
12507 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
12508 final;
12509 void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from);
12510 void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from);
12511 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
12512 bool IsInitialized() const final;
12513
12514 size_t ByteSizeLong() const final;
12515 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
12516 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
12517 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
12518 void DiscardUnknownFields();
GetCachedSize()12519 int GetCachedSize() const final { return _cached_size_.Get(); }
12520
12521 private:
12522 inline void SharedCtor();
12523 inline void SharedDtor();
12524 void SetCachedSize(int size) const;
12525 void InternalSwap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* other);
12526 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()12527 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
12528 return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine";
12529 }
12530 private:
GetArenaNoVirtual()12531 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
12532 return nullptr;
12533 }
MaybeArenaPtr()12534 inline void* MaybeArenaPtr() const {
12535 return nullptr;
12536 }
12537 public:
12538
12539 std::string GetTypeName() const final;
12540
12541 // nested types ----------------------------------------------------
12542
12543 // accessors -------------------------------------------------------
12544
12545 enum : int {
12546 kMessageFieldNumber = 2,
12547 kVersionFieldNumber = 3,
12548 kCodeFieldNumber = 1,
12549 };
12550 // optional bytes message = 2;
12551 bool has_message() const;
12552 private:
12553 bool _internal_has_message() const;
12554 public:
12555 void clear_message();
12556 const std::string& message() const;
12557 void set_message(const std::string& value);
12558 void set_message(std::string&& value);
12559 void set_message(const char* value);
12560 void set_message(const void* value, size_t size);
12561 std::string* mutable_message();
12562 std::string* release_message();
12563 void set_allocated_message(std::string* message);
12564 private:
12565 const std::string& _internal_message() const;
12566 void _internal_set_message(const std::string& value);
12567 std::string* _internal_mutable_message();
12568 public:
12569
12570 // optional bytes version = 3;
12571 bool has_version() const;
12572 private:
12573 bool _internal_has_version() const;
12574 public:
12575 void clear_version();
12576 const std::string& version() const;
12577 void set_version(const std::string& value);
12578 void set_version(std::string&& value);
12579 void set_version(const char* value);
12580 void set_version(const void* value, size_t size);
12581 std::string* mutable_version();
12582 std::string* release_version();
12583 void set_allocated_version(std::string* version);
12584 private:
12585 const std::string& _internal_version() const;
12586 void _internal_set_version(const std::string& value);
12587 std::string* _internal_mutable_version();
12588 public:
12589
12590 // optional int32 code = 1;
12591 bool has_code() const;
12592 private:
12593 bool _internal_has_code() const;
12594 public:
12595 void clear_code();
12596 ::PROTOBUF_NAMESPACE_ID::int32 code() const;
12597 void set_code(::PROTOBUF_NAMESPACE_ID::int32 value);
12598 private:
12599 ::PROTOBUF_NAMESPACE_ID::int32 _internal_code() const;
12600 void _internal_set_code(::PROTOBUF_NAMESPACE_ID::int32 value);
12601 public:
12602
12603 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine)
12604 private:
12605 class _Internal;
12606
12607 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
12608 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
12609 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
12610 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
12611 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
12612 ::PROTOBUF_NAMESPACE_ID::int32 code_;
12613 friend struct ::TableStruct_csd_2eproto;
12614 };
12615 // -------------------------------------------------------------------
12616
12617 class ClientSafeBrowsingReportRequest_HTTPResponse :
12618 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse) */ {
12619 public:
12620 ClientSafeBrowsingReportRequest_HTTPResponse();
12621 virtual ~ClientSafeBrowsingReportRequest_HTTPResponse();
12622
12623 ClientSafeBrowsingReportRequest_HTTPResponse(const ClientSafeBrowsingReportRequest_HTTPResponse& from);
ClientSafeBrowsingReportRequest_HTTPResponse(ClientSafeBrowsingReportRequest_HTTPResponse && from)12624 ClientSafeBrowsingReportRequest_HTTPResponse(ClientSafeBrowsingReportRequest_HTTPResponse&& from) noexcept
12625 : ClientSafeBrowsingReportRequest_HTTPResponse() {
12626 *this = ::std::move(from);
12627 }
12628
12629 inline ClientSafeBrowsingReportRequest_HTTPResponse& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse& from) {
12630 CopyFrom(from);
12631 return *this;
12632 }
12633 inline ClientSafeBrowsingReportRequest_HTTPResponse& operator=(ClientSafeBrowsingReportRequest_HTTPResponse&& from) noexcept {
12634 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12635 if (this != &from) InternalSwap(&from);
12636 } else {
12637 CopyFrom(from);
12638 }
12639 return *this;
12640 }
12641
unknown_fields()12642 inline const std::string& unknown_fields() const {
12643 return _internal_metadata_.unknown_fields();
12644 }
mutable_unknown_fields()12645 inline std::string* mutable_unknown_fields() {
12646 return _internal_metadata_.mutable_unknown_fields();
12647 }
12648
12649 static const ClientSafeBrowsingReportRequest_HTTPResponse& default_instance();
12650
12651 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12652 static inline const ClientSafeBrowsingReportRequest_HTTPResponse* internal_default_instance() {
12653 return reinterpret_cast<const ClientSafeBrowsingReportRequest_HTTPResponse*>(
12654 &_ClientSafeBrowsingReportRequest_HTTPResponse_default_instance_);
12655 }
12656 static constexpr int kIndexInFileMessages =
12657 60;
12658
swap(ClientSafeBrowsingReportRequest_HTTPResponse & a,ClientSafeBrowsingReportRequest_HTTPResponse & b)12659 friend void swap(ClientSafeBrowsingReportRequest_HTTPResponse& a, ClientSafeBrowsingReportRequest_HTTPResponse& b) {
12660 a.Swap(&b);
12661 }
Swap(ClientSafeBrowsingReportRequest_HTTPResponse * other)12662 inline void Swap(ClientSafeBrowsingReportRequest_HTTPResponse* other) {
12663 if (other == this) return;
12664 InternalSwap(other);
12665 }
12666
12667 // implements Message ----------------------------------------------
12668
New()12669 inline ClientSafeBrowsingReportRequest_HTTPResponse* New() const final {
12670 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPResponse>(nullptr);
12671 }
12672
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)12673 ClientSafeBrowsingReportRequest_HTTPResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
12674 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_HTTPResponse>(arena);
12675 }
12676 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
12677 final;
12678 void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from);
12679 void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from);
12680 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
12681 bool IsInitialized() const final;
12682
12683 size_t ByteSizeLong() const final;
12684 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
12685 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
12686 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
12687 void DiscardUnknownFields();
GetCachedSize()12688 int GetCachedSize() const final { return _cached_size_.Get(); }
12689
12690 private:
12691 inline void SharedCtor();
12692 inline void SharedDtor();
12693 void SetCachedSize(int size) const;
12694 void InternalSwap(ClientSafeBrowsingReportRequest_HTTPResponse* other);
12695 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()12696 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
12697 return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse";
12698 }
12699 private:
GetArenaNoVirtual()12700 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
12701 return nullptr;
12702 }
MaybeArenaPtr()12703 inline void* MaybeArenaPtr() const {
12704 return nullptr;
12705 }
12706 public:
12707
12708 std::string GetTypeName() const final;
12709
12710 // nested types ----------------------------------------------------
12711
12712 typedef ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine FirstLine;
12713
12714 // accessors -------------------------------------------------------
12715
12716 enum : int {
12717 kHeadersFieldNumber = 2,
12718 kBodyFieldNumber = 3,
12719 kBodydigestFieldNumber = 4,
12720 kRemoteIpFieldNumber = 6,
12721 kFirstlineFieldNumber = 1,
12722 kBodylengthFieldNumber = 5,
12723 };
12724 // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2;
12725 int headers_size() const;
12726 private:
12727 int _internal_headers_size() const;
12728 public:
12729 void clear_headers();
12730 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index);
12731 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >*
12732 mutable_headers();
12733 private:
12734 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& _internal_headers(int index) const;
12735 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* _internal_add_headers();
12736 public:
12737 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const;
12738 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers();
12739 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >&
12740 headers() const;
12741
12742 // optional bytes body = 3;
12743 bool has_body() const;
12744 private:
12745 bool _internal_has_body() const;
12746 public:
12747 void clear_body();
12748 const std::string& body() const;
12749 void set_body(const std::string& value);
12750 void set_body(std::string&& value);
12751 void set_body(const char* value);
12752 void set_body(const void* value, size_t size);
12753 std::string* mutable_body();
12754 std::string* release_body();
12755 void set_allocated_body(std::string* body);
12756 private:
12757 const std::string& _internal_body() const;
12758 void _internal_set_body(const std::string& value);
12759 std::string* _internal_mutable_body();
12760 public:
12761
12762 // optional bytes bodydigest = 4;
12763 bool has_bodydigest() const;
12764 private:
12765 bool _internal_has_bodydigest() const;
12766 public:
12767 void clear_bodydigest();
12768 const std::string& bodydigest() const;
12769 void set_bodydigest(const std::string& value);
12770 void set_bodydigest(std::string&& value);
12771 void set_bodydigest(const char* value);
12772 void set_bodydigest(const void* value, size_t size);
12773 std::string* mutable_bodydigest();
12774 std::string* release_bodydigest();
12775 void set_allocated_bodydigest(std::string* bodydigest);
12776 private:
12777 const std::string& _internal_bodydigest() const;
12778 void _internal_set_bodydigest(const std::string& value);
12779 std::string* _internal_mutable_bodydigest();
12780 public:
12781
12782 // optional bytes remote_ip = 6;
12783 bool has_remote_ip() const;
12784 private:
12785 bool _internal_has_remote_ip() const;
12786 public:
12787 void clear_remote_ip();
12788 const std::string& remote_ip() const;
12789 void set_remote_ip(const std::string& value);
12790 void set_remote_ip(std::string&& value);
12791 void set_remote_ip(const char* value);
12792 void set_remote_ip(const void* value, size_t size);
12793 std::string* mutable_remote_ip();
12794 std::string* release_remote_ip();
12795 void set_allocated_remote_ip(std::string* remote_ip);
12796 private:
12797 const std::string& _internal_remote_ip() const;
12798 void _internal_set_remote_ip(const std::string& value);
12799 std::string* _internal_mutable_remote_ip();
12800 public:
12801
12802 // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine firstline = 1;
12803 bool has_firstline() const;
12804 private:
12805 bool _internal_has_firstline() const;
12806 public:
12807 void clear_firstline();
12808 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& firstline() const;
12809 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* release_firstline();
12810 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* mutable_firstline();
12811 void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline);
12812 private:
12813 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& _internal_firstline() const;
12814 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* _internal_mutable_firstline();
12815 public:
12816
12817 // optional int32 bodylength = 5;
12818 bool has_bodylength() const;
12819 private:
12820 bool _internal_has_bodylength() const;
12821 public:
12822 void clear_bodylength();
12823 ::PROTOBUF_NAMESPACE_ID::int32 bodylength() const;
12824 void set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value);
12825 private:
12826 ::PROTOBUF_NAMESPACE_ID::int32 _internal_bodylength() const;
12827 void _internal_set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value);
12828 public:
12829
12830 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse)
12831 private:
12832 class _Internal;
12833
12834 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
12835 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
12836 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
12837 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_;
12838 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_;
12839 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bodydigest_;
12840 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_ip_;
12841 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline_;
12842 ::PROTOBUF_NAMESPACE_ID::int32 bodylength_;
12843 friend struct ::TableStruct_csd_2eproto;
12844 };
12845 // -------------------------------------------------------------------
12846
12847 class ClientSafeBrowsingReportRequest_Resource :
12848 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.Resource) */ {
12849 public:
12850 ClientSafeBrowsingReportRequest_Resource();
12851 virtual ~ClientSafeBrowsingReportRequest_Resource();
12852
12853 ClientSafeBrowsingReportRequest_Resource(const ClientSafeBrowsingReportRequest_Resource& from);
ClientSafeBrowsingReportRequest_Resource(ClientSafeBrowsingReportRequest_Resource && from)12854 ClientSafeBrowsingReportRequest_Resource(ClientSafeBrowsingReportRequest_Resource&& from) noexcept
12855 : ClientSafeBrowsingReportRequest_Resource() {
12856 *this = ::std::move(from);
12857 }
12858
12859 inline ClientSafeBrowsingReportRequest_Resource& operator=(const ClientSafeBrowsingReportRequest_Resource& from) {
12860 CopyFrom(from);
12861 return *this;
12862 }
12863 inline ClientSafeBrowsingReportRequest_Resource& operator=(ClientSafeBrowsingReportRequest_Resource&& from) noexcept {
12864 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12865 if (this != &from) InternalSwap(&from);
12866 } else {
12867 CopyFrom(from);
12868 }
12869 return *this;
12870 }
12871
unknown_fields()12872 inline const std::string& unknown_fields() const {
12873 return _internal_metadata_.unknown_fields();
12874 }
mutable_unknown_fields()12875 inline std::string* mutable_unknown_fields() {
12876 return _internal_metadata_.mutable_unknown_fields();
12877 }
12878
12879 static const ClientSafeBrowsingReportRequest_Resource& default_instance();
12880
12881 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12882 static inline const ClientSafeBrowsingReportRequest_Resource* internal_default_instance() {
12883 return reinterpret_cast<const ClientSafeBrowsingReportRequest_Resource*>(
12884 &_ClientSafeBrowsingReportRequest_Resource_default_instance_);
12885 }
12886 static constexpr int kIndexInFileMessages =
12887 61;
12888
swap(ClientSafeBrowsingReportRequest_Resource & a,ClientSafeBrowsingReportRequest_Resource & b)12889 friend void swap(ClientSafeBrowsingReportRequest_Resource& a, ClientSafeBrowsingReportRequest_Resource& b) {
12890 a.Swap(&b);
12891 }
Swap(ClientSafeBrowsingReportRequest_Resource * other)12892 inline void Swap(ClientSafeBrowsingReportRequest_Resource* other) {
12893 if (other == this) return;
12894 InternalSwap(other);
12895 }
12896
12897 // implements Message ----------------------------------------------
12898
New()12899 inline ClientSafeBrowsingReportRequest_Resource* New() const final {
12900 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_Resource>(nullptr);
12901 }
12902
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)12903 ClientSafeBrowsingReportRequest_Resource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
12904 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_Resource>(arena);
12905 }
12906 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
12907 final;
12908 void CopyFrom(const ClientSafeBrowsingReportRequest_Resource& from);
12909 void MergeFrom(const ClientSafeBrowsingReportRequest_Resource& from);
12910 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
12911 bool IsInitialized() const final;
12912
12913 size_t ByteSizeLong() const final;
12914 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
12915 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
12916 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
12917 void DiscardUnknownFields();
GetCachedSize()12918 int GetCachedSize() const final { return _cached_size_.Get(); }
12919
12920 private:
12921 inline void SharedCtor();
12922 inline void SharedDtor();
12923 void SetCachedSize(int size) const;
12924 void InternalSwap(ClientSafeBrowsingReportRequest_Resource* other);
12925 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()12926 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
12927 return "safe_browsing.ClientSafeBrowsingReportRequest.Resource";
12928 }
12929 private:
GetArenaNoVirtual()12930 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
12931 return nullptr;
12932 }
MaybeArenaPtr()12933 inline void* MaybeArenaPtr() const {
12934 return nullptr;
12935 }
12936 public:
12937
12938 std::string GetTypeName() const final;
12939
12940 // nested types ----------------------------------------------------
12941
12942 // accessors -------------------------------------------------------
12943
12944 enum : int {
12945 kChildIdsFieldNumber = 6,
12946 kUrlFieldNumber = 2,
12947 kTagNameFieldNumber = 7,
12948 kRequestFieldNumber = 3,
12949 kResponseFieldNumber = 4,
12950 kIdFieldNumber = 1,
12951 kParentIdFieldNumber = 5,
12952 };
12953 // repeated int32 child_ids = 6;
12954 int child_ids_size() const;
12955 private:
12956 int _internal_child_ids_size() const;
12957 public:
12958 void clear_child_ids();
12959 private:
12960 ::PROTOBUF_NAMESPACE_ID::int32 _internal_child_ids(int index) const;
12961 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
12962 _internal_child_ids() const;
12963 void _internal_add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
12964 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
12965 _internal_mutable_child_ids();
12966 public:
12967 ::PROTOBUF_NAMESPACE_ID::int32 child_ids(int index) const;
12968 void set_child_ids(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
12969 void add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
12970 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
12971 child_ids() const;
12972 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
12973 mutable_child_ids();
12974
12975 // optional string url = 2;
12976 bool has_url() const;
12977 private:
12978 bool _internal_has_url() const;
12979 public:
12980 void clear_url();
12981 const std::string& url() const;
12982 void set_url(const std::string& value);
12983 void set_url(std::string&& value);
12984 void set_url(const char* value);
12985 void set_url(const char* value, size_t size);
12986 std::string* mutable_url();
12987 std::string* release_url();
12988 void set_allocated_url(std::string* url);
12989 private:
12990 const std::string& _internal_url() const;
12991 void _internal_set_url(const std::string& value);
12992 std::string* _internal_mutable_url();
12993 public:
12994
12995 // optional string tag_name = 7;
12996 bool has_tag_name() const;
12997 private:
12998 bool _internal_has_tag_name() const;
12999 public:
13000 void clear_tag_name();
13001 const std::string& tag_name() const;
13002 void set_tag_name(const std::string& value);
13003 void set_tag_name(std::string&& value);
13004 void set_tag_name(const char* value);
13005 void set_tag_name(const char* value, size_t size);
13006 std::string* mutable_tag_name();
13007 std::string* release_tag_name();
13008 void set_allocated_tag_name(std::string* tag_name);
13009 private:
13010 const std::string& _internal_tag_name() const;
13011 void _internal_set_tag_name(const std::string& value);
13012 std::string* _internal_mutable_tag_name();
13013 public:
13014
13015 // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest request = 3;
13016 bool has_request() const;
13017 private:
13018 bool _internal_has_request() const;
13019 public:
13020 void clear_request();
13021 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& request() const;
13022 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* release_request();
13023 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* mutable_request();
13024 void set_allocated_request(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request);
13025 private:
13026 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& _internal_request() const;
13027 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* _internal_mutable_request();
13028 public:
13029
13030 // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse response = 4;
13031 bool has_response() const;
13032 private:
13033 bool _internal_has_response() const;
13034 public:
13035 void clear_response();
13036 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& response() const;
13037 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* release_response();
13038 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* mutable_response();
13039 void set_allocated_response(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response);
13040 private:
13041 const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& _internal_response() const;
13042 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* _internal_mutable_response();
13043 public:
13044
13045 // required int32 id = 1;
13046 bool has_id() const;
13047 private:
13048 bool _internal_has_id() const;
13049 public:
13050 void clear_id();
13051 ::PROTOBUF_NAMESPACE_ID::int32 id() const;
13052 void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
13053 private:
13054 ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const;
13055 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
13056 public:
13057
13058 // optional int32 parent_id = 5;
13059 bool has_parent_id() const;
13060 private:
13061 bool _internal_has_parent_id() const;
13062 public:
13063 void clear_parent_id();
13064 ::PROTOBUF_NAMESPACE_ID::int32 parent_id() const;
13065 void set_parent_id(::PROTOBUF_NAMESPACE_ID::int32 value);
13066 private:
13067 ::PROTOBUF_NAMESPACE_ID::int32 _internal_parent_id() const;
13068 void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::int32 value);
13069 public:
13070
13071 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.Resource)
13072 private:
13073 class _Internal;
13074
13075 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
13076 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
13077 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
13078 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > child_ids_;
13079 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
13080 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_name_;
13081 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request_;
13082 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response_;
13083 ::PROTOBUF_NAMESPACE_ID::int32 id_;
13084 ::PROTOBUF_NAMESPACE_ID::int32 parent_id_;
13085 friend struct ::TableStruct_csd_2eproto;
13086 };
13087 // -------------------------------------------------------------------
13088
13089 class ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties :
13090 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties) */ {
13091 public:
13092 ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties();
13093 virtual ~ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties();
13094
13095 ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from);
ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties && from)13096 ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties&& from) noexcept
13097 : ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties() {
13098 *this = ::std::move(from);
13099 }
13100
13101 inline ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& operator=(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from) {
13102 CopyFrom(from);
13103 return *this;
13104 }
13105 inline ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& operator=(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties&& from) noexcept {
13106 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
13107 if (this != &from) InternalSwap(&from);
13108 } else {
13109 CopyFrom(from);
13110 }
13111 return *this;
13112 }
13113
unknown_fields()13114 inline const std::string& unknown_fields() const {
13115 return _internal_metadata_.unknown_fields();
13116 }
mutable_unknown_fields()13117 inline std::string* mutable_unknown_fields() {
13118 return _internal_metadata_.mutable_unknown_fields();
13119 }
13120
13121 static const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& default_instance();
13122
13123 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()13124 static inline const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* internal_default_instance() {
13125 return reinterpret_cast<const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties*>(
13126 &_ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties_default_instance_);
13127 }
13128 static constexpr int kIndexInFileMessages =
13129 62;
13130
swap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties & a,ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties & b)13131 friend void swap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& a, ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& b) {
13132 a.Swap(&b);
13133 }
Swap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties * other)13134 inline void Swap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* other) {
13135 if (other == this) return;
13136 InternalSwap(other);
13137 }
13138
13139 // implements Message ----------------------------------------------
13140
New()13141 inline ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* New() const final {
13142 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(nullptr);
13143 }
13144
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)13145 ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
13146 return CreateMaybeMessage<ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(arena);
13147 }
13148 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
13149 final;
13150 void CopyFrom(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from);
13151 void MergeFrom(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from);
13152 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
13153 bool IsInitialized() const final;
13154
13155 size_t ByteSizeLong() const final;
13156 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
13157 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
13158 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
13159 void DiscardUnknownFields();
GetCachedSize()13160 int GetCachedSize() const final { return _cached_size_.Get(); }
13161
13162 private:
13163 inline void SharedCtor();
13164 inline void SharedDtor();
13165 void SetCachedSize(int size) const;
13166 void InternalSwap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* other);
13167 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()13168 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
13169 return "safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties";
13170 }
13171 private:
GetArenaNoVirtual()13172 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
13173 return nullptr;
13174 }
MaybeArenaPtr()13175 inline void* MaybeArenaPtr() const {
13176 return nullptr;
13177 }
13178 public:
13179
13180 std::string GetTypeName() const final;
13181
13182 // nested types ----------------------------------------------------
13183
13184 // accessors -------------------------------------------------------
13185
13186 enum : int {
13187 kClientVersionFieldNumber = 1,
13188 kGooglePlayServicesVersionFieldNumber = 2,
13189 kIsInstantAppsFieldNumber = 3,
13190 kUrlApiTypeFieldNumber = 4,
13191 };
13192 // optional string client_version = 1;
13193 bool has_client_version() const;
13194 private:
13195 bool _internal_has_client_version() const;
13196 public:
13197 void clear_client_version();
13198 const std::string& client_version() const;
13199 void set_client_version(const std::string& value);
13200 void set_client_version(std::string&& value);
13201 void set_client_version(const char* value);
13202 void set_client_version(const char* value, size_t size);
13203 std::string* mutable_client_version();
13204 std::string* release_client_version();
13205 void set_allocated_client_version(std::string* client_version);
13206 private:
13207 const std::string& _internal_client_version() const;
13208 void _internal_set_client_version(const std::string& value);
13209 std::string* _internal_mutable_client_version();
13210 public:
13211
13212 // optional int64 google_play_services_version = 2;
13213 bool has_google_play_services_version() const;
13214 private:
13215 bool _internal_has_google_play_services_version() const;
13216 public:
13217 void clear_google_play_services_version();
13218 ::PROTOBUF_NAMESPACE_ID::int64 google_play_services_version() const;
13219 void set_google_play_services_version(::PROTOBUF_NAMESPACE_ID::int64 value);
13220 private:
13221 ::PROTOBUF_NAMESPACE_ID::int64 _internal_google_play_services_version() const;
13222 void _internal_set_google_play_services_version(::PROTOBUF_NAMESPACE_ID::int64 value);
13223 public:
13224
13225 // optional bool is_instant_apps = 3;
13226 bool has_is_instant_apps() const;
13227 private:
13228 bool _internal_has_is_instant_apps() const;
13229 public:
13230 void clear_is_instant_apps();
13231 bool is_instant_apps() const;
13232 void set_is_instant_apps(bool value);
13233 private:
13234 bool _internal_is_instant_apps() const;
13235 void _internal_set_is_instant_apps(bool value);
13236 public:
13237
13238 // optional .safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingUrlApiType url_api_type = 4;
13239 bool has_url_api_type() const;
13240 private:
13241 bool _internal_has_url_api_type() const;
13242 public:
13243 void clear_url_api_type();
13244 ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType url_api_type() const;
13245 void set_url_api_type(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value);
13246 private:
13247 ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType _internal_url_api_type() const;
13248 void _internal_set_url_api_type(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value);
13249 public:
13250
13251 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties)
13252 private:
13253 class _Internal;
13254
13255 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
13256 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
13257 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
13258 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_version_;
13259 ::PROTOBUF_NAMESPACE_ID::int64 google_play_services_version_;
13260 bool is_instant_apps_;
13261 int url_api_type_;
13262 friend struct ::TableStruct_csd_2eproto;
13263 };
13264 // -------------------------------------------------------------------
13265
13266 class ClientSafeBrowsingReportRequest :
13267 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest) */ {
13268 public:
13269 ClientSafeBrowsingReportRequest();
13270 virtual ~ClientSafeBrowsingReportRequest();
13271
13272 ClientSafeBrowsingReportRequest(const ClientSafeBrowsingReportRequest& from);
ClientSafeBrowsingReportRequest(ClientSafeBrowsingReportRequest && from)13273 ClientSafeBrowsingReportRequest(ClientSafeBrowsingReportRequest&& from) noexcept
13274 : ClientSafeBrowsingReportRequest() {
13275 *this = ::std::move(from);
13276 }
13277
13278 inline ClientSafeBrowsingReportRequest& operator=(const ClientSafeBrowsingReportRequest& from) {
13279 CopyFrom(from);
13280 return *this;
13281 }
13282 inline ClientSafeBrowsingReportRequest& operator=(ClientSafeBrowsingReportRequest&& from) noexcept {
13283 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
13284 if (this != &from) InternalSwap(&from);
13285 } else {
13286 CopyFrom(from);
13287 }
13288 return *this;
13289 }
13290
unknown_fields()13291 inline const std::string& unknown_fields() const {
13292 return _internal_metadata_.unknown_fields();
13293 }
mutable_unknown_fields()13294 inline std::string* mutable_unknown_fields() {
13295 return _internal_metadata_.mutable_unknown_fields();
13296 }
13297
13298 static const ClientSafeBrowsingReportRequest& default_instance();
13299
13300 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()13301 static inline const ClientSafeBrowsingReportRequest* internal_default_instance() {
13302 return reinterpret_cast<const ClientSafeBrowsingReportRequest*>(
13303 &_ClientSafeBrowsingReportRequest_default_instance_);
13304 }
13305 static constexpr int kIndexInFileMessages =
13306 63;
13307
swap(ClientSafeBrowsingReportRequest & a,ClientSafeBrowsingReportRequest & b)13308 friend void swap(ClientSafeBrowsingReportRequest& a, ClientSafeBrowsingReportRequest& b) {
13309 a.Swap(&b);
13310 }
Swap(ClientSafeBrowsingReportRequest * other)13311 inline void Swap(ClientSafeBrowsingReportRequest* other) {
13312 if (other == this) return;
13313 InternalSwap(other);
13314 }
13315
13316 // implements Message ----------------------------------------------
13317
New()13318 inline ClientSafeBrowsingReportRequest* New() const final {
13319 return CreateMaybeMessage<ClientSafeBrowsingReportRequest>(nullptr);
13320 }
13321
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)13322 ClientSafeBrowsingReportRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
13323 return CreateMaybeMessage<ClientSafeBrowsingReportRequest>(arena);
13324 }
13325 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
13326 final;
13327 void CopyFrom(const ClientSafeBrowsingReportRequest& from);
13328 void MergeFrom(const ClientSafeBrowsingReportRequest& from);
13329 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
13330 bool IsInitialized() const final;
13331
13332 size_t ByteSizeLong() const final;
13333 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
13334 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
13335 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
13336 void DiscardUnknownFields();
GetCachedSize()13337 int GetCachedSize() const final { return _cached_size_.Get(); }
13338
13339 private:
13340 inline void SharedCtor();
13341 inline void SharedDtor();
13342 void SetCachedSize(int size) const;
13343 void InternalSwap(ClientSafeBrowsingReportRequest* other);
13344 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()13345 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
13346 return "safe_browsing.ClientSafeBrowsingReportRequest";
13347 }
13348 private:
GetArenaNoVirtual()13349 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
13350 return nullptr;
13351 }
MaybeArenaPtr()13352 inline void* MaybeArenaPtr() const {
13353 return nullptr;
13354 }
13355 public:
13356
13357 std::string GetTypeName() const final;
13358
13359 // nested types ----------------------------------------------------
13360
13361 typedef ClientSafeBrowsingReportRequest_HTTPHeader HTTPHeader;
13362 typedef ClientSafeBrowsingReportRequest_HTTPRequest HTTPRequest;
13363 typedef ClientSafeBrowsingReportRequest_HTTPResponse HTTPResponse;
13364 typedef ClientSafeBrowsingReportRequest_Resource Resource;
13365 typedef ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties SafeBrowsingClientProperties;
13366
13367 typedef ClientSafeBrowsingReportRequest_ReportType ReportType;
13368 static constexpr ReportType UNKNOWN =
13369 ClientSafeBrowsingReportRequest_ReportType_UNKNOWN;
13370 static constexpr ReportType URL_PHISHING =
13371 ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING;
13372 static constexpr ReportType URL_MALWARE =
13373 ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE;
13374 static constexpr ReportType URL_UNWANTED =
13375 ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED;
13376 static constexpr ReportType URL_CLIENT_SIDE_PHISHING =
13377 ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_PHISHING;
13378 static constexpr ReportType URL_CLIENT_SIDE_MALWARE =
13379 ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_MALWARE;
13380 static constexpr ReportType DANGEROUS_DOWNLOAD_RECOVERY =
13381 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY;
13382 static constexpr ReportType DANGEROUS_DOWNLOAD_WARNING =
13383 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING;
13384 static constexpr ReportType DANGEROUS_DOWNLOAD_BY_API =
13385 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API;
13386 static constexpr ReportType URL_PASSWORD_PROTECTION_PHISHING =
13387 ClientSafeBrowsingReportRequest_ReportType_URL_PASSWORD_PROTECTION_PHISHING;
13388 static constexpr ReportType DANGEROUS_DOWNLOAD_OPENED =
13389 ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_OPENED;
13390 static constexpr ReportType AD_SAMPLE =
13391 ClientSafeBrowsingReportRequest_ReportType_AD_SAMPLE;
ReportType_IsValid(int value)13392 static inline bool ReportType_IsValid(int value) {
13393 return ClientSafeBrowsingReportRequest_ReportType_IsValid(value);
13394 }
13395 static constexpr ReportType ReportType_MIN =
13396 ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN;
13397 static constexpr ReportType ReportType_MAX =
13398 ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX;
13399 static constexpr int ReportType_ARRAYSIZE =
13400 ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE;
13401 template<typename T>
ReportType_Name(T enum_t_value)13402 static inline const std::string& ReportType_Name(T enum_t_value) {
13403 static_assert(::std::is_same<T, ReportType>::value ||
13404 ::std::is_integral<T>::value,
13405 "Incorrect type passed to function ReportType_Name.");
13406 return ClientSafeBrowsingReportRequest_ReportType_Name(enum_t_value);
13407 }
ReportType_Parse(const std::string & name,ReportType * value)13408 static inline bool ReportType_Parse(const std::string& name,
13409 ReportType* value) {
13410 return ClientSafeBrowsingReportRequest_ReportType_Parse(name, value);
13411 }
13412
13413 typedef ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType SafeBrowsingUrlApiType;
13414 static constexpr SafeBrowsingUrlApiType SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED =
13415 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED;
13416 static constexpr SafeBrowsingUrlApiType PVER3_NATIVE =
13417 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER3_NATIVE;
13418 static constexpr SafeBrowsingUrlApiType PVER4_NATIVE =
13419 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER4_NATIVE;
13420 static constexpr SafeBrowsingUrlApiType ANDROID_SAFETYNET =
13421 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_ANDROID_SAFETYNET;
13422 static constexpr SafeBrowsingUrlApiType FLYWHEEL =
13423 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_FLYWHEEL;
SafeBrowsingUrlApiType_IsValid(int value)13424 static inline bool SafeBrowsingUrlApiType_IsValid(int value) {
13425 return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_IsValid(value);
13426 }
13427 static constexpr SafeBrowsingUrlApiType SafeBrowsingUrlApiType_MIN =
13428 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MIN;
13429 static constexpr SafeBrowsingUrlApiType SafeBrowsingUrlApiType_MAX =
13430 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MAX;
13431 static constexpr int SafeBrowsingUrlApiType_ARRAYSIZE =
13432 ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_ARRAYSIZE;
13433 template<typename T>
SafeBrowsingUrlApiType_Name(T enum_t_value)13434 static inline const std::string& SafeBrowsingUrlApiType_Name(T enum_t_value) {
13435 static_assert(::std::is_same<T, SafeBrowsingUrlApiType>::value ||
13436 ::std::is_integral<T>::value,
13437 "Incorrect type passed to function SafeBrowsingUrlApiType_Name.");
13438 return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(enum_t_value);
13439 }
SafeBrowsingUrlApiType_Parse(const std::string & name,SafeBrowsingUrlApiType * value)13440 static inline bool SafeBrowsingUrlApiType_Parse(const std::string& name,
13441 SafeBrowsingUrlApiType* value) {
13442 return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Parse(name, value);
13443 }
13444
13445 // accessors -------------------------------------------------------
13446
13447 enum : int {
13448 kResourcesFieldNumber = 4,
13449 kClientAsnFieldNumber = 6,
13450 kDomFieldNumber = 16,
13451 kUrlFieldNumber = 1,
13452 kPageUrlFieldNumber = 2,
13453 kReferrerUrlFieldNumber = 3,
13454 kClientCountryFieldNumber = 7,
13455 kTokenFieldNumber = 15,
13456 kClientPropertiesFieldNumber = 17,
13457 kTypeFieldNumber = 10,
13458 kCompleteFieldNumber = 5,
13459 kDidProceedFieldNumber = 8,
13460 kRepeatVisitFieldNumber = 9,
13461 kShowDownloadInFolderFieldNumber = 18,
13462 kDownloadVerdictFieldNumber = 11,
13463 };
13464 // repeated .safe_browsing.ClientSafeBrowsingReportRequest.Resource resources = 4;
13465 int resources_size() const;
13466 private:
13467 int _internal_resources_size() const;
13468 public:
13469 void clear_resources();
13470 ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* mutable_resources(int index);
13471 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >*
13472 mutable_resources();
13473 private:
13474 const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& _internal_resources(int index) const;
13475 ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* _internal_add_resources();
13476 public:
13477 const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& resources(int index) const;
13478 ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* add_resources();
13479 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >&
13480 resources() const;
13481
13482 // repeated string client_asn = 6;
13483 int client_asn_size() const;
13484 private:
13485 int _internal_client_asn_size() const;
13486 public:
13487 void clear_client_asn();
13488 const std::string& client_asn(int index) const;
13489 std::string* mutable_client_asn(int index);
13490 void set_client_asn(int index, const std::string& value);
13491 void set_client_asn(int index, std::string&& value);
13492 void set_client_asn(int index, const char* value);
13493 void set_client_asn(int index, const char* value, size_t size);
13494 std::string* add_client_asn();
13495 void add_client_asn(const std::string& value);
13496 void add_client_asn(std::string&& value);
13497 void add_client_asn(const char* value);
13498 void add_client_asn(const char* value, size_t size);
13499 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& client_asn() const;
13500 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_client_asn();
13501 private:
13502 const std::string& _internal_client_asn(int index) const;
13503 std::string* _internal_add_client_asn();
13504 public:
13505
13506 // repeated .safe_browsing.HTMLElement dom = 16;
13507 int dom_size() const;
13508 private:
13509 int _internal_dom_size() const;
13510 public:
13511 void clear_dom();
13512 ::safe_browsing::HTMLElement* mutable_dom(int index);
13513 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement >*
13514 mutable_dom();
13515 private:
13516 const ::safe_browsing::HTMLElement& _internal_dom(int index) const;
13517 ::safe_browsing::HTMLElement* _internal_add_dom();
13518 public:
13519 const ::safe_browsing::HTMLElement& dom(int index) const;
13520 ::safe_browsing::HTMLElement* add_dom();
13521 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement >&
13522 dom() const;
13523
13524 // optional string url = 1;
13525 bool has_url() const;
13526 private:
13527 bool _internal_has_url() const;
13528 public:
13529 void clear_url();
13530 const std::string& url() const;
13531 void set_url(const std::string& value);
13532 void set_url(std::string&& value);
13533 void set_url(const char* value);
13534 void set_url(const char* value, size_t size);
13535 std::string* mutable_url();
13536 std::string* release_url();
13537 void set_allocated_url(std::string* url);
13538 private:
13539 const std::string& _internal_url() const;
13540 void _internal_set_url(const std::string& value);
13541 std::string* _internal_mutable_url();
13542 public:
13543
13544 // optional string page_url = 2;
13545 bool has_page_url() const;
13546 private:
13547 bool _internal_has_page_url() const;
13548 public:
13549 void clear_page_url();
13550 const std::string& page_url() const;
13551 void set_page_url(const std::string& value);
13552 void set_page_url(std::string&& value);
13553 void set_page_url(const char* value);
13554 void set_page_url(const char* value, size_t size);
13555 std::string* mutable_page_url();
13556 std::string* release_page_url();
13557 void set_allocated_page_url(std::string* page_url);
13558 private:
13559 const std::string& _internal_page_url() const;
13560 void _internal_set_page_url(const std::string& value);
13561 std::string* _internal_mutable_page_url();
13562 public:
13563
13564 // optional string referrer_url = 3;
13565 bool has_referrer_url() const;
13566 private:
13567 bool _internal_has_referrer_url() const;
13568 public:
13569 void clear_referrer_url();
13570 const std::string& referrer_url() const;
13571 void set_referrer_url(const std::string& value);
13572 void set_referrer_url(std::string&& value);
13573 void set_referrer_url(const char* value);
13574 void set_referrer_url(const char* value, size_t size);
13575 std::string* mutable_referrer_url();
13576 std::string* release_referrer_url();
13577 void set_allocated_referrer_url(std::string* referrer_url);
13578 private:
13579 const std::string& _internal_referrer_url() const;
13580 void _internal_set_referrer_url(const std::string& value);
13581 std::string* _internal_mutable_referrer_url();
13582 public:
13583
13584 // optional string client_country = 7;
13585 bool has_client_country() const;
13586 private:
13587 bool _internal_has_client_country() const;
13588 public:
13589 void clear_client_country();
13590 const std::string& client_country() const;
13591 void set_client_country(const std::string& value);
13592 void set_client_country(std::string&& value);
13593 void set_client_country(const char* value);
13594 void set_client_country(const char* value, size_t size);
13595 std::string* mutable_client_country();
13596 std::string* release_client_country();
13597 void set_allocated_client_country(std::string* client_country);
13598 private:
13599 const std::string& _internal_client_country() const;
13600 void _internal_set_client_country(const std::string& value);
13601 std::string* _internal_mutable_client_country();
13602 public:
13603
13604 // optional bytes token = 15;
13605 bool has_token() const;
13606 private:
13607 bool _internal_has_token() const;
13608 public:
13609 void clear_token();
13610 const std::string& token() const;
13611 void set_token(const std::string& value);
13612 void set_token(std::string&& value);
13613 void set_token(const char* value);
13614 void set_token(const void* value, size_t size);
13615 std::string* mutable_token();
13616 std::string* release_token();
13617 void set_allocated_token(std::string* token);
13618 private:
13619 const std::string& _internal_token() const;
13620 void _internal_set_token(const std::string& value);
13621 std::string* _internal_mutable_token();
13622 public:
13623
13624 // optional .safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties client_properties = 17;
13625 bool has_client_properties() const;
13626 private:
13627 bool _internal_has_client_properties() const;
13628 public:
13629 void clear_client_properties();
13630 const ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& client_properties() const;
13631 ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* release_client_properties();
13632 ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* mutable_client_properties();
13633 void set_allocated_client_properties(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* client_properties);
13634 private:
13635 const ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& _internal_client_properties() const;
13636 ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* _internal_mutable_client_properties();
13637 public:
13638
13639 // optional .safe_browsing.ClientSafeBrowsingReportRequest.ReportType type = 10;
13640 bool has_type() const;
13641 private:
13642 bool _internal_has_type() const;
13643 public:
13644 void clear_type();
13645 ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType type() const;
13646 void set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value);
13647 private:
13648 ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType _internal_type() const;
13649 void _internal_set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value);
13650 public:
13651
13652 // optional bool complete = 5;
13653 bool has_complete() const;
13654 private:
13655 bool _internal_has_complete() const;
13656 public:
13657 void clear_complete();
13658 bool complete() const;
13659 void set_complete(bool value);
13660 private:
13661 bool _internal_complete() const;
13662 void _internal_set_complete(bool value);
13663 public:
13664
13665 // optional bool did_proceed = 8;
13666 bool has_did_proceed() const;
13667 private:
13668 bool _internal_has_did_proceed() const;
13669 public:
13670 void clear_did_proceed();
13671 bool did_proceed() const;
13672 void set_did_proceed(bool value);
13673 private:
13674 bool _internal_did_proceed() const;
13675 void _internal_set_did_proceed(bool value);
13676 public:
13677
13678 // optional bool repeat_visit = 9;
13679 bool has_repeat_visit() const;
13680 private:
13681 bool _internal_has_repeat_visit() const;
13682 public:
13683 void clear_repeat_visit();
13684 bool repeat_visit() const;
13685 void set_repeat_visit(bool value);
13686 private:
13687 bool _internal_repeat_visit() const;
13688 void _internal_set_repeat_visit(bool value);
13689 public:
13690
13691 // optional bool show_download_in_folder = 18;
13692 bool has_show_download_in_folder() const;
13693 private:
13694 bool _internal_has_show_download_in_folder() const;
13695 public:
13696 void clear_show_download_in_folder();
13697 bool show_download_in_folder() const;
13698 void set_show_download_in_folder(bool value);
13699 private:
13700 bool _internal_show_download_in_folder() const;
13701 void _internal_set_show_download_in_folder(bool value);
13702 public:
13703
13704 // optional .safe_browsing.ClientDownloadResponse.Verdict download_verdict = 11;
13705 bool has_download_verdict() const;
13706 private:
13707 bool _internal_has_download_verdict() const;
13708 public:
13709 void clear_download_verdict();
13710 ::safe_browsing::ClientDownloadResponse_Verdict download_verdict() const;
13711 void set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value);
13712 private:
13713 ::safe_browsing::ClientDownloadResponse_Verdict _internal_download_verdict() const;
13714 void _internal_set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value);
13715 public:
13716
13717 // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest)
13718 private:
13719 class _Internal;
13720
13721 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
13722 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
13723 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
13724 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource > resources_;
13725 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> client_asn_;
13726 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement > dom_;
13727 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_;
13728 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_url_;
13729 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_url_;
13730 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_country_;
13731 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_;
13732 ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* client_properties_;
13733 int type_;
13734 bool complete_;
13735 bool did_proceed_;
13736 bool repeat_visit_;
13737 bool show_download_in_folder_;
13738 int download_verdict_;
13739 friend struct ::TableStruct_csd_2eproto;
13740 };
13741 // -------------------------------------------------------------------
13742
13743 class HTMLElement_Attribute :
13744 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.HTMLElement.Attribute) */ {
13745 public:
13746 HTMLElement_Attribute();
13747 virtual ~HTMLElement_Attribute();
13748
13749 HTMLElement_Attribute(const HTMLElement_Attribute& from);
HTMLElement_Attribute(HTMLElement_Attribute && from)13750 HTMLElement_Attribute(HTMLElement_Attribute&& from) noexcept
13751 : HTMLElement_Attribute() {
13752 *this = ::std::move(from);
13753 }
13754
13755 inline HTMLElement_Attribute& operator=(const HTMLElement_Attribute& from) {
13756 CopyFrom(from);
13757 return *this;
13758 }
13759 inline HTMLElement_Attribute& operator=(HTMLElement_Attribute&& from) noexcept {
13760 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
13761 if (this != &from) InternalSwap(&from);
13762 } else {
13763 CopyFrom(from);
13764 }
13765 return *this;
13766 }
13767
unknown_fields()13768 inline const std::string& unknown_fields() const {
13769 return _internal_metadata_.unknown_fields();
13770 }
mutable_unknown_fields()13771 inline std::string* mutable_unknown_fields() {
13772 return _internal_metadata_.mutable_unknown_fields();
13773 }
13774
13775 static const HTMLElement_Attribute& default_instance();
13776
13777 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()13778 static inline const HTMLElement_Attribute* internal_default_instance() {
13779 return reinterpret_cast<const HTMLElement_Attribute*>(
13780 &_HTMLElement_Attribute_default_instance_);
13781 }
13782 static constexpr int kIndexInFileMessages =
13783 64;
13784
swap(HTMLElement_Attribute & a,HTMLElement_Attribute & b)13785 friend void swap(HTMLElement_Attribute& a, HTMLElement_Attribute& b) {
13786 a.Swap(&b);
13787 }
Swap(HTMLElement_Attribute * other)13788 inline void Swap(HTMLElement_Attribute* other) {
13789 if (other == this) return;
13790 InternalSwap(other);
13791 }
13792
13793 // implements Message ----------------------------------------------
13794
New()13795 inline HTMLElement_Attribute* New() const final {
13796 return CreateMaybeMessage<HTMLElement_Attribute>(nullptr);
13797 }
13798
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)13799 HTMLElement_Attribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
13800 return CreateMaybeMessage<HTMLElement_Attribute>(arena);
13801 }
13802 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
13803 final;
13804 void CopyFrom(const HTMLElement_Attribute& from);
13805 void MergeFrom(const HTMLElement_Attribute& from);
13806 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
13807 bool IsInitialized() const final;
13808
13809 size_t ByteSizeLong() const final;
13810 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
13811 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
13812 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
13813 void DiscardUnknownFields();
GetCachedSize()13814 int GetCachedSize() const final { return _cached_size_.Get(); }
13815
13816 private:
13817 inline void SharedCtor();
13818 inline void SharedDtor();
13819 void SetCachedSize(int size) const;
13820 void InternalSwap(HTMLElement_Attribute* other);
13821 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()13822 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
13823 return "safe_browsing.HTMLElement.Attribute";
13824 }
13825 private:
GetArenaNoVirtual()13826 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
13827 return nullptr;
13828 }
MaybeArenaPtr()13829 inline void* MaybeArenaPtr() const {
13830 return nullptr;
13831 }
13832 public:
13833
13834 std::string GetTypeName() const final;
13835
13836 // nested types ----------------------------------------------------
13837
13838 // accessors -------------------------------------------------------
13839
13840 enum : int {
13841 kNameFieldNumber = 1,
13842 kValueFieldNumber = 2,
13843 };
13844 // optional string name = 1;
13845 bool has_name() const;
13846 private:
13847 bool _internal_has_name() const;
13848 public:
13849 void clear_name();
13850 const std::string& name() const;
13851 void set_name(const std::string& value);
13852 void set_name(std::string&& value);
13853 void set_name(const char* value);
13854 void set_name(const char* value, size_t size);
13855 std::string* mutable_name();
13856 std::string* release_name();
13857 void set_allocated_name(std::string* name);
13858 private:
13859 const std::string& _internal_name() const;
13860 void _internal_set_name(const std::string& value);
13861 std::string* _internal_mutable_name();
13862 public:
13863
13864 // optional string value = 2;
13865 bool has_value() const;
13866 private:
13867 bool _internal_has_value() const;
13868 public:
13869 void clear_value();
13870 const std::string& value() const;
13871 void set_value(const std::string& value);
13872 void set_value(std::string&& value);
13873 void set_value(const char* value);
13874 void set_value(const char* value, size_t size);
13875 std::string* mutable_value();
13876 std::string* release_value();
13877 void set_allocated_value(std::string* value);
13878 private:
13879 const std::string& _internal_value() const;
13880 void _internal_set_value(const std::string& value);
13881 std::string* _internal_mutable_value();
13882 public:
13883
13884 // @@protoc_insertion_point(class_scope:safe_browsing.HTMLElement.Attribute)
13885 private:
13886 class _Internal;
13887
13888 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
13889 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
13890 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
13891 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
13892 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
13893 friend struct ::TableStruct_csd_2eproto;
13894 };
13895 // -------------------------------------------------------------------
13896
13897 class HTMLElement :
13898 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.HTMLElement) */ {
13899 public:
13900 HTMLElement();
13901 virtual ~HTMLElement();
13902
13903 HTMLElement(const HTMLElement& from);
HTMLElement(HTMLElement && from)13904 HTMLElement(HTMLElement&& from) noexcept
13905 : HTMLElement() {
13906 *this = ::std::move(from);
13907 }
13908
13909 inline HTMLElement& operator=(const HTMLElement& from) {
13910 CopyFrom(from);
13911 return *this;
13912 }
13913 inline HTMLElement& operator=(HTMLElement&& from) noexcept {
13914 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
13915 if (this != &from) InternalSwap(&from);
13916 } else {
13917 CopyFrom(from);
13918 }
13919 return *this;
13920 }
13921
unknown_fields()13922 inline const std::string& unknown_fields() const {
13923 return _internal_metadata_.unknown_fields();
13924 }
mutable_unknown_fields()13925 inline std::string* mutable_unknown_fields() {
13926 return _internal_metadata_.mutable_unknown_fields();
13927 }
13928
13929 static const HTMLElement& default_instance();
13930
13931 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()13932 static inline const HTMLElement* internal_default_instance() {
13933 return reinterpret_cast<const HTMLElement*>(
13934 &_HTMLElement_default_instance_);
13935 }
13936 static constexpr int kIndexInFileMessages =
13937 65;
13938
swap(HTMLElement & a,HTMLElement & b)13939 friend void swap(HTMLElement& a, HTMLElement& b) {
13940 a.Swap(&b);
13941 }
Swap(HTMLElement * other)13942 inline void Swap(HTMLElement* other) {
13943 if (other == this) return;
13944 InternalSwap(other);
13945 }
13946
13947 // implements Message ----------------------------------------------
13948
New()13949 inline HTMLElement* New() const final {
13950 return CreateMaybeMessage<HTMLElement>(nullptr);
13951 }
13952
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)13953 HTMLElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
13954 return CreateMaybeMessage<HTMLElement>(arena);
13955 }
13956 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
13957 final;
13958 void CopyFrom(const HTMLElement& from);
13959 void MergeFrom(const HTMLElement& from);
13960 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
13961 bool IsInitialized() const final;
13962
13963 size_t ByteSizeLong() const final;
13964 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
13965 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
13966 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
13967 void DiscardUnknownFields();
GetCachedSize()13968 int GetCachedSize() const final { return _cached_size_.Get(); }
13969
13970 private:
13971 inline void SharedCtor();
13972 inline void SharedDtor();
13973 void SetCachedSize(int size) const;
13974 void InternalSwap(HTMLElement* other);
13975 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()13976 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
13977 return "safe_browsing.HTMLElement";
13978 }
13979 private:
GetArenaNoVirtual()13980 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
13981 return nullptr;
13982 }
MaybeArenaPtr()13983 inline void* MaybeArenaPtr() const {
13984 return nullptr;
13985 }
13986 public:
13987
13988 std::string GetTypeName() const final;
13989
13990 // nested types ----------------------------------------------------
13991
13992 typedef HTMLElement_Attribute Attribute;
13993
13994 // accessors -------------------------------------------------------
13995
13996 enum : int {
13997 kChildIdsFieldNumber = 3,
13998 kAttributeFieldNumber = 6,
13999 kTagFieldNumber = 2,
14000 kIdFieldNumber = 1,
14001 kResourceIdFieldNumber = 5,
14002 };
14003 // repeated int32 child_ids = 3;
14004 int child_ids_size() const;
14005 private:
14006 int _internal_child_ids_size() const;
14007 public:
14008 void clear_child_ids();
14009 private:
14010 ::PROTOBUF_NAMESPACE_ID::int32 _internal_child_ids(int index) const;
14011 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
14012 _internal_child_ids() const;
14013 void _internal_add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
14014 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
14015 _internal_mutable_child_ids();
14016 public:
14017 ::PROTOBUF_NAMESPACE_ID::int32 child_ids(int index) const;
14018 void set_child_ids(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
14019 void add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value);
14020 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
14021 child_ids() const;
14022 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
14023 mutable_child_ids();
14024
14025 // repeated .safe_browsing.HTMLElement.Attribute attribute = 6;
14026 int attribute_size() const;
14027 private:
14028 int _internal_attribute_size() const;
14029 public:
14030 void clear_attribute();
14031 ::safe_browsing::HTMLElement_Attribute* mutable_attribute(int index);
14032 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute >*
14033 mutable_attribute();
14034 private:
14035 const ::safe_browsing::HTMLElement_Attribute& _internal_attribute(int index) const;
14036 ::safe_browsing::HTMLElement_Attribute* _internal_add_attribute();
14037 public:
14038 const ::safe_browsing::HTMLElement_Attribute& attribute(int index) const;
14039 ::safe_browsing::HTMLElement_Attribute* add_attribute();
14040 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute >&
14041 attribute() const;
14042
14043 // optional string tag = 2;
14044 bool has_tag() const;
14045 private:
14046 bool _internal_has_tag() const;
14047 public:
14048 void clear_tag();
14049 const std::string& tag() const;
14050 void set_tag(const std::string& value);
14051 void set_tag(std::string&& value);
14052 void set_tag(const char* value);
14053 void set_tag(const char* value, size_t size);
14054 std::string* mutable_tag();
14055 std::string* release_tag();
14056 void set_allocated_tag(std::string* tag);
14057 private:
14058 const std::string& _internal_tag() const;
14059 void _internal_set_tag(const std::string& value);
14060 std::string* _internal_mutable_tag();
14061 public:
14062
14063 // optional int32 id = 1;
14064 bool has_id() const;
14065 private:
14066 bool _internal_has_id() const;
14067 public:
14068 void clear_id();
14069 ::PROTOBUF_NAMESPACE_ID::int32 id() const;
14070 void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
14071 private:
14072 ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const;
14073 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
14074 public:
14075
14076 // optional int32 resource_id = 5;
14077 bool has_resource_id() const;
14078 private:
14079 bool _internal_has_resource_id() const;
14080 public:
14081 void clear_resource_id();
14082 ::PROTOBUF_NAMESPACE_ID::int32 resource_id() const;
14083 void set_resource_id(::PROTOBUF_NAMESPACE_ID::int32 value);
14084 private:
14085 ::PROTOBUF_NAMESPACE_ID::int32 _internal_resource_id() const;
14086 void _internal_set_resource_id(::PROTOBUF_NAMESPACE_ID::int32 value);
14087 public:
14088
14089 // @@protoc_insertion_point(class_scope:safe_browsing.HTMLElement)
14090 private:
14091 class _Internal;
14092
14093 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
14094 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
14095 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
14096 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > child_ids_;
14097 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute > attribute_;
14098 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_;
14099 ::PROTOBUF_NAMESPACE_ID::int32 id_;
14100 ::PROTOBUF_NAMESPACE_ID::int32 resource_id_;
14101 friend struct ::TableStruct_csd_2eproto;
14102 };
14103 // -------------------------------------------------------------------
14104
14105 class ImageData_Dimensions :
14106 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ImageData.Dimensions) */ {
14107 public:
14108 ImageData_Dimensions();
14109 virtual ~ImageData_Dimensions();
14110
14111 ImageData_Dimensions(const ImageData_Dimensions& from);
ImageData_Dimensions(ImageData_Dimensions && from)14112 ImageData_Dimensions(ImageData_Dimensions&& from) noexcept
14113 : ImageData_Dimensions() {
14114 *this = ::std::move(from);
14115 }
14116
14117 inline ImageData_Dimensions& operator=(const ImageData_Dimensions& from) {
14118 CopyFrom(from);
14119 return *this;
14120 }
14121 inline ImageData_Dimensions& operator=(ImageData_Dimensions&& from) noexcept {
14122 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
14123 if (this != &from) InternalSwap(&from);
14124 } else {
14125 CopyFrom(from);
14126 }
14127 return *this;
14128 }
14129
unknown_fields()14130 inline const std::string& unknown_fields() const {
14131 return _internal_metadata_.unknown_fields();
14132 }
mutable_unknown_fields()14133 inline std::string* mutable_unknown_fields() {
14134 return _internal_metadata_.mutable_unknown_fields();
14135 }
14136
14137 static const ImageData_Dimensions& default_instance();
14138
14139 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()14140 static inline const ImageData_Dimensions* internal_default_instance() {
14141 return reinterpret_cast<const ImageData_Dimensions*>(
14142 &_ImageData_Dimensions_default_instance_);
14143 }
14144 static constexpr int kIndexInFileMessages =
14145 66;
14146
swap(ImageData_Dimensions & a,ImageData_Dimensions & b)14147 friend void swap(ImageData_Dimensions& a, ImageData_Dimensions& b) {
14148 a.Swap(&b);
14149 }
Swap(ImageData_Dimensions * other)14150 inline void Swap(ImageData_Dimensions* other) {
14151 if (other == this) return;
14152 InternalSwap(other);
14153 }
14154
14155 // implements Message ----------------------------------------------
14156
New()14157 inline ImageData_Dimensions* New() const final {
14158 return CreateMaybeMessage<ImageData_Dimensions>(nullptr);
14159 }
14160
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)14161 ImageData_Dimensions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
14162 return CreateMaybeMessage<ImageData_Dimensions>(arena);
14163 }
14164 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
14165 final;
14166 void CopyFrom(const ImageData_Dimensions& from);
14167 void MergeFrom(const ImageData_Dimensions& from);
14168 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
14169 bool IsInitialized() const final;
14170
14171 size_t ByteSizeLong() const final;
14172 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
14173 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
14174 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
14175 void DiscardUnknownFields();
GetCachedSize()14176 int GetCachedSize() const final { return _cached_size_.Get(); }
14177
14178 private:
14179 inline void SharedCtor();
14180 inline void SharedDtor();
14181 void SetCachedSize(int size) const;
14182 void InternalSwap(ImageData_Dimensions* other);
14183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()14184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
14185 return "safe_browsing.ImageData.Dimensions";
14186 }
14187 private:
GetArenaNoVirtual()14188 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
14189 return nullptr;
14190 }
MaybeArenaPtr()14191 inline void* MaybeArenaPtr() const {
14192 return nullptr;
14193 }
14194 public:
14195
14196 std::string GetTypeName() const final;
14197
14198 // nested types ----------------------------------------------------
14199
14200 // accessors -------------------------------------------------------
14201
14202 enum : int {
14203 kWidthFieldNumber = 1,
14204 kHeightFieldNumber = 2,
14205 };
14206 // optional int32 width = 1;
14207 bool has_width() const;
14208 private:
14209 bool _internal_has_width() const;
14210 public:
14211 void clear_width();
14212 ::PROTOBUF_NAMESPACE_ID::int32 width() const;
14213 void set_width(::PROTOBUF_NAMESPACE_ID::int32 value);
14214 private:
14215 ::PROTOBUF_NAMESPACE_ID::int32 _internal_width() const;
14216 void _internal_set_width(::PROTOBUF_NAMESPACE_ID::int32 value);
14217 public:
14218
14219 // optional int32 height = 2;
14220 bool has_height() const;
14221 private:
14222 bool _internal_has_height() const;
14223 public:
14224 void clear_height();
14225 ::PROTOBUF_NAMESPACE_ID::int32 height() const;
14226 void set_height(::PROTOBUF_NAMESPACE_ID::int32 value);
14227 private:
14228 ::PROTOBUF_NAMESPACE_ID::int32 _internal_height() const;
14229 void _internal_set_height(::PROTOBUF_NAMESPACE_ID::int32 value);
14230 public:
14231
14232 // @@protoc_insertion_point(class_scope:safe_browsing.ImageData.Dimensions)
14233 private:
14234 class _Internal;
14235
14236 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
14237 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
14238 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
14239 ::PROTOBUF_NAMESPACE_ID::int32 width_;
14240 ::PROTOBUF_NAMESPACE_ID::int32 height_;
14241 friend struct ::TableStruct_csd_2eproto;
14242 };
14243 // -------------------------------------------------------------------
14244
14245 class ImageData :
14246 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ImageData) */ {
14247 public:
14248 ImageData();
14249 virtual ~ImageData();
14250
14251 ImageData(const ImageData& from);
ImageData(ImageData && from)14252 ImageData(ImageData&& from) noexcept
14253 : ImageData() {
14254 *this = ::std::move(from);
14255 }
14256
14257 inline ImageData& operator=(const ImageData& from) {
14258 CopyFrom(from);
14259 return *this;
14260 }
14261 inline ImageData& operator=(ImageData&& from) noexcept {
14262 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
14263 if (this != &from) InternalSwap(&from);
14264 } else {
14265 CopyFrom(from);
14266 }
14267 return *this;
14268 }
14269
unknown_fields()14270 inline const std::string& unknown_fields() const {
14271 return _internal_metadata_.unknown_fields();
14272 }
mutable_unknown_fields()14273 inline std::string* mutable_unknown_fields() {
14274 return _internal_metadata_.mutable_unknown_fields();
14275 }
14276
14277 static const ImageData& default_instance();
14278
14279 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()14280 static inline const ImageData* internal_default_instance() {
14281 return reinterpret_cast<const ImageData*>(
14282 &_ImageData_default_instance_);
14283 }
14284 static constexpr int kIndexInFileMessages =
14285 67;
14286
swap(ImageData & a,ImageData & b)14287 friend void swap(ImageData& a, ImageData& b) {
14288 a.Swap(&b);
14289 }
Swap(ImageData * other)14290 inline void Swap(ImageData* other) {
14291 if (other == this) return;
14292 InternalSwap(other);
14293 }
14294
14295 // implements Message ----------------------------------------------
14296
New()14297 inline ImageData* New() const final {
14298 return CreateMaybeMessage<ImageData>(nullptr);
14299 }
14300
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)14301 ImageData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
14302 return CreateMaybeMessage<ImageData>(arena);
14303 }
14304 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
14305 final;
14306 void CopyFrom(const ImageData& from);
14307 void MergeFrom(const ImageData& from);
14308 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
14309 bool IsInitialized() const final;
14310
14311 size_t ByteSizeLong() const final;
14312 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
14313 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
14314 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
14315 void DiscardUnknownFields();
GetCachedSize()14316 int GetCachedSize() const final { return _cached_size_.Get(); }
14317
14318 private:
14319 inline void SharedCtor();
14320 inline void SharedDtor();
14321 void SetCachedSize(int size) const;
14322 void InternalSwap(ImageData* other);
14323 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()14324 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
14325 return "safe_browsing.ImageData";
14326 }
14327 private:
GetArenaNoVirtual()14328 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
14329 return nullptr;
14330 }
MaybeArenaPtr()14331 inline void* MaybeArenaPtr() const {
14332 return nullptr;
14333 }
14334 public:
14335
14336 std::string GetTypeName() const final;
14337
14338 // nested types ----------------------------------------------------
14339
14340 typedef ImageData_Dimensions Dimensions;
14341
14342 // accessors -------------------------------------------------------
14343
14344 enum : int {
14345 kDataFieldNumber = 1,
14346 kMimeTypeFieldNumber = 2,
14347 kDimensionsFieldNumber = 3,
14348 kOriginalDimensionsFieldNumber = 4,
14349 };
14350 // optional bytes data = 1;
14351 bool has_data() const;
14352 private:
14353 bool _internal_has_data() const;
14354 public:
14355 void clear_data();
14356 const std::string& data() const;
14357 void set_data(const std::string& value);
14358 void set_data(std::string&& value);
14359 void set_data(const char* value);
14360 void set_data(const void* value, size_t size);
14361 std::string* mutable_data();
14362 std::string* release_data();
14363 void set_allocated_data(std::string* data);
14364 private:
14365 const std::string& _internal_data() const;
14366 void _internal_set_data(const std::string& value);
14367 std::string* _internal_mutable_data();
14368 public:
14369
14370 // optional string mime_type = 2;
14371 bool has_mime_type() const;
14372 private:
14373 bool _internal_has_mime_type() const;
14374 public:
14375 void clear_mime_type();
14376 const std::string& mime_type() const;
14377 void set_mime_type(const std::string& value);
14378 void set_mime_type(std::string&& value);
14379 void set_mime_type(const char* value);
14380 void set_mime_type(const char* value, size_t size);
14381 std::string* mutable_mime_type();
14382 std::string* release_mime_type();
14383 void set_allocated_mime_type(std::string* mime_type);
14384 private:
14385 const std::string& _internal_mime_type() const;
14386 void _internal_set_mime_type(const std::string& value);
14387 std::string* _internal_mutable_mime_type();
14388 public:
14389
14390 // optional .safe_browsing.ImageData.Dimensions dimensions = 3;
14391 bool has_dimensions() const;
14392 private:
14393 bool _internal_has_dimensions() const;
14394 public:
14395 void clear_dimensions();
14396 const ::safe_browsing::ImageData_Dimensions& dimensions() const;
14397 ::safe_browsing::ImageData_Dimensions* release_dimensions();
14398 ::safe_browsing::ImageData_Dimensions* mutable_dimensions();
14399 void set_allocated_dimensions(::safe_browsing::ImageData_Dimensions* dimensions);
14400 private:
14401 const ::safe_browsing::ImageData_Dimensions& _internal_dimensions() const;
14402 ::safe_browsing::ImageData_Dimensions* _internal_mutable_dimensions();
14403 public:
14404
14405 // optional .safe_browsing.ImageData.Dimensions original_dimensions = 4;
14406 bool has_original_dimensions() const;
14407 private:
14408 bool _internal_has_original_dimensions() const;
14409 public:
14410 void clear_original_dimensions();
14411 const ::safe_browsing::ImageData_Dimensions& original_dimensions() const;
14412 ::safe_browsing::ImageData_Dimensions* release_original_dimensions();
14413 ::safe_browsing::ImageData_Dimensions* mutable_original_dimensions();
14414 void set_allocated_original_dimensions(::safe_browsing::ImageData_Dimensions* original_dimensions);
14415 private:
14416 const ::safe_browsing::ImageData_Dimensions& _internal_original_dimensions() const;
14417 ::safe_browsing::ImageData_Dimensions* _internal_mutable_original_dimensions();
14418 public:
14419
14420 // @@protoc_insertion_point(class_scope:safe_browsing.ImageData)
14421 private:
14422 class _Internal;
14423
14424 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
14425 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
14426 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
14427 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
14428 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mime_type_;
14429 ::safe_browsing::ImageData_Dimensions* dimensions_;
14430 ::safe_browsing::ImageData_Dimensions* original_dimensions_;
14431 friend struct ::TableStruct_csd_2eproto;
14432 };
14433 // -------------------------------------------------------------------
14434
14435 class NotificationImageReportRequest :
14436 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.NotificationImageReportRequest) */ {
14437 public:
14438 NotificationImageReportRequest();
14439 virtual ~NotificationImageReportRequest();
14440
14441 NotificationImageReportRequest(const NotificationImageReportRequest& from);
NotificationImageReportRequest(NotificationImageReportRequest && from)14442 NotificationImageReportRequest(NotificationImageReportRequest&& from) noexcept
14443 : NotificationImageReportRequest() {
14444 *this = ::std::move(from);
14445 }
14446
14447 inline NotificationImageReportRequest& operator=(const NotificationImageReportRequest& from) {
14448 CopyFrom(from);
14449 return *this;
14450 }
14451 inline NotificationImageReportRequest& operator=(NotificationImageReportRequest&& from) noexcept {
14452 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
14453 if (this != &from) InternalSwap(&from);
14454 } else {
14455 CopyFrom(from);
14456 }
14457 return *this;
14458 }
14459
unknown_fields()14460 inline const std::string& unknown_fields() const {
14461 return _internal_metadata_.unknown_fields();
14462 }
mutable_unknown_fields()14463 inline std::string* mutable_unknown_fields() {
14464 return _internal_metadata_.mutable_unknown_fields();
14465 }
14466
14467 static const NotificationImageReportRequest& default_instance();
14468
14469 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()14470 static inline const NotificationImageReportRequest* internal_default_instance() {
14471 return reinterpret_cast<const NotificationImageReportRequest*>(
14472 &_NotificationImageReportRequest_default_instance_);
14473 }
14474 static constexpr int kIndexInFileMessages =
14475 68;
14476
swap(NotificationImageReportRequest & a,NotificationImageReportRequest & b)14477 friend void swap(NotificationImageReportRequest& a, NotificationImageReportRequest& b) {
14478 a.Swap(&b);
14479 }
Swap(NotificationImageReportRequest * other)14480 inline void Swap(NotificationImageReportRequest* other) {
14481 if (other == this) return;
14482 InternalSwap(other);
14483 }
14484
14485 // implements Message ----------------------------------------------
14486
New()14487 inline NotificationImageReportRequest* New() const final {
14488 return CreateMaybeMessage<NotificationImageReportRequest>(nullptr);
14489 }
14490
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)14491 NotificationImageReportRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
14492 return CreateMaybeMessage<NotificationImageReportRequest>(arena);
14493 }
14494 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
14495 final;
14496 void CopyFrom(const NotificationImageReportRequest& from);
14497 void MergeFrom(const NotificationImageReportRequest& from);
14498 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
14499 bool IsInitialized() const final;
14500
14501 size_t ByteSizeLong() const final;
14502 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
14503 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
14504 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
14505 void DiscardUnknownFields();
GetCachedSize()14506 int GetCachedSize() const final { return _cached_size_.Get(); }
14507
14508 private:
14509 inline void SharedCtor();
14510 inline void SharedDtor();
14511 void SetCachedSize(int size) const;
14512 void InternalSwap(NotificationImageReportRequest* other);
14513 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()14514 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
14515 return "safe_browsing.NotificationImageReportRequest";
14516 }
14517 private:
GetArenaNoVirtual()14518 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
14519 return nullptr;
14520 }
MaybeArenaPtr()14521 inline void* MaybeArenaPtr() const {
14522 return nullptr;
14523 }
14524 public:
14525
14526 std::string GetTypeName() const final;
14527
14528 // nested types ----------------------------------------------------
14529
14530 // accessors -------------------------------------------------------
14531
14532 enum : int {
14533 kNotificationOriginFieldNumber = 1,
14534 kImageFieldNumber = 2,
14535 };
14536 // optional string notification_origin = 1;
14537 bool has_notification_origin() const;
14538 private:
14539 bool _internal_has_notification_origin() const;
14540 public:
14541 void clear_notification_origin();
14542 const std::string& notification_origin() const;
14543 void set_notification_origin(const std::string& value);
14544 void set_notification_origin(std::string&& value);
14545 void set_notification_origin(const char* value);
14546 void set_notification_origin(const char* value, size_t size);
14547 std::string* mutable_notification_origin();
14548 std::string* release_notification_origin();
14549 void set_allocated_notification_origin(std::string* notification_origin);
14550 private:
14551 const std::string& _internal_notification_origin() const;
14552 void _internal_set_notification_origin(const std::string& value);
14553 std::string* _internal_mutable_notification_origin();
14554 public:
14555
14556 // optional .safe_browsing.ImageData image = 2;
14557 bool has_image() const;
14558 private:
14559 bool _internal_has_image() const;
14560 public:
14561 void clear_image();
14562 const ::safe_browsing::ImageData& image() const;
14563 ::safe_browsing::ImageData* release_image();
14564 ::safe_browsing::ImageData* mutable_image();
14565 void set_allocated_image(::safe_browsing::ImageData* image);
14566 private:
14567 const ::safe_browsing::ImageData& _internal_image() const;
14568 ::safe_browsing::ImageData* _internal_mutable_image();
14569 public:
14570
14571 // @@protoc_insertion_point(class_scope:safe_browsing.NotificationImageReportRequest)
14572 private:
14573 class _Internal;
14574
14575 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
14576 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
14577 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
14578 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notification_origin_;
14579 ::safe_browsing::ImageData* image_;
14580 friend struct ::TableStruct_csd_2eproto;
14581 };
14582 // ===================================================================
14583
14584
14585 // ===================================================================
14586
14587 #ifdef __GNUC__
14588 #pragma GCC diagnostic push
14589 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
14590 #endif // __GNUC__
14591 // ChromeUserPopulation
14592
14593 // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1;
_internal_has_user_population()14594 inline bool ChromeUserPopulation::_internal_has_user_population() const {
14595 bool value = (_has_bits_[0] & 0x00000001u) != 0;
14596 return value;
14597 }
has_user_population()14598 inline bool ChromeUserPopulation::has_user_population() const {
14599 return _internal_has_user_population();
14600 }
clear_user_population()14601 inline void ChromeUserPopulation::clear_user_population() {
14602 user_population_ = 0;
14603 _has_bits_[0] &= ~0x00000001u;
14604 }
_internal_user_population()14605 inline ::safe_browsing::ChromeUserPopulation_UserPopulation ChromeUserPopulation::_internal_user_population() const {
14606 return static_cast< ::safe_browsing::ChromeUserPopulation_UserPopulation >(user_population_);
14607 }
user_population()14608 inline ::safe_browsing::ChromeUserPopulation_UserPopulation ChromeUserPopulation::user_population() const {
14609 // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.user_population)
14610 return _internal_user_population();
14611 }
_internal_set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value)14612 inline void ChromeUserPopulation::_internal_set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value) {
14613 assert(::safe_browsing::ChromeUserPopulation_UserPopulation_IsValid(value));
14614 _has_bits_[0] |= 0x00000001u;
14615 user_population_ = value;
14616 }
set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value)14617 inline void ChromeUserPopulation::set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value) {
14618 _internal_set_user_population(value);
14619 // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.user_population)
14620 }
14621
14622 // optional bool is_history_sync_enabled = 2;
_internal_has_is_history_sync_enabled()14623 inline bool ChromeUserPopulation::_internal_has_is_history_sync_enabled() const {
14624 bool value = (_has_bits_[0] & 0x00000002u) != 0;
14625 return value;
14626 }
has_is_history_sync_enabled()14627 inline bool ChromeUserPopulation::has_is_history_sync_enabled() const {
14628 return _internal_has_is_history_sync_enabled();
14629 }
clear_is_history_sync_enabled()14630 inline void ChromeUserPopulation::clear_is_history_sync_enabled() {
14631 is_history_sync_enabled_ = false;
14632 _has_bits_[0] &= ~0x00000002u;
14633 }
_internal_is_history_sync_enabled()14634 inline bool ChromeUserPopulation::_internal_is_history_sync_enabled() const {
14635 return is_history_sync_enabled_;
14636 }
is_history_sync_enabled()14637 inline bool ChromeUserPopulation::is_history_sync_enabled() const {
14638 // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.is_history_sync_enabled)
14639 return _internal_is_history_sync_enabled();
14640 }
_internal_set_is_history_sync_enabled(bool value)14641 inline void ChromeUserPopulation::_internal_set_is_history_sync_enabled(bool value) {
14642 _has_bits_[0] |= 0x00000002u;
14643 is_history_sync_enabled_ = value;
14644 }
set_is_history_sync_enabled(bool value)14645 inline void ChromeUserPopulation::set_is_history_sync_enabled(bool value) {
14646 _internal_set_is_history_sync_enabled(value);
14647 // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.is_history_sync_enabled)
14648 }
14649
14650 // repeated string finch_active_groups = 4;
_internal_finch_active_groups_size()14651 inline int ChromeUserPopulation::_internal_finch_active_groups_size() const {
14652 return finch_active_groups_.size();
14653 }
finch_active_groups_size()14654 inline int ChromeUserPopulation::finch_active_groups_size() const {
14655 return _internal_finch_active_groups_size();
14656 }
clear_finch_active_groups()14657 inline void ChromeUserPopulation::clear_finch_active_groups() {
14658 finch_active_groups_.Clear();
14659 }
add_finch_active_groups()14660 inline std::string* ChromeUserPopulation::add_finch_active_groups() {
14661 // @@protoc_insertion_point(field_add_mutable:safe_browsing.ChromeUserPopulation.finch_active_groups)
14662 return _internal_add_finch_active_groups();
14663 }
_internal_finch_active_groups(int index)14664 inline const std::string& ChromeUserPopulation::_internal_finch_active_groups(int index) const {
14665 return finch_active_groups_.Get(index);
14666 }
finch_active_groups(int index)14667 inline const std::string& ChromeUserPopulation::finch_active_groups(int index) const {
14668 // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.finch_active_groups)
14669 return _internal_finch_active_groups(index);
14670 }
mutable_finch_active_groups(int index)14671 inline std::string* ChromeUserPopulation::mutable_finch_active_groups(int index) {
14672 // @@protoc_insertion_point(field_mutable:safe_browsing.ChromeUserPopulation.finch_active_groups)
14673 return finch_active_groups_.Mutable(index);
14674 }
set_finch_active_groups(int index,const std::string & value)14675 inline void ChromeUserPopulation::set_finch_active_groups(int index, const std::string& value) {
14676 // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.finch_active_groups)
14677 finch_active_groups_.Mutable(index)->assign(value);
14678 }
set_finch_active_groups(int index,std::string && value)14679 inline void ChromeUserPopulation::set_finch_active_groups(int index, std::string&& value) {
14680 // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.finch_active_groups)
14681 finch_active_groups_.Mutable(index)->assign(std::move(value));
14682 }
set_finch_active_groups(int index,const char * value)14683 inline void ChromeUserPopulation::set_finch_active_groups(int index, const char* value) {
14684 GOOGLE_DCHECK(value != nullptr);
14685 finch_active_groups_.Mutable(index)->assign(value);
14686 // @@protoc_insertion_point(field_set_char:safe_browsing.ChromeUserPopulation.finch_active_groups)
14687 }
set_finch_active_groups(int index,const char * value,size_t size)14688 inline void ChromeUserPopulation::set_finch_active_groups(int index, const char* value, size_t size) {
14689 finch_active_groups_.Mutable(index)->assign(
14690 reinterpret_cast<const char*>(value), size);
14691 // @@protoc_insertion_point(field_set_pointer:safe_browsing.ChromeUserPopulation.finch_active_groups)
14692 }
_internal_add_finch_active_groups()14693 inline std::string* ChromeUserPopulation::_internal_add_finch_active_groups() {
14694 return finch_active_groups_.Add();
14695 }
add_finch_active_groups(const std::string & value)14696