// Generated by the protocol buffer compiler. DO NOT EDIT! // source: csd.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_csd_2eproto #define GOOGLE_PROTOBUF_INCLUDED_csd_2eproto #include #include #include #if PROTOBUF_VERSION < 3011000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3011004 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_csd_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_csd_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[69] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; namespace safe_browsing { class ChromeUserPopulation; class ChromeUserPopulationDefaultTypeInternal; extern ChromeUserPopulationDefaultTypeInternal _ChromeUserPopulation_default_instance_; class ClientDownloadReport; class ClientDownloadReportDefaultTypeInternal; extern ClientDownloadReportDefaultTypeInternal _ClientDownloadReport_default_instance_; class ClientDownloadReport_UserInformation; class ClientDownloadReport_UserInformationDefaultTypeInternal; extern ClientDownloadReport_UserInformationDefaultTypeInternal _ClientDownloadReport_UserInformation_default_instance_; class ClientDownloadRequest; class ClientDownloadRequestDefaultTypeInternal; extern ClientDownloadRequestDefaultTypeInternal _ClientDownloadRequest_default_instance_; class ClientDownloadRequest_ArchivedBinary; class ClientDownloadRequest_ArchivedBinaryDefaultTypeInternal; extern ClientDownloadRequest_ArchivedBinaryDefaultTypeInternal _ClientDownloadRequest_ArchivedBinary_default_instance_; class ClientDownloadRequest_CertificateChain; class ClientDownloadRequest_CertificateChainDefaultTypeInternal; extern ClientDownloadRequest_CertificateChainDefaultTypeInternal _ClientDownloadRequest_CertificateChain_default_instance_; class ClientDownloadRequest_CertificateChain_Element; class ClientDownloadRequest_CertificateChain_ElementDefaultTypeInternal; extern ClientDownloadRequest_CertificateChain_ElementDefaultTypeInternal _ClientDownloadRequest_CertificateChain_Element_default_instance_; class ClientDownloadRequest_Digests; class ClientDownloadRequest_DigestsDefaultTypeInternal; extern ClientDownloadRequest_DigestsDefaultTypeInternal _ClientDownloadRequest_Digests_default_instance_; class ClientDownloadRequest_ExtendedAttr; class ClientDownloadRequest_ExtendedAttrDefaultTypeInternal; extern ClientDownloadRequest_ExtendedAttrDefaultTypeInternal _ClientDownloadRequest_ExtendedAttr_default_instance_; class ClientDownloadRequest_ImageHeaders; class ClientDownloadRequest_ImageHeadersDefaultTypeInternal; extern ClientDownloadRequest_ImageHeadersDefaultTypeInternal _ClientDownloadRequest_ImageHeaders_default_instance_; class ClientDownloadRequest_MachOHeaders; class ClientDownloadRequest_MachOHeadersDefaultTypeInternal; extern ClientDownloadRequest_MachOHeadersDefaultTypeInternal _ClientDownloadRequest_MachOHeaders_default_instance_; class ClientDownloadRequest_MachOHeaders_LoadCommand; class ClientDownloadRequest_MachOHeaders_LoadCommandDefaultTypeInternal; extern ClientDownloadRequest_MachOHeaders_LoadCommandDefaultTypeInternal _ClientDownloadRequest_MachOHeaders_LoadCommand_default_instance_; class ClientDownloadRequest_PEImageHeaders; class ClientDownloadRequest_PEImageHeadersDefaultTypeInternal; extern ClientDownloadRequest_PEImageHeadersDefaultTypeInternal _ClientDownloadRequest_PEImageHeaders_default_instance_; class ClientDownloadRequest_PEImageHeaders_DebugData; class ClientDownloadRequest_PEImageHeaders_DebugDataDefaultTypeInternal; extern ClientDownloadRequest_PEImageHeaders_DebugDataDefaultTypeInternal _ClientDownloadRequest_PEImageHeaders_DebugData_default_instance_; class ClientDownloadRequest_Resource; class ClientDownloadRequest_ResourceDefaultTypeInternal; extern ClientDownloadRequest_ResourceDefaultTypeInternal _ClientDownloadRequest_Resource_default_instance_; class ClientDownloadRequest_SignatureInfo; class ClientDownloadRequest_SignatureInfoDefaultTypeInternal; extern ClientDownloadRequest_SignatureInfoDefaultTypeInternal _ClientDownloadRequest_SignatureInfo_default_instance_; class ClientDownloadResponse; class ClientDownloadResponseDefaultTypeInternal; extern ClientDownloadResponseDefaultTypeInternal _ClientDownloadResponse_default_instance_; class ClientDownloadResponse_MoreInfo; class ClientDownloadResponse_MoreInfoDefaultTypeInternal; extern ClientDownloadResponse_MoreInfoDefaultTypeInternal _ClientDownloadResponse_MoreInfo_default_instance_; class ClientIncidentReport; class ClientIncidentReportDefaultTypeInternal; extern ClientIncidentReportDefaultTypeInternal _ClientIncidentReport_default_instance_; class ClientIncidentReport_DownloadDetails; class ClientIncidentReport_DownloadDetailsDefaultTypeInternal; extern ClientIncidentReport_DownloadDetailsDefaultTypeInternal _ClientIncidentReport_DownloadDetails_default_instance_; class ClientIncidentReport_EnvironmentData; class ClientIncidentReport_EnvironmentDataDefaultTypeInternal; extern ClientIncidentReport_EnvironmentDataDefaultTypeInternal _ClientIncidentReport_EnvironmentData_default_instance_; class ClientIncidentReport_EnvironmentData_Machine; class ClientIncidentReport_EnvironmentData_MachineDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_MachineDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Machine_default_instance_; class ClientIncidentReport_EnvironmentData_OS; class ClientIncidentReport_EnvironmentData_OSDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_OSDefaultTypeInternal _ClientIncidentReport_EnvironmentData_OS_default_instance_; class ClientIncidentReport_EnvironmentData_OS_RegistryKey; class ClientIncidentReport_EnvironmentData_OS_RegistryKeyDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_OS_RegistryKeyDefaultTypeInternal _ClientIncidentReport_EnvironmentData_OS_RegistryKey_default_instance_; class ClientIncidentReport_EnvironmentData_OS_RegistryValue; class ClientIncidentReport_EnvironmentData_OS_RegistryValueDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_OS_RegistryValueDefaultTypeInternal _ClientIncidentReport_EnvironmentData_OS_RegistryValue_default_instance_; class ClientIncidentReport_EnvironmentData_Process; class ClientIncidentReport_EnvironmentData_ProcessDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_ProcessDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_default_instance_; class ClientIncidentReport_EnvironmentData_Process_Dll; class ClientIncidentReport_EnvironmentData_Process_DllDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_Process_DllDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_Dll_default_instance_; class ClientIncidentReport_EnvironmentData_Process_ModuleState; class ClientIncidentReport_EnvironmentData_Process_ModuleStateDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_Process_ModuleStateDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_ModuleState_default_instance_; class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification; class ClientIncidentReport_EnvironmentData_Process_ModuleState_ModificationDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_Process_ModuleState_ModificationDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification_default_instance_; class ClientIncidentReport_EnvironmentData_Process_NetworkProvider; class ClientIncidentReport_EnvironmentData_Process_NetworkProviderDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_Process_NetworkProviderDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_NetworkProvider_default_instance_; class ClientIncidentReport_EnvironmentData_Process_Patch; class ClientIncidentReport_EnvironmentData_Process_PatchDefaultTypeInternal; extern ClientIncidentReport_EnvironmentData_Process_PatchDefaultTypeInternal _ClientIncidentReport_EnvironmentData_Process_Patch_default_instance_; class ClientIncidentReport_ExtensionData; class ClientIncidentReport_ExtensionDataDefaultTypeInternal; extern ClientIncidentReport_ExtensionDataDefaultTypeInternal _ClientIncidentReport_ExtensionData_default_instance_; class ClientIncidentReport_ExtensionData_ExtensionInfo; class ClientIncidentReport_ExtensionData_ExtensionInfoDefaultTypeInternal; extern ClientIncidentReport_ExtensionData_ExtensionInfoDefaultTypeInternal _ClientIncidentReport_ExtensionData_ExtensionInfo_default_instance_; class ClientIncidentReport_IncidentData; class ClientIncidentReport_IncidentDataDefaultTypeInternal; extern ClientIncidentReport_IncidentDataDefaultTypeInternal _ClientIncidentReport_IncidentData_default_instance_; class ClientIncidentReport_IncidentData_BinaryIntegrityIncident; class ClientIncidentReport_IncidentData_BinaryIntegrityIncidentDefaultTypeInternal; extern ClientIncidentReport_IncidentData_BinaryIntegrityIncidentDefaultTypeInternal _ClientIncidentReport_IncidentData_BinaryIntegrityIncident_default_instance_; class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile; class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFileDefaultTypeInternal; extern ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFileDefaultTypeInternal _ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile_default_instance_; class ClientIncidentReport_IncidentData_ResourceRequestIncident; class ClientIncidentReport_IncidentData_ResourceRequestIncidentDefaultTypeInternal; extern ClientIncidentReport_IncidentData_ResourceRequestIncidentDefaultTypeInternal _ClientIncidentReport_IncidentData_ResourceRequestIncident_default_instance_; class ClientIncidentReport_IncidentData_TrackedPreferenceIncident; class ClientIncidentReport_IncidentData_TrackedPreferenceIncidentDefaultTypeInternal; extern ClientIncidentReport_IncidentData_TrackedPreferenceIncidentDefaultTypeInternal _ClientIncidentReport_IncidentData_TrackedPreferenceIncident_default_instance_; class ClientIncidentReport_NonBinaryDownloadDetails; class ClientIncidentReport_NonBinaryDownloadDetailsDefaultTypeInternal; extern ClientIncidentReport_NonBinaryDownloadDetailsDefaultTypeInternal _ClientIncidentReport_NonBinaryDownloadDetails_default_instance_; class ClientIncidentResponse; class ClientIncidentResponseDefaultTypeInternal; extern ClientIncidentResponseDefaultTypeInternal _ClientIncidentResponse_default_instance_; class ClientIncidentResponse_EnvironmentRequest; class ClientIncidentResponse_EnvironmentRequestDefaultTypeInternal; extern ClientIncidentResponse_EnvironmentRequestDefaultTypeInternal _ClientIncidentResponse_EnvironmentRequest_default_instance_; class ClientMalwareRequest; class ClientMalwareRequestDefaultTypeInternal; extern ClientMalwareRequestDefaultTypeInternal _ClientMalwareRequest_default_instance_; class ClientMalwareRequest_UrlInfo; class ClientMalwareRequest_UrlInfoDefaultTypeInternal; extern ClientMalwareRequest_UrlInfoDefaultTypeInternal _ClientMalwareRequest_UrlInfo_default_instance_; class ClientMalwareResponse; class ClientMalwareResponseDefaultTypeInternal; extern ClientMalwareResponseDefaultTypeInternal _ClientMalwareResponse_default_instance_; class ClientPhishingRequest; class ClientPhishingRequestDefaultTypeInternal; extern ClientPhishingRequestDefaultTypeInternal _ClientPhishingRequest_default_instance_; class ClientPhishingRequest_Feature; class ClientPhishingRequest_FeatureDefaultTypeInternal; extern ClientPhishingRequest_FeatureDefaultTypeInternal _ClientPhishingRequest_Feature_default_instance_; class ClientPhishingResponse; class ClientPhishingResponseDefaultTypeInternal; extern ClientPhishingResponseDefaultTypeInternal _ClientPhishingResponse_default_instance_; class ClientSafeBrowsingReportRequest; class ClientSafeBrowsingReportRequestDefaultTypeInternal; extern ClientSafeBrowsingReportRequestDefaultTypeInternal _ClientSafeBrowsingReportRequest_default_instance_; class ClientSafeBrowsingReportRequest_HTTPHeader; class ClientSafeBrowsingReportRequest_HTTPHeaderDefaultTypeInternal; extern ClientSafeBrowsingReportRequest_HTTPHeaderDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPHeader_default_instance_; class ClientSafeBrowsingReportRequest_HTTPRequest; class ClientSafeBrowsingReportRequest_HTTPRequestDefaultTypeInternal; extern ClientSafeBrowsingReportRequest_HTTPRequestDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPRequest_default_instance_; class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine; class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLineDefaultTypeInternal; extern ClientSafeBrowsingReportRequest_HTTPRequest_FirstLineDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine_default_instance_; class ClientSafeBrowsingReportRequest_HTTPResponse; class ClientSafeBrowsingReportRequest_HTTPResponseDefaultTypeInternal; extern ClientSafeBrowsingReportRequest_HTTPResponseDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPResponse_default_instance_; class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine; class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLineDefaultTypeInternal; extern ClientSafeBrowsingReportRequest_HTTPResponse_FirstLineDefaultTypeInternal _ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine_default_instance_; class ClientSafeBrowsingReportRequest_Resource; class ClientSafeBrowsingReportRequest_ResourceDefaultTypeInternal; extern ClientSafeBrowsingReportRequest_ResourceDefaultTypeInternal _ClientSafeBrowsingReportRequest_Resource_default_instance_; class ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties; class ClientSafeBrowsingReportRequest_SafeBrowsingClientPropertiesDefaultTypeInternal; extern ClientSafeBrowsingReportRequest_SafeBrowsingClientPropertiesDefaultTypeInternal _ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties_default_instance_; class ClientUploadResponse; class ClientUploadResponseDefaultTypeInternal; extern ClientUploadResponseDefaultTypeInternal _ClientUploadResponse_default_instance_; class DownloadMetadata; class DownloadMetadataDefaultTypeInternal; extern DownloadMetadataDefaultTypeInternal _DownloadMetadata_default_instance_; class HTMLElement; class HTMLElementDefaultTypeInternal; extern HTMLElementDefaultTypeInternal _HTMLElement_default_instance_; class HTMLElement_Attribute; class HTMLElement_AttributeDefaultTypeInternal; extern HTMLElement_AttributeDefaultTypeInternal _HTMLElement_Attribute_default_instance_; class ImageData; class ImageDataDefaultTypeInternal; extern ImageDataDefaultTypeInternal _ImageData_default_instance_; class ImageData_Dimensions; class ImageData_DimensionsDefaultTypeInternal; extern ImageData_DimensionsDefaultTypeInternal _ImageData_Dimensions_default_instance_; class LoginReputationClientRequest; class LoginReputationClientRequestDefaultTypeInternal; extern LoginReputationClientRequestDefaultTypeInternal _LoginReputationClientRequest_default_instance_; class LoginReputationClientRequest_Frame; class LoginReputationClientRequest_FrameDefaultTypeInternal; extern LoginReputationClientRequest_FrameDefaultTypeInternal _LoginReputationClientRequest_Frame_default_instance_; class LoginReputationClientRequest_Frame_Form; class LoginReputationClientRequest_Frame_FormDefaultTypeInternal; extern LoginReputationClientRequest_Frame_FormDefaultTypeInternal _LoginReputationClientRequest_Frame_Form_default_instance_; class LoginReputationClientRequest_PasswordReuseEvent; class LoginReputationClientRequest_PasswordReuseEventDefaultTypeInternal; extern LoginReputationClientRequest_PasswordReuseEventDefaultTypeInternal _LoginReputationClientRequest_PasswordReuseEvent_default_instance_; class LoginReputationClientResponse; class LoginReputationClientResponseDefaultTypeInternal; extern LoginReputationClientResponseDefaultTypeInternal _LoginReputationClientResponse_default_instance_; class NotificationImageReportRequest; class NotificationImageReportRequestDefaultTypeInternal; extern NotificationImageReportRequestDefaultTypeInternal _NotificationImageReportRequest_default_instance_; class ReferrerChainEntry; class ReferrerChainEntryDefaultTypeInternal; extern ReferrerChainEntryDefaultTypeInternal _ReferrerChainEntry_default_instance_; class ReferrerChainEntry_ServerRedirect; class ReferrerChainEntry_ServerRedirectDefaultTypeInternal; extern ReferrerChainEntry_ServerRedirectDefaultTypeInternal _ReferrerChainEntry_ServerRedirect_default_instance_; } // namespace safe_browsing PROTOBUF_NAMESPACE_OPEN template<> ::safe_browsing::ChromeUserPopulation* Arena::CreateMaybeMessage<::safe_browsing::ChromeUserPopulation>(Arena*); template<> ::safe_browsing::ClientDownloadReport* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadReport>(Arena*); template<> ::safe_browsing::ClientDownloadReport_UserInformation* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadReport_UserInformation>(Arena*); template<> ::safe_browsing::ClientDownloadRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_ArchivedBinary* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ArchivedBinary>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_CertificateChain* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_CertificateChain>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_CertificateChain_Element>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_Digests* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_Digests>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_ExtendedAttr* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ExtendedAttr>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_ImageHeaders* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ImageHeaders>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_MachOHeaders* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_MachOHeaders>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_PEImageHeaders* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_PEImageHeaders>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_Resource* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_Resource>(Arena*); template<> ::safe_browsing::ClientDownloadRequest_SignatureInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_SignatureInfo>(Arena*); template<> ::safe_browsing::ClientDownloadResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadResponse>(Arena*); template<> ::safe_browsing::ClientDownloadResponse_MoreInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientDownloadResponse_MoreInfo>(Arena*); template<> ::safe_browsing::ClientIncidentReport* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport>(Arena*); template<> ::safe_browsing::ClientIncidentReport_DownloadDetails* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_DownloadDetails>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Machine>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_OS>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider>(Arena*); template<> ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch>(Arena*); template<> ::safe_browsing::ClientIncidentReport_ExtensionData* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_ExtensionData>(Arena*); template<> ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo>(Arena*); template<> ::safe_browsing::ClientIncidentReport_IncidentData* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData>(Arena*); template<> ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(Arena*); template<> ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile>(Arena*); template<> ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident>(Arena*); template<> ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(Arena*); template<> ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails>(Arena*); template<> ::safe_browsing::ClientIncidentResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentResponse>(Arena*); template<> ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientIncidentResponse_EnvironmentRequest>(Arena*); template<> ::safe_browsing::ClientMalwareRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientMalwareRequest>(Arena*); template<> ::safe_browsing::ClientMalwareRequest_UrlInfo* Arena::CreateMaybeMessage<::safe_browsing::ClientMalwareRequest_UrlInfo>(Arena*); template<> ::safe_browsing::ClientMalwareResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientMalwareResponse>(Arena*); template<> ::safe_browsing::ClientPhishingRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientPhishingRequest>(Arena*); template<> ::safe_browsing::ClientPhishingRequest_Feature* Arena::CreateMaybeMessage<::safe_browsing::ClientPhishingRequest_Feature>(Arena*); template<> ::safe_browsing::ClientPhishingResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientPhishingResponse>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_Resource>(Arena*); template<> ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* Arena::CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(Arena*); template<> ::safe_browsing::ClientUploadResponse* Arena::CreateMaybeMessage<::safe_browsing::ClientUploadResponse>(Arena*); template<> ::safe_browsing::DownloadMetadata* Arena::CreateMaybeMessage<::safe_browsing::DownloadMetadata>(Arena*); template<> ::safe_browsing::HTMLElement* Arena::CreateMaybeMessage<::safe_browsing::HTMLElement>(Arena*); template<> ::safe_browsing::HTMLElement_Attribute* Arena::CreateMaybeMessage<::safe_browsing::HTMLElement_Attribute>(Arena*); template<> ::safe_browsing::ImageData* Arena::CreateMaybeMessage<::safe_browsing::ImageData>(Arena*); template<> ::safe_browsing::ImageData_Dimensions* Arena::CreateMaybeMessage<::safe_browsing::ImageData_Dimensions>(Arena*); template<> ::safe_browsing::LoginReputationClientRequest* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest>(Arena*); template<> ::safe_browsing::LoginReputationClientRequest_Frame* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest_Frame>(Arena*); template<> ::safe_browsing::LoginReputationClientRequest_Frame_Form* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest_Frame_Form>(Arena*); template<> ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent>(Arena*); template<> ::safe_browsing::LoginReputationClientResponse* Arena::CreateMaybeMessage<::safe_browsing::LoginReputationClientResponse>(Arena*); template<> ::safe_browsing::NotificationImageReportRequest* Arena::CreateMaybeMessage<::safe_browsing::NotificationImageReportRequest>(Arena*); template<> ::safe_browsing::ReferrerChainEntry* Arena::CreateMaybeMessage<::safe_browsing::ReferrerChainEntry>(Arena*); template<> ::safe_browsing::ReferrerChainEntry_ServerRedirect* Arena::CreateMaybeMessage<::safe_browsing::ReferrerChainEntry_ServerRedirect>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace safe_browsing { enum ChromeUserPopulation_UserPopulation : int { ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION = 0, ChromeUserPopulation_UserPopulation_SAFE_BROWSING = 1, ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING = 2 }; bool ChromeUserPopulation_UserPopulation_IsValid(int value); constexpr ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MIN = ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION; constexpr ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MAX = ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING; constexpr int ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE = ChromeUserPopulation_UserPopulation_UserPopulation_MAX + 1; const std::string& ChromeUserPopulation_UserPopulation_Name(ChromeUserPopulation_UserPopulation value); template inline const std::string& ChromeUserPopulation_UserPopulation_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ChromeUserPopulation_UserPopulation_Name."); return ChromeUserPopulation_UserPopulation_Name(static_cast(enum_t_value)); } bool ChromeUserPopulation_UserPopulation_Parse( const std::string& name, ChromeUserPopulation_UserPopulation* value); enum LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType : int { LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_NOT_SIGNED_IN = 0, LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GMAIL = 1, LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GSUITE = 2 }; bool LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_IsValid(int value); constexpr LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MIN = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_NOT_SIGNED_IN; constexpr LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MAX = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GSUITE; constexpr int LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_ARRAYSIZE = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MAX + 1; const std::string& LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value); template inline const std::string& LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name."); return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(static_cast(enum_t_value)); } bool LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Parse( const std::string& name, LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType* value); enum LoginReputationClientRequest_TriggerType : int { LoginReputationClientRequest_TriggerType_TRIGGER_TYPE_UNSPECIFIED = 0, LoginReputationClientRequest_TriggerType_UNFAMILIAR_LOGIN_PAGE = 1, LoginReputationClientRequest_TriggerType_PASSWORD_REUSE_EVENT = 2 }; bool LoginReputationClientRequest_TriggerType_IsValid(int value); constexpr LoginReputationClientRequest_TriggerType LoginReputationClientRequest_TriggerType_TriggerType_MIN = LoginReputationClientRequest_TriggerType_TRIGGER_TYPE_UNSPECIFIED; constexpr LoginReputationClientRequest_TriggerType LoginReputationClientRequest_TriggerType_TriggerType_MAX = LoginReputationClientRequest_TriggerType_PASSWORD_REUSE_EVENT; constexpr int LoginReputationClientRequest_TriggerType_TriggerType_ARRAYSIZE = LoginReputationClientRequest_TriggerType_TriggerType_MAX + 1; const std::string& LoginReputationClientRequest_TriggerType_Name(LoginReputationClientRequest_TriggerType value); template inline const std::string& LoginReputationClientRequest_TriggerType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function LoginReputationClientRequest_TriggerType_Name."); return LoginReputationClientRequest_TriggerType_Name(static_cast(enum_t_value)); } bool LoginReputationClientRequest_TriggerType_Parse( const std::string& name, LoginReputationClientRequest_TriggerType* value); enum LoginReputationClientResponse_VerdictType : int { LoginReputationClientResponse_VerdictType_VERDICT_TYPE_UNSPECIFIED = 0, LoginReputationClientResponse_VerdictType_SAFE = 1, LoginReputationClientResponse_VerdictType_LOW_REPUTATION = 2, LoginReputationClientResponse_VerdictType_PHISHING = 3 }; bool LoginReputationClientResponse_VerdictType_IsValid(int value); constexpr LoginReputationClientResponse_VerdictType LoginReputationClientResponse_VerdictType_VerdictType_MIN = LoginReputationClientResponse_VerdictType_VERDICT_TYPE_UNSPECIFIED; constexpr LoginReputationClientResponse_VerdictType LoginReputationClientResponse_VerdictType_VerdictType_MAX = LoginReputationClientResponse_VerdictType_PHISHING; constexpr int LoginReputationClientResponse_VerdictType_VerdictType_ARRAYSIZE = LoginReputationClientResponse_VerdictType_VerdictType_MAX + 1; const std::string& LoginReputationClientResponse_VerdictType_Name(LoginReputationClientResponse_VerdictType value); template inline const std::string& LoginReputationClientResponse_VerdictType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function LoginReputationClientResponse_VerdictType_Name."); return LoginReputationClientResponse_VerdictType_Name(static_cast(enum_t_value)); } bool LoginReputationClientResponse_VerdictType_Parse( const std::string& name, LoginReputationClientResponse_VerdictType* value); enum ClientDownloadRequest_ResourceType : int { ClientDownloadRequest_ResourceType_DOWNLOAD_URL = 0, ClientDownloadRequest_ResourceType_DOWNLOAD_REDIRECT = 1, ClientDownloadRequest_ResourceType_TAB_URL = 2, ClientDownloadRequest_ResourceType_TAB_REDIRECT = 3, ClientDownloadRequest_ResourceType_PPAPI_DOCUMENT = 4, ClientDownloadRequest_ResourceType_PPAPI_PLUGIN = 5 }; bool ClientDownloadRequest_ResourceType_IsValid(int value); constexpr ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MIN = ClientDownloadRequest_ResourceType_DOWNLOAD_URL; constexpr ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MAX = ClientDownloadRequest_ResourceType_PPAPI_PLUGIN; constexpr int ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE = ClientDownloadRequest_ResourceType_ResourceType_MAX + 1; const std::string& ClientDownloadRequest_ResourceType_Name(ClientDownloadRequest_ResourceType value); template inline const std::string& ClientDownloadRequest_ResourceType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientDownloadRequest_ResourceType_Name."); return ClientDownloadRequest_ResourceType_Name(static_cast(enum_t_value)); } bool ClientDownloadRequest_ResourceType_Parse( const std::string& name, ClientDownloadRequest_ResourceType* value); enum ClientDownloadRequest_DownloadType : int { ClientDownloadRequest_DownloadType_WIN_EXECUTABLE = 0, ClientDownloadRequest_DownloadType_CHROME_EXTENSION = 1, ClientDownloadRequest_DownloadType_ANDROID_APK = 2, ClientDownloadRequest_DownloadType_ZIPPED_EXECUTABLE = 3, ClientDownloadRequest_DownloadType_MAC_EXECUTABLE = 4, ClientDownloadRequest_DownloadType_ZIPPED_ARCHIVE = 5, ClientDownloadRequest_DownloadType_ARCHIVE = 6, ClientDownloadRequest_DownloadType_INVALID_ZIP = 7, ClientDownloadRequest_DownloadType_INVALID_MAC_ARCHIVE = 8, ClientDownloadRequest_DownloadType_PPAPI_SAVE_REQUEST = 9, ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE = 10 }; bool ClientDownloadRequest_DownloadType_IsValid(int value); constexpr ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MIN = ClientDownloadRequest_DownloadType_WIN_EXECUTABLE; constexpr ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MAX = ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE; constexpr int ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE = ClientDownloadRequest_DownloadType_DownloadType_MAX + 1; const std::string& ClientDownloadRequest_DownloadType_Name(ClientDownloadRequest_DownloadType value); template inline const std::string& ClientDownloadRequest_DownloadType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientDownloadRequest_DownloadType_Name."); return ClientDownloadRequest_DownloadType_Name(static_cast(enum_t_value)); } bool ClientDownloadRequest_DownloadType_Parse( const std::string& name, ClientDownloadRequest_DownloadType* value); enum ReferrerChainEntry_URLType : int { ReferrerChainEntry_URLType_EVENT_URL = 1, ReferrerChainEntry_URLType_LANDING_PAGE = 2, ReferrerChainEntry_URLType_LANDING_REFERRER = 3, ReferrerChainEntry_URLType_CLIENT_REDIRECT = 4, ReferrerChainEntry_URLType_DEPRECATED_SERVER_REDIRECT = 5 }; bool ReferrerChainEntry_URLType_IsValid(int value); constexpr ReferrerChainEntry_URLType ReferrerChainEntry_URLType_URLType_MIN = ReferrerChainEntry_URLType_EVENT_URL; constexpr ReferrerChainEntry_URLType ReferrerChainEntry_URLType_URLType_MAX = ReferrerChainEntry_URLType_DEPRECATED_SERVER_REDIRECT; constexpr int ReferrerChainEntry_URLType_URLType_ARRAYSIZE = ReferrerChainEntry_URLType_URLType_MAX + 1; const std::string& ReferrerChainEntry_URLType_Name(ReferrerChainEntry_URLType value); template inline const std::string& ReferrerChainEntry_URLType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ReferrerChainEntry_URLType_Name."); return ReferrerChainEntry_URLType_Name(static_cast(enum_t_value)); } bool ReferrerChainEntry_URLType_Parse( const std::string& name, ReferrerChainEntry_URLType* value); enum ClientDownloadResponse_Verdict : int { ClientDownloadResponse_Verdict_SAFE = 0, ClientDownloadResponse_Verdict_DANGEROUS = 1, ClientDownloadResponse_Verdict_UNCOMMON = 2, ClientDownloadResponse_Verdict_POTENTIALLY_UNWANTED = 3, ClientDownloadResponse_Verdict_DANGEROUS_HOST = 4, ClientDownloadResponse_Verdict_UNKNOWN = 5 }; bool ClientDownloadResponse_Verdict_IsValid(int value); constexpr ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MIN = ClientDownloadResponse_Verdict_SAFE; constexpr ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MAX = ClientDownloadResponse_Verdict_UNKNOWN; constexpr int ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE = ClientDownloadResponse_Verdict_Verdict_MAX + 1; const std::string& ClientDownloadResponse_Verdict_Name(ClientDownloadResponse_Verdict value); template inline const std::string& ClientDownloadResponse_Verdict_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientDownloadResponse_Verdict_Name."); return ClientDownloadResponse_Verdict_Name(static_cast(enum_t_value)); } bool ClientDownloadResponse_Verdict_Parse( const std::string& name, ClientDownloadResponse_Verdict* value); enum ClientDownloadReport_Reason : int { ClientDownloadReport_Reason_SHARE = 0, ClientDownloadReport_Reason_FALSE_POSITIVE = 1, ClientDownloadReport_Reason_APPEAL = 2 }; bool ClientDownloadReport_Reason_IsValid(int value); constexpr ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MIN = ClientDownloadReport_Reason_SHARE; constexpr ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MAX = ClientDownloadReport_Reason_APPEAL; constexpr int ClientDownloadReport_Reason_Reason_ARRAYSIZE = ClientDownloadReport_Reason_Reason_MAX + 1; const std::string& ClientDownloadReport_Reason_Name(ClientDownloadReport_Reason value); template inline const std::string& ClientDownloadReport_Reason_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientDownloadReport_Reason_Name."); return ClientDownloadReport_Reason_Name(static_cast(enum_t_value)); } bool ClientDownloadReport_Reason_Parse( const std::string& name, ClientDownloadReport_Reason* value); enum ClientUploadResponse_UploadStatus : int { ClientUploadResponse_UploadStatus_SUCCESS = 0, ClientUploadResponse_UploadStatus_UPLOAD_FAILURE = 1 }; bool ClientUploadResponse_UploadStatus_IsValid(int value); constexpr ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MIN = ClientUploadResponse_UploadStatus_SUCCESS; constexpr ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MAX = ClientUploadResponse_UploadStatus_UPLOAD_FAILURE; constexpr int ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE = ClientUploadResponse_UploadStatus_UploadStatus_MAX + 1; const std::string& ClientUploadResponse_UploadStatus_Name(ClientUploadResponse_UploadStatus value); template inline const std::string& ClientUploadResponse_UploadStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientUploadResponse_UploadStatus_Name."); return ClientUploadResponse_UploadStatus_Name(static_cast(enum_t_value)); } bool ClientUploadResponse_UploadStatus_Parse( const std::string& name, ClientUploadResponse_UploadStatus* value); enum ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState : int { ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN = 0, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CLEARED = 1, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_WEAK_LEGACY_OBSOLETE = 2, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CHANGED = 3, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE = 4, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CLEARED = 5, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CHANGED = 6 }; bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(int value); constexpr ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN; constexpr ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CHANGED; constexpr int ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX + 1; const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value); template inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name."); return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(static_cast(enum_t_value)); } bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Parse( const std::string& name, ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState* value); enum ClientIncidentReport_IncidentData_ResourceRequestIncident_Type : int { ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN = 0, ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN = 3 }; bool ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(int value); constexpr ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN; constexpr ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN; constexpr int ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX + 1; const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value); template inline const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name."); return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(static_cast(enum_t_value)); } bool ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Parse( const std::string& name, ClientIncidentReport_IncidentData_ResourceRequestIncident_Type* value); enum ClientIncidentReport_EnvironmentData_Process_Dll_Feature : int { ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN = 0, ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP = 1 }; bool ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(int value); constexpr ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN; constexpr ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP; constexpr int ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX + 1; const std::string& ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(ClientIncidentReport_EnvironmentData_Process_Dll_Feature value); template inline const std::string& ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name."); return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(static_cast(enum_t_value)); } bool ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Parse( const std::string& name, ClientIncidentReport_EnvironmentData_Process_Dll_Feature* value); enum ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState : int { ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN = 0, ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNKNOWN = 1, ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNMODIFIED = 2, ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED = 3 }; bool ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(int value); constexpr ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN; constexpr ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED; constexpr int ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX + 1; const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value); template inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name."); return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(static_cast(enum_t_value)); } bool ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Parse( const std::string& name, ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState* value); enum ClientIncidentReport_EnvironmentData_Process_Channel : int { ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN = 0, ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_CANARY = 1, ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_DEV = 2, ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_BETA = 3, ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE = 4 }; bool ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(int value); constexpr ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN; constexpr ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE; constexpr int ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX + 1; const std::string& ClientIncidentReport_EnvironmentData_Process_Channel_Name(ClientIncidentReport_EnvironmentData_Process_Channel value); template inline const std::string& ClientIncidentReport_EnvironmentData_Process_Channel_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientIncidentReport_EnvironmentData_Process_Channel_Name."); return ClientIncidentReport_EnvironmentData_Process_Channel_Name(static_cast(enum_t_value)); } bool ClientIncidentReport_EnvironmentData_Process_Channel_Parse( const std::string& name, ClientIncidentReport_EnvironmentData_Process_Channel* value); enum ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState : int { ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN = 0, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_ENABLED = 1, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_DISABLED = 2, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLACKLISTED = 3, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLOCKED = 4, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED = 5 }; bool ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(int value); constexpr ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN; constexpr ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED; constexpr int ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX + 1; const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value); template inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name."); return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(static_cast(enum_t_value)); } bool ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Parse( const std::string& name, ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState* value); enum ClientSafeBrowsingReportRequest_ReportType : int { ClientSafeBrowsingReportRequest_ReportType_UNKNOWN = 0, ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING = 1, ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE = 2, ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED = 3, ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_PHISHING = 4, ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_MALWARE = 5, ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY = 6, ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING = 7, ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API = 10, ClientSafeBrowsingReportRequest_ReportType_URL_PASSWORD_PROTECTION_PHISHING = 12, ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_OPENED = 13, ClientSafeBrowsingReportRequest_ReportType_AD_SAMPLE = 14 }; bool ClientSafeBrowsingReportRequest_ReportType_IsValid(int value); constexpr ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN = ClientSafeBrowsingReportRequest_ReportType_UNKNOWN; constexpr ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX = ClientSafeBrowsingReportRequest_ReportType_AD_SAMPLE; constexpr int ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE = ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX + 1; const std::string& ClientSafeBrowsingReportRequest_ReportType_Name(ClientSafeBrowsingReportRequest_ReportType value); template inline const std::string& ClientSafeBrowsingReportRequest_ReportType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientSafeBrowsingReportRequest_ReportType_Name."); return ClientSafeBrowsingReportRequest_ReportType_Name(static_cast(enum_t_value)); } bool ClientSafeBrowsingReportRequest_ReportType_Parse( const std::string& name, ClientSafeBrowsingReportRequest_ReportType* value); enum ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType : int { ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED = 0, ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER3_NATIVE = 1, ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER4_NATIVE = 2, ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_ANDROID_SAFETYNET = 3, ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_FLYWHEEL = 4 }; bool ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_IsValid(int value); constexpr ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MIN = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED; constexpr ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MAX = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_FLYWHEEL; constexpr int ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_ARRAYSIZE = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MAX + 1; const std::string& ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value); template inline const std::string& ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name."); return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(static_cast(enum_t_value)); } bool ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Parse( const std::string& name, ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType* value); // =================================================================== class ChromeUserPopulation : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ChromeUserPopulation) */ { public: ChromeUserPopulation(); virtual ~ChromeUserPopulation(); ChromeUserPopulation(const ChromeUserPopulation& from); ChromeUserPopulation(ChromeUserPopulation&& from) noexcept : ChromeUserPopulation() { *this = ::std::move(from); } inline ChromeUserPopulation& operator=(const ChromeUserPopulation& from) { CopyFrom(from); return *this; } inline ChromeUserPopulation& operator=(ChromeUserPopulation&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ChromeUserPopulation& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ChromeUserPopulation* internal_default_instance() { return reinterpret_cast( &_ChromeUserPopulation_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(ChromeUserPopulation& a, ChromeUserPopulation& b) { a.Swap(&b); } inline void Swap(ChromeUserPopulation* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ChromeUserPopulation* New() const final { return CreateMaybeMessage(nullptr); } ChromeUserPopulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ChromeUserPopulation& from); void MergeFrom(const ChromeUserPopulation& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ChromeUserPopulation* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ChromeUserPopulation"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ChromeUserPopulation_UserPopulation UserPopulation; static constexpr UserPopulation UNKNOWN_USER_POPULATION = ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION; static constexpr UserPopulation SAFE_BROWSING = ChromeUserPopulation_UserPopulation_SAFE_BROWSING; static constexpr UserPopulation EXTENDED_REPORTING = ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING; static inline bool UserPopulation_IsValid(int value) { return ChromeUserPopulation_UserPopulation_IsValid(value); } static constexpr UserPopulation UserPopulation_MIN = ChromeUserPopulation_UserPopulation_UserPopulation_MIN; static constexpr UserPopulation UserPopulation_MAX = ChromeUserPopulation_UserPopulation_UserPopulation_MAX; static constexpr int UserPopulation_ARRAYSIZE = ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE; template static inline const std::string& UserPopulation_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function UserPopulation_Name."); return ChromeUserPopulation_UserPopulation_Name(enum_t_value); } static inline bool UserPopulation_Parse(const std::string& name, UserPopulation* value) { return ChromeUserPopulation_UserPopulation_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kFinchActiveGroupsFieldNumber = 4, kUserPopulationFieldNumber = 1, kIsHistorySyncEnabledFieldNumber = 2, }; // repeated string finch_active_groups = 4; int finch_active_groups_size() const; private: int _internal_finch_active_groups_size() const; public: void clear_finch_active_groups(); const std::string& finch_active_groups(int index) const; std::string* mutable_finch_active_groups(int index); void set_finch_active_groups(int index, const std::string& value); void set_finch_active_groups(int index, std::string&& value); void set_finch_active_groups(int index, const char* value); void set_finch_active_groups(int index, const char* value, size_t size); std::string* add_finch_active_groups(); void add_finch_active_groups(const std::string& value); void add_finch_active_groups(std::string&& value); void add_finch_active_groups(const char* value); void add_finch_active_groups(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& finch_active_groups() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_finch_active_groups(); private: const std::string& _internal_finch_active_groups(int index) const; std::string* _internal_add_finch_active_groups(); public: // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1; bool has_user_population() const; private: bool _internal_has_user_population() const; public: void clear_user_population(); ::safe_browsing::ChromeUserPopulation_UserPopulation user_population() const; void set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value); private: ::safe_browsing::ChromeUserPopulation_UserPopulation _internal_user_population() const; void _internal_set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value); public: // optional bool is_history_sync_enabled = 2; bool has_is_history_sync_enabled() const; private: bool _internal_has_is_history_sync_enabled() const; public: void clear_is_history_sync_enabled(); bool is_history_sync_enabled() const; void set_is_history_sync_enabled(bool value); private: bool _internal_is_history_sync_enabled() const; void _internal_set_is_history_sync_enabled(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ChromeUserPopulation) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField finch_active_groups_; int user_population_; bool is_history_sync_enabled_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientPhishingRequest_Feature : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientPhishingRequest.Feature) */ { public: ClientPhishingRequest_Feature(); virtual ~ClientPhishingRequest_Feature(); ClientPhishingRequest_Feature(const ClientPhishingRequest_Feature& from); ClientPhishingRequest_Feature(ClientPhishingRequest_Feature&& from) noexcept : ClientPhishingRequest_Feature() { *this = ::std::move(from); } inline ClientPhishingRequest_Feature& operator=(const ClientPhishingRequest_Feature& from) { CopyFrom(from); return *this; } inline ClientPhishingRequest_Feature& operator=(ClientPhishingRequest_Feature&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientPhishingRequest_Feature& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientPhishingRequest_Feature* internal_default_instance() { return reinterpret_cast( &_ClientPhishingRequest_Feature_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(ClientPhishingRequest_Feature& a, ClientPhishingRequest_Feature& b) { a.Swap(&b); } inline void Swap(ClientPhishingRequest_Feature* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientPhishingRequest_Feature* New() const final { return CreateMaybeMessage(nullptr); } ClientPhishingRequest_Feature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientPhishingRequest_Feature& from); void MergeFrom(const ClientPhishingRequest_Feature& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientPhishingRequest_Feature* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientPhishingRequest.Feature"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 1, kValueFieldNumber = 2, }; // required string name = 1; bool has_name() const; private: bool _internal_has_name() const; public: void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // required double value = 2; bool has_value() const; private: bool _internal_has_value() const; public: void clear_value(); double value() const; void set_value(double value); private: double _internal_value() const; void _internal_set_value(double value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest.Feature) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; double value_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientPhishingRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientPhishingRequest) */ { public: ClientPhishingRequest(); virtual ~ClientPhishingRequest(); ClientPhishingRequest(const ClientPhishingRequest& from); ClientPhishingRequest(ClientPhishingRequest&& from) noexcept : ClientPhishingRequest() { *this = ::std::move(from); } inline ClientPhishingRequest& operator=(const ClientPhishingRequest& from) { CopyFrom(from); return *this; } inline ClientPhishingRequest& operator=(ClientPhishingRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientPhishingRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientPhishingRequest* internal_default_instance() { return reinterpret_cast( &_ClientPhishingRequest_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(ClientPhishingRequest& a, ClientPhishingRequest& b) { a.Swap(&b); } inline void Swap(ClientPhishingRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientPhishingRequest* New() const final { return CreateMaybeMessage(nullptr); } ClientPhishingRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientPhishingRequest& from); void MergeFrom(const ClientPhishingRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientPhishingRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientPhishingRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientPhishingRequest_Feature Feature; // accessors ------------------------------------------------------- enum : int { kFeatureMapFieldNumber = 5, kNonModelFeatureMapFieldNumber = 8, kShingleHashesFieldNumber = 12, kUrlFieldNumber = 1, kOBSOLETEReferrerUrlFieldNumber = 9, kOBSOLETEHashPrefixFieldNumber = 10, kModelFilenameFieldNumber = 13, kPopulationFieldNumber = 14, kClientScoreFieldNumber = 2, kIsPhishingFieldNumber = 4, kModelVersionFieldNumber = 6, }; // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5; int feature_map_size() const; private: int _internal_feature_map_size() const; public: void clear_feature_map(); ::safe_browsing::ClientPhishingRequest_Feature* mutable_feature_map(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >* mutable_feature_map(); private: const ::safe_browsing::ClientPhishingRequest_Feature& _internal_feature_map(int index) const; ::safe_browsing::ClientPhishingRequest_Feature* _internal_add_feature_map(); public: const ::safe_browsing::ClientPhishingRequest_Feature& feature_map(int index) const; ::safe_browsing::ClientPhishingRequest_Feature* add_feature_map(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >& feature_map() const; // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8; int non_model_feature_map_size() const; private: int _internal_non_model_feature_map_size() const; public: void clear_non_model_feature_map(); ::safe_browsing::ClientPhishingRequest_Feature* mutable_non_model_feature_map(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >* mutable_non_model_feature_map(); private: const ::safe_browsing::ClientPhishingRequest_Feature& _internal_non_model_feature_map(int index) const; ::safe_browsing::ClientPhishingRequest_Feature* _internal_add_non_model_feature_map(); public: const ::safe_browsing::ClientPhishingRequest_Feature& non_model_feature_map(int index) const; ::safe_browsing::ClientPhishingRequest_Feature* add_non_model_feature_map(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >& non_model_feature_map() const; // repeated uint32 shingle_hashes = 12 [packed = true]; int shingle_hashes_size() const; private: int _internal_shingle_hashes_size() const; public: void clear_shingle_hashes(); private: ::PROTOBUF_NAMESPACE_ID::uint32 _internal_shingle_hashes(int index) const; const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& _internal_shingle_hashes() const; void _internal_add_shingle_hashes(::PROTOBUF_NAMESPACE_ID::uint32 value); ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* _internal_mutable_shingle_hashes(); public: ::PROTOBUF_NAMESPACE_ID::uint32 shingle_hashes(int index) const; void set_shingle_hashes(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); void add_shingle_hashes(::PROTOBUF_NAMESPACE_ID::uint32 value); const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& shingle_hashes() const; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* mutable_shingle_hashes(); // optional string url = 1; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional string OBSOLETE_referrer_url = 9; bool has_obsolete_referrer_url() const; private: bool _internal_has_obsolete_referrer_url() const; public: void clear_obsolete_referrer_url(); const std::string& obsolete_referrer_url() const; void set_obsolete_referrer_url(const std::string& value); void set_obsolete_referrer_url(std::string&& value); void set_obsolete_referrer_url(const char* value); void set_obsolete_referrer_url(const char* value, size_t size); std::string* mutable_obsolete_referrer_url(); std::string* release_obsolete_referrer_url(); void set_allocated_obsolete_referrer_url(std::string* obsolete_referrer_url); private: const std::string& _internal_obsolete_referrer_url() const; void _internal_set_obsolete_referrer_url(const std::string& value); std::string* _internal_mutable_obsolete_referrer_url(); public: // optional bytes OBSOLETE_hash_prefix = 10; bool has_obsolete_hash_prefix() const; private: bool _internal_has_obsolete_hash_prefix() const; public: void clear_obsolete_hash_prefix(); const std::string& obsolete_hash_prefix() const; void set_obsolete_hash_prefix(const std::string& value); void set_obsolete_hash_prefix(std::string&& value); void set_obsolete_hash_prefix(const char* value); void set_obsolete_hash_prefix(const void* value, size_t size); std::string* mutable_obsolete_hash_prefix(); std::string* release_obsolete_hash_prefix(); void set_allocated_obsolete_hash_prefix(std::string* obsolete_hash_prefix); private: const std::string& _internal_obsolete_hash_prefix() const; void _internal_set_obsolete_hash_prefix(const std::string& value); std::string* _internal_mutable_obsolete_hash_prefix(); public: // optional string model_filename = 13; bool has_model_filename() const; private: bool _internal_has_model_filename() const; public: void clear_model_filename(); const std::string& model_filename() const; void set_model_filename(const std::string& value); void set_model_filename(std::string&& value); void set_model_filename(const char* value); void set_model_filename(const char* value, size_t size); std::string* mutable_model_filename(); std::string* release_model_filename(); void set_allocated_model_filename(std::string* model_filename); private: const std::string& _internal_model_filename() const; void _internal_set_model_filename(const std::string& value); std::string* _internal_mutable_model_filename(); public: // optional .safe_browsing.ChromeUserPopulation population = 14; bool has_population() const; private: bool _internal_has_population() const; public: void clear_population(); const ::safe_browsing::ChromeUserPopulation& population() const; ::safe_browsing::ChromeUserPopulation* release_population(); ::safe_browsing::ChromeUserPopulation* mutable_population(); void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); private: const ::safe_browsing::ChromeUserPopulation& _internal_population() const; ::safe_browsing::ChromeUserPopulation* _internal_mutable_population(); public: // required float client_score = 2; bool has_client_score() const; private: bool _internal_has_client_score() const; public: void clear_client_score(); float client_score() const; void set_client_score(float value); private: float _internal_client_score() const; void _internal_set_client_score(float value); public: // optional bool is_phishing = 4; bool has_is_phishing() const; private: bool _internal_has_is_phishing() const; public: void clear_is_phishing(); bool is_phishing() const; void set_is_phishing(bool value); private: bool _internal_is_phishing() const; void _internal_set_is_phishing(bool value); public: // optional int32 model_version = 6; bool has_model_version() const; private: bool _internal_has_model_version() const; public: void clear_model_version(); ::PROTOBUF_NAMESPACE_ID::int32 model_version() const; void set_model_version(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_model_version() const; void _internal_set_model_version(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > feature_map_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > non_model_feature_map_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > shingle_hashes_; mutable std::atomic _shingle_hashes_cached_byte_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr obsolete_referrer_url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr obsolete_hash_prefix_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_filename_; ::safe_browsing::ChromeUserPopulation* population_; float client_score_; bool is_phishing_; ::PROTOBUF_NAMESPACE_ID::int32 model_version_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientPhishingResponse : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientPhishingResponse) */ { public: ClientPhishingResponse(); virtual ~ClientPhishingResponse(); ClientPhishingResponse(const ClientPhishingResponse& from); ClientPhishingResponse(ClientPhishingResponse&& from) noexcept : ClientPhishingResponse() { *this = ::std::move(from); } inline ClientPhishingResponse& operator=(const ClientPhishingResponse& from) { CopyFrom(from); return *this; } inline ClientPhishingResponse& operator=(ClientPhishingResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientPhishingResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientPhishingResponse* internal_default_instance() { return reinterpret_cast( &_ClientPhishingResponse_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(ClientPhishingResponse& a, ClientPhishingResponse& b) { a.Swap(&b); } inline void Swap(ClientPhishingResponse* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientPhishingResponse* New() const final { return CreateMaybeMessage(nullptr); } ClientPhishingResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientPhishingResponse& from); void MergeFrom(const ClientPhishingResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientPhishingResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientPhishingResponse"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kOBSOLETEWhitelistExpressionFieldNumber = 2, kPhishyFieldNumber = 1, }; // repeated string OBSOLETE_whitelist_expression = 2; int obsolete_whitelist_expression_size() const; private: int _internal_obsolete_whitelist_expression_size() const; public: void clear_obsolete_whitelist_expression(); const std::string& obsolete_whitelist_expression(int index) const; std::string* mutable_obsolete_whitelist_expression(int index); void set_obsolete_whitelist_expression(int index, const std::string& value); void set_obsolete_whitelist_expression(int index, std::string&& value); void set_obsolete_whitelist_expression(int index, const char* value); void set_obsolete_whitelist_expression(int index, const char* value, size_t size); std::string* add_obsolete_whitelist_expression(); void add_obsolete_whitelist_expression(const std::string& value); void add_obsolete_whitelist_expression(std::string&& value); void add_obsolete_whitelist_expression(const char* value); void add_obsolete_whitelist_expression(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& obsolete_whitelist_expression() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_obsolete_whitelist_expression(); private: const std::string& _internal_obsolete_whitelist_expression(int index) const; std::string* _internal_add_obsolete_whitelist_expression(); public: // required bool phishy = 1; bool has_phishy() const; private: bool _internal_has_phishy() const; public: void clear_phishy(); bool phishy() const; void set_phishy(bool value); private: bool _internal_phishy() const; void _internal_set_phishy(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingResponse) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField obsolete_whitelist_expression_; bool phishy_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientMalwareRequest_UrlInfo : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientMalwareRequest.UrlInfo) */ { public: ClientMalwareRequest_UrlInfo(); virtual ~ClientMalwareRequest_UrlInfo(); ClientMalwareRequest_UrlInfo(const ClientMalwareRequest_UrlInfo& from); ClientMalwareRequest_UrlInfo(ClientMalwareRequest_UrlInfo&& from) noexcept : ClientMalwareRequest_UrlInfo() { *this = ::std::move(from); } inline ClientMalwareRequest_UrlInfo& operator=(const ClientMalwareRequest_UrlInfo& from) { CopyFrom(from); return *this; } inline ClientMalwareRequest_UrlInfo& operator=(ClientMalwareRequest_UrlInfo&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientMalwareRequest_UrlInfo& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientMalwareRequest_UrlInfo* internal_default_instance() { return reinterpret_cast( &_ClientMalwareRequest_UrlInfo_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(ClientMalwareRequest_UrlInfo& a, ClientMalwareRequest_UrlInfo& b) { a.Swap(&b); } inline void Swap(ClientMalwareRequest_UrlInfo* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientMalwareRequest_UrlInfo* New() const final { return CreateMaybeMessage(nullptr); } ClientMalwareRequest_UrlInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientMalwareRequest_UrlInfo& from); void MergeFrom(const ClientMalwareRequest_UrlInfo& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientMalwareRequest_UrlInfo* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientMalwareRequest.UrlInfo"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kIpFieldNumber = 1, kUrlFieldNumber = 2, kMethodFieldNumber = 3, kReferrerFieldNumber = 4, kResourceTypeFieldNumber = 5, }; // required string ip = 1; bool has_ip() const; private: bool _internal_has_ip() const; public: void clear_ip(); const std::string& ip() const; void set_ip(const std::string& value); void set_ip(std::string&& value); void set_ip(const char* value); void set_ip(const char* value, size_t size); std::string* mutable_ip(); std::string* release_ip(); void set_allocated_ip(std::string* ip); private: const std::string& _internal_ip() const; void _internal_set_ip(const std::string& value); std::string* _internal_mutable_ip(); public: // required string url = 2; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional string method = 3; bool has_method() const; private: bool _internal_has_method() const; public: void clear_method(); const std::string& method() const; void set_method(const std::string& value); void set_method(std::string&& value); void set_method(const char* value); void set_method(const char* value, size_t size); std::string* mutable_method(); std::string* release_method(); void set_allocated_method(std::string* method); private: const std::string& _internal_method() const; void _internal_set_method(const std::string& value); std::string* _internal_mutable_method(); public: // optional string referrer = 4; bool has_referrer() const; private: bool _internal_has_referrer() const; public: void clear_referrer(); const std::string& referrer() const; void set_referrer(const std::string& value); void set_referrer(std::string&& value); void set_referrer(const char* value); void set_referrer(const char* value, size_t size); std::string* mutable_referrer(); std::string* release_referrer(); void set_allocated_referrer(std::string* referrer); private: const std::string& _internal_referrer() const; void _internal_set_referrer(const std::string& value); std::string* _internal_mutable_referrer(); public: // optional int32 resource_type = 5; bool has_resource_type() const; private: bool _internal_has_resource_type() const; public: void clear_resource_type(); ::PROTOBUF_NAMESPACE_ID::int32 resource_type() const; void set_resource_type(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_resource_type() const; void _internal_set_resource_type(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest.UrlInfo) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr method_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_; ::PROTOBUF_NAMESPACE_ID::int32 resource_type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientMalwareRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientMalwareRequest) */ { public: ClientMalwareRequest(); virtual ~ClientMalwareRequest(); ClientMalwareRequest(const ClientMalwareRequest& from); ClientMalwareRequest(ClientMalwareRequest&& from) noexcept : ClientMalwareRequest() { *this = ::std::move(from); } inline ClientMalwareRequest& operator=(const ClientMalwareRequest& from) { CopyFrom(from); return *this; } inline ClientMalwareRequest& operator=(ClientMalwareRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientMalwareRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientMalwareRequest* internal_default_instance() { return reinterpret_cast( &_ClientMalwareRequest_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(ClientMalwareRequest& a, ClientMalwareRequest& b) { a.Swap(&b); } inline void Swap(ClientMalwareRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientMalwareRequest* New() const final { return CreateMaybeMessage(nullptr); } ClientMalwareRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientMalwareRequest& from); void MergeFrom(const ClientMalwareRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientMalwareRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientMalwareRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientMalwareRequest_UrlInfo UrlInfo; // accessors ------------------------------------------------------- enum : int { kBadIpUrlInfoFieldNumber = 7, kUrlFieldNumber = 1, kReferrerUrlFieldNumber = 4, kPopulationFieldNumber = 9, }; // repeated .safe_browsing.ClientMalwareRequest.UrlInfo bad_ip_url_info = 7; int bad_ip_url_info_size() const; private: int _internal_bad_ip_url_info_size() const; public: void clear_bad_ip_url_info(); ::safe_browsing::ClientMalwareRequest_UrlInfo* mutable_bad_ip_url_info(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >* mutable_bad_ip_url_info(); private: const ::safe_browsing::ClientMalwareRequest_UrlInfo& _internal_bad_ip_url_info(int index) const; ::safe_browsing::ClientMalwareRequest_UrlInfo* _internal_add_bad_ip_url_info(); public: const ::safe_browsing::ClientMalwareRequest_UrlInfo& bad_ip_url_info(int index) const; ::safe_browsing::ClientMalwareRequest_UrlInfo* add_bad_ip_url_info(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >& bad_ip_url_info() const; // required string url = 1; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional string referrer_url = 4; bool has_referrer_url() const; private: bool _internal_has_referrer_url() const; public: void clear_referrer_url(); const std::string& referrer_url() const; void set_referrer_url(const std::string& value); void set_referrer_url(std::string&& value); void set_referrer_url(const char* value); void set_referrer_url(const char* value, size_t size); std::string* mutable_referrer_url(); std::string* release_referrer_url(); void set_allocated_referrer_url(std::string* referrer_url); private: const std::string& _internal_referrer_url() const; void _internal_set_referrer_url(const std::string& value); std::string* _internal_mutable_referrer_url(); public: // optional .safe_browsing.ChromeUserPopulation population = 9; bool has_population() const; private: bool _internal_has_population() const; public: void clear_population(); const ::safe_browsing::ChromeUserPopulation& population() const; ::safe_browsing::ChromeUserPopulation* release_population(); ::safe_browsing::ChromeUserPopulation* mutable_population(); void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); private: const ::safe_browsing::ChromeUserPopulation& _internal_population() const; ::safe_browsing::ChromeUserPopulation* _internal_mutable_population(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo > bad_ip_url_info_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_url_; ::safe_browsing::ChromeUserPopulation* population_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class LoginReputationClientRequest_Frame_Form : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest.Frame.Form) */ { public: LoginReputationClientRequest_Frame_Form(); virtual ~LoginReputationClientRequest_Frame_Form(); LoginReputationClientRequest_Frame_Form(const LoginReputationClientRequest_Frame_Form& from); LoginReputationClientRequest_Frame_Form(LoginReputationClientRequest_Frame_Form&& from) noexcept : LoginReputationClientRequest_Frame_Form() { *this = ::std::move(from); } inline LoginReputationClientRequest_Frame_Form& operator=(const LoginReputationClientRequest_Frame_Form& from) { CopyFrom(from); return *this; } inline LoginReputationClientRequest_Frame_Form& operator=(LoginReputationClientRequest_Frame_Form&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const LoginReputationClientRequest_Frame_Form& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const LoginReputationClientRequest_Frame_Form* internal_default_instance() { return reinterpret_cast( &_LoginReputationClientRequest_Frame_Form_default_instance_); } static constexpr int kIndexInFileMessages = 6; friend void swap(LoginReputationClientRequest_Frame_Form& a, LoginReputationClientRequest_Frame_Form& b) { a.Swap(&b); } inline void Swap(LoginReputationClientRequest_Frame_Form* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline LoginReputationClientRequest_Frame_Form* New() const final { return CreateMaybeMessage(nullptr); } LoginReputationClientRequest_Frame_Form* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const LoginReputationClientRequest_Frame_Form& from); void MergeFrom(const LoginReputationClientRequest_Frame_Form& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(LoginReputationClientRequest_Frame_Form* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.LoginReputationClientRequest.Frame.Form"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kActionUrlFieldNumber = 1, kHasPasswordFieldFieldNumber = 2, }; // optional string action_url = 1; bool has_action_url() const; private: bool _internal_has_action_url() const; public: void clear_action_url(); const std::string& action_url() const; void set_action_url(const std::string& value); void set_action_url(std::string&& value); void set_action_url(const char* value); void set_action_url(const char* value, size_t size); std::string* mutable_action_url(); std::string* release_action_url(); void set_allocated_action_url(std::string* action_url); private: const std::string& _internal_action_url() const; void _internal_set_action_url(const std::string& value); std::string* _internal_mutable_action_url(); public: // optional bool has_password_field = 2; bool has_has_password_field() const; private: bool _internal_has_has_password_field() const; public: void clear_has_password_field(); bool has_password_field() const; void set_has_password_field(bool value); private: bool _internal_has_password_field() const; void _internal_set_has_password_field(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest.Frame.Form) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr action_url_; bool has_password_field_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class LoginReputationClientRequest_Frame : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest.Frame) */ { public: LoginReputationClientRequest_Frame(); virtual ~LoginReputationClientRequest_Frame(); LoginReputationClientRequest_Frame(const LoginReputationClientRequest_Frame& from); LoginReputationClientRequest_Frame(LoginReputationClientRequest_Frame&& from) noexcept : LoginReputationClientRequest_Frame() { *this = ::std::move(from); } inline LoginReputationClientRequest_Frame& operator=(const LoginReputationClientRequest_Frame& from) { CopyFrom(from); return *this; } inline LoginReputationClientRequest_Frame& operator=(LoginReputationClientRequest_Frame&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const LoginReputationClientRequest_Frame& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const LoginReputationClientRequest_Frame* internal_default_instance() { return reinterpret_cast( &_LoginReputationClientRequest_Frame_default_instance_); } static constexpr int kIndexInFileMessages = 7; friend void swap(LoginReputationClientRequest_Frame& a, LoginReputationClientRequest_Frame& b) { a.Swap(&b); } inline void Swap(LoginReputationClientRequest_Frame* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline LoginReputationClientRequest_Frame* New() const final { return CreateMaybeMessage(nullptr); } LoginReputationClientRequest_Frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const LoginReputationClientRequest_Frame& from); void MergeFrom(const LoginReputationClientRequest_Frame& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(LoginReputationClientRequest_Frame* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.LoginReputationClientRequest.Frame"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef LoginReputationClientRequest_Frame_Form Form; // accessors ------------------------------------------------------- enum : int { kReferrerChainFieldNumber = 5, kFormsFieldNumber = 6, kUrlFieldNumber = 3, kFrameIndexFieldNumber = 1, kParentFrameIndexFieldNumber = 2, kHasPasswordFieldFieldNumber = 4, }; // repeated .safe_browsing.ReferrerChainEntry referrer_chain = 5; int referrer_chain_size() const; private: int _internal_referrer_chain_size() const; public: void clear_referrer_chain(); ::safe_browsing::ReferrerChainEntry* mutable_referrer_chain(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >* mutable_referrer_chain(); private: const ::safe_browsing::ReferrerChainEntry& _internal_referrer_chain(int index) const; ::safe_browsing::ReferrerChainEntry* _internal_add_referrer_chain(); public: const ::safe_browsing::ReferrerChainEntry& referrer_chain(int index) const; ::safe_browsing::ReferrerChainEntry* add_referrer_chain(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >& referrer_chain() const; // repeated .safe_browsing.LoginReputationClientRequest.Frame.Form forms = 6; int forms_size() const; private: int _internal_forms_size() const; public: void clear_forms(); ::safe_browsing::LoginReputationClientRequest_Frame_Form* mutable_forms(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form >* mutable_forms(); private: const ::safe_browsing::LoginReputationClientRequest_Frame_Form& _internal_forms(int index) const; ::safe_browsing::LoginReputationClientRequest_Frame_Form* _internal_add_forms(); public: const ::safe_browsing::LoginReputationClientRequest_Frame_Form& forms(int index) const; ::safe_browsing::LoginReputationClientRequest_Frame_Form* add_forms(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form >& forms() const; // optional string url = 3; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional int32 frame_index = 1; bool has_frame_index() const; private: bool _internal_has_frame_index() const; public: void clear_frame_index(); ::PROTOBUF_NAMESPACE_ID::int32 frame_index() const; void set_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_frame_index() const; void _internal_set_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional int32 parent_frame_index = 2; bool has_parent_frame_index() const; private: bool _internal_has_parent_frame_index() const; public: void clear_parent_frame_index(); ::PROTOBUF_NAMESPACE_ID::int32 parent_frame_index() const; void set_parent_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_parent_frame_index() const; void _internal_set_parent_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional bool has_password_field = 4; bool has_has_password_field() const; private: bool _internal_has_has_password_field() const; public: void clear_has_password_field(); bool has_password_field() const; void set_has_password_field(bool value); private: bool _internal_has_password_field() const; void _internal_set_has_password_field(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest.Frame) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry > referrer_chain_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form > forms_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::int32 frame_index_; ::PROTOBUF_NAMESPACE_ID::int32 parent_frame_index_; bool has_password_field_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class LoginReputationClientRequest_PasswordReuseEvent : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent) */ { public: LoginReputationClientRequest_PasswordReuseEvent(); virtual ~LoginReputationClientRequest_PasswordReuseEvent(); LoginReputationClientRequest_PasswordReuseEvent(const LoginReputationClientRequest_PasswordReuseEvent& from); LoginReputationClientRequest_PasswordReuseEvent(LoginReputationClientRequest_PasswordReuseEvent&& from) noexcept : LoginReputationClientRequest_PasswordReuseEvent() { *this = ::std::move(from); } inline LoginReputationClientRequest_PasswordReuseEvent& operator=(const LoginReputationClientRequest_PasswordReuseEvent& from) { CopyFrom(from); return *this; } inline LoginReputationClientRequest_PasswordReuseEvent& operator=(LoginReputationClientRequest_PasswordReuseEvent&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const LoginReputationClientRequest_PasswordReuseEvent& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const LoginReputationClientRequest_PasswordReuseEvent* internal_default_instance() { return reinterpret_cast( &_LoginReputationClientRequest_PasswordReuseEvent_default_instance_); } static constexpr int kIndexInFileMessages = 8; friend void swap(LoginReputationClientRequest_PasswordReuseEvent& a, LoginReputationClientRequest_PasswordReuseEvent& b) { a.Swap(&b); } inline void Swap(LoginReputationClientRequest_PasswordReuseEvent* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline LoginReputationClientRequest_PasswordReuseEvent* New() const final { return CreateMaybeMessage(nullptr); } LoginReputationClientRequest_PasswordReuseEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const LoginReputationClientRequest_PasswordReuseEvent& from); void MergeFrom(const LoginReputationClientRequest_PasswordReuseEvent& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(LoginReputationClientRequest_PasswordReuseEvent* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.LoginReputationClientRequest.PasswordReuseEvent"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType SyncAccountType; static constexpr SyncAccountType NOT_SIGNED_IN = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_NOT_SIGNED_IN; static constexpr SyncAccountType GMAIL = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GMAIL; static constexpr SyncAccountType GSUITE = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_GSUITE; static inline bool SyncAccountType_IsValid(int value) { return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_IsValid(value); } static constexpr SyncAccountType SyncAccountType_MIN = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MIN; static constexpr SyncAccountType SyncAccountType_MAX = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_MAX; static constexpr int SyncAccountType_ARRAYSIZE = LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_SyncAccountType_ARRAYSIZE; template static inline const std::string& SyncAccountType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function SyncAccountType_Name."); return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Name(enum_t_value); } static inline bool SyncAccountType_Parse(const std::string& name, SyncAccountType* value) { return LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kDomainsMatchingPasswordFieldNumber = 1, kFrameIdFieldNumber = 2, kIsChromeSigninPasswordFieldNumber = 3, kSyncAccountTypeFieldNumber = 4, }; // repeated string domains_matching_password = 1; int domains_matching_password_size() const; private: int _internal_domains_matching_password_size() const; public: void clear_domains_matching_password(); const std::string& domains_matching_password(int index) const; std::string* mutable_domains_matching_password(int index); void set_domains_matching_password(int index, const std::string& value); void set_domains_matching_password(int index, std::string&& value); void set_domains_matching_password(int index, const char* value); void set_domains_matching_password(int index, const char* value, size_t size); std::string* add_domains_matching_password(); void add_domains_matching_password(const std::string& value); void add_domains_matching_password(std::string&& value); void add_domains_matching_password(const char* value); void add_domains_matching_password(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& domains_matching_password() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_domains_matching_password(); private: const std::string& _internal_domains_matching_password(int index) const; std::string* _internal_add_domains_matching_password(); public: // optional int32 frame_id = 2; bool has_frame_id() const; private: bool _internal_has_frame_id() const; public: void clear_frame_id(); ::PROTOBUF_NAMESPACE_ID::int32 frame_id() const; void set_frame_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_frame_id() const; void _internal_set_frame_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional bool is_chrome_signin_password = 3; bool has_is_chrome_signin_password() const; private: bool _internal_has_is_chrome_signin_password() const; public: void clear_is_chrome_signin_password(); bool is_chrome_signin_password() const; void set_is_chrome_signin_password(bool value); private: bool _internal_is_chrome_signin_password() const; void _internal_set_is_chrome_signin_password(bool value); public: // optional .safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.SyncAccountType sync_account_type = 4; bool has_sync_account_type() const; private: bool _internal_has_sync_account_type() const; public: void clear_sync_account_type(); ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType sync_account_type() const; void set_sync_account_type(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value); private: ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType _internal_sync_account_type() const; void _internal_set_sync_account_type(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value); public: // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField domains_matching_password_; ::PROTOBUF_NAMESPACE_ID::int32 frame_id_; bool is_chrome_signin_password_; int sync_account_type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class LoginReputationClientRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientRequest) */ { public: LoginReputationClientRequest(); virtual ~LoginReputationClientRequest(); LoginReputationClientRequest(const LoginReputationClientRequest& from); LoginReputationClientRequest(LoginReputationClientRequest&& from) noexcept : LoginReputationClientRequest() { *this = ::std::move(from); } inline LoginReputationClientRequest& operator=(const LoginReputationClientRequest& from) { CopyFrom(from); return *this; } inline LoginReputationClientRequest& operator=(LoginReputationClientRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const LoginReputationClientRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const LoginReputationClientRequest* internal_default_instance() { return reinterpret_cast( &_LoginReputationClientRequest_default_instance_); } static constexpr int kIndexInFileMessages = 9; friend void swap(LoginReputationClientRequest& a, LoginReputationClientRequest& b) { a.Swap(&b); } inline void Swap(LoginReputationClientRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline LoginReputationClientRequest* New() const final { return CreateMaybeMessage(nullptr); } LoginReputationClientRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const LoginReputationClientRequest& from); void MergeFrom(const LoginReputationClientRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(LoginReputationClientRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.LoginReputationClientRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef LoginReputationClientRequest_Frame Frame; typedef LoginReputationClientRequest_PasswordReuseEvent PasswordReuseEvent; typedef LoginReputationClientRequest_TriggerType TriggerType; static constexpr TriggerType TRIGGER_TYPE_UNSPECIFIED = LoginReputationClientRequest_TriggerType_TRIGGER_TYPE_UNSPECIFIED; static constexpr TriggerType UNFAMILIAR_LOGIN_PAGE = LoginReputationClientRequest_TriggerType_UNFAMILIAR_LOGIN_PAGE; static constexpr TriggerType PASSWORD_REUSE_EVENT = LoginReputationClientRequest_TriggerType_PASSWORD_REUSE_EVENT; static inline bool TriggerType_IsValid(int value) { return LoginReputationClientRequest_TriggerType_IsValid(value); } static constexpr TriggerType TriggerType_MIN = LoginReputationClientRequest_TriggerType_TriggerType_MIN; static constexpr TriggerType TriggerType_MAX = LoginReputationClientRequest_TriggerType_TriggerType_MAX; static constexpr int TriggerType_ARRAYSIZE = LoginReputationClientRequest_TriggerType_TriggerType_ARRAYSIZE; template static inline const std::string& TriggerType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function TriggerType_Name."); return LoginReputationClientRequest_TriggerType_Name(enum_t_value); } static inline bool TriggerType_Parse(const std::string& name, TriggerType* value) { return LoginReputationClientRequest_TriggerType_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kFramesFieldNumber = 3, kPageUrlFieldNumber = 1, kPasswordReuseEventFieldNumber = 4, kPopulationFieldNumber = 6, kTriggerTypeFieldNumber = 2, kStoredVerdictCntFieldNumber = 5, kClickedThroughInterstitialFieldNumber = 7, }; // repeated .safe_browsing.LoginReputationClientRequest.Frame frames = 3; int frames_size() const; private: int _internal_frames_size() const; public: void clear_frames(); ::safe_browsing::LoginReputationClientRequest_Frame* mutable_frames(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame >* mutable_frames(); private: const ::safe_browsing::LoginReputationClientRequest_Frame& _internal_frames(int index) const; ::safe_browsing::LoginReputationClientRequest_Frame* _internal_add_frames(); public: const ::safe_browsing::LoginReputationClientRequest_Frame& frames(int index) const; ::safe_browsing::LoginReputationClientRequest_Frame* add_frames(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame >& frames() const; // optional string page_url = 1; bool has_page_url() const; private: bool _internal_has_page_url() const; public: void clear_page_url(); const std::string& page_url() const; void set_page_url(const std::string& value); void set_page_url(std::string&& value); void set_page_url(const char* value); void set_page_url(const char* value, size_t size); std::string* mutable_page_url(); std::string* release_page_url(); void set_allocated_page_url(std::string* page_url); private: const std::string& _internal_page_url() const; void _internal_set_page_url(const std::string& value); std::string* _internal_mutable_page_url(); public: // optional .safe_browsing.LoginReputationClientRequest.PasswordReuseEvent password_reuse_event = 4; bool has_password_reuse_event() const; private: bool _internal_has_password_reuse_event() const; public: void clear_password_reuse_event(); const ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent& password_reuse_event() const; ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* release_password_reuse_event(); ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* mutable_password_reuse_event(); void set_allocated_password_reuse_event(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* password_reuse_event); private: const ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent& _internal_password_reuse_event() const; ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* _internal_mutable_password_reuse_event(); public: // optional .safe_browsing.ChromeUserPopulation population = 6; bool has_population() const; private: bool _internal_has_population() const; public: void clear_population(); const ::safe_browsing::ChromeUserPopulation& population() const; ::safe_browsing::ChromeUserPopulation* release_population(); ::safe_browsing::ChromeUserPopulation* mutable_population(); void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); private: const ::safe_browsing::ChromeUserPopulation& _internal_population() const; ::safe_browsing::ChromeUserPopulation* _internal_mutable_population(); public: // optional .safe_browsing.LoginReputationClientRequest.TriggerType trigger_type = 2; bool has_trigger_type() const; private: bool _internal_has_trigger_type() const; public: void clear_trigger_type(); ::safe_browsing::LoginReputationClientRequest_TriggerType trigger_type() const; void set_trigger_type(::safe_browsing::LoginReputationClientRequest_TriggerType value); private: ::safe_browsing::LoginReputationClientRequest_TriggerType _internal_trigger_type() const; void _internal_set_trigger_type(::safe_browsing::LoginReputationClientRequest_TriggerType value); public: // optional int32 stored_verdict_cnt = 5; bool has_stored_verdict_cnt() const; private: bool _internal_has_stored_verdict_cnt() const; public: void clear_stored_verdict_cnt(); ::PROTOBUF_NAMESPACE_ID::int32 stored_verdict_cnt() const; void set_stored_verdict_cnt(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_stored_verdict_cnt() const; void _internal_set_stored_verdict_cnt(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional bool clicked_through_interstitial = 7; bool has_clicked_through_interstitial() const; private: bool _internal_has_clicked_through_interstitial() const; public: void clear_clicked_through_interstitial(); bool clicked_through_interstitial() const; void set_clicked_through_interstitial(bool value); private: bool _internal_clicked_through_interstitial() const; void _internal_set_clicked_through_interstitial(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientRequest) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame > frames_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_url_; ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* password_reuse_event_; ::safe_browsing::ChromeUserPopulation* population_; int trigger_type_; ::PROTOBUF_NAMESPACE_ID::int32 stored_verdict_cnt_; bool clicked_through_interstitial_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class LoginReputationClientResponse : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.LoginReputationClientResponse) */ { public: LoginReputationClientResponse(); virtual ~LoginReputationClientResponse(); LoginReputationClientResponse(const LoginReputationClientResponse& from); LoginReputationClientResponse(LoginReputationClientResponse&& from) noexcept : LoginReputationClientResponse() { *this = ::std::move(from); } inline LoginReputationClientResponse& operator=(const LoginReputationClientResponse& from) { CopyFrom(from); return *this; } inline LoginReputationClientResponse& operator=(LoginReputationClientResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const LoginReputationClientResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const LoginReputationClientResponse* internal_default_instance() { return reinterpret_cast( &_LoginReputationClientResponse_default_instance_); } static constexpr int kIndexInFileMessages = 10; friend void swap(LoginReputationClientResponse& a, LoginReputationClientResponse& b) { a.Swap(&b); } inline void Swap(LoginReputationClientResponse* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline LoginReputationClientResponse* New() const final { return CreateMaybeMessage(nullptr); } LoginReputationClientResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const LoginReputationClientResponse& from); void MergeFrom(const LoginReputationClientResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(LoginReputationClientResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.LoginReputationClientResponse"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef LoginReputationClientResponse_VerdictType VerdictType; static constexpr VerdictType VERDICT_TYPE_UNSPECIFIED = LoginReputationClientResponse_VerdictType_VERDICT_TYPE_UNSPECIFIED; static constexpr VerdictType SAFE = LoginReputationClientResponse_VerdictType_SAFE; static constexpr VerdictType LOW_REPUTATION = LoginReputationClientResponse_VerdictType_LOW_REPUTATION; static constexpr VerdictType PHISHING = LoginReputationClientResponse_VerdictType_PHISHING; static inline bool VerdictType_IsValid(int value) { return LoginReputationClientResponse_VerdictType_IsValid(value); } static constexpr VerdictType VerdictType_MIN = LoginReputationClientResponse_VerdictType_VerdictType_MIN; static constexpr VerdictType VerdictType_MAX = LoginReputationClientResponse_VerdictType_VerdictType_MAX; static constexpr int VerdictType_ARRAYSIZE = LoginReputationClientResponse_VerdictType_VerdictType_ARRAYSIZE; template static inline const std::string& VerdictType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function VerdictType_Name."); return LoginReputationClientResponse_VerdictType_Name(enum_t_value); } static inline bool VerdictType_Parse(const std::string& name, VerdictType* value) { return LoginReputationClientResponse_VerdictType_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kCacheExpressionFieldNumber = 3, kVerdictTokenFieldNumber = 5, kCacheDurationSecFieldNumber = 2, kVerdictTypeFieldNumber = 1, kDEPRECATEDCacheExpressionExactMatchFieldNumber = 4, }; // optional string cache_expression = 3; bool has_cache_expression() const; private: bool _internal_has_cache_expression() const; public: void clear_cache_expression(); const std::string& cache_expression() const; void set_cache_expression(const std::string& value); void set_cache_expression(std::string&& value); void set_cache_expression(const char* value); void set_cache_expression(const char* value, size_t size); std::string* mutable_cache_expression(); std::string* release_cache_expression(); void set_allocated_cache_expression(std::string* cache_expression); private: const std::string& _internal_cache_expression() const; void _internal_set_cache_expression(const std::string& value); std::string* _internal_mutable_cache_expression(); public: // optional bytes verdict_token = 5; bool has_verdict_token() const; private: bool _internal_has_verdict_token() const; public: void clear_verdict_token(); const std::string& verdict_token() const; void set_verdict_token(const std::string& value); void set_verdict_token(std::string&& value); void set_verdict_token(const char* value); void set_verdict_token(const void* value, size_t size); std::string* mutable_verdict_token(); std::string* release_verdict_token(); void set_allocated_verdict_token(std::string* verdict_token); private: const std::string& _internal_verdict_token() const; void _internal_set_verdict_token(const std::string& value); std::string* _internal_mutable_verdict_token(); public: // optional int64 cache_duration_sec = 2; bool has_cache_duration_sec() const; private: bool _internal_has_cache_duration_sec() const; public: void clear_cache_duration_sec(); ::PROTOBUF_NAMESPACE_ID::int64 cache_duration_sec() const; void set_cache_duration_sec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_cache_duration_sec() const; void _internal_set_cache_duration_sec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional .safe_browsing.LoginReputationClientResponse.VerdictType verdict_type = 1; bool has_verdict_type() const; private: bool _internal_has_verdict_type() const; public: void clear_verdict_type(); ::safe_browsing::LoginReputationClientResponse_VerdictType verdict_type() const; void set_verdict_type(::safe_browsing::LoginReputationClientResponse_VerdictType value); private: ::safe_browsing::LoginReputationClientResponse_VerdictType _internal_verdict_type() const; void _internal_set_verdict_type(::safe_browsing::LoginReputationClientResponse_VerdictType value); public: // optional bool DEPRECATED_cache_expression_exact_match = 4 [deprecated = true]; PROTOBUF_DEPRECATED bool has_deprecated_cache_expression_exact_match() const; private: bool _internal_has_deprecated_cache_expression_exact_match() const; public: PROTOBUF_DEPRECATED void clear_deprecated_cache_expression_exact_match(); PROTOBUF_DEPRECATED bool deprecated_cache_expression_exact_match() const; PROTOBUF_DEPRECATED void set_deprecated_cache_expression_exact_match(bool value); private: bool _internal_deprecated_cache_expression_exact_match() const; void _internal_set_deprecated_cache_expression_exact_match(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.LoginReputationClientResponse) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cache_expression_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr verdict_token_; ::PROTOBUF_NAMESPACE_ID::int64 cache_duration_sec_; int verdict_type_; bool deprecated_cache_expression_exact_match_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientMalwareResponse : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientMalwareResponse) */ { public: ClientMalwareResponse(); virtual ~ClientMalwareResponse(); ClientMalwareResponse(const ClientMalwareResponse& from); ClientMalwareResponse(ClientMalwareResponse&& from) noexcept : ClientMalwareResponse() { *this = ::std::move(from); } inline ClientMalwareResponse& operator=(const ClientMalwareResponse& from) { CopyFrom(from); return *this; } inline ClientMalwareResponse& operator=(ClientMalwareResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientMalwareResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientMalwareResponse* internal_default_instance() { return reinterpret_cast( &_ClientMalwareResponse_default_instance_); } static constexpr int kIndexInFileMessages = 11; friend void swap(ClientMalwareResponse& a, ClientMalwareResponse& b) { a.Swap(&b); } inline void Swap(ClientMalwareResponse* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientMalwareResponse* New() const final { return CreateMaybeMessage(nullptr); } ClientMalwareResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientMalwareResponse& from); void MergeFrom(const ClientMalwareResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientMalwareResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientMalwareResponse"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kBadIpFieldNumber = 2, kBadUrlFieldNumber = 3, kBlacklistFieldNumber = 1, }; // optional string bad_ip = 2; bool has_bad_ip() const; private: bool _internal_has_bad_ip() const; public: void clear_bad_ip(); const std::string& bad_ip() const; void set_bad_ip(const std::string& value); void set_bad_ip(std::string&& value); void set_bad_ip(const char* value); void set_bad_ip(const char* value, size_t size); std::string* mutable_bad_ip(); std::string* release_bad_ip(); void set_allocated_bad_ip(std::string* bad_ip); private: const std::string& _internal_bad_ip() const; void _internal_set_bad_ip(const std::string& value); std::string* _internal_mutable_bad_ip(); public: // optional string bad_url = 3; bool has_bad_url() const; private: bool _internal_has_bad_url() const; public: void clear_bad_url(); const std::string& bad_url() const; void set_bad_url(const std::string& value); void set_bad_url(std::string&& value); void set_bad_url(const char* value); void set_bad_url(const char* value, size_t size); std::string* mutable_bad_url(); std::string* release_bad_url(); void set_allocated_bad_url(std::string* bad_url); private: const std::string& _internal_bad_url() const; void _internal_set_bad_url(const std::string& value); std::string* _internal_mutable_bad_url(); public: // required bool blacklist = 1; bool has_blacklist() const; private: bool _internal_has_blacklist() const; public: void clear_blacklist(); bool blacklist() const; void set_blacklist(bool value); private: bool _internal_blacklist() const; void _internal_set_blacklist(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareResponse) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bad_ip_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bad_url_; bool blacklist_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_Digests : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.Digests) */ { public: ClientDownloadRequest_Digests(); virtual ~ClientDownloadRequest_Digests(); ClientDownloadRequest_Digests(const ClientDownloadRequest_Digests& from); ClientDownloadRequest_Digests(ClientDownloadRequest_Digests&& from) noexcept : ClientDownloadRequest_Digests() { *this = ::std::move(from); } inline ClientDownloadRequest_Digests& operator=(const ClientDownloadRequest_Digests& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_Digests& operator=(ClientDownloadRequest_Digests&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_Digests& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_Digests* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_Digests_default_instance_); } static constexpr int kIndexInFileMessages = 12; friend void swap(ClientDownloadRequest_Digests& a, ClientDownloadRequest_Digests& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_Digests* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_Digests* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_Digests* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_Digests& from); void MergeFrom(const ClientDownloadRequest_Digests& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_Digests* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.Digests"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kSha256FieldNumber = 1, kSha1FieldNumber = 2, kMd5FieldNumber = 3, }; // optional bytes sha256 = 1; bool has_sha256() const; private: bool _internal_has_sha256() const; public: void clear_sha256(); const std::string& sha256() const; void set_sha256(const std::string& value); void set_sha256(std::string&& value); void set_sha256(const char* value); void set_sha256(const void* value, size_t size); std::string* mutable_sha256(); std::string* release_sha256(); void set_allocated_sha256(std::string* sha256); private: const std::string& _internal_sha256() const; void _internal_set_sha256(const std::string& value); std::string* _internal_mutable_sha256(); public: // optional bytes sha1 = 2; bool has_sha1() const; private: bool _internal_has_sha1() const; public: void clear_sha1(); const std::string& sha1() const; void set_sha1(const std::string& value); void set_sha1(std::string&& value); void set_sha1(const char* value); void set_sha1(const void* value, size_t size); std::string* mutable_sha1(); std::string* release_sha1(); void set_allocated_sha1(std::string* sha1); private: const std::string& _internal_sha1() const; void _internal_set_sha1(const std::string& value); std::string* _internal_mutable_sha1(); public: // optional bytes md5 = 3; bool has_md5() const; private: bool _internal_has_md5() const; public: void clear_md5(); const std::string& md5() const; void set_md5(const std::string& value); void set_md5(std::string&& value); void set_md5(const char* value); void set_md5(const void* value, size_t size); std::string* mutable_md5(); std::string* release_md5(); void set_allocated_md5(std::string* md5); private: const std::string& _internal_md5() const; void _internal_set_md5(const std::string& value); std::string* _internal_mutable_md5(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Digests) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha256_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sha1_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr md5_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_Resource : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.Resource) */ { public: ClientDownloadRequest_Resource(); virtual ~ClientDownloadRequest_Resource(); ClientDownloadRequest_Resource(const ClientDownloadRequest_Resource& from); ClientDownloadRequest_Resource(ClientDownloadRequest_Resource&& from) noexcept : ClientDownloadRequest_Resource() { *this = ::std::move(from); } inline ClientDownloadRequest_Resource& operator=(const ClientDownloadRequest_Resource& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_Resource& operator=(ClientDownloadRequest_Resource&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_Resource& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_Resource* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_Resource_default_instance_); } static constexpr int kIndexInFileMessages = 13; friend void swap(ClientDownloadRequest_Resource& a, ClientDownloadRequest_Resource& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_Resource* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_Resource* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_Resource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_Resource& from); void MergeFrom(const ClientDownloadRequest_Resource& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_Resource* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.Resource"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kUrlFieldNumber = 1, kRemoteIpFieldNumber = 3, kReferrerFieldNumber = 4, kTypeFieldNumber = 2, }; // required string url = 1; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional bytes remote_ip = 3; bool has_remote_ip() const; private: bool _internal_has_remote_ip() const; public: void clear_remote_ip(); const std::string& remote_ip() const; void set_remote_ip(const std::string& value); void set_remote_ip(std::string&& value); void set_remote_ip(const char* value); void set_remote_ip(const void* value, size_t size); std::string* mutable_remote_ip(); std::string* release_remote_ip(); void set_allocated_remote_ip(std::string* remote_ip); private: const std::string& _internal_remote_ip() const; void _internal_set_remote_ip(const std::string& value); std::string* _internal_mutable_remote_ip(); public: // optional string referrer = 4; bool has_referrer() const; private: bool _internal_has_referrer() const; public: void clear_referrer(); const std::string& referrer() const; void set_referrer(const std::string& value); void set_referrer(std::string&& value); void set_referrer(const char* value); void set_referrer(const char* value, size_t size); std::string* mutable_referrer(); std::string* release_referrer(); void set_allocated_referrer(std::string* referrer); private: const std::string& _internal_referrer() const; void _internal_set_referrer(const std::string& value); std::string* _internal_mutable_referrer(); public: // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2; bool has_type() const; private: bool _internal_has_type() const; public: void clear_type(); ::safe_browsing::ClientDownloadRequest_ResourceType type() const; void set_type(::safe_browsing::ClientDownloadRequest_ResourceType value); private: ::safe_browsing::ClientDownloadRequest_ResourceType _internal_type() const; void _internal_set_type(::safe_browsing::ClientDownloadRequest_ResourceType value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Resource) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_ip_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_; int type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_CertificateChain_Element : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.CertificateChain.Element) */ { public: ClientDownloadRequest_CertificateChain_Element(); virtual ~ClientDownloadRequest_CertificateChain_Element(); ClientDownloadRequest_CertificateChain_Element(const ClientDownloadRequest_CertificateChain_Element& from); ClientDownloadRequest_CertificateChain_Element(ClientDownloadRequest_CertificateChain_Element&& from) noexcept : ClientDownloadRequest_CertificateChain_Element() { *this = ::std::move(from); } inline ClientDownloadRequest_CertificateChain_Element& operator=(const ClientDownloadRequest_CertificateChain_Element& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_CertificateChain_Element& operator=(ClientDownloadRequest_CertificateChain_Element&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_CertificateChain_Element& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_CertificateChain_Element* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_CertificateChain_Element_default_instance_); } static constexpr int kIndexInFileMessages = 14; friend void swap(ClientDownloadRequest_CertificateChain_Element& a, ClientDownloadRequest_CertificateChain_Element& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_CertificateChain_Element* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_CertificateChain_Element* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_CertificateChain_Element* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_CertificateChain_Element& from); void MergeFrom(const ClientDownloadRequest_CertificateChain_Element& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_CertificateChain_Element* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.CertificateChain.Element"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCertificateFieldNumber = 1, }; // optional bytes certificate = 1; bool has_certificate() const; private: bool _internal_has_certificate() const; public: void clear_certificate(); const std::string& certificate() const; void set_certificate(const std::string& value); void set_certificate(std::string&& value); void set_certificate(const char* value); void set_certificate(const void* value, size_t size); std::string* mutable_certificate(); std::string* release_certificate(); void set_allocated_certificate(std::string* certificate); private: const std::string& _internal_certificate() const; void _internal_set_certificate(const std::string& value); std::string* _internal_mutable_certificate(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain.Element) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr certificate_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_CertificateChain : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.CertificateChain) */ { public: ClientDownloadRequest_CertificateChain(); virtual ~ClientDownloadRequest_CertificateChain(); ClientDownloadRequest_CertificateChain(const ClientDownloadRequest_CertificateChain& from); ClientDownloadRequest_CertificateChain(ClientDownloadRequest_CertificateChain&& from) noexcept : ClientDownloadRequest_CertificateChain() { *this = ::std::move(from); } inline ClientDownloadRequest_CertificateChain& operator=(const ClientDownloadRequest_CertificateChain& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_CertificateChain& operator=(ClientDownloadRequest_CertificateChain&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_CertificateChain& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_CertificateChain* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_CertificateChain_default_instance_); } static constexpr int kIndexInFileMessages = 15; friend void swap(ClientDownloadRequest_CertificateChain& a, ClientDownloadRequest_CertificateChain& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_CertificateChain* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_CertificateChain* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_CertificateChain* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_CertificateChain& from); void MergeFrom(const ClientDownloadRequest_CertificateChain& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_CertificateChain* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.CertificateChain"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_CertificateChain_Element Element; // accessors ------------------------------------------------------- enum : int { kElementFieldNumber = 1, }; // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1; int element_size() const; private: int _internal_element_size() const; public: void clear_element(); ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* mutable_element(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >* mutable_element(); private: const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& _internal_element(int index) const; ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* _internal_add_element(); public: const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& element(int index) const; ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* add_element(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >& element() const; // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element > element_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_ExtendedAttr : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.ExtendedAttr) */ { public: ClientDownloadRequest_ExtendedAttr(); virtual ~ClientDownloadRequest_ExtendedAttr(); ClientDownloadRequest_ExtendedAttr(const ClientDownloadRequest_ExtendedAttr& from); ClientDownloadRequest_ExtendedAttr(ClientDownloadRequest_ExtendedAttr&& from) noexcept : ClientDownloadRequest_ExtendedAttr() { *this = ::std::move(from); } inline ClientDownloadRequest_ExtendedAttr& operator=(const ClientDownloadRequest_ExtendedAttr& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_ExtendedAttr& operator=(ClientDownloadRequest_ExtendedAttr&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_ExtendedAttr& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_ExtendedAttr* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_ExtendedAttr_default_instance_); } static constexpr int kIndexInFileMessages = 16; friend void swap(ClientDownloadRequest_ExtendedAttr& a, ClientDownloadRequest_ExtendedAttr& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_ExtendedAttr* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_ExtendedAttr* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_ExtendedAttr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_ExtendedAttr& from); void MergeFrom(const ClientDownloadRequest_ExtendedAttr& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_ExtendedAttr* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.ExtendedAttr"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kKeyFieldNumber = 1, kValueFieldNumber = 2, }; // required string key = 1; bool has_key() const; private: bool _internal_has_key() const; public: void clear_key(); const std::string& key() const; void set_key(const std::string& value); void set_key(std::string&& value); void set_key(const char* value); void set_key(const char* value, size_t size); std::string* mutable_key(); std::string* release_key(); void set_allocated_key(std::string* key); private: const std::string& _internal_key() const; void _internal_set_key(const std::string& value); std::string* _internal_mutable_key(); public: // optional bytes value = 2; bool has_value() const; private: bool _internal_has_value() const; public: void clear_value(); const std::string& value() const; void set_value(const std::string& value); void set_value(std::string&& value); void set_value(const char* value); void set_value(const void* value, size_t size); std::string* mutable_value(); std::string* release_value(); void set_allocated_value(std::string* value); private: const std::string& _internal_value() const; void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ExtendedAttr) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_SignatureInfo : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.SignatureInfo) */ { public: ClientDownloadRequest_SignatureInfo(); virtual ~ClientDownloadRequest_SignatureInfo(); ClientDownloadRequest_SignatureInfo(const ClientDownloadRequest_SignatureInfo& from); ClientDownloadRequest_SignatureInfo(ClientDownloadRequest_SignatureInfo&& from) noexcept : ClientDownloadRequest_SignatureInfo() { *this = ::std::move(from); } inline ClientDownloadRequest_SignatureInfo& operator=(const ClientDownloadRequest_SignatureInfo& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_SignatureInfo& operator=(ClientDownloadRequest_SignatureInfo&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_SignatureInfo& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_SignatureInfo* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_SignatureInfo_default_instance_); } static constexpr int kIndexInFileMessages = 17; friend void swap(ClientDownloadRequest_SignatureInfo& a, ClientDownloadRequest_SignatureInfo& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_SignatureInfo* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_SignatureInfo* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_SignatureInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_SignatureInfo& from); void MergeFrom(const ClientDownloadRequest_SignatureInfo& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_SignatureInfo* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.SignatureInfo"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCertificateChainFieldNumber = 1, kSignedDataFieldNumber = 3, kXattrFieldNumber = 4, kTrustedFieldNumber = 2, }; // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1; int certificate_chain_size() const; private: int _internal_certificate_chain_size() const; public: void clear_certificate_chain(); ::safe_browsing::ClientDownloadRequest_CertificateChain* mutable_certificate_chain(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >* mutable_certificate_chain(); private: const ::safe_browsing::ClientDownloadRequest_CertificateChain& _internal_certificate_chain(int index) const; ::safe_browsing::ClientDownloadRequest_CertificateChain* _internal_add_certificate_chain(); public: const ::safe_browsing::ClientDownloadRequest_CertificateChain& certificate_chain(int index) const; ::safe_browsing::ClientDownloadRequest_CertificateChain* add_certificate_chain(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >& certificate_chain() const; // repeated bytes signed_data = 3; int signed_data_size() const; private: int _internal_signed_data_size() const; public: void clear_signed_data(); const std::string& signed_data(int index) const; std::string* mutable_signed_data(int index); void set_signed_data(int index, const std::string& value); void set_signed_data(int index, std::string&& value); void set_signed_data(int index, const char* value); void set_signed_data(int index, const void* value, size_t size); std::string* add_signed_data(); void add_signed_data(const std::string& value); void add_signed_data(std::string&& value); void add_signed_data(const char* value); void add_signed_data(const void* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& signed_data() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_signed_data(); private: const std::string& _internal_signed_data(int index) const; std::string* _internal_add_signed_data(); public: // repeated .safe_browsing.ClientDownloadRequest.ExtendedAttr xattr = 4; int xattr_size() const; private: int _internal_xattr_size() const; public: void clear_xattr(); ::safe_browsing::ClientDownloadRequest_ExtendedAttr* mutable_xattr(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >* mutable_xattr(); private: const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& _internal_xattr(int index) const; ::safe_browsing::ClientDownloadRequest_ExtendedAttr* _internal_add_xattr(); public: const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& xattr(int index) const; ::safe_browsing::ClientDownloadRequest_ExtendedAttr* add_xattr(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >& xattr() const; // optional bool trusted = 2; bool has_trusted() const; private: bool _internal_has_trusted() const; public: void clear_trusted(); bool trusted() const; void set_trusted(bool value); private: bool _internal_trusted() const; void _internal_set_trusted(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.SignatureInfo) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain > certificate_chain_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField signed_data_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr > xattr_; bool trusted_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_PEImageHeaders_DebugData : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData) */ { public: ClientDownloadRequest_PEImageHeaders_DebugData(); virtual ~ClientDownloadRequest_PEImageHeaders_DebugData(); ClientDownloadRequest_PEImageHeaders_DebugData(const ClientDownloadRequest_PEImageHeaders_DebugData& from); ClientDownloadRequest_PEImageHeaders_DebugData(ClientDownloadRequest_PEImageHeaders_DebugData&& from) noexcept : ClientDownloadRequest_PEImageHeaders_DebugData() { *this = ::std::move(from); } inline ClientDownloadRequest_PEImageHeaders_DebugData& operator=(const ClientDownloadRequest_PEImageHeaders_DebugData& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_PEImageHeaders_DebugData& operator=(ClientDownloadRequest_PEImageHeaders_DebugData&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_PEImageHeaders_DebugData& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_PEImageHeaders_DebugData* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_PEImageHeaders_DebugData_default_instance_); } static constexpr int kIndexInFileMessages = 18; friend void swap(ClientDownloadRequest_PEImageHeaders_DebugData& a, ClientDownloadRequest_PEImageHeaders_DebugData& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_PEImageHeaders_DebugData* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_PEImageHeaders_DebugData* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_PEImageHeaders_DebugData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from); void MergeFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_PEImageHeaders_DebugData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kDirectoryEntryFieldNumber = 1, kRawDataFieldNumber = 2, }; // optional bytes directory_entry = 1; bool has_directory_entry() const; private: bool _internal_has_directory_entry() const; public: void clear_directory_entry(); const std::string& directory_entry() const; void set_directory_entry(const std::string& value); void set_directory_entry(std::string&& value); void set_directory_entry(const char* value); void set_directory_entry(const void* value, size_t size); std::string* mutable_directory_entry(); std::string* release_directory_entry(); void set_allocated_directory_entry(std::string* directory_entry); private: const std::string& _internal_directory_entry() const; void _internal_set_directory_entry(const std::string& value); std::string* _internal_mutable_directory_entry(); public: // optional bytes raw_data = 2; bool has_raw_data() const; private: bool _internal_has_raw_data() const; public: void clear_raw_data(); const std::string& raw_data() const; void set_raw_data(const std::string& value); void set_raw_data(std::string&& value); void set_raw_data(const char* value); void set_raw_data(const void* value, size_t size); std::string* mutable_raw_data(); std::string* release_raw_data(); void set_allocated_raw_data(std::string* raw_data); private: const std::string& _internal_raw_data() const; void _internal_set_raw_data(const std::string& value); std::string* _internal_mutable_raw_data(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr directory_entry_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr raw_data_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_PEImageHeaders : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.PEImageHeaders) */ { public: ClientDownloadRequest_PEImageHeaders(); virtual ~ClientDownloadRequest_PEImageHeaders(); ClientDownloadRequest_PEImageHeaders(const ClientDownloadRequest_PEImageHeaders& from); ClientDownloadRequest_PEImageHeaders(ClientDownloadRequest_PEImageHeaders&& from) noexcept : ClientDownloadRequest_PEImageHeaders() { *this = ::std::move(from); } inline ClientDownloadRequest_PEImageHeaders& operator=(const ClientDownloadRequest_PEImageHeaders& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_PEImageHeaders& operator=(ClientDownloadRequest_PEImageHeaders&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_PEImageHeaders& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_PEImageHeaders* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_PEImageHeaders_default_instance_); } static constexpr int kIndexInFileMessages = 19; friend void swap(ClientDownloadRequest_PEImageHeaders& a, ClientDownloadRequest_PEImageHeaders& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_PEImageHeaders* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_PEImageHeaders* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_PEImageHeaders* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_PEImageHeaders& from); void MergeFrom(const ClientDownloadRequest_PEImageHeaders& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_PEImageHeaders* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.PEImageHeaders"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_PEImageHeaders_DebugData DebugData; // accessors ------------------------------------------------------- enum : int { kSectionHeaderFieldNumber = 5, kDebugDataFieldNumber = 7, kDosHeaderFieldNumber = 1, kFileHeaderFieldNumber = 2, kOptionalHeaders32FieldNumber = 3, kOptionalHeaders64FieldNumber = 4, kExportSectionDataFieldNumber = 6, }; // repeated bytes section_header = 5; int section_header_size() const; private: int _internal_section_header_size() const; public: void clear_section_header(); const std::string& section_header(int index) const; std::string* mutable_section_header(int index); void set_section_header(int index, const std::string& value); void set_section_header(int index, std::string&& value); void set_section_header(int index, const char* value); void set_section_header(int index, const void* value, size_t size); std::string* add_section_header(); void add_section_header(const std::string& value); void add_section_header(std::string&& value); void add_section_header(const char* value); void add_section_header(const void* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& section_header() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_section_header(); private: const std::string& _internal_section_header(int index) const; std::string* _internal_add_section_header(); public: // repeated .safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData debug_data = 7; int debug_data_size() const; private: int _internal_debug_data_size() const; public: void clear_debug_data(); ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* mutable_debug_data(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >* mutable_debug_data(); private: const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& _internal_debug_data(int index) const; ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* _internal_add_debug_data(); public: const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& debug_data(int index) const; ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* add_debug_data(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >& debug_data() const; // optional bytes dos_header = 1; bool has_dos_header() const; private: bool _internal_has_dos_header() const; public: void clear_dos_header(); const std::string& dos_header() const; void set_dos_header(const std::string& value); void set_dos_header(std::string&& value); void set_dos_header(const char* value); void set_dos_header(const void* value, size_t size); std::string* mutable_dos_header(); std::string* release_dos_header(); void set_allocated_dos_header(std::string* dos_header); private: const std::string& _internal_dos_header() const; void _internal_set_dos_header(const std::string& value); std::string* _internal_mutable_dos_header(); public: // optional bytes file_header = 2; bool has_file_header() const; private: bool _internal_has_file_header() const; public: void clear_file_header(); const std::string& file_header() const; void set_file_header(const std::string& value); void set_file_header(std::string&& value); void set_file_header(const char* value); void set_file_header(const void* value, size_t size); std::string* mutable_file_header(); std::string* release_file_header(); void set_allocated_file_header(std::string* file_header); private: const std::string& _internal_file_header() const; void _internal_set_file_header(const std::string& value); std::string* _internal_mutable_file_header(); public: // optional bytes optional_headers32 = 3; bool has_optional_headers32() const; private: bool _internal_has_optional_headers32() const; public: void clear_optional_headers32(); const std::string& optional_headers32() const; void set_optional_headers32(const std::string& value); void set_optional_headers32(std::string&& value); void set_optional_headers32(const char* value); void set_optional_headers32(const void* value, size_t size); std::string* mutable_optional_headers32(); std::string* release_optional_headers32(); void set_allocated_optional_headers32(std::string* optional_headers32); private: const std::string& _internal_optional_headers32() const; void _internal_set_optional_headers32(const std::string& value); std::string* _internal_mutable_optional_headers32(); public: // optional bytes optional_headers64 = 4; bool has_optional_headers64() const; private: bool _internal_has_optional_headers64() const; public: void clear_optional_headers64(); const std::string& optional_headers64() const; void set_optional_headers64(const std::string& value); void set_optional_headers64(std::string&& value); void set_optional_headers64(const char* value); void set_optional_headers64(const void* value, size_t size); std::string* mutable_optional_headers64(); std::string* release_optional_headers64(); void set_allocated_optional_headers64(std::string* optional_headers64); private: const std::string& _internal_optional_headers64() const; void _internal_set_optional_headers64(const std::string& value); std::string* _internal_mutable_optional_headers64(); public: // optional bytes export_section_data = 6; bool has_export_section_data() const; private: bool _internal_has_export_section_data() const; public: void clear_export_section_data(); const std::string& export_section_data() const; void set_export_section_data(const std::string& value); void set_export_section_data(std::string&& value); void set_export_section_data(const char* value); void set_export_section_data(const void* value, size_t size); std::string* mutable_export_section_data(); std::string* release_export_section_data(); void set_allocated_export_section_data(std::string* export_section_data); private: const std::string& _internal_export_section_data() const; void _internal_set_export_section_data(const std::string& value); std::string* _internal_mutable_export_section_data(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField section_header_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData > debug_data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dos_header_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_header_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr optional_headers32_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr optional_headers64_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr export_section_data_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_MachOHeaders_LoadCommand : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand) */ { public: ClientDownloadRequest_MachOHeaders_LoadCommand(); virtual ~ClientDownloadRequest_MachOHeaders_LoadCommand(); ClientDownloadRequest_MachOHeaders_LoadCommand(const ClientDownloadRequest_MachOHeaders_LoadCommand& from); ClientDownloadRequest_MachOHeaders_LoadCommand(ClientDownloadRequest_MachOHeaders_LoadCommand&& from) noexcept : ClientDownloadRequest_MachOHeaders_LoadCommand() { *this = ::std::move(from); } inline ClientDownloadRequest_MachOHeaders_LoadCommand& operator=(const ClientDownloadRequest_MachOHeaders_LoadCommand& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_MachOHeaders_LoadCommand& operator=(ClientDownloadRequest_MachOHeaders_LoadCommand&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_MachOHeaders_LoadCommand& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_MachOHeaders_LoadCommand* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_MachOHeaders_LoadCommand_default_instance_); } static constexpr int kIndexInFileMessages = 20; friend void swap(ClientDownloadRequest_MachOHeaders_LoadCommand& a, ClientDownloadRequest_MachOHeaders_LoadCommand& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_MachOHeaders_LoadCommand* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_MachOHeaders_LoadCommand* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_MachOHeaders_LoadCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from); void MergeFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_MachOHeaders_LoadCommand* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCommandFieldNumber = 2, kCommandIdFieldNumber = 1, }; // required bytes command = 2; bool has_command() const; private: bool _internal_has_command() const; public: void clear_command(); const std::string& command() const; void set_command(const std::string& value); void set_command(std::string&& value); void set_command(const char* value); void set_command(const void* value, size_t size); std::string* mutable_command(); std::string* release_command(); void set_allocated_command(std::string* command); private: const std::string& _internal_command() const; void _internal_set_command(const std::string& value); std::string* _internal_mutable_command(); public: // required uint32 command_id = 1; bool has_command_id() const; private: bool _internal_has_command_id() const; public: void clear_command_id(); ::PROTOBUF_NAMESPACE_ID::uint32 command_id() const; void set_command_id(::PROTOBUF_NAMESPACE_ID::uint32 value); private: ::PROTOBUF_NAMESPACE_ID::uint32 _internal_command_id() const; void _internal_set_command_id(::PROTOBUF_NAMESPACE_ID::uint32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_; ::PROTOBUF_NAMESPACE_ID::uint32 command_id_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_MachOHeaders : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.MachOHeaders) */ { public: ClientDownloadRequest_MachOHeaders(); virtual ~ClientDownloadRequest_MachOHeaders(); ClientDownloadRequest_MachOHeaders(const ClientDownloadRequest_MachOHeaders& from); ClientDownloadRequest_MachOHeaders(ClientDownloadRequest_MachOHeaders&& from) noexcept : ClientDownloadRequest_MachOHeaders() { *this = ::std::move(from); } inline ClientDownloadRequest_MachOHeaders& operator=(const ClientDownloadRequest_MachOHeaders& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_MachOHeaders& operator=(ClientDownloadRequest_MachOHeaders&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_MachOHeaders& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_MachOHeaders* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_MachOHeaders_default_instance_); } static constexpr int kIndexInFileMessages = 21; friend void swap(ClientDownloadRequest_MachOHeaders& a, ClientDownloadRequest_MachOHeaders& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_MachOHeaders* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_MachOHeaders* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_MachOHeaders* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_MachOHeaders& from); void MergeFrom(const ClientDownloadRequest_MachOHeaders& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_MachOHeaders* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.MachOHeaders"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_MachOHeaders_LoadCommand LoadCommand; // accessors ------------------------------------------------------- enum : int { kLoadCommandsFieldNumber = 2, kMachHeaderFieldNumber = 1, }; // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand load_commands = 2; int load_commands_size() const; private: int _internal_load_commands_size() const; public: void clear_load_commands(); ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* mutable_load_commands(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >* mutable_load_commands(); private: const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& _internal_load_commands(int index) const; ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* _internal_add_load_commands(); public: const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& load_commands(int index) const; ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* add_load_commands(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >& load_commands() const; // required bytes mach_header = 1; bool has_mach_header() const; private: bool _internal_has_mach_header() const; public: void clear_mach_header(); const std::string& mach_header() const; void set_mach_header(const std::string& value); void set_mach_header(std::string&& value); void set_mach_header(const char* value); void set_mach_header(const void* value, size_t size); std::string* mutable_mach_header(); std::string* release_mach_header(); void set_allocated_mach_header(std::string* mach_header); private: const std::string& _internal_mach_header() const; void _internal_set_mach_header(const std::string& value); std::string* _internal_mutable_mach_header(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand > load_commands_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mach_header_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_ImageHeaders : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.ImageHeaders) */ { public: ClientDownloadRequest_ImageHeaders(); virtual ~ClientDownloadRequest_ImageHeaders(); ClientDownloadRequest_ImageHeaders(const ClientDownloadRequest_ImageHeaders& from); ClientDownloadRequest_ImageHeaders(ClientDownloadRequest_ImageHeaders&& from) noexcept : ClientDownloadRequest_ImageHeaders() { *this = ::std::move(from); } inline ClientDownloadRequest_ImageHeaders& operator=(const ClientDownloadRequest_ImageHeaders& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_ImageHeaders& operator=(ClientDownloadRequest_ImageHeaders&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_ImageHeaders& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_ImageHeaders* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_ImageHeaders_default_instance_); } static constexpr int kIndexInFileMessages = 22; friend void swap(ClientDownloadRequest_ImageHeaders& a, ClientDownloadRequest_ImageHeaders& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_ImageHeaders* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_ImageHeaders* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_ImageHeaders* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_ImageHeaders& from); void MergeFrom(const ClientDownloadRequest_ImageHeaders& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_ImageHeaders* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.ImageHeaders"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kMachOHeadersFieldNumber = 2, kPeHeadersFieldNumber = 1, }; // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders mach_o_headers = 2; int mach_o_headers_size() const; private: int _internal_mach_o_headers_size() const; public: void clear_mach_o_headers(); ::safe_browsing::ClientDownloadRequest_MachOHeaders* mutable_mach_o_headers(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >* mutable_mach_o_headers(); private: const ::safe_browsing::ClientDownloadRequest_MachOHeaders& _internal_mach_o_headers(int index) const; ::safe_browsing::ClientDownloadRequest_MachOHeaders* _internal_add_mach_o_headers(); public: const ::safe_browsing::ClientDownloadRequest_MachOHeaders& mach_o_headers(int index) const; ::safe_browsing::ClientDownloadRequest_MachOHeaders* add_mach_o_headers(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >& mach_o_headers() const; // optional .safe_browsing.ClientDownloadRequest.PEImageHeaders pe_headers = 1; bool has_pe_headers() const; private: bool _internal_has_pe_headers() const; public: void clear_pe_headers(); const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& pe_headers() const; ::safe_browsing::ClientDownloadRequest_PEImageHeaders* release_pe_headers(); ::safe_browsing::ClientDownloadRequest_PEImageHeaders* mutable_pe_headers(); void set_allocated_pe_headers(::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers); private: const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& _internal_pe_headers() const; ::safe_browsing::ClientDownloadRequest_PEImageHeaders* _internal_mutable_pe_headers(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ImageHeaders) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders > mach_o_headers_; ::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest_ArchivedBinary : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest.ArchivedBinary) */ { public: ClientDownloadRequest_ArchivedBinary(); virtual ~ClientDownloadRequest_ArchivedBinary(); ClientDownloadRequest_ArchivedBinary(const ClientDownloadRequest_ArchivedBinary& from); ClientDownloadRequest_ArchivedBinary(ClientDownloadRequest_ArchivedBinary&& from) noexcept : ClientDownloadRequest_ArchivedBinary() { *this = ::std::move(from); } inline ClientDownloadRequest_ArchivedBinary& operator=(const ClientDownloadRequest_ArchivedBinary& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest_ArchivedBinary& operator=(ClientDownloadRequest_ArchivedBinary&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest_ArchivedBinary& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest_ArchivedBinary* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_ArchivedBinary_default_instance_); } static constexpr int kIndexInFileMessages = 23; friend void swap(ClientDownloadRequest_ArchivedBinary& a, ClientDownloadRequest_ArchivedBinary& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest_ArchivedBinary* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest_ArchivedBinary* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest_ArchivedBinary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest_ArchivedBinary& from); void MergeFrom(const ClientDownloadRequest_ArchivedBinary& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest_ArchivedBinary* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest.ArchivedBinary"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kFileBasenameFieldNumber = 1, kDigestsFieldNumber = 3, kSignatureFieldNumber = 5, kImageHeadersFieldNumber = 6, kLengthFieldNumber = 4, kDownloadTypeFieldNumber = 2, }; // optional string file_basename = 1; bool has_file_basename() const; private: bool _internal_has_file_basename() const; public: void clear_file_basename(); const std::string& file_basename() const; void set_file_basename(const std::string& value); void set_file_basename(std::string&& value); void set_file_basename(const char* value); void set_file_basename(const char* value, size_t size); std::string* mutable_file_basename(); std::string* release_file_basename(); void set_allocated_file_basename(std::string* file_basename); private: const std::string& _internal_file_basename() const; void _internal_set_file_basename(const std::string& value); std::string* _internal_mutable_file_basename(); public: // optional .safe_browsing.ClientDownloadRequest.Digests digests = 3; bool has_digests() const; private: bool _internal_has_digests() const; public: void clear_digests(); const ::safe_browsing::ClientDownloadRequest_Digests& digests() const; ::safe_browsing::ClientDownloadRequest_Digests* release_digests(); ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests(); void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests); private: const ::safe_browsing::ClientDownloadRequest_Digests& _internal_digests() const; ::safe_browsing::ClientDownloadRequest_Digests* _internal_mutable_digests(); public: // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; bool has_signature() const; private: bool _internal_has_signature() const; public: void clear_signature(); const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); private: const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature(); public: // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6; bool has_image_headers() const; private: bool _internal_has_image_headers() const; public: void clear_image_headers(); const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); private: const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers(); public: // optional int64 length = 4; bool has_length() const; private: bool _internal_has_length() const; public: void clear_length(); ::PROTOBUF_NAMESPACE_ID::int64 length() const; void set_length(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_length() const; void _internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 2; bool has_download_type() const; private: bool _internal_has_download_type() const; public: void clear_download_type(); ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const; void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value); private: ::safe_browsing::ClientDownloadRequest_DownloadType _internal_download_type() const; void _internal_set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ArchivedBinary) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_basename_; ::safe_browsing::ClientDownloadRequest_Digests* digests_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; ::PROTOBUF_NAMESPACE_ID::int64 length_; int download_type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadRequest) */ { public: ClientDownloadRequest(); virtual ~ClientDownloadRequest(); ClientDownloadRequest(const ClientDownloadRequest& from); ClientDownloadRequest(ClientDownloadRequest&& from) noexcept : ClientDownloadRequest() { *this = ::std::move(from); } inline ClientDownloadRequest& operator=(const ClientDownloadRequest& from) { CopyFrom(from); return *this; } inline ClientDownloadRequest& operator=(ClientDownloadRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadRequest* internal_default_instance() { return reinterpret_cast( &_ClientDownloadRequest_default_instance_); } static constexpr int kIndexInFileMessages = 24; friend void swap(ClientDownloadRequest& a, ClientDownloadRequest& b) { a.Swap(&b); } inline void Swap(ClientDownloadRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadRequest* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadRequest& from); void MergeFrom(const ClientDownloadRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_Digests Digests; typedef ClientDownloadRequest_Resource Resource; typedef ClientDownloadRequest_CertificateChain CertificateChain; typedef ClientDownloadRequest_ExtendedAttr ExtendedAttr; typedef ClientDownloadRequest_SignatureInfo SignatureInfo; typedef ClientDownloadRequest_PEImageHeaders PEImageHeaders; typedef ClientDownloadRequest_MachOHeaders MachOHeaders; typedef ClientDownloadRequest_ImageHeaders ImageHeaders; typedef ClientDownloadRequest_ArchivedBinary ArchivedBinary; typedef ClientDownloadRequest_ResourceType ResourceType; static constexpr ResourceType DOWNLOAD_URL = ClientDownloadRequest_ResourceType_DOWNLOAD_URL; static constexpr ResourceType DOWNLOAD_REDIRECT = ClientDownloadRequest_ResourceType_DOWNLOAD_REDIRECT; static constexpr ResourceType TAB_URL = ClientDownloadRequest_ResourceType_TAB_URL; static constexpr ResourceType TAB_REDIRECT = ClientDownloadRequest_ResourceType_TAB_REDIRECT; static constexpr ResourceType PPAPI_DOCUMENT = ClientDownloadRequest_ResourceType_PPAPI_DOCUMENT; static constexpr ResourceType PPAPI_PLUGIN = ClientDownloadRequest_ResourceType_PPAPI_PLUGIN; static inline bool ResourceType_IsValid(int value) { return ClientDownloadRequest_ResourceType_IsValid(value); } static constexpr ResourceType ResourceType_MIN = ClientDownloadRequest_ResourceType_ResourceType_MIN; static constexpr ResourceType ResourceType_MAX = ClientDownloadRequest_ResourceType_ResourceType_MAX; static constexpr int ResourceType_ARRAYSIZE = ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE; template static inline const std::string& ResourceType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ResourceType_Name."); return ClientDownloadRequest_ResourceType_Name(enum_t_value); } static inline bool ResourceType_Parse(const std::string& name, ResourceType* value) { return ClientDownloadRequest_ResourceType_Parse(name, value); } typedef ClientDownloadRequest_DownloadType DownloadType; static constexpr DownloadType WIN_EXECUTABLE = ClientDownloadRequest_DownloadType_WIN_EXECUTABLE; static constexpr DownloadType CHROME_EXTENSION = ClientDownloadRequest_DownloadType_CHROME_EXTENSION; static constexpr DownloadType ANDROID_APK = ClientDownloadRequest_DownloadType_ANDROID_APK; static constexpr DownloadType ZIPPED_EXECUTABLE = ClientDownloadRequest_DownloadType_ZIPPED_EXECUTABLE; static constexpr DownloadType MAC_EXECUTABLE = ClientDownloadRequest_DownloadType_MAC_EXECUTABLE; static constexpr DownloadType ZIPPED_ARCHIVE = ClientDownloadRequest_DownloadType_ZIPPED_ARCHIVE; static constexpr DownloadType ARCHIVE = ClientDownloadRequest_DownloadType_ARCHIVE; static constexpr DownloadType INVALID_ZIP = ClientDownloadRequest_DownloadType_INVALID_ZIP; static constexpr DownloadType INVALID_MAC_ARCHIVE = ClientDownloadRequest_DownloadType_INVALID_MAC_ARCHIVE; static constexpr DownloadType PPAPI_SAVE_REQUEST = ClientDownloadRequest_DownloadType_PPAPI_SAVE_REQUEST; static constexpr DownloadType SAMPLED_UNSUPPORTED_FILE = ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE; static inline bool DownloadType_IsValid(int value) { return ClientDownloadRequest_DownloadType_IsValid(value); } static constexpr DownloadType DownloadType_MIN = ClientDownloadRequest_DownloadType_DownloadType_MIN; static constexpr DownloadType DownloadType_MAX = ClientDownloadRequest_DownloadType_DownloadType_MAX; static constexpr int DownloadType_ARRAYSIZE = ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE; template static inline const std::string& DownloadType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function DownloadType_Name."); return ClientDownloadRequest_DownloadType_Name(enum_t_value); } static inline bool DownloadType_Parse(const std::string& name, DownloadType* value) { return ClientDownloadRequest_DownloadType_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kResourcesFieldNumber = 4, kArchivedBinaryFieldNumber = 22, kAlternateExtensionsFieldNumber = 35, kReferrerChainFieldNumber = 36, kUrlFieldNumber = 1, kFileBasenameFieldNumber = 9, kLocaleFieldNumber = 11, kUdifCodeSignatureFieldNumber = 40, kDigestsFieldNumber = 2, kSignatureFieldNumber = 5, kImageHeadersFieldNumber = 18, kPopulationFieldNumber = 24, kLengthFieldNumber = 3, kDEPRECATEDDownloadAttributionFinchEnabledFieldNumber = 39, kDownloadTypeFieldNumber = 10, kUserInitiatedFieldNumber = 6, kArchiveValidFieldNumber = 26, kSkippedUrlWhitelistFieldNumber = 28, kSkippedCertificateWhitelistFieldNumber = 31, }; // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4; int resources_size() const; private: int _internal_resources_size() const; public: void clear_resources(); ::safe_browsing::ClientDownloadRequest_Resource* mutable_resources(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >* mutable_resources(); private: const ::safe_browsing::ClientDownloadRequest_Resource& _internal_resources(int index) const; ::safe_browsing::ClientDownloadRequest_Resource* _internal_add_resources(); public: const ::safe_browsing::ClientDownloadRequest_Resource& resources(int index) const; ::safe_browsing::ClientDownloadRequest_Resource* add_resources(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >& resources() const; // repeated .safe_browsing.ClientDownloadRequest.ArchivedBinary archived_binary = 22; int archived_binary_size() const; private: int _internal_archived_binary_size() const; public: void clear_archived_binary(); ::safe_browsing::ClientDownloadRequest_ArchivedBinary* mutable_archived_binary(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >* mutable_archived_binary(); private: const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& _internal_archived_binary(int index) const; ::safe_browsing::ClientDownloadRequest_ArchivedBinary* _internal_add_archived_binary(); public: const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& archived_binary(int index) const; ::safe_browsing::ClientDownloadRequest_ArchivedBinary* add_archived_binary(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >& archived_binary() const; // repeated string alternate_extensions = 35; int alternate_extensions_size() const; private: int _internal_alternate_extensions_size() const; public: void clear_alternate_extensions(); const std::string& alternate_extensions(int index) const; std::string* mutable_alternate_extensions(int index); void set_alternate_extensions(int index, const std::string& value); void set_alternate_extensions(int index, std::string&& value); void set_alternate_extensions(int index, const char* value); void set_alternate_extensions(int index, const char* value, size_t size); std::string* add_alternate_extensions(); void add_alternate_extensions(const std::string& value); void add_alternate_extensions(std::string&& value); void add_alternate_extensions(const char* value); void add_alternate_extensions(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& alternate_extensions() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_alternate_extensions(); private: const std::string& _internal_alternate_extensions(int index) const; std::string* _internal_add_alternate_extensions(); public: // repeated .safe_browsing.ReferrerChainEntry referrer_chain = 36; int referrer_chain_size() const; private: int _internal_referrer_chain_size() const; public: void clear_referrer_chain(); ::safe_browsing::ReferrerChainEntry* mutable_referrer_chain(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >* mutable_referrer_chain(); private: const ::safe_browsing::ReferrerChainEntry& _internal_referrer_chain(int index) const; ::safe_browsing::ReferrerChainEntry* _internal_add_referrer_chain(); public: const ::safe_browsing::ReferrerChainEntry& referrer_chain(int index) const; ::safe_browsing::ReferrerChainEntry* add_referrer_chain(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >& referrer_chain() const; // required string url = 1; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional string file_basename = 9; bool has_file_basename() const; private: bool _internal_has_file_basename() const; public: void clear_file_basename(); const std::string& file_basename() const; void set_file_basename(const std::string& value); void set_file_basename(std::string&& value); void set_file_basename(const char* value); void set_file_basename(const char* value, size_t size); std::string* mutable_file_basename(); std::string* release_file_basename(); void set_allocated_file_basename(std::string* file_basename); private: const std::string& _internal_file_basename() const; void _internal_set_file_basename(const std::string& value); std::string* _internal_mutable_file_basename(); public: // optional string locale = 11; bool has_locale() const; private: bool _internal_has_locale() const; public: void clear_locale(); const std::string& locale() const; void set_locale(const std::string& value); void set_locale(std::string&& value); void set_locale(const char* value); void set_locale(const char* value, size_t size); std::string* mutable_locale(); std::string* release_locale(); void set_allocated_locale(std::string* locale); private: const std::string& _internal_locale() const; void _internal_set_locale(const std::string& value); std::string* _internal_mutable_locale(); public: // optional bytes udif_code_signature = 40; bool has_udif_code_signature() const; private: bool _internal_has_udif_code_signature() const; public: void clear_udif_code_signature(); const std::string& udif_code_signature() const; void set_udif_code_signature(const std::string& value); void set_udif_code_signature(std::string&& value); void set_udif_code_signature(const char* value); void set_udif_code_signature(const void* value, size_t size); std::string* mutable_udif_code_signature(); std::string* release_udif_code_signature(); void set_allocated_udif_code_signature(std::string* udif_code_signature); private: const std::string& _internal_udif_code_signature() const; void _internal_set_udif_code_signature(const std::string& value); std::string* _internal_mutable_udif_code_signature(); public: // required .safe_browsing.ClientDownloadRequest.Digests digests = 2; bool has_digests() const; private: bool _internal_has_digests() const; public: void clear_digests(); const ::safe_browsing::ClientDownloadRequest_Digests& digests() const; ::safe_browsing::ClientDownloadRequest_Digests* release_digests(); ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests(); void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests); private: const ::safe_browsing::ClientDownloadRequest_Digests& _internal_digests() const; ::safe_browsing::ClientDownloadRequest_Digests* _internal_mutable_digests(); public: // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; bool has_signature() const; private: bool _internal_has_signature() const; public: void clear_signature(); const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); private: const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature(); public: // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 18; bool has_image_headers() const; private: bool _internal_has_image_headers() const; public: void clear_image_headers(); const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); private: const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers(); public: // optional .safe_browsing.ChromeUserPopulation population = 24; bool has_population() const; private: bool _internal_has_population() const; public: void clear_population(); const ::safe_browsing::ChromeUserPopulation& population() const; ::safe_browsing::ChromeUserPopulation* release_population(); ::safe_browsing::ChromeUserPopulation* mutable_population(); void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); private: const ::safe_browsing::ChromeUserPopulation& _internal_population() const; ::safe_browsing::ChromeUserPopulation* _internal_mutable_population(); public: // required int64 length = 3; bool has_length() const; private: bool _internal_has_length() const; public: void clear_length(); ::PROTOBUF_NAMESPACE_ID::int64 length() const; void set_length(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_length() const; void _internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional bool DEPRECATED_download_attribution_finch_enabled = 39 [deprecated = true]; PROTOBUF_DEPRECATED bool has_deprecated_download_attribution_finch_enabled() const; private: bool _internal_has_deprecated_download_attribution_finch_enabled() const; public: PROTOBUF_DEPRECATED void clear_deprecated_download_attribution_finch_enabled(); PROTOBUF_DEPRECATED bool deprecated_download_attribution_finch_enabled() const; PROTOBUF_DEPRECATED void set_deprecated_download_attribution_finch_enabled(bool value); private: bool _internal_deprecated_download_attribution_finch_enabled() const; void _internal_set_deprecated_download_attribution_finch_enabled(bool value); public: // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE]; bool has_download_type() const; private: bool _internal_has_download_type() const; public: void clear_download_type(); ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const; void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value); private: ::safe_browsing::ClientDownloadRequest_DownloadType _internal_download_type() const; void _internal_set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value); public: // optional bool user_initiated = 6; bool has_user_initiated() const; private: bool _internal_has_user_initiated() const; public: void clear_user_initiated(); bool user_initiated() const; void set_user_initiated(bool value); private: bool _internal_user_initiated() const; void _internal_set_user_initiated(bool value); public: // optional bool archive_valid = 26; bool has_archive_valid() const; private: bool _internal_has_archive_valid() const; public: void clear_archive_valid(); bool archive_valid() const; void set_archive_valid(bool value); private: bool _internal_archive_valid() const; void _internal_set_archive_valid(bool value); public: // optional bool skipped_url_whitelist = 28; bool has_skipped_url_whitelist() const; private: bool _internal_has_skipped_url_whitelist() const; public: void clear_skipped_url_whitelist(); bool skipped_url_whitelist() const; void set_skipped_url_whitelist(bool value); private: bool _internal_skipped_url_whitelist() const; void _internal_set_skipped_url_whitelist(bool value); public: // optional bool skipped_certificate_whitelist = 31; bool has_skipped_certificate_whitelist() const; private: bool _internal_has_skipped_certificate_whitelist() const; public: void clear_skipped_certificate_whitelist(); bool skipped_certificate_whitelist() const; void set_skipped_certificate_whitelist(bool value); private: bool _internal_skipped_certificate_whitelist() const; void _internal_set_skipped_certificate_whitelist(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest) private: class _Internal; // helper for ByteSizeLong() size_t RequiredFieldsByteSizeFallback() const; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource > resources_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary > archived_binary_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField alternate_extensions_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry > referrer_chain_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_basename_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr locale_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr udif_code_signature_; ::safe_browsing::ClientDownloadRequest_Digests* digests_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; ::safe_browsing::ChromeUserPopulation* population_; ::PROTOBUF_NAMESPACE_ID::int64 length_; bool deprecated_download_attribution_finch_enabled_; int download_type_; bool user_initiated_; bool archive_valid_; bool skipped_url_whitelist_; bool skipped_certificate_whitelist_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ReferrerChainEntry_ServerRedirect : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ReferrerChainEntry.ServerRedirect) */ { public: ReferrerChainEntry_ServerRedirect(); virtual ~ReferrerChainEntry_ServerRedirect(); ReferrerChainEntry_ServerRedirect(const ReferrerChainEntry_ServerRedirect& from); ReferrerChainEntry_ServerRedirect(ReferrerChainEntry_ServerRedirect&& from) noexcept : ReferrerChainEntry_ServerRedirect() { *this = ::std::move(from); } inline ReferrerChainEntry_ServerRedirect& operator=(const ReferrerChainEntry_ServerRedirect& from) { CopyFrom(from); return *this; } inline ReferrerChainEntry_ServerRedirect& operator=(ReferrerChainEntry_ServerRedirect&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ReferrerChainEntry_ServerRedirect& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ReferrerChainEntry_ServerRedirect* internal_default_instance() { return reinterpret_cast( &_ReferrerChainEntry_ServerRedirect_default_instance_); } static constexpr int kIndexInFileMessages = 25; friend void swap(ReferrerChainEntry_ServerRedirect& a, ReferrerChainEntry_ServerRedirect& b) { a.Swap(&b); } inline void Swap(ReferrerChainEntry_ServerRedirect* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ReferrerChainEntry_ServerRedirect* New() const final { return CreateMaybeMessage(nullptr); } ReferrerChainEntry_ServerRedirect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ReferrerChainEntry_ServerRedirect& from); void MergeFrom(const ReferrerChainEntry_ServerRedirect& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ReferrerChainEntry_ServerRedirect* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ReferrerChainEntry.ServerRedirect"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kUrlFieldNumber = 1, }; // optional string url = 1; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ReferrerChainEntry.ServerRedirect) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ReferrerChainEntry : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ReferrerChainEntry) */ { public: ReferrerChainEntry(); virtual ~ReferrerChainEntry(); ReferrerChainEntry(const ReferrerChainEntry& from); ReferrerChainEntry(ReferrerChainEntry&& from) noexcept : ReferrerChainEntry() { *this = ::std::move(from); } inline ReferrerChainEntry& operator=(const ReferrerChainEntry& from) { CopyFrom(from); return *this; } inline ReferrerChainEntry& operator=(ReferrerChainEntry&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ReferrerChainEntry& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ReferrerChainEntry* internal_default_instance() { return reinterpret_cast( &_ReferrerChainEntry_default_instance_); } static constexpr int kIndexInFileMessages = 26; friend void swap(ReferrerChainEntry& a, ReferrerChainEntry& b) { a.Swap(&b); } inline void Swap(ReferrerChainEntry* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ReferrerChainEntry* New() const final { return CreateMaybeMessage(nullptr); } ReferrerChainEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ReferrerChainEntry& from); void MergeFrom(const ReferrerChainEntry& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ReferrerChainEntry* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ReferrerChainEntry"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ReferrerChainEntry_ServerRedirect ServerRedirect; typedef ReferrerChainEntry_URLType URLType; static constexpr URLType EVENT_URL = ReferrerChainEntry_URLType_EVENT_URL; static constexpr URLType LANDING_PAGE = ReferrerChainEntry_URLType_LANDING_PAGE; static constexpr URLType LANDING_REFERRER = ReferrerChainEntry_URLType_LANDING_REFERRER; static constexpr URLType CLIENT_REDIRECT = ReferrerChainEntry_URLType_CLIENT_REDIRECT; static constexpr URLType DEPRECATED_SERVER_REDIRECT = ReferrerChainEntry_URLType_DEPRECATED_SERVER_REDIRECT; static inline bool URLType_IsValid(int value) { return ReferrerChainEntry_URLType_IsValid(value); } static constexpr URLType URLType_MIN = ReferrerChainEntry_URLType_URLType_MIN; static constexpr URLType URLType_MAX = ReferrerChainEntry_URLType_URLType_MAX; static constexpr int URLType_ARRAYSIZE = ReferrerChainEntry_URLType_URLType_ARRAYSIZE; template static inline const std::string& URLType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function URLType_Name."); return ReferrerChainEntry_URLType_Name(enum_t_value); } static inline bool URLType_Parse(const std::string& name, URLType* value) { return ReferrerChainEntry_URLType_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kIpAddressesFieldNumber = 3, kServerRedirectChainFieldNumber = 8, kUrlFieldNumber = 1, kReferrerUrlFieldNumber = 4, kReferrerMainFrameUrlFieldNumber = 5, kMainFrameUrlFieldNumber = 9, kNavigationTimeMsecFieldNumber = 7, kIsRetargetingFieldNumber = 6, kTypeFieldNumber = 2, }; // repeated string ip_addresses = 3; int ip_addresses_size() const; private: int _internal_ip_addresses_size() const; public: void clear_ip_addresses(); const std::string& ip_addresses(int index) const; std::string* mutable_ip_addresses(int index); void set_ip_addresses(int index, const std::string& value); void set_ip_addresses(int index, std::string&& value); void set_ip_addresses(int index, const char* value); void set_ip_addresses(int index, const char* value, size_t size); std::string* add_ip_addresses(); void add_ip_addresses(const std::string& value); void add_ip_addresses(std::string&& value); void add_ip_addresses(const char* value); void add_ip_addresses(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ip_addresses() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_ip_addresses(); private: const std::string& _internal_ip_addresses(int index) const; std::string* _internal_add_ip_addresses(); public: // repeated .safe_browsing.ReferrerChainEntry.ServerRedirect server_redirect_chain = 8; int server_redirect_chain_size() const; private: int _internal_server_redirect_chain_size() const; public: void clear_server_redirect_chain(); ::safe_browsing::ReferrerChainEntry_ServerRedirect* mutable_server_redirect_chain(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect >* mutable_server_redirect_chain(); private: const ::safe_browsing::ReferrerChainEntry_ServerRedirect& _internal_server_redirect_chain(int index) const; ::safe_browsing::ReferrerChainEntry_ServerRedirect* _internal_add_server_redirect_chain(); public: const ::safe_browsing::ReferrerChainEntry_ServerRedirect& server_redirect_chain(int index) const; ::safe_browsing::ReferrerChainEntry_ServerRedirect* add_server_redirect_chain(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect >& server_redirect_chain() const; // optional string url = 1; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional string referrer_url = 4; bool has_referrer_url() const; private: bool _internal_has_referrer_url() const; public: void clear_referrer_url(); const std::string& referrer_url() const; void set_referrer_url(const std::string& value); void set_referrer_url(std::string&& value); void set_referrer_url(const char* value); void set_referrer_url(const char* value, size_t size); std::string* mutable_referrer_url(); std::string* release_referrer_url(); void set_allocated_referrer_url(std::string* referrer_url); private: const std::string& _internal_referrer_url() const; void _internal_set_referrer_url(const std::string& value); std::string* _internal_mutable_referrer_url(); public: // optional string referrer_main_frame_url = 5; bool has_referrer_main_frame_url() const; private: bool _internal_has_referrer_main_frame_url() const; public: void clear_referrer_main_frame_url(); const std::string& referrer_main_frame_url() const; void set_referrer_main_frame_url(const std::string& value); void set_referrer_main_frame_url(std::string&& value); void set_referrer_main_frame_url(const char* value); void set_referrer_main_frame_url(const char* value, size_t size); std::string* mutable_referrer_main_frame_url(); std::string* release_referrer_main_frame_url(); void set_allocated_referrer_main_frame_url(std::string* referrer_main_frame_url); private: const std::string& _internal_referrer_main_frame_url() const; void _internal_set_referrer_main_frame_url(const std::string& value); std::string* _internal_mutable_referrer_main_frame_url(); public: // optional string main_frame_url = 9; bool has_main_frame_url() const; private: bool _internal_has_main_frame_url() const; public: void clear_main_frame_url(); const std::string& main_frame_url() const; void set_main_frame_url(const std::string& value); void set_main_frame_url(std::string&& value); void set_main_frame_url(const char* value); void set_main_frame_url(const char* value, size_t size); std::string* mutable_main_frame_url(); std::string* release_main_frame_url(); void set_allocated_main_frame_url(std::string* main_frame_url); private: const std::string& _internal_main_frame_url() const; void _internal_set_main_frame_url(const std::string& value); std::string* _internal_mutable_main_frame_url(); public: // optional double navigation_time_msec = 7; bool has_navigation_time_msec() const; private: bool _internal_has_navigation_time_msec() const; public: void clear_navigation_time_msec(); double navigation_time_msec() const; void set_navigation_time_msec(double value); private: double _internal_navigation_time_msec() const; void _internal_set_navigation_time_msec(double value); public: // optional bool is_retargeting = 6; bool has_is_retargeting() const; private: bool _internal_has_is_retargeting() const; public: void clear_is_retargeting(); bool is_retargeting() const; void set_is_retargeting(bool value); private: bool _internal_is_retargeting() const; void _internal_set_is_retargeting(bool value); public: // optional .safe_browsing.ReferrerChainEntry.URLType type = 2 [default = CLIENT_REDIRECT]; bool has_type() const; private: bool _internal_has_type() const; public: void clear_type(); ::safe_browsing::ReferrerChainEntry_URLType type() const; void set_type(::safe_browsing::ReferrerChainEntry_URLType value); private: ::safe_browsing::ReferrerChainEntry_URLType _internal_type() const; void _internal_set_type(::safe_browsing::ReferrerChainEntry_URLType value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ReferrerChainEntry) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField ip_addresses_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect > server_redirect_chain_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_main_frame_url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr main_frame_url_; double navigation_time_msec_; bool is_retargeting_; int type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadResponse_MoreInfo : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadResponse.MoreInfo) */ { public: ClientDownloadResponse_MoreInfo(); virtual ~ClientDownloadResponse_MoreInfo(); ClientDownloadResponse_MoreInfo(const ClientDownloadResponse_MoreInfo& from); ClientDownloadResponse_MoreInfo(ClientDownloadResponse_MoreInfo&& from) noexcept : ClientDownloadResponse_MoreInfo() { *this = ::std::move(from); } inline ClientDownloadResponse_MoreInfo& operator=(const ClientDownloadResponse_MoreInfo& from) { CopyFrom(from); return *this; } inline ClientDownloadResponse_MoreInfo& operator=(ClientDownloadResponse_MoreInfo&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadResponse_MoreInfo& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadResponse_MoreInfo* internal_default_instance() { return reinterpret_cast( &_ClientDownloadResponse_MoreInfo_default_instance_); } static constexpr int kIndexInFileMessages = 27; friend void swap(ClientDownloadResponse_MoreInfo& a, ClientDownloadResponse_MoreInfo& b) { a.Swap(&b); } inline void Swap(ClientDownloadResponse_MoreInfo* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadResponse_MoreInfo* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadResponse_MoreInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadResponse_MoreInfo& from); void MergeFrom(const ClientDownloadResponse_MoreInfo& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadResponse_MoreInfo* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadResponse.MoreInfo"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kDescriptionFieldNumber = 1, kUrlFieldNumber = 2, }; // optional string description = 1; bool has_description() const; private: bool _internal_has_description() const; public: void clear_description(); const std::string& description() const; void set_description(const std::string& value); void set_description(std::string&& value); void set_description(const char* value); void set_description(const char* value, size_t size); std::string* mutable_description(); std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; void _internal_set_description(const std::string& value); std::string* _internal_mutable_description(); public: // optional string url = 2; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse.MoreInfo) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadResponse : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadResponse) */ { public: ClientDownloadResponse(); virtual ~ClientDownloadResponse(); ClientDownloadResponse(const ClientDownloadResponse& from); ClientDownloadResponse(ClientDownloadResponse&& from) noexcept : ClientDownloadResponse() { *this = ::std::move(from); } inline ClientDownloadResponse& operator=(const ClientDownloadResponse& from) { CopyFrom(from); return *this; } inline ClientDownloadResponse& operator=(ClientDownloadResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadResponse* internal_default_instance() { return reinterpret_cast( &_ClientDownloadResponse_default_instance_); } static constexpr int kIndexInFileMessages = 28; friend void swap(ClientDownloadResponse& a, ClientDownloadResponse& b) { a.Swap(&b); } inline void Swap(ClientDownloadResponse* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadResponse* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadResponse& from); void MergeFrom(const ClientDownloadResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadResponse"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientDownloadResponse_MoreInfo MoreInfo; typedef ClientDownloadResponse_Verdict Verdict; static constexpr Verdict SAFE = ClientDownloadResponse_Verdict_SAFE; static constexpr Verdict DANGEROUS = ClientDownloadResponse_Verdict_DANGEROUS; static constexpr Verdict UNCOMMON = ClientDownloadResponse_Verdict_UNCOMMON; static constexpr Verdict POTENTIALLY_UNWANTED = ClientDownloadResponse_Verdict_POTENTIALLY_UNWANTED; static constexpr Verdict DANGEROUS_HOST = ClientDownloadResponse_Verdict_DANGEROUS_HOST; static constexpr Verdict UNKNOWN = ClientDownloadResponse_Verdict_UNKNOWN; static inline bool Verdict_IsValid(int value) { return ClientDownloadResponse_Verdict_IsValid(value); } static constexpr Verdict Verdict_MIN = ClientDownloadResponse_Verdict_Verdict_MIN; static constexpr Verdict Verdict_MAX = ClientDownloadResponse_Verdict_Verdict_MAX; static constexpr int Verdict_ARRAYSIZE = ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE; template static inline const std::string& Verdict_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Verdict_Name."); return ClientDownloadResponse_Verdict_Name(enum_t_value); } static inline bool Verdict_Parse(const std::string& name, Verdict* value) { return ClientDownloadResponse_Verdict_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kTokenFieldNumber = 3, kMoreInfoFieldNumber = 2, kVerdictFieldNumber = 1, kUploadFieldNumber = 5, }; // optional bytes token = 3; bool has_token() const; private: bool _internal_has_token() const; public: void clear_token(); const std::string& token() const; void set_token(const std::string& value); void set_token(std::string&& value); void set_token(const char* value); void set_token(const void* value, size_t size); std::string* mutable_token(); std::string* release_token(); void set_allocated_token(std::string* token); private: const std::string& _internal_token() const; void _internal_set_token(const std::string& value); std::string* _internal_mutable_token(); public: // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2; bool has_more_info() const; private: bool _internal_has_more_info() const; public: void clear_more_info(); const ::safe_browsing::ClientDownloadResponse_MoreInfo& more_info() const; ::safe_browsing::ClientDownloadResponse_MoreInfo* release_more_info(); ::safe_browsing::ClientDownloadResponse_MoreInfo* mutable_more_info(); void set_allocated_more_info(::safe_browsing::ClientDownloadResponse_MoreInfo* more_info); private: const ::safe_browsing::ClientDownloadResponse_MoreInfo& _internal_more_info() const; ::safe_browsing::ClientDownloadResponse_MoreInfo* _internal_mutable_more_info(); public: // optional .safe_browsing.ClientDownloadResponse.Verdict verdict = 1 [default = SAFE]; bool has_verdict() const; private: bool _internal_has_verdict() const; public: void clear_verdict(); ::safe_browsing::ClientDownloadResponse_Verdict verdict() const; void set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value); private: ::safe_browsing::ClientDownloadResponse_Verdict _internal_verdict() const; void _internal_set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value); public: // optional bool upload = 5; bool has_upload() const; private: bool _internal_has_upload() const; public: void clear_upload(); bool upload() const; void set_upload(bool value); private: bool _internal_upload() const; void _internal_set_upload(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; ::safe_browsing::ClientDownloadResponse_MoreInfo* more_info_; int verdict_; bool upload_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadReport_UserInformation : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadReport.UserInformation) */ { public: ClientDownloadReport_UserInformation(); virtual ~ClientDownloadReport_UserInformation(); ClientDownloadReport_UserInformation(const ClientDownloadReport_UserInformation& from); ClientDownloadReport_UserInformation(ClientDownloadReport_UserInformation&& from) noexcept : ClientDownloadReport_UserInformation() { *this = ::std::move(from); } inline ClientDownloadReport_UserInformation& operator=(const ClientDownloadReport_UserInformation& from) { CopyFrom(from); return *this; } inline ClientDownloadReport_UserInformation& operator=(ClientDownloadReport_UserInformation&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadReport_UserInformation& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadReport_UserInformation* internal_default_instance() { return reinterpret_cast( &_ClientDownloadReport_UserInformation_default_instance_); } static constexpr int kIndexInFileMessages = 29; friend void swap(ClientDownloadReport_UserInformation& a, ClientDownloadReport_UserInformation& b) { a.Swap(&b); } inline void Swap(ClientDownloadReport_UserInformation* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadReport_UserInformation* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadReport_UserInformation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadReport_UserInformation& from); void MergeFrom(const ClientDownloadReport_UserInformation& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadReport_UserInformation* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadReport.UserInformation"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kEmailFieldNumber = 1, }; // optional string email = 1; bool has_email() const; private: bool _internal_has_email() const; public: void clear_email(); const std::string& email() const; void set_email(const std::string& value); void set_email(std::string&& value); void set_email(const char* value); void set_email(const char* value, size_t size); std::string* mutable_email(); std::string* release_email(); void set_allocated_email(std::string* email); private: const std::string& _internal_email() const; void _internal_set_email(const std::string& value); std::string* _internal_mutable_email(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport.UserInformation) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr email_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientDownloadReport : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientDownloadReport) */ { public: ClientDownloadReport(); virtual ~ClientDownloadReport(); ClientDownloadReport(const ClientDownloadReport& from); ClientDownloadReport(ClientDownloadReport&& from) noexcept : ClientDownloadReport() { *this = ::std::move(from); } inline ClientDownloadReport& operator=(const ClientDownloadReport& from) { CopyFrom(from); return *this; } inline ClientDownloadReport& operator=(ClientDownloadReport&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientDownloadReport& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientDownloadReport* internal_default_instance() { return reinterpret_cast( &_ClientDownloadReport_default_instance_); } static constexpr int kIndexInFileMessages = 30; friend void swap(ClientDownloadReport& a, ClientDownloadReport& b) { a.Swap(&b); } inline void Swap(ClientDownloadReport* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientDownloadReport* New() const final { return CreateMaybeMessage(nullptr); } ClientDownloadReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientDownloadReport& from); void MergeFrom(const ClientDownloadReport& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientDownloadReport* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientDownloadReport"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientDownloadReport_UserInformation UserInformation; typedef ClientDownloadReport_Reason Reason; static constexpr Reason SHARE = ClientDownloadReport_Reason_SHARE; static constexpr Reason FALSE_POSITIVE = ClientDownloadReport_Reason_FALSE_POSITIVE; static constexpr Reason APPEAL = ClientDownloadReport_Reason_APPEAL; static inline bool Reason_IsValid(int value) { return ClientDownloadReport_Reason_IsValid(value); } static constexpr Reason Reason_MIN = ClientDownloadReport_Reason_Reason_MIN; static constexpr Reason Reason_MAX = ClientDownloadReport_Reason_Reason_MAX; static constexpr int Reason_ARRAYSIZE = ClientDownloadReport_Reason_Reason_ARRAYSIZE; template static inline const std::string& Reason_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Reason_Name."); return ClientDownloadReport_Reason_Name(enum_t_value); } static inline bool Reason_Parse(const std::string& name, Reason* value) { return ClientDownloadReport_Reason_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kCommentFieldNumber = 4, kDownloadRequestFieldNumber = 2, kUserInformationFieldNumber = 3, kDownloadResponseFieldNumber = 5, kReasonFieldNumber = 1, }; // optional bytes comment = 4; bool has_comment() const; private: bool _internal_has_comment() const; public: void clear_comment(); const std::string& comment() const; void set_comment(const std::string& value); void set_comment(std::string&& value); void set_comment(const char* value); void set_comment(const void* value, size_t size); std::string* mutable_comment(); std::string* release_comment(); void set_allocated_comment(std::string* comment); private: const std::string& _internal_comment() const; void _internal_set_comment(const std::string& value); std::string* _internal_mutable_comment(); public: // optional .safe_browsing.ClientDownloadRequest download_request = 2; bool has_download_request() const; private: bool _internal_has_download_request() const; public: void clear_download_request(); const ::safe_browsing::ClientDownloadRequest& download_request() const; ::safe_browsing::ClientDownloadRequest* release_download_request(); ::safe_browsing::ClientDownloadRequest* mutable_download_request(); void set_allocated_download_request(::safe_browsing::ClientDownloadRequest* download_request); private: const ::safe_browsing::ClientDownloadRequest& _internal_download_request() const; ::safe_browsing::ClientDownloadRequest* _internal_mutable_download_request(); public: // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3; bool has_user_information() const; private: bool _internal_has_user_information() const; public: void clear_user_information(); const ::safe_browsing::ClientDownloadReport_UserInformation& user_information() const; ::safe_browsing::ClientDownloadReport_UserInformation* release_user_information(); ::safe_browsing::ClientDownloadReport_UserInformation* mutable_user_information(); void set_allocated_user_information(::safe_browsing::ClientDownloadReport_UserInformation* user_information); private: const ::safe_browsing::ClientDownloadReport_UserInformation& _internal_user_information() const; ::safe_browsing::ClientDownloadReport_UserInformation* _internal_mutable_user_information(); public: // optional .safe_browsing.ClientDownloadResponse download_response = 5; bool has_download_response() const; private: bool _internal_has_download_response() const; public: void clear_download_response(); const ::safe_browsing::ClientDownloadResponse& download_response() const; ::safe_browsing::ClientDownloadResponse* release_download_response(); ::safe_browsing::ClientDownloadResponse* mutable_download_response(); void set_allocated_download_response(::safe_browsing::ClientDownloadResponse* download_response); private: const ::safe_browsing::ClientDownloadResponse& _internal_download_response() const; ::safe_browsing::ClientDownloadResponse* _internal_mutable_download_response(); public: // optional .safe_browsing.ClientDownloadReport.Reason reason = 1; bool has_reason() const; private: bool _internal_has_reason() const; public: void clear_reason(); ::safe_browsing::ClientDownloadReport_Reason reason() const; void set_reason(::safe_browsing::ClientDownloadReport_Reason value); private: ::safe_browsing::ClientDownloadReport_Reason _internal_reason() const; void _internal_set_reason(::safe_browsing::ClientDownloadReport_Reason value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_; ::safe_browsing::ClientDownloadRequest* download_request_; ::safe_browsing::ClientDownloadReport_UserInformation* user_information_; ::safe_browsing::ClientDownloadResponse* download_response_; int reason_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientUploadResponse : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientUploadResponse) */ { public: ClientUploadResponse(); virtual ~ClientUploadResponse(); ClientUploadResponse(const ClientUploadResponse& from); ClientUploadResponse(ClientUploadResponse&& from) noexcept : ClientUploadResponse() { *this = ::std::move(from); } inline ClientUploadResponse& operator=(const ClientUploadResponse& from) { CopyFrom(from); return *this; } inline ClientUploadResponse& operator=(ClientUploadResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientUploadResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientUploadResponse* internal_default_instance() { return reinterpret_cast( &_ClientUploadResponse_default_instance_); } static constexpr int kIndexInFileMessages = 31; friend void swap(ClientUploadResponse& a, ClientUploadResponse& b) { a.Swap(&b); } inline void Swap(ClientUploadResponse* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientUploadResponse* New() const final { return CreateMaybeMessage(nullptr); } ClientUploadResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientUploadResponse& from); void MergeFrom(const ClientUploadResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientUploadResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientUploadResponse"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientUploadResponse_UploadStatus UploadStatus; static constexpr UploadStatus SUCCESS = ClientUploadResponse_UploadStatus_SUCCESS; static constexpr UploadStatus UPLOAD_FAILURE = ClientUploadResponse_UploadStatus_UPLOAD_FAILURE; static inline bool UploadStatus_IsValid(int value) { return ClientUploadResponse_UploadStatus_IsValid(value); } static constexpr UploadStatus UploadStatus_MIN = ClientUploadResponse_UploadStatus_UploadStatus_MIN; static constexpr UploadStatus UploadStatus_MAX = ClientUploadResponse_UploadStatus_UploadStatus_MAX; static constexpr int UploadStatus_ARRAYSIZE = ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE; template static inline const std::string& UploadStatus_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function UploadStatus_Name."); return ClientUploadResponse_UploadStatus_Name(enum_t_value); } static inline bool UploadStatus_Parse(const std::string& name, UploadStatus* value) { return ClientUploadResponse_UploadStatus_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kPermalinkFieldNumber = 2, kStatusFieldNumber = 1, }; // optional string permalink = 2; bool has_permalink() const; private: bool _internal_has_permalink() const; public: void clear_permalink(); const std::string& permalink() const; void set_permalink(const std::string& value); void set_permalink(std::string&& value); void set_permalink(const char* value); void set_permalink(const char* value, size_t size); std::string* mutable_permalink(); std::string* release_permalink(); void set_allocated_permalink(std::string* permalink); private: const std::string& _internal_permalink() const; void _internal_set_permalink(const std::string& value); std::string* _internal_mutable_permalink(); public: // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1; bool has_status() const; private: bool _internal_has_status() const; public: void clear_status(); ::safe_browsing::ClientUploadResponse_UploadStatus status() const; void set_status(::safe_browsing::ClientUploadResponse_UploadStatus value); private: ::safe_browsing::ClientUploadResponse_UploadStatus _internal_status() const; void _internal_set_status(::safe_browsing::ClientUploadResponse_UploadStatus value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientUploadResponse) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr permalink_; int status_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_TrackedPreferenceIncident : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident) */ { public: ClientIncidentReport_IncidentData_TrackedPreferenceIncident(); virtual ~ClientIncidentReport_IncidentData_TrackedPreferenceIncident(); ClientIncidentReport_IncidentData_TrackedPreferenceIncident(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from); ClientIncidentReport_IncidentData_TrackedPreferenceIncident(ClientIncidentReport_IncidentData_TrackedPreferenceIncident&& from) noexcept : ClientIncidentReport_IncidentData_TrackedPreferenceIncident() { *this = ::std::move(from); } inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident& operator=(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident& operator=(ClientIncidentReport_IncidentData_TrackedPreferenceIncident&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_IncidentData_TrackedPreferenceIncident* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_IncidentData_TrackedPreferenceIncident_default_instance_); } static constexpr int kIndexInFileMessages = 32; friend void swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident& a, ClientIncidentReport_IncidentData_TrackedPreferenceIncident& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_IncidentData_TrackedPreferenceIncident* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ValueState; static constexpr ValueState UNKNOWN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN; static constexpr ValueState CLEARED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CLEARED; static constexpr ValueState WEAK_LEGACY_OBSOLETE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_WEAK_LEGACY_OBSOLETE; static constexpr ValueState CHANGED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CHANGED; static constexpr ValueState UNTRUSTED_UNKNOWN_VALUE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE; static constexpr ValueState BYPASS_CLEARED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CLEARED; static constexpr ValueState BYPASS_CHANGED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_BYPASS_CHANGED; static inline bool ValueState_IsValid(int value) { return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(value); } static constexpr ValueState ValueState_MIN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN; static constexpr ValueState ValueState_MAX = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX; static constexpr int ValueState_ARRAYSIZE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE; template static inline const std::string& ValueState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ValueState_Name."); return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Name(enum_t_value); } static inline bool ValueState_Parse(const std::string& name, ValueState* value) { return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kSplitKeyFieldNumber = 3, kPathFieldNumber = 1, kAtomicValueFieldNumber = 2, kValueStateFieldNumber = 4, }; // repeated string split_key = 3; int split_key_size() const; private: int _internal_split_key_size() const; public: void clear_split_key(); const std::string& split_key(int index) const; std::string* mutable_split_key(int index); void set_split_key(int index, const std::string& value); void set_split_key(int index, std::string&& value); void set_split_key(int index, const char* value); void set_split_key(int index, const char* value, size_t size); std::string* add_split_key(); void add_split_key(const std::string& value); void add_split_key(std::string&& value); void add_split_key(const char* value); void add_split_key(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& split_key() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_split_key(); private: const std::string& _internal_split_key(int index) const; std::string* _internal_add_split_key(); public: // optional string path = 1; bool has_path() const; private: bool _internal_has_path() const; public: void clear_path(); const std::string& path() const; void set_path(const std::string& value); void set_path(std::string&& value); void set_path(const char* value); void set_path(const char* value, size_t size); std::string* mutable_path(); std::string* release_path(); void set_allocated_path(std::string* path); private: const std::string& _internal_path() const; void _internal_set_path(const std::string& value); std::string* _internal_mutable_path(); public: // optional string atomic_value = 2; bool has_atomic_value() const; private: bool _internal_has_atomic_value() const; public: void clear_atomic_value(); const std::string& atomic_value() const; void set_atomic_value(const std::string& value); void set_atomic_value(std::string&& value); void set_atomic_value(const char* value); void set_atomic_value(const char* value, size_t size); std::string* mutable_atomic_value(); std::string* release_atomic_value(); void set_allocated_atomic_value(std::string* atomic_value); private: const std::string& _internal_atomic_value() const; void _internal_set_atomic_value(const std::string& value); std::string* _internal_mutable_atomic_value(); public: // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.ValueState value_state = 4; bool has_value_state() const; private: bool _internal_has_value_state() const; public: void clear_value_state(); ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value_state() const; void set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value); private: ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState _internal_value_state() const; void _internal_set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField split_key_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr atomic_value_; int value_state_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile) */ { public: ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(); virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(); ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from); ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile&& from) noexcept : ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile() { *this = ::std::move(from); } inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& operator=(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile_default_instance_); } static constexpr int kIndexInFileMessages = 33; friend void swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& a, ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from); void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kRelativePathFieldNumber = 1, kSignatureFieldNumber = 2, kImageHeadersFieldNumber = 3, }; // optional string relative_path = 1; bool has_relative_path() const; private: bool _internal_has_relative_path() const; public: void clear_relative_path(); const std::string& relative_path() const; void set_relative_path(const std::string& value); void set_relative_path(std::string&& value); void set_relative_path(const char* value); void set_relative_path(const char* value, size_t size); std::string* mutable_relative_path(); std::string* release_relative_path(); void set_allocated_relative_path(std::string* relative_path); private: const std::string& _internal_relative_path() const; void _internal_set_relative_path(const std::string& value); std::string* _internal_mutable_relative_path(); public: // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2; bool has_signature() const; private: bool _internal_has_signature() const; public: void clear_signature(); const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); private: const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature(); public: // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3; bool has_image_headers() const; private: bool _internal_has_image_headers() const; public: void clear_image_headers(); const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); private: const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr relative_path_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_BinaryIntegrityIncident : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident) */ { public: ClientIncidentReport_IncidentData_BinaryIntegrityIncident(); virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident(); ClientIncidentReport_IncidentData_BinaryIntegrityIncident(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from); ClientIncidentReport_IncidentData_BinaryIntegrityIncident(ClientIncidentReport_IncidentData_BinaryIntegrityIncident&& from) noexcept : ClientIncidentReport_IncidentData_BinaryIntegrityIncident() { *this = ::std::move(from); } inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident& operator=(ClientIncidentReport_IncidentData_BinaryIntegrityIncident&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_IncidentData_BinaryIntegrityIncident_default_instance_); } static constexpr int kIndexInFileMessages = 34; friend void swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident& a, ClientIncidentReport_IncidentData_BinaryIntegrityIncident& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_IncidentData_BinaryIntegrityIncident* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile ContainedFile; // accessors ------------------------------------------------------- enum : int { kContainedFileFieldNumber = 5, kFileBasenameFieldNumber = 1, kSignatureFieldNumber = 2, kImageHeadersFieldNumber = 3, kSecErrorFieldNumber = 4, }; // repeated .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile contained_file = 5; int contained_file_size() const; private: int _internal_contained_file_size() const; public: void clear_contained_file(); ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* mutable_contained_file(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >* mutable_contained_file(); private: const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& _internal_contained_file(int index) const; ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* _internal_add_contained_file(); public: const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& contained_file(int index) const; ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* add_contained_file(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >& contained_file() const; // optional string file_basename = 1; bool has_file_basename() const; private: bool _internal_has_file_basename() const; public: void clear_file_basename(); const std::string& file_basename() const; void set_file_basename(const std::string& value); void set_file_basename(std::string&& value); void set_file_basename(const char* value); void set_file_basename(const char* value, size_t size); std::string* mutable_file_basename(); std::string* release_file_basename(); void set_allocated_file_basename(std::string* file_basename); private: const std::string& _internal_file_basename() const; void _internal_set_file_basename(const std::string& value); std::string* _internal_mutable_file_basename(); public: // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2; bool has_signature() const; private: bool _internal_has_signature() const; public: void clear_signature(); const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); private: const ::safe_browsing::ClientDownloadRequest_SignatureInfo& _internal_signature() const; ::safe_browsing::ClientDownloadRequest_SignatureInfo* _internal_mutable_signature(); public: // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3; bool has_image_headers() const; private: bool _internal_has_image_headers() const; public: void clear_image_headers(); const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); private: const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers(); public: // optional int32 sec_error = 4; bool has_sec_error() const; private: bool _internal_has_sec_error() const; public: void clear_sec_error(); ::PROTOBUF_NAMESPACE_ID::int32 sec_error() const; void set_sec_error(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_sec_error() const; void _internal_set_sec_error(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile > contained_file_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_basename_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; ::PROTOBUF_NAMESPACE_ID::int32 sec_error_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_ResourceRequestIncident : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident) */ { public: ClientIncidentReport_IncidentData_ResourceRequestIncident(); virtual ~ClientIncidentReport_IncidentData_ResourceRequestIncident(); ClientIncidentReport_IncidentData_ResourceRequestIncident(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from); ClientIncidentReport_IncidentData_ResourceRequestIncident(ClientIncidentReport_IncidentData_ResourceRequestIncident&& from) noexcept : ClientIncidentReport_IncidentData_ResourceRequestIncident() { *this = ::std::move(from); } inline ClientIncidentReport_IncidentData_ResourceRequestIncident& operator=(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_IncidentData_ResourceRequestIncident& operator=(ClientIncidentReport_IncidentData_ResourceRequestIncident&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_IncidentData_ResourceRequestIncident& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_IncidentData_ResourceRequestIncident* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_IncidentData_ResourceRequestIncident_default_instance_); } static constexpr int kIndexInFileMessages = 35; friend void swap(ClientIncidentReport_IncidentData_ResourceRequestIncident& a, ClientIncidentReport_IncidentData_ResourceRequestIncident& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_IncidentData_ResourceRequestIncident* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_IncidentData_ResourceRequestIncident* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_IncidentData_ResourceRequestIncident* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_IncidentData_ResourceRequestIncident* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_ResourceRequestIncident_Type Type; static constexpr Type UNKNOWN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN; static constexpr Type TYPE_PATTERN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN; static inline bool Type_IsValid(int value) { return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(value); } static constexpr Type Type_MIN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN; static constexpr Type Type_MAX = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX; static constexpr int Type_ARRAYSIZE = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE; template static inline const std::string& Type_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Type_Name."); return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Name(enum_t_value); } static inline bool Type_Parse(const std::string& name, Type* value) { return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kDigestFieldNumber = 1, kOriginFieldNumber = 2, kTypeFieldNumber = 3, }; // optional bytes digest = 1; bool has_digest() const; private: bool _internal_has_digest() const; public: void clear_digest(); const std::string& digest() const; void set_digest(const std::string& value); void set_digest(std::string&& value); void set_digest(const char* value); void set_digest(const void* value, size_t size); std::string* mutable_digest(); std::string* release_digest(); void set_allocated_digest(std::string* digest); private: const std::string& _internal_digest() const; void _internal_set_digest(const std::string& value); std::string* _internal_mutable_digest(); public: // optional string origin = 2; bool has_origin() const; private: bool _internal_has_origin() const; public: void clear_origin(); const std::string& origin() const; void set_origin(const std::string& value); void set_origin(std::string&& value); void set_origin(const char* value); void set_origin(const char* value, size_t size); std::string* mutable_origin(); std::string* release_origin(); void set_allocated_origin(std::string* origin); private: const std::string& _internal_origin() const; void _internal_set_origin(const std::string& value); std::string* _internal_mutable_origin(); public: // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.Type type = 3 [default = UNKNOWN]; bool has_type() const; private: bool _internal_has_type() const; public: void clear_type(); ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type type() const; void set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value); private: ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type _internal_type() const; void _internal_set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr digest_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr origin_; int type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.IncidentData) */ { public: ClientIncidentReport_IncidentData(); virtual ~ClientIncidentReport_IncidentData(); ClientIncidentReport_IncidentData(const ClientIncidentReport_IncidentData& from); ClientIncidentReport_IncidentData(ClientIncidentReport_IncidentData&& from) noexcept : ClientIncidentReport_IncidentData() { *this = ::std::move(from); } inline ClientIncidentReport_IncidentData& operator=(const ClientIncidentReport_IncidentData& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_IncidentData& operator=(ClientIncidentReport_IncidentData&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_IncidentData& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_IncidentData* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_IncidentData_default_instance_); } static constexpr int kIndexInFileMessages = 36; friend void swap(ClientIncidentReport_IncidentData& a, ClientIncidentReport_IncidentData& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_IncidentData* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_IncidentData* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_IncidentData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_IncidentData& from); void MergeFrom(const ClientIncidentReport_IncidentData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_IncidentData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.IncidentData"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident TrackedPreferenceIncident; typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident BinaryIntegrityIncident; typedef ClientIncidentReport_IncidentData_ResourceRequestIncident ResourceRequestIncident; // accessors ------------------------------------------------------- enum : int { kTrackedPreferenceFieldNumber = 2, kBinaryIntegrityFieldNumber = 3, kResourceRequestFieldNumber = 7, kIncidentTimeMsecFieldNumber = 1, }; // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident tracked_preference = 2; bool has_tracked_preference() const; private: bool _internal_has_tracked_preference() const; public: void clear_tracked_preference(); const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& tracked_preference() const; ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* release_tracked_preference(); ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* mutable_tracked_preference(); void set_allocated_tracked_preference(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference); private: const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& _internal_tracked_preference() const; ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* _internal_mutable_tracked_preference(); public: // optional .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident binary_integrity = 3; bool has_binary_integrity() const; private: bool _internal_has_binary_integrity() const; public: void clear_binary_integrity(); const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& binary_integrity() const; ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* release_binary_integrity(); ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* mutable_binary_integrity(); void set_allocated_binary_integrity(::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity); private: const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& _internal_binary_integrity() const; ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* _internal_mutable_binary_integrity(); public: // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident resource_request = 7; bool has_resource_request() const; private: bool _internal_has_resource_request() const; public: void clear_resource_request(); const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& resource_request() const; ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* release_resource_request(); ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* mutable_resource_request(); void set_allocated_resource_request(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request); private: const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& _internal_resource_request() const; ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* _internal_mutable_resource_request(); public: // optional int64 incident_time_msec = 1; bool has_incident_time_msec() const; private: bool _internal_has_incident_time_msec() const; public: void clear_incident_time_msec(); ::PROTOBUF_NAMESPACE_ID::int64 incident_time_msec() const; void set_incident_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_incident_time_msec() const; void _internal_set_incident_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference_; ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity_; ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request_; ::PROTOBUF_NAMESPACE_ID::int64 incident_time_msec_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_DownloadDetails : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.DownloadDetails) */ { public: ClientIncidentReport_DownloadDetails(); virtual ~ClientIncidentReport_DownloadDetails(); ClientIncidentReport_DownloadDetails(const ClientIncidentReport_DownloadDetails& from); ClientIncidentReport_DownloadDetails(ClientIncidentReport_DownloadDetails&& from) noexcept : ClientIncidentReport_DownloadDetails() { *this = ::std::move(from); } inline ClientIncidentReport_DownloadDetails& operator=(const ClientIncidentReport_DownloadDetails& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_DownloadDetails& operator=(ClientIncidentReport_DownloadDetails&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_DownloadDetails& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_DownloadDetails* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_DownloadDetails_default_instance_); } static constexpr int kIndexInFileMessages = 37; friend void swap(ClientIncidentReport_DownloadDetails& a, ClientIncidentReport_DownloadDetails& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_DownloadDetails* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_DownloadDetails* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_DownloadDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_DownloadDetails& from); void MergeFrom(const ClientIncidentReport_DownloadDetails& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_DownloadDetails* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.DownloadDetails"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kTokenFieldNumber = 1, kDownloadFieldNumber = 2, kDownloadTimeMsecFieldNumber = 3, kOpenTimeMsecFieldNumber = 4, }; // optional bytes token = 1; bool has_token() const; private: bool _internal_has_token() const; public: void clear_token(); const std::string& token() const; void set_token(const std::string& value); void set_token(std::string&& value); void set_token(const char* value); void set_token(const void* value, size_t size); std::string* mutable_token(); std::string* release_token(); void set_allocated_token(std::string* token); private: const std::string& _internal_token() const; void _internal_set_token(const std::string& value); std::string* _internal_mutable_token(); public: // optional .safe_browsing.ClientDownloadRequest download = 2; bool has_download() const; private: bool _internal_has_download() const; public: void clear_download(); const ::safe_browsing::ClientDownloadRequest& download() const; ::safe_browsing::ClientDownloadRequest* release_download(); ::safe_browsing::ClientDownloadRequest* mutable_download(); void set_allocated_download(::safe_browsing::ClientDownloadRequest* download); private: const ::safe_browsing::ClientDownloadRequest& _internal_download() const; ::safe_browsing::ClientDownloadRequest* _internal_mutable_download(); public: // optional int64 download_time_msec = 3; bool has_download_time_msec() const; private: bool _internal_has_download_time_msec() const; public: void clear_download_time_msec(); ::PROTOBUF_NAMESPACE_ID::int64 download_time_msec() const; void set_download_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_download_time_msec() const; void _internal_set_download_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional int64 open_time_msec = 4; bool has_open_time_msec() const; private: bool _internal_has_open_time_msec() const; public: void clear_open_time_msec(); ::PROTOBUF_NAMESPACE_ID::int64 open_time_msec() const; void set_open_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_open_time_msec() const; void _internal_set_open_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.DownloadDetails) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; ::safe_browsing::ClientDownloadRequest* download_; ::PROTOBUF_NAMESPACE_ID::int64 download_time_msec_; ::PROTOBUF_NAMESPACE_ID::int64 open_time_msec_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_OS_RegistryValue : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue) */ { public: ClientIncidentReport_EnvironmentData_OS_RegistryValue(); virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryValue(); ClientIncidentReport_EnvironmentData_OS_RegistryValue(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from); ClientIncidentReport_EnvironmentData_OS_RegistryValue(ClientIncidentReport_EnvironmentData_OS_RegistryValue&& from) noexcept : ClientIncidentReport_EnvironmentData_OS_RegistryValue() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_OS_RegistryValue& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_OS_RegistryValue& operator=(ClientIncidentReport_EnvironmentData_OS_RegistryValue&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_OS_RegistryValue& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_OS_RegistryValue* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_OS_RegistryValue_default_instance_); } static constexpr int kIndexInFileMessages = 38; friend void swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue& a, ClientIncidentReport_EnvironmentData_OS_RegistryValue& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_OS_RegistryValue* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_OS_RegistryValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_OS_RegistryValue* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 1, kDataFieldNumber = 3, kTypeFieldNumber = 2, }; // optional string name = 1; bool has_name() const; private: bool _internal_has_name() const; public: void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // optional bytes data = 3; bool has_data() const; private: bool _internal_has_data() const; public: void clear_data(); const std::string& data() const; void set_data(const std::string& value); void set_data(std::string&& value); void set_data(const char* value); void set_data(const void* value, size_t size); std::string* mutable_data(); std::string* release_data(); void set_allocated_data(std::string* data); private: const std::string& _internal_data() const; void _internal_set_data(const std::string& value); std::string* _internal_mutable_data(); public: // optional uint32 type = 2; bool has_type() const; private: bool _internal_has_type() const; public: void clear_type(); ::PROTOBUF_NAMESPACE_ID::uint32 type() const; void set_type(::PROTOBUF_NAMESPACE_ID::uint32 value); private: ::PROTOBUF_NAMESPACE_ID::uint32 _internal_type() const; void _internal_set_type(::PROTOBUF_NAMESPACE_ID::uint32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; ::PROTOBUF_NAMESPACE_ID::uint32 type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_OS_RegistryKey : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey) */ { public: ClientIncidentReport_EnvironmentData_OS_RegistryKey(); virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryKey(); ClientIncidentReport_EnvironmentData_OS_RegistryKey(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from); ClientIncidentReport_EnvironmentData_OS_RegistryKey(ClientIncidentReport_EnvironmentData_OS_RegistryKey&& from) noexcept : ClientIncidentReport_EnvironmentData_OS_RegistryKey() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_OS_RegistryKey& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_OS_RegistryKey& operator=(ClientIncidentReport_EnvironmentData_OS_RegistryKey&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_OS_RegistryKey& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_OS_RegistryKey* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_OS_RegistryKey_default_instance_); } static constexpr int kIndexInFileMessages = 39; friend void swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey& a, ClientIncidentReport_EnvironmentData_OS_RegistryKey& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_OS_RegistryKey* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_OS_RegistryKey* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_OS_RegistryKey* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kValueFieldNumber = 2, kKeyFieldNumber = 3, kNameFieldNumber = 1, }; // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue value = 2; int value_size() const; private: int _internal_value_size() const; public: void clear_value(); ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* mutable_value(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >* mutable_value(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& _internal_value(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* _internal_add_value(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& value(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* add_value(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >& value() const; // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey key = 3; int key_size() const; private: int _internal_key_size() const; public: void clear_key(); ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_key(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >* mutable_key(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& _internal_key(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* _internal_add_key(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& key(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_key(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >& key() const; // optional string name = 1; bool has_name() const; private: bool _internal_has_name() const; public: void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue > value_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > key_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_OS : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.OS) */ { public: ClientIncidentReport_EnvironmentData_OS(); virtual ~ClientIncidentReport_EnvironmentData_OS(); ClientIncidentReport_EnvironmentData_OS(const ClientIncidentReport_EnvironmentData_OS& from); ClientIncidentReport_EnvironmentData_OS(ClientIncidentReport_EnvironmentData_OS&& from) noexcept : ClientIncidentReport_EnvironmentData_OS() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_OS& operator=(const ClientIncidentReport_EnvironmentData_OS& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_OS& operator=(ClientIncidentReport_EnvironmentData_OS&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_OS& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_OS* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_OS_default_instance_); } static constexpr int kIndexInFileMessages = 40; friend void swap(ClientIncidentReport_EnvironmentData_OS& a, ClientIncidentReport_EnvironmentData_OS& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_OS* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_OS* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_OS* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_OS& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_OS& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_OS* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.OS"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_OS_RegistryValue RegistryValue; typedef ClientIncidentReport_EnvironmentData_OS_RegistryKey RegistryKey; // accessors ------------------------------------------------------- enum : int { kRegistryKeyFieldNumber = 3, kOsNameFieldNumber = 1, kOsVersionFieldNumber = 2, kIsEnrolledToDomainFieldNumber = 4, }; // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey registry_key = 3; int registry_key_size() const; private: int _internal_registry_key_size() const; public: void clear_registry_key(); ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_registry_key(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >* mutable_registry_key(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& _internal_registry_key(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* _internal_add_registry_key(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& registry_key(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_registry_key(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >& registry_key() const; // optional string os_name = 1; bool has_os_name() const; private: bool _internal_has_os_name() const; public: void clear_os_name(); const std::string& os_name() const; void set_os_name(const std::string& value); void set_os_name(std::string&& value); void set_os_name(const char* value); void set_os_name(const char* value, size_t size); std::string* mutable_os_name(); std::string* release_os_name(); void set_allocated_os_name(std::string* os_name); private: const std::string& _internal_os_name() const; void _internal_set_os_name(const std::string& value); std::string* _internal_mutable_os_name(); public: // optional string os_version = 2; bool has_os_version() const; private: bool _internal_has_os_version() const; public: void clear_os_version(); const std::string& os_version() const; void set_os_version(const std::string& value); void set_os_version(std::string&& value); void set_os_version(const char* value); void set_os_version(const char* value, size_t size); std::string* mutable_os_version(); std::string* release_os_version(); void set_allocated_os_version(std::string* os_version); private: const std::string& _internal_os_version() const; void _internal_set_os_version(const std::string& value); std::string* _internal_mutable_os_version(); public: // optional bool is_enrolled_to_domain = 4; bool has_is_enrolled_to_domain() const; private: bool _internal_has_is_enrolled_to_domain() const; public: void clear_is_enrolled_to_domain(); bool is_enrolled_to_domain() const; void set_is_enrolled_to_domain(bool value); private: bool _internal_is_enrolled_to_domain() const; void _internal_set_is_enrolled_to_domain(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > registry_key_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr os_name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr os_version_; bool is_enrolled_to_domain_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Machine : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Machine) */ { public: ClientIncidentReport_EnvironmentData_Machine(); virtual ~ClientIncidentReport_EnvironmentData_Machine(); ClientIncidentReport_EnvironmentData_Machine(const ClientIncidentReport_EnvironmentData_Machine& from); ClientIncidentReport_EnvironmentData_Machine(ClientIncidentReport_EnvironmentData_Machine&& from) noexcept : ClientIncidentReport_EnvironmentData_Machine() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_Machine& operator=(const ClientIncidentReport_EnvironmentData_Machine& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_Machine& operator=(ClientIncidentReport_EnvironmentData_Machine&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_Machine& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_Machine* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_Machine_default_instance_); } static constexpr int kIndexInFileMessages = 41; friend void swap(ClientIncidentReport_EnvironmentData_Machine& a, ClientIncidentReport_EnvironmentData_Machine& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_Machine* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_Machine* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_Machine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_Machine& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Machine& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_Machine* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.Machine"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCpuArchitectureFieldNumber = 1, kCpuVendorFieldNumber = 2, kCpuidFieldNumber = 3, }; // optional string cpu_architecture = 1; bool has_cpu_architecture() const; private: bool _internal_has_cpu_architecture() const; public: void clear_cpu_architecture(); const std::string& cpu_architecture() const; void set_cpu_architecture(const std::string& value); void set_cpu_architecture(std::string&& value); void set_cpu_architecture(const char* value); void set_cpu_architecture(const char* value, size_t size); std::string* mutable_cpu_architecture(); std::string* release_cpu_architecture(); void set_allocated_cpu_architecture(std::string* cpu_architecture); private: const std::string& _internal_cpu_architecture() const; void _internal_set_cpu_architecture(const std::string& value); std::string* _internal_mutable_cpu_architecture(); public: // optional string cpu_vendor = 2; bool has_cpu_vendor() const; private: bool _internal_has_cpu_vendor() const; public: void clear_cpu_vendor(); const std::string& cpu_vendor() const; void set_cpu_vendor(const std::string& value); void set_cpu_vendor(std::string&& value); void set_cpu_vendor(const char* value); void set_cpu_vendor(const char* value, size_t size); std::string* mutable_cpu_vendor(); std::string* release_cpu_vendor(); void set_allocated_cpu_vendor(std::string* cpu_vendor); private: const std::string& _internal_cpu_vendor() const; void _internal_set_cpu_vendor(const std::string& value); std::string* _internal_mutable_cpu_vendor(); public: // optional uint32 cpuid = 3; bool has_cpuid() const; private: bool _internal_has_cpuid() const; public: void clear_cpuid(); ::PROTOBUF_NAMESPACE_ID::uint32 cpuid() const; void set_cpuid(::PROTOBUF_NAMESPACE_ID::uint32 value); private: ::PROTOBUF_NAMESPACE_ID::uint32 _internal_cpuid() const; void _internal_set_cpuid(::PROTOBUF_NAMESPACE_ID::uint32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Machine) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_architecture_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_vendor_; ::PROTOBUF_NAMESPACE_ID::uint32 cpuid_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_Patch : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch) */ { public: ClientIncidentReport_EnvironmentData_Process_Patch(); virtual ~ClientIncidentReport_EnvironmentData_Process_Patch(); ClientIncidentReport_EnvironmentData_Process_Patch(const ClientIncidentReport_EnvironmentData_Process_Patch& from); ClientIncidentReport_EnvironmentData_Process_Patch(ClientIncidentReport_EnvironmentData_Process_Patch&& from) noexcept : ClientIncidentReport_EnvironmentData_Process_Patch() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_Process_Patch& operator=(const ClientIncidentReport_EnvironmentData_Process_Patch& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_Process_Patch& operator=(ClientIncidentReport_EnvironmentData_Process_Patch&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_Process_Patch& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_Process_Patch* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_Process_Patch_default_instance_); } static constexpr int kIndexInFileMessages = 42; friend void swap(ClientIncidentReport_EnvironmentData_Process_Patch& a, ClientIncidentReport_EnvironmentData_Process_Patch& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_Process_Patch* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_Process_Patch* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_Process_Patch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_Process_Patch* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kFunctionFieldNumber = 1, kTargetDllFieldNumber = 2, }; // optional string function = 1; bool has_function() const; private: bool _internal_has_function() const; public: void clear_function(); const std::string& function() const; void set_function(const std::string& value); void set_function(std::string&& value); void set_function(const char* value); void set_function(const char* value, size_t size); std::string* mutable_function(); std::string* release_function(); void set_allocated_function(std::string* function); private: const std::string& _internal_function() const; void _internal_set_function(const std::string& value); std::string* _internal_mutable_function(); public: // optional string target_dll = 2; bool has_target_dll() const; private: bool _internal_has_target_dll() const; public: void clear_target_dll(); const std::string& target_dll() const; void set_target_dll(const std::string& value); void set_target_dll(std::string&& value); void set_target_dll(const char* value); void set_target_dll(const char* value, size_t size); std::string* mutable_target_dll(); std::string* release_target_dll(); void set_allocated_target_dll(std::string* target_dll); private: const std::string& _internal_target_dll() const; void _internal_set_target_dll(const std::string& value); std::string* _internal_mutable_target_dll(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr function_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr target_dll_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_NetworkProvider : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider) */ { public: ClientIncidentReport_EnvironmentData_Process_NetworkProvider(); virtual ~ClientIncidentReport_EnvironmentData_Process_NetworkProvider(); ClientIncidentReport_EnvironmentData_Process_NetworkProvider(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from); ClientIncidentReport_EnvironmentData_Process_NetworkProvider(ClientIncidentReport_EnvironmentData_Process_NetworkProvider&& from) noexcept : ClientIncidentReport_EnvironmentData_Process_NetworkProvider() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider& operator=(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider& operator=(ClientIncidentReport_EnvironmentData_Process_NetworkProvider&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_Process_NetworkProvider* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_Process_NetworkProvider_default_instance_); } static constexpr int kIndexInFileMessages = 43; friend void swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider& a, ClientIncidentReport_EnvironmentData_Process_NetworkProvider& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_Process_NetworkProvider* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_Dll : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll) */ { public: ClientIncidentReport_EnvironmentData_Process_Dll(); virtual ~ClientIncidentReport_EnvironmentData_Process_Dll(); ClientIncidentReport_EnvironmentData_Process_Dll(const ClientIncidentReport_EnvironmentData_Process_Dll& from); ClientIncidentReport_EnvironmentData_Process_Dll(ClientIncidentReport_EnvironmentData_Process_Dll&& from) noexcept : ClientIncidentReport_EnvironmentData_Process_Dll() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_Process_Dll& operator=(const ClientIncidentReport_EnvironmentData_Process_Dll& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_Process_Dll& operator=(ClientIncidentReport_EnvironmentData_Process_Dll&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_Process_Dll& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_Process_Dll* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_Process_Dll_default_instance_); } static constexpr int kIndexInFileMessages = 44; friend void swap(ClientIncidentReport_EnvironmentData_Process_Dll& a, ClientIncidentReport_EnvironmentData_Process_Dll& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_Process_Dll* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_Process_Dll* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_Process_Dll* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_Process_Dll* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_Process_Dll_Feature Feature; static constexpr Feature UNKNOWN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN; static constexpr Feature LSP = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP; static inline bool Feature_IsValid(int value) { return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value); } static constexpr Feature Feature_MIN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN; static constexpr Feature Feature_MAX = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX; static constexpr int Feature_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE; template static inline const std::string& Feature_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Feature_Name."); return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Name(enum_t_value); } static inline bool Feature_Parse(const std::string& name, Feature* value) { return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kFeatureFieldNumber = 4, kPathFieldNumber = 1, kImageHeadersFieldNumber = 5, kBaseAddressFieldNumber = 2, kLengthFieldNumber = 3, }; // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.Feature feature = 4; int feature_size() const; private: int _internal_feature_size() const; public: void clear_feature(); private: ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature _internal_feature(int index) const; void _internal_add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value); ::PROTOBUF_NAMESPACE_ID::RepeatedField* _internal_mutable_feature(); public: ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature feature(int index) const; void set_feature(int index, ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value); void add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value); const ::PROTOBUF_NAMESPACE_ID::RepeatedField& feature() const; ::PROTOBUF_NAMESPACE_ID::RepeatedField* mutable_feature(); // optional string path = 1; bool has_path() const; private: bool _internal_has_path() const; public: void clear_path(); const std::string& path() const; void set_path(const std::string& value); void set_path(std::string&& value); void set_path(const char* value); void set_path(const char* value, size_t size); std::string* mutable_path(); std::string* release_path(); void set_allocated_path(std::string* path); private: const std::string& _internal_path() const; void _internal_set_path(const std::string& value); std::string* _internal_mutable_path(); public: // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5; bool has_image_headers() const; private: bool _internal_has_image_headers() const; public: void clear_image_headers(); const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); private: const ::safe_browsing::ClientDownloadRequest_ImageHeaders& _internal_image_headers() const; ::safe_browsing::ClientDownloadRequest_ImageHeaders* _internal_mutable_image_headers(); public: // optional uint64 base_address = 2; bool has_base_address() const; private: bool _internal_has_base_address() const; public: void clear_base_address(); ::PROTOBUF_NAMESPACE_ID::uint64 base_address() const; void set_base_address(::PROTOBUF_NAMESPACE_ID::uint64 value); private: ::PROTOBUF_NAMESPACE_ID::uint64 _internal_base_address() const; void _internal_set_base_address(::PROTOBUF_NAMESPACE_ID::uint64 value); public: // optional uint32 length = 3; bool has_length() const; private: bool _internal_has_length() const; public: void clear_length(); ::PROTOBUF_NAMESPACE_ID::uint32 length() const; void set_length(::PROTOBUF_NAMESPACE_ID::uint32 value); private: ::PROTOBUF_NAMESPACE_ID::uint32 _internal_length() const; void _internal_set_length(::PROTOBUF_NAMESPACE_ID::uint32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedField feature_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; ::PROTOBUF_NAMESPACE_ID::uint64 base_address_; ::PROTOBUF_NAMESPACE_ID::uint32 length_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification) */ { public: ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(); virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(); ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from); ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification&& from) noexcept : ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& operator=(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification_default_instance_); } static constexpr int kIndexInFileMessages = 45; friend void swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& a, ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kModifiedBytesFieldNumber = 3, kExportNameFieldNumber = 4, kFileOffsetFieldNumber = 1, kByteCountFieldNumber = 2, }; // optional bytes modified_bytes = 3; bool has_modified_bytes() const; private: bool _internal_has_modified_bytes() const; public: void clear_modified_bytes(); const std::string& modified_bytes() const; void set_modified_bytes(const std::string& value); void set_modified_bytes(std::string&& value); void set_modified_bytes(const char* value); void set_modified_bytes(const void* value, size_t size); std::string* mutable_modified_bytes(); std::string* release_modified_bytes(); void set_allocated_modified_bytes(std::string* modified_bytes); private: const std::string& _internal_modified_bytes() const; void _internal_set_modified_bytes(const std::string& value); std::string* _internal_mutable_modified_bytes(); public: // optional string export_name = 4; bool has_export_name() const; private: bool _internal_has_export_name() const; public: void clear_export_name(); const std::string& export_name() const; void set_export_name(const std::string& value); void set_export_name(std::string&& value); void set_export_name(const char* value); void set_export_name(const char* value, size_t size); std::string* mutable_export_name(); std::string* release_export_name(); void set_allocated_export_name(std::string* export_name); private: const std::string& _internal_export_name() const; void _internal_set_export_name(const std::string& value); std::string* _internal_mutable_export_name(); public: // optional uint32 file_offset = 1; bool has_file_offset() const; private: bool _internal_has_file_offset() const; public: void clear_file_offset(); ::PROTOBUF_NAMESPACE_ID::uint32 file_offset() const; void set_file_offset(::PROTOBUF_NAMESPACE_ID::uint32 value); private: ::PROTOBUF_NAMESPACE_ID::uint32 _internal_file_offset() const; void _internal_set_file_offset(::PROTOBUF_NAMESPACE_ID::uint32 value); public: // optional int32 byte_count = 2; bool has_byte_count() const; private: bool _internal_has_byte_count() const; public: void clear_byte_count(); ::PROTOBUF_NAMESPACE_ID::int32 byte_count() const; void set_byte_count(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_byte_count() const; void _internal_set_byte_count(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr modified_bytes_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr export_name_; ::PROTOBUF_NAMESPACE_ID::uint32 file_offset_; ::PROTOBUF_NAMESPACE_ID::int32 byte_count_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_ModuleState : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState) */ { public: ClientIncidentReport_EnvironmentData_Process_ModuleState(); virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState(); ClientIncidentReport_EnvironmentData_Process_ModuleState(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from); ClientIncidentReport_EnvironmentData_Process_ModuleState(ClientIncidentReport_EnvironmentData_Process_ModuleState&& from) noexcept : ClientIncidentReport_EnvironmentData_Process_ModuleState() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_Process_ModuleState& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_Process_ModuleState& operator=(ClientIncidentReport_EnvironmentData_Process_ModuleState&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_Process_ModuleState& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_Process_ModuleState_default_instance_); } static constexpr int kIndexInFileMessages = 46; friend void swap(ClientIncidentReport_EnvironmentData_Process_ModuleState& a, ClientIncidentReport_EnvironmentData_Process_ModuleState& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_Process_ModuleState* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_Process_ModuleState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_Process_ModuleState* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification Modification; typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ModifiedState; static constexpr ModifiedState UNKNOWN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN; static constexpr ModifiedState MODULE_STATE_UNKNOWN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNKNOWN; static constexpr ModifiedState MODULE_STATE_UNMODIFIED = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNMODIFIED; static constexpr ModifiedState MODULE_STATE_MODIFIED = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED; static inline bool ModifiedState_IsValid(int value) { return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(value); } static constexpr ModifiedState ModifiedState_MIN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN; static constexpr ModifiedState ModifiedState_MAX = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX; static constexpr int ModifiedState_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE; template static inline const std::string& ModifiedState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ModifiedState_Name."); return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Name(enum_t_value); } static inline bool ModifiedState_Parse(const std::string& name, ModifiedState* value) { return ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kOBSOLETEModifiedExportFieldNumber = 3, kModificationFieldNumber = 4, kNameFieldNumber = 1, kModifiedStateFieldNumber = 2, }; // repeated string OBSOLETE_modified_export = 3; int obsolete_modified_export_size() const; private: int _internal_obsolete_modified_export_size() const; public: void clear_obsolete_modified_export(); const std::string& obsolete_modified_export(int index) const; std::string* mutable_obsolete_modified_export(int index); void set_obsolete_modified_export(int index, const std::string& value); void set_obsolete_modified_export(int index, std::string&& value); void set_obsolete_modified_export(int index, const char* value); void set_obsolete_modified_export(int index, const char* value, size_t size); std::string* add_obsolete_modified_export(); void add_obsolete_modified_export(const std::string& value); void add_obsolete_modified_export(std::string&& value); void add_obsolete_modified_export(const char* value); void add_obsolete_modified_export(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& obsolete_modified_export() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_obsolete_modified_export(); private: const std::string& _internal_obsolete_modified_export(int index) const; std::string* _internal_add_obsolete_modified_export(); public: // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification modification = 4; int modification_size() const; private: int _internal_modification_size() const; public: void clear_modification(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* mutable_modification(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >* mutable_modification(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& _internal_modification(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* _internal_add_modification(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& modification(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* add_modification(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >& modification() const; // optional string name = 1; bool has_name() const; private: bool _internal_has_name() const; public: void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.ModifiedState modified_state = 2; bool has_modified_state() const; private: bool _internal_has_modified_state() const; public: void clear_modified_state(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState modified_state() const; void set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value); private: ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState _internal_modified_state() const; void _internal_set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField obsolete_modified_export_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification > modification_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; int modified_state_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData.Process) */ { public: ClientIncidentReport_EnvironmentData_Process(); virtual ~ClientIncidentReport_EnvironmentData_Process(); ClientIncidentReport_EnvironmentData_Process(const ClientIncidentReport_EnvironmentData_Process& from); ClientIncidentReport_EnvironmentData_Process(ClientIncidentReport_EnvironmentData_Process&& from) noexcept : ClientIncidentReport_EnvironmentData_Process() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData_Process& operator=(const ClientIncidentReport_EnvironmentData_Process& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData_Process& operator=(ClientIncidentReport_EnvironmentData_Process&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData_Process& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData_Process* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_Process_default_instance_); } static constexpr int kIndexInFileMessages = 47; friend void swap(ClientIncidentReport_EnvironmentData_Process& a, ClientIncidentReport_EnvironmentData_Process& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData_Process* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData_Process* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData_Process* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData_Process& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData_Process* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData.Process"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_Process_Patch Patch; typedef ClientIncidentReport_EnvironmentData_Process_NetworkProvider NetworkProvider; typedef ClientIncidentReport_EnvironmentData_Process_Dll Dll; typedef ClientIncidentReport_EnvironmentData_Process_ModuleState ModuleState; typedef ClientIncidentReport_EnvironmentData_Process_Channel Channel; static constexpr Channel CHANNEL_UNKNOWN = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN; static constexpr Channel CHANNEL_CANARY = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_CANARY; static constexpr Channel CHANNEL_DEV = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_DEV; static constexpr Channel CHANNEL_BETA = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_BETA; static constexpr Channel CHANNEL_STABLE = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE; static inline bool Channel_IsValid(int value) { return ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(value); } static constexpr Channel Channel_MIN = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN; static constexpr Channel Channel_MAX = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX; static constexpr int Channel_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE; template static inline const std::string& Channel_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Channel_Name."); return ClientIncidentReport_EnvironmentData_Process_Channel_Name(enum_t_value); } static inline bool Channel_Parse(const std::string& name, Channel* value) { return ClientIncidentReport_EnvironmentData_Process_Channel_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kOBSOLETEDllsFieldNumber = 2, kPatchesFieldNumber = 3, kNetworkProvidersFieldNumber = 4, kDllFieldNumber = 9, kBlacklistedDllFieldNumber = 10, kModuleStateFieldNumber = 11, kVersionFieldNumber = 1, kUptimeMsecFieldNumber = 6, kChromeUpdateChannelFieldNumber = 5, kMetricsConsentFieldNumber = 7, kOBSOLETEExtendedConsentFieldNumber = 8, kOBSOLETEFieldTrialParticipantFieldNumber = 12, }; // repeated string OBSOLETE_dlls = 2; int obsolete_dlls_size() const; private: int _internal_obsolete_dlls_size() const; public: void clear_obsolete_dlls(); const std::string& obsolete_dlls(int index) const; std::string* mutable_obsolete_dlls(int index); void set_obsolete_dlls(int index, const std::string& value); void set_obsolete_dlls(int index, std::string&& value); void set_obsolete_dlls(int index, const char* value); void set_obsolete_dlls(int index, const char* value, size_t size); std::string* add_obsolete_dlls(); void add_obsolete_dlls(const std::string& value); void add_obsolete_dlls(std::string&& value); void add_obsolete_dlls(const char* value); void add_obsolete_dlls(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& obsolete_dlls() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_obsolete_dlls(); private: const std::string& _internal_obsolete_dlls(int index) const; std::string* _internal_add_obsolete_dlls(); public: // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch patches = 3; int patches_size() const; private: int _internal_patches_size() const; public: void clear_patches(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* mutable_patches(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >* mutable_patches(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& _internal_patches(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* _internal_add_patches(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& patches(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* add_patches(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >& patches() const; // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider network_providers = 4; int network_providers_size() const; private: int _internal_network_providers_size() const; public: void clear_network_providers(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* mutable_network_providers(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >* mutable_network_providers(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& _internal_network_providers(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* _internal_add_network_providers(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& network_providers(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* add_network_providers(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >& network_providers() const; // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll dll = 9; int dll_size() const; private: int _internal_dll_size() const; public: void clear_dll(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* mutable_dll(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >* mutable_dll(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& _internal_dll(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* _internal_add_dll(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& dll(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* add_dll(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >& dll() const; // repeated string blacklisted_dll = 10; int blacklisted_dll_size() const; private: int _internal_blacklisted_dll_size() const; public: void clear_blacklisted_dll(); const std::string& blacklisted_dll(int index) const; std::string* mutable_blacklisted_dll(int index); void set_blacklisted_dll(int index, const std::string& value); void set_blacklisted_dll(int index, std::string&& value); void set_blacklisted_dll(int index, const char* value); void set_blacklisted_dll(int index, const char* value, size_t size); std::string* add_blacklisted_dll(); void add_blacklisted_dll(const std::string& value); void add_blacklisted_dll(std::string&& value); void add_blacklisted_dll(const char* value); void add_blacklisted_dll(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& blacklisted_dll() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_blacklisted_dll(); private: const std::string& _internal_blacklisted_dll(int index) const; std::string* _internal_add_blacklisted_dll(); public: // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState module_state = 11; int module_state_size() const; private: int _internal_module_state_size() const; public: void clear_module_state(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* mutable_module_state(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >* mutable_module_state(); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& _internal_module_state(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* _internal_add_module_state(); public: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& module_state(int index) const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* add_module_state(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >& module_state() const; // optional string version = 1; bool has_version() const; private: bool _internal_has_version() const; public: void clear_version(); const std::string& version() const; void set_version(const std::string& value); void set_version(std::string&& value); void set_version(const char* value); void set_version(const char* value, size_t size); std::string* mutable_version(); std::string* release_version(); void set_allocated_version(std::string* version); private: const std::string& _internal_version() const; void _internal_set_version(const std::string& value); std::string* _internal_mutable_version(); public: // optional int64 uptime_msec = 6; bool has_uptime_msec() const; private: bool _internal_has_uptime_msec() const; public: void clear_uptime_msec(); ::PROTOBUF_NAMESPACE_ID::int64 uptime_msec() const; void set_uptime_msec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_uptime_msec() const; void _internal_set_uptime_msec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Channel chrome_update_channel = 5; bool has_chrome_update_channel() const; private: bool _internal_has_chrome_update_channel() const; public: void clear_chrome_update_channel(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel chrome_update_channel() const; void set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value); private: ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel _internal_chrome_update_channel() const; void _internal_set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value); public: // optional bool metrics_consent = 7; bool has_metrics_consent() const; private: bool _internal_has_metrics_consent() const; public: void clear_metrics_consent(); bool metrics_consent() const; void set_metrics_consent(bool value); private: bool _internal_metrics_consent() const; void _internal_set_metrics_consent(bool value); public: // optional bool OBSOLETE_extended_consent = 8; bool has_obsolete_extended_consent() const; private: bool _internal_has_obsolete_extended_consent() const; public: void clear_obsolete_extended_consent(); bool obsolete_extended_consent() const; void set_obsolete_extended_consent(bool value); private: bool _internal_obsolete_extended_consent() const; void _internal_set_obsolete_extended_consent(bool value); public: // optional bool OBSOLETE_field_trial_participant = 12; bool has_obsolete_field_trial_participant() const; private: bool _internal_has_obsolete_field_trial_participant() const; public: void clear_obsolete_field_trial_participant(); bool obsolete_field_trial_participant() const; void set_obsolete_field_trial_participant(bool value); private: bool _internal_obsolete_field_trial_participant() const; void _internal_set_obsolete_field_trial_participant(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField obsolete_dlls_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch > patches_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider > network_providers_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll > dll_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField blacklisted_dll_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState > module_state_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; ::PROTOBUF_NAMESPACE_ID::int64 uptime_msec_; int chrome_update_channel_; bool metrics_consent_; bool obsolete_extended_consent_; bool obsolete_field_trial_participant_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.EnvironmentData) */ { public: ClientIncidentReport_EnvironmentData(); virtual ~ClientIncidentReport_EnvironmentData(); ClientIncidentReport_EnvironmentData(const ClientIncidentReport_EnvironmentData& from); ClientIncidentReport_EnvironmentData(ClientIncidentReport_EnvironmentData&& from) noexcept : ClientIncidentReport_EnvironmentData() { *this = ::std::move(from); } inline ClientIncidentReport_EnvironmentData& operator=(const ClientIncidentReport_EnvironmentData& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_EnvironmentData& operator=(ClientIncidentReport_EnvironmentData&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_EnvironmentData& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_EnvironmentData* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_EnvironmentData_default_instance_); } static constexpr int kIndexInFileMessages = 48; friend void swap(ClientIncidentReport_EnvironmentData& a, ClientIncidentReport_EnvironmentData& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_EnvironmentData* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_EnvironmentData* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_EnvironmentData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_EnvironmentData& from); void MergeFrom(const ClientIncidentReport_EnvironmentData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_EnvironmentData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.EnvironmentData"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_OS OS; typedef ClientIncidentReport_EnvironmentData_Machine Machine; typedef ClientIncidentReport_EnvironmentData_Process Process; // accessors ------------------------------------------------------- enum : int { kOsFieldNumber = 1, kMachineFieldNumber = 2, kProcessFieldNumber = 3, }; // optional .safe_browsing.ClientIncidentReport.EnvironmentData.OS os = 1; bool has_os() const; private: bool _internal_has_os() const; public: void clear_os(); const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& os() const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* release_os(); ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* mutable_os(); void set_allocated_os(::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& _internal_os() const; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* _internal_mutable_os(); public: // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Machine machine = 2; bool has_machine() const; private: bool _internal_has_machine() const; public: void clear_machine(); const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& machine() const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* release_machine(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* mutable_machine(); void set_allocated_machine(::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& _internal_machine() const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* _internal_mutable_machine(); public: // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process process = 3; bool has_process() const; private: bool _internal_has_process() const; public: void clear_process(); const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& process() const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* release_process(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* mutable_process(); void set_allocated_process(::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& _internal_process() const; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* _internal_mutable_process(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os_; ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine_; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_ExtensionData_ExtensionInfo : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo) */ { public: ClientIncidentReport_ExtensionData_ExtensionInfo(); virtual ~ClientIncidentReport_ExtensionData_ExtensionInfo(); ClientIncidentReport_ExtensionData_ExtensionInfo(const ClientIncidentReport_ExtensionData_ExtensionInfo& from); ClientIncidentReport_ExtensionData_ExtensionInfo(ClientIncidentReport_ExtensionData_ExtensionInfo&& from) noexcept : ClientIncidentReport_ExtensionData_ExtensionInfo() { *this = ::std::move(from); } inline ClientIncidentReport_ExtensionData_ExtensionInfo& operator=(const ClientIncidentReport_ExtensionData_ExtensionInfo& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_ExtensionData_ExtensionInfo& operator=(ClientIncidentReport_ExtensionData_ExtensionInfo&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_ExtensionData_ExtensionInfo& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_ExtensionData_ExtensionInfo* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_ExtensionData_ExtensionInfo_default_instance_); } static constexpr int kIndexInFileMessages = 49; friend void swap(ClientIncidentReport_ExtensionData_ExtensionInfo& a, ClientIncidentReport_ExtensionData_ExtensionInfo& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_ExtensionData_ExtensionInfo* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_ExtensionData_ExtensionInfo* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_ExtensionData_ExtensionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from); void MergeFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_ExtensionData_ExtensionInfo* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ExtensionState; static constexpr ExtensionState STATE_UNKNOWN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN; static constexpr ExtensionState STATE_ENABLED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_ENABLED; static constexpr ExtensionState STATE_DISABLED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_DISABLED; static constexpr ExtensionState STATE_BLACKLISTED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLACKLISTED; static constexpr ExtensionState STATE_BLOCKED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLOCKED; static constexpr ExtensionState STATE_TERMINATED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED; static inline bool ExtensionState_IsValid(int value) { return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(value); } static constexpr ExtensionState ExtensionState_MIN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN; static constexpr ExtensionState ExtensionState_MAX = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX; static constexpr int ExtensionState_ARRAYSIZE = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE; template static inline const std::string& ExtensionState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ExtensionState_Name."); return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Name(enum_t_value); } static inline bool ExtensionState_Parse(const std::string& name, ExtensionState* value) { return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kIdFieldNumber = 1, kVersionFieldNumber = 2, kNameFieldNumber = 3, kDescriptionFieldNumber = 4, kUpdateUrlFieldNumber = 7, kManifestFieldNumber = 19, kStateFieldNumber = 5, kTypeFieldNumber = 6, kHasSignatureValidationFieldNumber = 8, kSignatureIsValidFieldNumber = 9, kInstalledByCustodianFieldNumber = 10, kInstalledByDefaultFieldNumber = 11, kInstalledByOemFieldNumber = 12, kFromBookmarkFieldNumber = 13, kFromWebstoreFieldNumber = 14, kConvertedFromUserScriptFieldNumber = 15, kInstallTimeMsecFieldNumber = 17, kMayBeUntrustedFieldNumber = 16, kManifestLocationTypeFieldNumber = 18, }; // optional string id = 1; bool has_id() const; private: bool _internal_has_id() const; public: void clear_id(); const std::string& id() const; void set_id(const std::string& value); void set_id(std::string&& value); void set_id(const char* value); void set_id(const char* value, size_t size); std::string* mutable_id(); std::string* release_id(); void set_allocated_id(std::string* id); private: const std::string& _internal_id() const; void _internal_set_id(const std::string& value); std::string* _internal_mutable_id(); public: // optional string version = 2; bool has_version() const; private: bool _internal_has_version() const; public: void clear_version(); const std::string& version() const; void set_version(const std::string& value); void set_version(std::string&& value); void set_version(const char* value); void set_version(const char* value, size_t size); std::string* mutable_version(); std::string* release_version(); void set_allocated_version(std::string* version); private: const std::string& _internal_version() const; void _internal_set_version(const std::string& value); std::string* _internal_mutable_version(); public: // optional string name = 3; bool has_name() const; private: bool _internal_has_name() const; public: void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // optional string description = 4; bool has_description() const; private: bool _internal_has_description() const; public: void clear_description(); const std::string& description() const; void set_description(const std::string& value); void set_description(std::string&& value); void set_description(const char* value); void set_description(const char* value, size_t size); std::string* mutable_description(); std::string* release_description(); void set_allocated_description(std::string* description); private: const std::string& _internal_description() const; void _internal_set_description(const std::string& value); std::string* _internal_mutable_description(); public: // optional string update_url = 7; bool has_update_url() const; private: bool _internal_has_update_url() const; public: void clear_update_url(); const std::string& update_url() const; void set_update_url(const std::string& value); void set_update_url(std::string&& value); void set_update_url(const char* value); void set_update_url(const char* value, size_t size); std::string* mutable_update_url(); std::string* release_update_url(); void set_allocated_update_url(std::string* update_url); private: const std::string& _internal_update_url() const; void _internal_set_update_url(const std::string& value); std::string* _internal_mutable_update_url(); public: // optional string manifest = 19; bool has_manifest() const; private: bool _internal_has_manifest() const; public: void clear_manifest(); const std::string& manifest() const; void set_manifest(const std::string& value); void set_manifest(std::string&& value); void set_manifest(const char* value); void set_manifest(const char* value, size_t size); std::string* mutable_manifest(); std::string* release_manifest(); void set_allocated_manifest(std::string* manifest); private: const std::string& _internal_manifest() const; void _internal_set_manifest(const std::string& value); std::string* _internal_mutable_manifest(); public: // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.ExtensionState state = 5 [default = STATE_UNKNOWN]; bool has_state() const; private: bool _internal_has_state() const; public: void clear_state(); ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState state() const; void set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value); private: ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState _internal_state() const; void _internal_set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value); public: // optional int32 type = 6; bool has_type() const; private: bool _internal_has_type() const; public: void clear_type(); ::PROTOBUF_NAMESPACE_ID::int32 type() const; void set_type(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_type() const; void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional bool has_signature_validation = 8; bool has_has_signature_validation() const; private: bool _internal_has_has_signature_validation() const; public: void clear_has_signature_validation(); bool has_signature_validation() const; void set_has_signature_validation(bool value); private: bool _internal_has_signature_validation() const; void _internal_set_has_signature_validation(bool value); public: // optional bool signature_is_valid = 9; bool has_signature_is_valid() const; private: bool _internal_has_signature_is_valid() const; public: void clear_signature_is_valid(); bool signature_is_valid() const; void set_signature_is_valid(bool value); private: bool _internal_signature_is_valid() const; void _internal_set_signature_is_valid(bool value); public: // optional bool installed_by_custodian = 10; bool has_installed_by_custodian() const; private: bool _internal_has_installed_by_custodian() const; public: void clear_installed_by_custodian(); bool installed_by_custodian() const; void set_installed_by_custodian(bool value); private: bool _internal_installed_by_custodian() const; void _internal_set_installed_by_custodian(bool value); public: // optional bool installed_by_default = 11; bool has_installed_by_default() const; private: bool _internal_has_installed_by_default() const; public: void clear_installed_by_default(); bool installed_by_default() const; void set_installed_by_default(bool value); private: bool _internal_installed_by_default() const; void _internal_set_installed_by_default(bool value); public: // optional bool installed_by_oem = 12; bool has_installed_by_oem() const; private: bool _internal_has_installed_by_oem() const; public: void clear_installed_by_oem(); bool installed_by_oem() const; void set_installed_by_oem(bool value); private: bool _internal_installed_by_oem() const; void _internal_set_installed_by_oem(bool value); public: // optional bool from_bookmark = 13; bool has_from_bookmark() const; private: bool _internal_has_from_bookmark() const; public: void clear_from_bookmark(); bool from_bookmark() const; void set_from_bookmark(bool value); private: bool _internal_from_bookmark() const; void _internal_set_from_bookmark(bool value); public: // optional bool from_webstore = 14; bool has_from_webstore() const; private: bool _internal_has_from_webstore() const; public: void clear_from_webstore(); bool from_webstore() const; void set_from_webstore(bool value); private: bool _internal_from_webstore() const; void _internal_set_from_webstore(bool value); public: // optional bool converted_from_user_script = 15; bool has_converted_from_user_script() const; private: bool _internal_has_converted_from_user_script() const; public: void clear_converted_from_user_script(); bool converted_from_user_script() const; void set_converted_from_user_script(bool value); private: bool _internal_converted_from_user_script() const; void _internal_set_converted_from_user_script(bool value); public: // optional int64 install_time_msec = 17; bool has_install_time_msec() const; private: bool _internal_has_install_time_msec() const; public: void clear_install_time_msec(); ::PROTOBUF_NAMESPACE_ID::int64 install_time_msec() const; void set_install_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_install_time_msec() const; void _internal_set_install_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional bool may_be_untrusted = 16; bool has_may_be_untrusted() const; private: bool _internal_has_may_be_untrusted() const; public: void clear_may_be_untrusted(); bool may_be_untrusted() const; void set_may_be_untrusted(bool value); private: bool _internal_may_be_untrusted() const; void _internal_set_may_be_untrusted(bool value); public: // optional int32 manifest_location_type = 18; bool has_manifest_location_type() const; private: bool _internal_has_manifest_location_type() const; public: void clear_manifest_location_type(); ::PROTOBUF_NAMESPACE_ID::int32 manifest_location_type() const; void set_manifest_location_type(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_manifest_location_type() const; void _internal_set_manifest_location_type(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr update_url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manifest_; int state_; ::PROTOBUF_NAMESPACE_ID::int32 type_; bool has_signature_validation_; bool signature_is_valid_; bool installed_by_custodian_; bool installed_by_default_; bool installed_by_oem_; bool from_bookmark_; bool from_webstore_; bool converted_from_user_script_; ::PROTOBUF_NAMESPACE_ID::int64 install_time_msec_; bool may_be_untrusted_; ::PROTOBUF_NAMESPACE_ID::int32 manifest_location_type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_ExtensionData : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.ExtensionData) */ { public: ClientIncidentReport_ExtensionData(); virtual ~ClientIncidentReport_ExtensionData(); ClientIncidentReport_ExtensionData(const ClientIncidentReport_ExtensionData& from); ClientIncidentReport_ExtensionData(ClientIncidentReport_ExtensionData&& from) noexcept : ClientIncidentReport_ExtensionData() { *this = ::std::move(from); } inline ClientIncidentReport_ExtensionData& operator=(const ClientIncidentReport_ExtensionData& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_ExtensionData& operator=(ClientIncidentReport_ExtensionData&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_ExtensionData& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_ExtensionData* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_ExtensionData_default_instance_); } static constexpr int kIndexInFileMessages = 50; friend void swap(ClientIncidentReport_ExtensionData& a, ClientIncidentReport_ExtensionData& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_ExtensionData* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_ExtensionData* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_ExtensionData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_ExtensionData& from); void MergeFrom(const ClientIncidentReport_ExtensionData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_ExtensionData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.ExtensionData"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_ExtensionData_ExtensionInfo ExtensionInfo; // accessors ------------------------------------------------------- enum : int { kLastInstalledExtensionFieldNumber = 1, }; // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo last_installed_extension = 1; bool has_last_installed_extension() const; private: bool _internal_has_last_installed_extension() const; public: void clear_last_installed_extension(); const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& last_installed_extension() const; ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* release_last_installed_extension(); ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* mutable_last_installed_extension(); void set_allocated_last_installed_extension(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension); private: const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& _internal_last_installed_extension() const; ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* _internal_mutable_last_installed_extension(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport_NonBinaryDownloadDetails : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails) */ { public: ClientIncidentReport_NonBinaryDownloadDetails(); virtual ~ClientIncidentReport_NonBinaryDownloadDetails(); ClientIncidentReport_NonBinaryDownloadDetails(const ClientIncidentReport_NonBinaryDownloadDetails& from); ClientIncidentReport_NonBinaryDownloadDetails(ClientIncidentReport_NonBinaryDownloadDetails&& from) noexcept : ClientIncidentReport_NonBinaryDownloadDetails() { *this = ::std::move(from); } inline ClientIncidentReport_NonBinaryDownloadDetails& operator=(const ClientIncidentReport_NonBinaryDownloadDetails& from) { CopyFrom(from); return *this; } inline ClientIncidentReport_NonBinaryDownloadDetails& operator=(ClientIncidentReport_NonBinaryDownloadDetails&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport_NonBinaryDownloadDetails& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport_NonBinaryDownloadDetails* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_NonBinaryDownloadDetails_default_instance_); } static constexpr int kIndexInFileMessages = 51; friend void swap(ClientIncidentReport_NonBinaryDownloadDetails& a, ClientIncidentReport_NonBinaryDownloadDetails& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport_NonBinaryDownloadDetails* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport_NonBinaryDownloadDetails* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport_NonBinaryDownloadDetails* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from); void MergeFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport_NonBinaryDownloadDetails* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kFileTypeFieldNumber = 1, kUrlSpecSha256FieldNumber = 2, kHostFieldNumber = 3, kLengthFieldNumber = 4, }; // optional string file_type = 1; bool has_file_type() const; private: bool _internal_has_file_type() const; public: void clear_file_type(); const std::string& file_type() const; void set_file_type(const std::string& value); void set_file_type(std::string&& value); void set_file_type(const char* value); void set_file_type(const char* value, size_t size); std::string* mutable_file_type(); std::string* release_file_type(); void set_allocated_file_type(std::string* file_type); private: const std::string& _internal_file_type() const; void _internal_set_file_type(const std::string& value); std::string* _internal_mutable_file_type(); public: // optional bytes url_spec_sha256 = 2; bool has_url_spec_sha256() const; private: bool _internal_has_url_spec_sha256() const; public: void clear_url_spec_sha256(); const std::string& url_spec_sha256() const; void set_url_spec_sha256(const std::string& value); void set_url_spec_sha256(std::string&& value); void set_url_spec_sha256(const char* value); void set_url_spec_sha256(const void* value, size_t size); std::string* mutable_url_spec_sha256(); std::string* release_url_spec_sha256(); void set_allocated_url_spec_sha256(std::string* url_spec_sha256); private: const std::string& _internal_url_spec_sha256() const; void _internal_set_url_spec_sha256(const std::string& value); std::string* _internal_mutable_url_spec_sha256(); public: // optional string host = 3; bool has_host() const; private: bool _internal_has_host() const; public: void clear_host(); const std::string& host() const; void set_host(const std::string& value); void set_host(std::string&& value); void set_host(const char* value); void set_host(const char* value, size_t size); std::string* mutable_host(); std::string* release_host(); void set_allocated_host(std::string* host); private: const std::string& _internal_host() const; void _internal_set_host(const std::string& value); std::string* _internal_mutable_host(); public: // optional int64 length = 4; bool has_length() const; private: bool _internal_has_length() const; public: void clear_length(); ::PROTOBUF_NAMESPACE_ID::int64 length() const; void set_length(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_length() const; void _internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_type_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_spec_sha256_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_; ::PROTOBUF_NAMESPACE_ID::int64 length_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentReport : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentReport) */ { public: ClientIncidentReport(); virtual ~ClientIncidentReport(); ClientIncidentReport(const ClientIncidentReport& from); ClientIncidentReport(ClientIncidentReport&& from) noexcept : ClientIncidentReport() { *this = ::std::move(from); } inline ClientIncidentReport& operator=(const ClientIncidentReport& from) { CopyFrom(from); return *this; } inline ClientIncidentReport& operator=(ClientIncidentReport&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentReport& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentReport* internal_default_instance() { return reinterpret_cast( &_ClientIncidentReport_default_instance_); } static constexpr int kIndexInFileMessages = 52; friend void swap(ClientIncidentReport& a, ClientIncidentReport& b) { a.Swap(&b); } inline void Swap(ClientIncidentReport* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentReport* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentReport& from); void MergeFrom(const ClientIncidentReport& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentReport* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentReport"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData IncidentData; typedef ClientIncidentReport_DownloadDetails DownloadDetails; typedef ClientIncidentReport_EnvironmentData EnvironmentData; typedef ClientIncidentReport_ExtensionData ExtensionData; typedef ClientIncidentReport_NonBinaryDownloadDetails NonBinaryDownloadDetails; // accessors ------------------------------------------------------- enum : int { kIncidentFieldNumber = 1, kDownloadFieldNumber = 2, kEnvironmentFieldNumber = 3, kPopulationFieldNumber = 7, kExtensionDataFieldNumber = 8, kNonBinaryDownloadFieldNumber = 9, }; // repeated .safe_browsing.ClientIncidentReport.IncidentData incident = 1; int incident_size() const; private: int _internal_incident_size() const; public: void clear_incident(); ::safe_browsing::ClientIncidentReport_IncidentData* mutable_incident(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >* mutable_incident(); private: const ::safe_browsing::ClientIncidentReport_IncidentData& _internal_incident(int index) const; ::safe_browsing::ClientIncidentReport_IncidentData* _internal_add_incident(); public: const ::safe_browsing::ClientIncidentReport_IncidentData& incident(int index) const; ::safe_browsing::ClientIncidentReport_IncidentData* add_incident(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >& incident() const; // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; bool has_download() const; private: bool _internal_has_download() const; public: void clear_download(); const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const; ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download(); ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download(); void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download); private: const ::safe_browsing::ClientIncidentReport_DownloadDetails& _internal_download() const; ::safe_browsing::ClientIncidentReport_DownloadDetails* _internal_mutable_download(); public: // optional .safe_browsing.ClientIncidentReport.EnvironmentData environment = 3; bool has_environment() const; private: bool _internal_has_environment() const; public: void clear_environment(); const ::safe_browsing::ClientIncidentReport_EnvironmentData& environment() const; ::safe_browsing::ClientIncidentReport_EnvironmentData* release_environment(); ::safe_browsing::ClientIncidentReport_EnvironmentData* mutable_environment(); void set_allocated_environment(::safe_browsing::ClientIncidentReport_EnvironmentData* environment); private: const ::safe_browsing::ClientIncidentReport_EnvironmentData& _internal_environment() const; ::safe_browsing::ClientIncidentReport_EnvironmentData* _internal_mutable_environment(); public: // optional .safe_browsing.ChromeUserPopulation population = 7; bool has_population() const; private: bool _internal_has_population() const; public: void clear_population(); const ::safe_browsing::ChromeUserPopulation& population() const; ::safe_browsing::ChromeUserPopulation* release_population(); ::safe_browsing::ChromeUserPopulation* mutable_population(); void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); private: const ::safe_browsing::ChromeUserPopulation& _internal_population() const; ::safe_browsing::ChromeUserPopulation* _internal_mutable_population(); public: // optional .safe_browsing.ClientIncidentReport.ExtensionData extension_data = 8; bool has_extension_data() const; private: bool _internal_has_extension_data() const; public: void clear_extension_data(); const ::safe_browsing::ClientIncidentReport_ExtensionData& extension_data() const; ::safe_browsing::ClientIncidentReport_ExtensionData* release_extension_data(); ::safe_browsing::ClientIncidentReport_ExtensionData* mutable_extension_data(); void set_allocated_extension_data(::safe_browsing::ClientIncidentReport_ExtensionData* extension_data); private: const ::safe_browsing::ClientIncidentReport_ExtensionData& _internal_extension_data() const; ::safe_browsing::ClientIncidentReport_ExtensionData* _internal_mutable_extension_data(); public: // optional .safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails non_binary_download = 9; bool has_non_binary_download() const; private: bool _internal_has_non_binary_download() const; public: void clear_non_binary_download(); const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& non_binary_download() const; ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* release_non_binary_download(); ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* mutable_non_binary_download(); void set_allocated_non_binary_download(::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download); private: const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& _internal_non_binary_download() const; ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* _internal_mutable_non_binary_download(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData > incident_; ::safe_browsing::ClientIncidentReport_DownloadDetails* download_; ::safe_browsing::ClientIncidentReport_EnvironmentData* environment_; ::safe_browsing::ChromeUserPopulation* population_; ::safe_browsing::ClientIncidentReport_ExtensionData* extension_data_; ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentResponse_EnvironmentRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentResponse.EnvironmentRequest) */ { public: ClientIncidentResponse_EnvironmentRequest(); virtual ~ClientIncidentResponse_EnvironmentRequest(); ClientIncidentResponse_EnvironmentRequest(const ClientIncidentResponse_EnvironmentRequest& from); ClientIncidentResponse_EnvironmentRequest(ClientIncidentResponse_EnvironmentRequest&& from) noexcept : ClientIncidentResponse_EnvironmentRequest() { *this = ::std::move(from); } inline ClientIncidentResponse_EnvironmentRequest& operator=(const ClientIncidentResponse_EnvironmentRequest& from) { CopyFrom(from); return *this; } inline ClientIncidentResponse_EnvironmentRequest& operator=(ClientIncidentResponse_EnvironmentRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentResponse_EnvironmentRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentResponse_EnvironmentRequest* internal_default_instance() { return reinterpret_cast( &_ClientIncidentResponse_EnvironmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = 53; friend void swap(ClientIncidentResponse_EnvironmentRequest& a, ClientIncidentResponse_EnvironmentRequest& b) { a.Swap(&b); } inline void Swap(ClientIncidentResponse_EnvironmentRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentResponse_EnvironmentRequest* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentResponse_EnvironmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentResponse_EnvironmentRequest& from); void MergeFrom(const ClientIncidentResponse_EnvironmentRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentResponse_EnvironmentRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentResponse.EnvironmentRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kDllIndexFieldNumber = 1, }; // optional int32 dll_index = 1; bool has_dll_index() const; private: bool _internal_has_dll_index() const; public: void clear_dll_index(); ::PROTOBUF_NAMESPACE_ID::int32 dll_index() const; void set_dll_index(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_dll_index() const; void _internal_set_dll_index(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse.EnvironmentRequest) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::int32 dll_index_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientIncidentResponse : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientIncidentResponse) */ { public: ClientIncidentResponse(); virtual ~ClientIncidentResponse(); ClientIncidentResponse(const ClientIncidentResponse& from); ClientIncidentResponse(ClientIncidentResponse&& from) noexcept : ClientIncidentResponse() { *this = ::std::move(from); } inline ClientIncidentResponse& operator=(const ClientIncidentResponse& from) { CopyFrom(from); return *this; } inline ClientIncidentResponse& operator=(ClientIncidentResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientIncidentResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientIncidentResponse* internal_default_instance() { return reinterpret_cast( &_ClientIncidentResponse_default_instance_); } static constexpr int kIndexInFileMessages = 54; friend void swap(ClientIncidentResponse& a, ClientIncidentResponse& b) { a.Swap(&b); } inline void Swap(ClientIncidentResponse* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientIncidentResponse* New() const final { return CreateMaybeMessage(nullptr); } ClientIncidentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientIncidentResponse& from); void MergeFrom(const ClientIncidentResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientIncidentResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientIncidentResponse"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientIncidentResponse_EnvironmentRequest EnvironmentRequest; // accessors ------------------------------------------------------- enum : int { kEnvironmentRequestsFieldNumber = 3, kTokenFieldNumber = 1, kDownloadRequestedFieldNumber = 2, }; // repeated .safe_browsing.ClientIncidentResponse.EnvironmentRequest environment_requests = 3; int environment_requests_size() const; private: int _internal_environment_requests_size() const; public: void clear_environment_requests(); ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* mutable_environment_requests(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >* mutable_environment_requests(); private: const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& _internal_environment_requests(int index) const; ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* _internal_add_environment_requests(); public: const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& environment_requests(int index) const; ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* add_environment_requests(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >& environment_requests() const; // optional bytes token = 1; bool has_token() const; private: bool _internal_has_token() const; public: void clear_token(); const std::string& token() const; void set_token(const std::string& value); void set_token(std::string&& value); void set_token(const char* value); void set_token(const void* value, size_t size); std::string* mutable_token(); std::string* release_token(); void set_allocated_token(std::string* token); private: const std::string& _internal_token() const; void _internal_set_token(const std::string& value); std::string* _internal_mutable_token(); public: // optional bool download_requested = 2; bool has_download_requested() const; private: bool _internal_has_download_requested() const; public: void clear_download_requested(); bool download_requested() const; void set_download_requested(bool value); private: bool _internal_download_requested() const; void _internal_set_download_requested(bool value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest > environment_requests_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; bool download_requested_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class DownloadMetadata : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.DownloadMetadata) */ { public: DownloadMetadata(); virtual ~DownloadMetadata(); DownloadMetadata(const DownloadMetadata& from); DownloadMetadata(DownloadMetadata&& from) noexcept : DownloadMetadata() { *this = ::std::move(from); } inline DownloadMetadata& operator=(const DownloadMetadata& from) { CopyFrom(from); return *this; } inline DownloadMetadata& operator=(DownloadMetadata&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const DownloadMetadata& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const DownloadMetadata* internal_default_instance() { return reinterpret_cast( &_DownloadMetadata_default_instance_); } static constexpr int kIndexInFileMessages = 55; friend void swap(DownloadMetadata& a, DownloadMetadata& b) { a.Swap(&b); } inline void Swap(DownloadMetadata* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline DownloadMetadata* New() const final { return CreateMaybeMessage(nullptr); } DownloadMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const DownloadMetadata& from); void MergeFrom(const DownloadMetadata& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(DownloadMetadata* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.DownloadMetadata"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kDownloadFieldNumber = 2, kDownloadIdFieldNumber = 1, }; // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; bool has_download() const; private: bool _internal_has_download() const; public: void clear_download(); const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const; ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download(); ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download(); void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download); private: const ::safe_browsing::ClientIncidentReport_DownloadDetails& _internal_download() const; ::safe_browsing::ClientIncidentReport_DownloadDetails* _internal_mutable_download(); public: // optional uint32 download_id = 1; bool has_download_id() const; private: bool _internal_has_download_id() const; public: void clear_download_id(); ::PROTOBUF_NAMESPACE_ID::uint32 download_id() const; void set_download_id(::PROTOBUF_NAMESPACE_ID::uint32 value); private: ::PROTOBUF_NAMESPACE_ID::uint32 _internal_download_id() const; void _internal_set_download_id(::PROTOBUF_NAMESPACE_ID::uint32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.DownloadMetadata) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::safe_browsing::ClientIncidentReport_DownloadDetails* download_; ::PROTOBUF_NAMESPACE_ID::uint32 download_id_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPHeader : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader) */ { public: ClientSafeBrowsingReportRequest_HTTPHeader(); virtual ~ClientSafeBrowsingReportRequest_HTTPHeader(); ClientSafeBrowsingReportRequest_HTTPHeader(const ClientSafeBrowsingReportRequest_HTTPHeader& from); ClientSafeBrowsingReportRequest_HTTPHeader(ClientSafeBrowsingReportRequest_HTTPHeader&& from) noexcept : ClientSafeBrowsingReportRequest_HTTPHeader() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest_HTTPHeader& operator=(const ClientSafeBrowsingReportRequest_HTTPHeader& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest_HTTPHeader& operator=(ClientSafeBrowsingReportRequest_HTTPHeader&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest_HTTPHeader& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest_HTTPHeader* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_HTTPHeader_default_instance_); } static constexpr int kIndexInFileMessages = 56; friend void swap(ClientSafeBrowsingReportRequest_HTTPHeader& a, ClientSafeBrowsingReportRequest_HTTPHeader& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest_HTTPHeader* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest_HTTPHeader* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest_HTTPHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest_HTTPHeader* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 1, kValueFieldNumber = 2, }; // required bytes name = 1; bool has_name() const; private: bool _internal_has_name() const; public: void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const void* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // optional bytes value = 2; bool has_value() const; private: bool _internal_has_value() const; public: void clear_value(); const std::string& value() const; void set_value(const std::string& value); void set_value(std::string&& value); void set_value(const char* value); void set_value(const void* value, size_t size); std::string* mutable_value(); std::string* release_value(); void set_allocated_value(std::string* value); private: const std::string& _internal_value() const; void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine) */ { public: ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(); virtual ~ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(); ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from); ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine&& from) noexcept : ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& operator=(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine_default_instance_); } static constexpr int kIndexInFileMessages = 57; friend void swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& a, ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kVerbFieldNumber = 1, kUriFieldNumber = 2, kVersionFieldNumber = 3, }; // optional bytes verb = 1; bool has_verb() const; private: bool _internal_has_verb() const; public: void clear_verb(); const std::string& verb() const; void set_verb(const std::string& value); void set_verb(std::string&& value); void set_verb(const char* value); void set_verb(const void* value, size_t size); std::string* mutable_verb(); std::string* release_verb(); void set_allocated_verb(std::string* verb); private: const std::string& _internal_verb() const; void _internal_set_verb(const std::string& value); std::string* _internal_mutable_verb(); public: // optional bytes uri = 2; bool has_uri() const; private: bool _internal_has_uri() const; public: void clear_uri(); const std::string& uri() const; void set_uri(const std::string& value); void set_uri(std::string&& value); void set_uri(const char* value); void set_uri(const void* value, size_t size); std::string* mutable_uri(); std::string* release_uri(); void set_allocated_uri(std::string* uri); private: const std::string& _internal_uri() const; void _internal_set_uri(const std::string& value); std::string* _internal_mutable_uri(); public: // optional bytes version = 3; bool has_version() const; private: bool _internal_has_version() const; public: void clear_version(); const std::string& version() const; void set_version(const std::string& value); void set_version(std::string&& value); void set_version(const char* value); void set_version(const void* value, size_t size); std::string* mutable_version(); std::string* release_version(); void set_allocated_version(std::string* version); private: const std::string& _internal_version() const; void _internal_set_version(const std::string& value); std::string* _internal_mutable_version(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr verb_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uri_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest) */ { public: ClientSafeBrowsingReportRequest_HTTPRequest(); virtual ~ClientSafeBrowsingReportRequest_HTTPRequest(); ClientSafeBrowsingReportRequest_HTTPRequest(const ClientSafeBrowsingReportRequest_HTTPRequest& from); ClientSafeBrowsingReportRequest_HTTPRequest(ClientSafeBrowsingReportRequest_HTTPRequest&& from) noexcept : ClientSafeBrowsingReportRequest_HTTPRequest() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest_HTTPRequest& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest_HTTPRequest& operator=(ClientSafeBrowsingReportRequest_HTTPRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest_HTTPRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest_HTTPRequest* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_HTTPRequest_default_instance_); } static constexpr int kIndexInFileMessages = 58; friend void swap(ClientSafeBrowsingReportRequest_HTTPRequest& a, ClientSafeBrowsingReportRequest_HTTPRequest& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest_HTTPRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest_HTTPRequest* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest_HTTPRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest_HTTPRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine FirstLine; // accessors ------------------------------------------------------- enum : int { kHeadersFieldNumber = 2, kBodyFieldNumber = 3, kBodydigestFieldNumber = 4, kFirstlineFieldNumber = 1, kBodylengthFieldNumber = 5, }; // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; int headers_size() const; private: int _internal_headers_size() const; public: void clear_headers(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* mutable_headers(); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& _internal_headers(int index) const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* _internal_add_headers(); public: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& headers() const; // optional bytes body = 3; bool has_body() const; private: bool _internal_has_body() const; public: void clear_body(); const std::string& body() const; void set_body(const std::string& value); void set_body(std::string&& value); void set_body(const char* value); void set_body(const void* value, size_t size); std::string* mutable_body(); std::string* release_body(); void set_allocated_body(std::string* body); private: const std::string& _internal_body() const; void _internal_set_body(const std::string& value); std::string* _internal_mutable_body(); public: // optional bytes bodydigest = 4; bool has_bodydigest() const; private: bool _internal_has_bodydigest() const; public: void clear_bodydigest(); const std::string& bodydigest() const; void set_bodydigest(const std::string& value); void set_bodydigest(std::string&& value); void set_bodydigest(const char* value); void set_bodydigest(const void* value, size_t size); std::string* mutable_bodydigest(); std::string* release_bodydigest(); void set_allocated_bodydigest(std::string* bodydigest); private: const std::string& _internal_bodydigest() const; void _internal_set_bodydigest(const std::string& value); std::string* _internal_mutable_bodydigest(); public: // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine firstline = 1; bool has_firstline() const; private: bool _internal_has_firstline() const; public: void clear_firstline(); const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& firstline() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* release_firstline(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* mutable_firstline(); void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& _internal_firstline() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* _internal_mutable_firstline(); public: // optional int32 bodylength = 5; bool has_bodylength() const; private: bool _internal_has_bodylength() const; public: void clear_bodylength(); ::PROTOBUF_NAMESPACE_ID::int32 bodylength() const; void set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_bodylength() const; void _internal_set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bodydigest_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline_; ::PROTOBUF_NAMESPACE_ID::int32 bodylength_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine) */ { public: ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(); virtual ~ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(); ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from); ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine&& from) noexcept : ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& operator=(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine_default_instance_); } static constexpr int kIndexInFileMessages = 59; friend void swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& a, ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kMessageFieldNumber = 2, kVersionFieldNumber = 3, kCodeFieldNumber = 1, }; // optional bytes message = 2; bool has_message() const; private: bool _internal_has_message() const; public: void clear_message(); const std::string& message() const; void set_message(const std::string& value); void set_message(std::string&& value); void set_message(const char* value); void set_message(const void* value, size_t size); std::string* mutable_message(); std::string* release_message(); void set_allocated_message(std::string* message); private: const std::string& _internal_message() const; void _internal_set_message(const std::string& value); std::string* _internal_mutable_message(); public: // optional bytes version = 3; bool has_version() const; private: bool _internal_has_version() const; public: void clear_version(); const std::string& version() const; void set_version(const std::string& value); void set_version(std::string&& value); void set_version(const char* value); void set_version(const void* value, size_t size); std::string* mutable_version(); std::string* release_version(); void set_allocated_version(std::string* version); private: const std::string& _internal_version() const; void _internal_set_version(const std::string& value); std::string* _internal_mutable_version(); public: // optional int32 code = 1; bool has_code() const; private: bool _internal_has_code() const; public: void clear_code(); ::PROTOBUF_NAMESPACE_ID::int32 code() const; void set_code(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_code() const; void _internal_set_code(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; ::PROTOBUF_NAMESPACE_ID::int32 code_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPResponse : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse) */ { public: ClientSafeBrowsingReportRequest_HTTPResponse(); virtual ~ClientSafeBrowsingReportRequest_HTTPResponse(); ClientSafeBrowsingReportRequest_HTTPResponse(const ClientSafeBrowsingReportRequest_HTTPResponse& from); ClientSafeBrowsingReportRequest_HTTPResponse(ClientSafeBrowsingReportRequest_HTTPResponse&& from) noexcept : ClientSafeBrowsingReportRequest_HTTPResponse() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest_HTTPResponse& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest_HTTPResponse& operator=(ClientSafeBrowsingReportRequest_HTTPResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest_HTTPResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest_HTTPResponse* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_HTTPResponse_default_instance_); } static constexpr int kIndexInFileMessages = 60; friend void swap(ClientSafeBrowsingReportRequest_HTTPResponse& a, ClientSafeBrowsingReportRequest_HTTPResponse& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest_HTTPResponse* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest_HTTPResponse* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest_HTTPResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest_HTTPResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine FirstLine; // accessors ------------------------------------------------------- enum : int { kHeadersFieldNumber = 2, kBodyFieldNumber = 3, kBodydigestFieldNumber = 4, kRemoteIpFieldNumber = 6, kFirstlineFieldNumber = 1, kBodylengthFieldNumber = 5, }; // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; int headers_size() const; private: int _internal_headers_size() const; public: void clear_headers(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* mutable_headers(); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& _internal_headers(int index) const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* _internal_add_headers(); public: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& headers() const; // optional bytes body = 3; bool has_body() const; private: bool _internal_has_body() const; public: void clear_body(); const std::string& body() const; void set_body(const std::string& value); void set_body(std::string&& value); void set_body(const char* value); void set_body(const void* value, size_t size); std::string* mutable_body(); std::string* release_body(); void set_allocated_body(std::string* body); private: const std::string& _internal_body() const; void _internal_set_body(const std::string& value); std::string* _internal_mutable_body(); public: // optional bytes bodydigest = 4; bool has_bodydigest() const; private: bool _internal_has_bodydigest() const; public: void clear_bodydigest(); const std::string& bodydigest() const; void set_bodydigest(const std::string& value); void set_bodydigest(std::string&& value); void set_bodydigest(const char* value); void set_bodydigest(const void* value, size_t size); std::string* mutable_bodydigest(); std::string* release_bodydigest(); void set_allocated_bodydigest(std::string* bodydigest); private: const std::string& _internal_bodydigest() const; void _internal_set_bodydigest(const std::string& value); std::string* _internal_mutable_bodydigest(); public: // optional bytes remote_ip = 6; bool has_remote_ip() const; private: bool _internal_has_remote_ip() const; public: void clear_remote_ip(); const std::string& remote_ip() const; void set_remote_ip(const std::string& value); void set_remote_ip(std::string&& value); void set_remote_ip(const char* value); void set_remote_ip(const void* value, size_t size); std::string* mutable_remote_ip(); std::string* release_remote_ip(); void set_allocated_remote_ip(std::string* remote_ip); private: const std::string& _internal_remote_ip() const; void _internal_set_remote_ip(const std::string& value); std::string* _internal_mutable_remote_ip(); public: // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine firstline = 1; bool has_firstline() const; private: bool _internal_has_firstline() const; public: void clear_firstline(); const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& firstline() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* release_firstline(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* mutable_firstline(); void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& _internal_firstline() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* _internal_mutable_firstline(); public: // optional int32 bodylength = 5; bool has_bodylength() const; private: bool _internal_has_bodylength() const; public: void clear_bodylength(); ::PROTOBUF_NAMESPACE_ID::int32 bodylength() const; void set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_bodylength() const; void _internal_set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bodydigest_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr remote_ip_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline_; ::PROTOBUF_NAMESPACE_ID::int32 bodylength_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_Resource : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.Resource) */ { public: ClientSafeBrowsingReportRequest_Resource(); virtual ~ClientSafeBrowsingReportRequest_Resource(); ClientSafeBrowsingReportRequest_Resource(const ClientSafeBrowsingReportRequest_Resource& from); ClientSafeBrowsingReportRequest_Resource(ClientSafeBrowsingReportRequest_Resource&& from) noexcept : ClientSafeBrowsingReportRequest_Resource() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest_Resource& operator=(const ClientSafeBrowsingReportRequest_Resource& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest_Resource& operator=(ClientSafeBrowsingReportRequest_Resource&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest_Resource& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest_Resource* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_Resource_default_instance_); } static constexpr int kIndexInFileMessages = 61; friend void swap(ClientSafeBrowsingReportRequest_Resource& a, ClientSafeBrowsingReportRequest_Resource& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest_Resource* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest_Resource* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest_Resource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest_Resource& from); void MergeFrom(const ClientSafeBrowsingReportRequest_Resource& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest_Resource* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest.Resource"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kChildIdsFieldNumber = 6, kUrlFieldNumber = 2, kTagNameFieldNumber = 7, kRequestFieldNumber = 3, kResponseFieldNumber = 4, kIdFieldNumber = 1, kParentIdFieldNumber = 5, }; // repeated int32 child_ids = 6; int child_ids_size() const; private: int _internal_child_ids_size() const; public: void clear_child_ids(); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_child_ids(int index) const; const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& _internal_child_ids() const; void _internal_add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value); ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* _internal_mutable_child_ids(); public: ::PROTOBUF_NAMESPACE_ID::int32 child_ids(int index) const; void set_child_ids(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); void add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value); const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& child_ids() const; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* mutable_child_ids(); // optional string url = 2; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional string tag_name = 7; bool has_tag_name() const; private: bool _internal_has_tag_name() const; public: void clear_tag_name(); const std::string& tag_name() const; void set_tag_name(const std::string& value); void set_tag_name(std::string&& value); void set_tag_name(const char* value); void set_tag_name(const char* value, size_t size); std::string* mutable_tag_name(); std::string* release_tag_name(); void set_allocated_tag_name(std::string* tag_name); private: const std::string& _internal_tag_name() const; void _internal_set_tag_name(const std::string& value); std::string* _internal_mutable_tag_name(); public: // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest request = 3; bool has_request() const; private: bool _internal_has_request() const; public: void clear_request(); const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& request() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* release_request(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* mutable_request(); void set_allocated_request(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& _internal_request() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* _internal_mutable_request(); public: // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse response = 4; bool has_response() const; private: bool _internal_has_response() const; public: void clear_response(); const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& response() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* release_response(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* mutable_response(); void set_allocated_response(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& _internal_response() const; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* _internal_mutable_response(); public: // required int32 id = 1; bool has_id() const; private: bool _internal_has_id() const; public: void clear_id(); ::PROTOBUF_NAMESPACE_ID::int32 id() const; void set_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const; void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional int32 parent_id = 5; bool has_parent_id() const; private: bool _internal_has_parent_id() const; public: void clear_parent_id(); ::PROTOBUF_NAMESPACE_ID::int32 parent_id() const; void set_parent_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_parent_id() const; void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.Resource) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > child_ids_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_name_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response_; ::PROTOBUF_NAMESPACE_ID::int32 id_; ::PROTOBUF_NAMESPACE_ID::int32 parent_id_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties) */ { public: ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties(); virtual ~ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties(); ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from); ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties&& from) noexcept : ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& operator=(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& operator=(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties_default_instance_); } static constexpr int kIndexInFileMessages = 62; friend void swap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& a, ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from); void MergeFrom(const ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kClientVersionFieldNumber = 1, kGooglePlayServicesVersionFieldNumber = 2, kIsInstantAppsFieldNumber = 3, kUrlApiTypeFieldNumber = 4, }; // optional string client_version = 1; bool has_client_version() const; private: bool _internal_has_client_version() const; public: void clear_client_version(); const std::string& client_version() const; void set_client_version(const std::string& value); void set_client_version(std::string&& value); void set_client_version(const char* value); void set_client_version(const char* value, size_t size); std::string* mutable_client_version(); std::string* release_client_version(); void set_allocated_client_version(std::string* client_version); private: const std::string& _internal_client_version() const; void _internal_set_client_version(const std::string& value); std::string* _internal_mutable_client_version(); public: // optional int64 google_play_services_version = 2; bool has_google_play_services_version() const; private: bool _internal_has_google_play_services_version() const; public: void clear_google_play_services_version(); ::PROTOBUF_NAMESPACE_ID::int64 google_play_services_version() const; void set_google_play_services_version(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_google_play_services_version() const; void _internal_set_google_play_services_version(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional bool is_instant_apps = 3; bool has_is_instant_apps() const; private: bool _internal_has_is_instant_apps() const; public: void clear_is_instant_apps(); bool is_instant_apps() const; void set_is_instant_apps(bool value); private: bool _internal_is_instant_apps() const; void _internal_set_is_instant_apps(bool value); public: // optional .safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingUrlApiType url_api_type = 4; bool has_url_api_type() const; private: bool _internal_has_url_api_type() const; public: void clear_url_api_type(); ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType url_api_type() const; void set_url_api_type(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value); private: ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType _internal_url_api_type() const; void _internal_set_url_api_type(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_version_; ::PROTOBUF_NAMESPACE_ID::int64 google_play_services_version_; bool is_instant_apps_; int url_api_type_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ClientSafeBrowsingReportRequest) */ { public: ClientSafeBrowsingReportRequest(); virtual ~ClientSafeBrowsingReportRequest(); ClientSafeBrowsingReportRequest(const ClientSafeBrowsingReportRequest& from); ClientSafeBrowsingReportRequest(ClientSafeBrowsingReportRequest&& from) noexcept : ClientSafeBrowsingReportRequest() { *this = ::std::move(from); } inline ClientSafeBrowsingReportRequest& operator=(const ClientSafeBrowsingReportRequest& from) { CopyFrom(from); return *this; } inline ClientSafeBrowsingReportRequest& operator=(ClientSafeBrowsingReportRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ClientSafeBrowsingReportRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ClientSafeBrowsingReportRequest* internal_default_instance() { return reinterpret_cast( &_ClientSafeBrowsingReportRequest_default_instance_); } static constexpr int kIndexInFileMessages = 63; friend void swap(ClientSafeBrowsingReportRequest& a, ClientSafeBrowsingReportRequest& b) { a.Swap(&b); } inline void Swap(ClientSafeBrowsingReportRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ClientSafeBrowsingReportRequest* New() const final { return CreateMaybeMessage(nullptr); } ClientSafeBrowsingReportRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ClientSafeBrowsingReportRequest& from); void MergeFrom(const ClientSafeBrowsingReportRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ClientSafeBrowsingReportRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ClientSafeBrowsingReportRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ClientSafeBrowsingReportRequest_HTTPHeader HTTPHeader; typedef ClientSafeBrowsingReportRequest_HTTPRequest HTTPRequest; typedef ClientSafeBrowsingReportRequest_HTTPResponse HTTPResponse; typedef ClientSafeBrowsingReportRequest_Resource Resource; typedef ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties SafeBrowsingClientProperties; typedef ClientSafeBrowsingReportRequest_ReportType ReportType; static constexpr ReportType UNKNOWN = ClientSafeBrowsingReportRequest_ReportType_UNKNOWN; static constexpr ReportType URL_PHISHING = ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING; static constexpr ReportType URL_MALWARE = ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE; static constexpr ReportType URL_UNWANTED = ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED; static constexpr ReportType URL_CLIENT_SIDE_PHISHING = ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_PHISHING; static constexpr ReportType URL_CLIENT_SIDE_MALWARE = ClientSafeBrowsingReportRequest_ReportType_URL_CLIENT_SIDE_MALWARE; static constexpr ReportType DANGEROUS_DOWNLOAD_RECOVERY = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY; static constexpr ReportType DANGEROUS_DOWNLOAD_WARNING = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING; static constexpr ReportType DANGEROUS_DOWNLOAD_BY_API = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API; static constexpr ReportType URL_PASSWORD_PROTECTION_PHISHING = ClientSafeBrowsingReportRequest_ReportType_URL_PASSWORD_PROTECTION_PHISHING; static constexpr ReportType DANGEROUS_DOWNLOAD_OPENED = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_OPENED; static constexpr ReportType AD_SAMPLE = ClientSafeBrowsingReportRequest_ReportType_AD_SAMPLE; static inline bool ReportType_IsValid(int value) { return ClientSafeBrowsingReportRequest_ReportType_IsValid(value); } static constexpr ReportType ReportType_MIN = ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN; static constexpr ReportType ReportType_MAX = ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX; static constexpr int ReportType_ARRAYSIZE = ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE; template static inline const std::string& ReportType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ReportType_Name."); return ClientSafeBrowsingReportRequest_ReportType_Name(enum_t_value); } static inline bool ReportType_Parse(const std::string& name, ReportType* value) { return ClientSafeBrowsingReportRequest_ReportType_Parse(name, value); } typedef ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType SafeBrowsingUrlApiType; static constexpr SafeBrowsingUrlApiType SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SAFE_BROWSING_URL_API_TYPE_UNSPECIFIED; static constexpr SafeBrowsingUrlApiType PVER3_NATIVE = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER3_NATIVE; static constexpr SafeBrowsingUrlApiType PVER4_NATIVE = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_PVER4_NATIVE; static constexpr SafeBrowsingUrlApiType ANDROID_SAFETYNET = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_ANDROID_SAFETYNET; static constexpr SafeBrowsingUrlApiType FLYWHEEL = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_FLYWHEEL; static inline bool SafeBrowsingUrlApiType_IsValid(int value) { return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_IsValid(value); } static constexpr SafeBrowsingUrlApiType SafeBrowsingUrlApiType_MIN = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MIN; static constexpr SafeBrowsingUrlApiType SafeBrowsingUrlApiType_MAX = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_MAX; static constexpr int SafeBrowsingUrlApiType_ARRAYSIZE = ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_SafeBrowsingUrlApiType_ARRAYSIZE; template static inline const std::string& SafeBrowsingUrlApiType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function SafeBrowsingUrlApiType_Name."); return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Name(enum_t_value); } static inline bool SafeBrowsingUrlApiType_Parse(const std::string& name, SafeBrowsingUrlApiType* value) { return ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kResourcesFieldNumber = 4, kClientAsnFieldNumber = 6, kDomFieldNumber = 16, kUrlFieldNumber = 1, kPageUrlFieldNumber = 2, kReferrerUrlFieldNumber = 3, kClientCountryFieldNumber = 7, kTokenFieldNumber = 15, kClientPropertiesFieldNumber = 17, kTypeFieldNumber = 10, kCompleteFieldNumber = 5, kDidProceedFieldNumber = 8, kRepeatVisitFieldNumber = 9, kShowDownloadInFolderFieldNumber = 18, kDownloadVerdictFieldNumber = 11, }; // repeated .safe_browsing.ClientSafeBrowsingReportRequest.Resource resources = 4; int resources_size() const; private: int _internal_resources_size() const; public: void clear_resources(); ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* mutable_resources(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >* mutable_resources(); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& _internal_resources(int index) const; ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* _internal_add_resources(); public: const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& resources(int index) const; ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* add_resources(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >& resources() const; // repeated string client_asn = 6; int client_asn_size() const; private: int _internal_client_asn_size() const; public: void clear_client_asn(); const std::string& client_asn(int index) const; std::string* mutable_client_asn(int index); void set_client_asn(int index, const std::string& value); void set_client_asn(int index, std::string&& value); void set_client_asn(int index, const char* value); void set_client_asn(int index, const char* value, size_t size); std::string* add_client_asn(); void add_client_asn(const std::string& value); void add_client_asn(std::string&& value); void add_client_asn(const char* value); void add_client_asn(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& client_asn() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_client_asn(); private: const std::string& _internal_client_asn(int index) const; std::string* _internal_add_client_asn(); public: // repeated .safe_browsing.HTMLElement dom = 16; int dom_size() const; private: int _internal_dom_size() const; public: void clear_dom(); ::safe_browsing::HTMLElement* mutable_dom(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement >* mutable_dom(); private: const ::safe_browsing::HTMLElement& _internal_dom(int index) const; ::safe_browsing::HTMLElement* _internal_add_dom(); public: const ::safe_browsing::HTMLElement& dom(int index) const; ::safe_browsing::HTMLElement* add_dom(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement >& dom() const; // optional string url = 1; bool has_url() const; private: bool _internal_has_url() const; public: void clear_url(); const std::string& url() const; void set_url(const std::string& value); void set_url(std::string&& value); void set_url(const char* value); void set_url(const char* value, size_t size); std::string* mutable_url(); std::string* release_url(); void set_allocated_url(std::string* url); private: const std::string& _internal_url() const; void _internal_set_url(const std::string& value); std::string* _internal_mutable_url(); public: // optional string page_url = 2; bool has_page_url() const; private: bool _internal_has_page_url() const; public: void clear_page_url(); const std::string& page_url() const; void set_page_url(const std::string& value); void set_page_url(std::string&& value); void set_page_url(const char* value); void set_page_url(const char* value, size_t size); std::string* mutable_page_url(); std::string* release_page_url(); void set_allocated_page_url(std::string* page_url); private: const std::string& _internal_page_url() const; void _internal_set_page_url(const std::string& value); std::string* _internal_mutable_page_url(); public: // optional string referrer_url = 3; bool has_referrer_url() const; private: bool _internal_has_referrer_url() const; public: void clear_referrer_url(); const std::string& referrer_url() const; void set_referrer_url(const std::string& value); void set_referrer_url(std::string&& value); void set_referrer_url(const char* value); void set_referrer_url(const char* value, size_t size); std::string* mutable_referrer_url(); std::string* release_referrer_url(); void set_allocated_referrer_url(std::string* referrer_url); private: const std::string& _internal_referrer_url() const; void _internal_set_referrer_url(const std::string& value); std::string* _internal_mutable_referrer_url(); public: // optional string client_country = 7; bool has_client_country() const; private: bool _internal_has_client_country() const; public: void clear_client_country(); const std::string& client_country() const; void set_client_country(const std::string& value); void set_client_country(std::string&& value); void set_client_country(const char* value); void set_client_country(const char* value, size_t size); std::string* mutable_client_country(); std::string* release_client_country(); void set_allocated_client_country(std::string* client_country); private: const std::string& _internal_client_country() const; void _internal_set_client_country(const std::string& value); std::string* _internal_mutable_client_country(); public: // optional bytes token = 15; bool has_token() const; private: bool _internal_has_token() const; public: void clear_token(); const std::string& token() const; void set_token(const std::string& value); void set_token(std::string&& value); void set_token(const char* value); void set_token(const void* value, size_t size); std::string* mutable_token(); std::string* release_token(); void set_allocated_token(std::string* token); private: const std::string& _internal_token() const; void _internal_set_token(const std::string& value); std::string* _internal_mutable_token(); public: // optional .safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties client_properties = 17; bool has_client_properties() const; private: bool _internal_has_client_properties() const; public: void clear_client_properties(); const ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& client_properties() const; ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* release_client_properties(); ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* mutable_client_properties(); void set_allocated_client_properties(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* client_properties); private: const ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& _internal_client_properties() const; ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* _internal_mutable_client_properties(); public: // optional .safe_browsing.ClientSafeBrowsingReportRequest.ReportType type = 10; bool has_type() const; private: bool _internal_has_type() const; public: void clear_type(); ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType type() const; void set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value); private: ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType _internal_type() const; void _internal_set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value); public: // optional bool complete = 5; bool has_complete() const; private: bool _internal_has_complete() const; public: void clear_complete(); bool complete() const; void set_complete(bool value); private: bool _internal_complete() const; void _internal_set_complete(bool value); public: // optional bool did_proceed = 8; bool has_did_proceed() const; private: bool _internal_has_did_proceed() const; public: void clear_did_proceed(); bool did_proceed() const; void set_did_proceed(bool value); private: bool _internal_did_proceed() const; void _internal_set_did_proceed(bool value); public: // optional bool repeat_visit = 9; bool has_repeat_visit() const; private: bool _internal_has_repeat_visit() const; public: void clear_repeat_visit(); bool repeat_visit() const; void set_repeat_visit(bool value); private: bool _internal_repeat_visit() const; void _internal_set_repeat_visit(bool value); public: // optional bool show_download_in_folder = 18; bool has_show_download_in_folder() const; private: bool _internal_has_show_download_in_folder() const; public: void clear_show_download_in_folder(); bool show_download_in_folder() const; void set_show_download_in_folder(bool value); private: bool _internal_show_download_in_folder() const; void _internal_set_show_download_in_folder(bool value); public: // optional .safe_browsing.ClientDownloadResponse.Verdict download_verdict = 11; bool has_download_verdict() const; private: bool _internal_has_download_verdict() const; public: void clear_download_verdict(); ::safe_browsing::ClientDownloadResponse_Verdict download_verdict() const; void set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value); private: ::safe_browsing::ClientDownloadResponse_Verdict _internal_download_verdict() const; void _internal_set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource > resources_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField client_asn_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement > dom_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr page_url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr referrer_url_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_country_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr token_; ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* client_properties_; int type_; bool complete_; bool did_proceed_; bool repeat_visit_; bool show_download_in_folder_; int download_verdict_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class HTMLElement_Attribute : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.HTMLElement.Attribute) */ { public: HTMLElement_Attribute(); virtual ~HTMLElement_Attribute(); HTMLElement_Attribute(const HTMLElement_Attribute& from); HTMLElement_Attribute(HTMLElement_Attribute&& from) noexcept : HTMLElement_Attribute() { *this = ::std::move(from); } inline HTMLElement_Attribute& operator=(const HTMLElement_Attribute& from) { CopyFrom(from); return *this; } inline HTMLElement_Attribute& operator=(HTMLElement_Attribute&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const HTMLElement_Attribute& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const HTMLElement_Attribute* internal_default_instance() { return reinterpret_cast( &_HTMLElement_Attribute_default_instance_); } static constexpr int kIndexInFileMessages = 64; friend void swap(HTMLElement_Attribute& a, HTMLElement_Attribute& b) { a.Swap(&b); } inline void Swap(HTMLElement_Attribute* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline HTMLElement_Attribute* New() const final { return CreateMaybeMessage(nullptr); } HTMLElement_Attribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const HTMLElement_Attribute& from); void MergeFrom(const HTMLElement_Attribute& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(HTMLElement_Attribute* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.HTMLElement.Attribute"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 1, kValueFieldNumber = 2, }; // optional string name = 1; bool has_name() const; private: bool _internal_has_name() const; public: void clear_name(); const std::string& name() const; void set_name(const std::string& value); void set_name(std::string&& value); void set_name(const char* value); void set_name(const char* value, size_t size); std::string* mutable_name(); std::string* release_name(); void set_allocated_name(std::string* name); private: const std::string& _internal_name() const; void _internal_set_name(const std::string& value); std::string* _internal_mutable_name(); public: // optional string value = 2; bool has_value() const; private: bool _internal_has_value() const; public: void clear_value(); const std::string& value() const; void set_value(const std::string& value); void set_value(std::string&& value); void set_value(const char* value); void set_value(const char* value, size_t size); std::string* mutable_value(); std::string* release_value(); void set_allocated_value(std::string* value); private: const std::string& _internal_value() const; void _internal_set_value(const std::string& value); std::string* _internal_mutable_value(); public: // @@protoc_insertion_point(class_scope:safe_browsing.HTMLElement.Attribute) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class HTMLElement : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.HTMLElement) */ { public: HTMLElement(); virtual ~HTMLElement(); HTMLElement(const HTMLElement& from); HTMLElement(HTMLElement&& from) noexcept : HTMLElement() { *this = ::std::move(from); } inline HTMLElement& operator=(const HTMLElement& from) { CopyFrom(from); return *this; } inline HTMLElement& operator=(HTMLElement&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const HTMLElement& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const HTMLElement* internal_default_instance() { return reinterpret_cast( &_HTMLElement_default_instance_); } static constexpr int kIndexInFileMessages = 65; friend void swap(HTMLElement& a, HTMLElement& b) { a.Swap(&b); } inline void Swap(HTMLElement* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline HTMLElement* New() const final { return CreateMaybeMessage(nullptr); } HTMLElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const HTMLElement& from); void MergeFrom(const HTMLElement& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(HTMLElement* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.HTMLElement"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef HTMLElement_Attribute Attribute; // accessors ------------------------------------------------------- enum : int { kChildIdsFieldNumber = 3, kAttributeFieldNumber = 6, kTagFieldNumber = 2, kIdFieldNumber = 1, kResourceIdFieldNumber = 5, }; // repeated int32 child_ids = 3; int child_ids_size() const; private: int _internal_child_ids_size() const; public: void clear_child_ids(); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_child_ids(int index) const; const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& _internal_child_ids() const; void _internal_add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value); ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* _internal_mutable_child_ids(); public: ::PROTOBUF_NAMESPACE_ID::int32 child_ids(int index) const; void set_child_ids(int index, ::PROTOBUF_NAMESPACE_ID::int32 value); void add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value); const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& child_ids() const; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* mutable_child_ids(); // repeated .safe_browsing.HTMLElement.Attribute attribute = 6; int attribute_size() const; private: int _internal_attribute_size() const; public: void clear_attribute(); ::safe_browsing::HTMLElement_Attribute* mutable_attribute(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute >* mutable_attribute(); private: const ::safe_browsing::HTMLElement_Attribute& _internal_attribute(int index) const; ::safe_browsing::HTMLElement_Attribute* _internal_add_attribute(); public: const ::safe_browsing::HTMLElement_Attribute& attribute(int index) const; ::safe_browsing::HTMLElement_Attribute* add_attribute(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute >& attribute() const; // optional string tag = 2; bool has_tag() const; private: bool _internal_has_tag() const; public: void clear_tag(); const std::string& tag() const; void set_tag(const std::string& value); void set_tag(std::string&& value); void set_tag(const char* value); void set_tag(const char* value, size_t size); std::string* mutable_tag(); std::string* release_tag(); void set_allocated_tag(std::string* tag); private: const std::string& _internal_tag() const; void _internal_set_tag(const std::string& value); std::string* _internal_mutable_tag(); public: // optional int32 id = 1; bool has_id() const; private: bool _internal_has_id() const; public: void clear_id(); ::PROTOBUF_NAMESPACE_ID::int32 id() const; void set_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const; void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional int32 resource_id = 5; bool has_resource_id() const; private: bool _internal_has_resource_id() const; public: void clear_resource_id(); ::PROTOBUF_NAMESPACE_ID::int32 resource_id() const; void set_resource_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_resource_id() const; void _internal_set_resource_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.HTMLElement) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > child_ids_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute > attribute_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_; ::PROTOBUF_NAMESPACE_ID::int32 id_; ::PROTOBUF_NAMESPACE_ID::int32 resource_id_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ImageData_Dimensions : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ImageData.Dimensions) */ { public: ImageData_Dimensions(); virtual ~ImageData_Dimensions(); ImageData_Dimensions(const ImageData_Dimensions& from); ImageData_Dimensions(ImageData_Dimensions&& from) noexcept : ImageData_Dimensions() { *this = ::std::move(from); } inline ImageData_Dimensions& operator=(const ImageData_Dimensions& from) { CopyFrom(from); return *this; } inline ImageData_Dimensions& operator=(ImageData_Dimensions&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ImageData_Dimensions& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ImageData_Dimensions* internal_default_instance() { return reinterpret_cast( &_ImageData_Dimensions_default_instance_); } static constexpr int kIndexInFileMessages = 66; friend void swap(ImageData_Dimensions& a, ImageData_Dimensions& b) { a.Swap(&b); } inline void Swap(ImageData_Dimensions* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ImageData_Dimensions* New() const final { return CreateMaybeMessage(nullptr); } ImageData_Dimensions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ImageData_Dimensions& from); void MergeFrom(const ImageData_Dimensions& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ImageData_Dimensions* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ImageData.Dimensions"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kWidthFieldNumber = 1, kHeightFieldNumber = 2, }; // optional int32 width = 1; bool has_width() const; private: bool _internal_has_width() const; public: void clear_width(); ::PROTOBUF_NAMESPACE_ID::int32 width() const; void set_width(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_width() const; void _internal_set_width(::PROTOBUF_NAMESPACE_ID::int32 value); public: // optional int32 height = 2; bool has_height() const; private: bool _internal_has_height() const; public: void clear_height(); ::PROTOBUF_NAMESPACE_ID::int32 height() const; void set_height(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_height() const; void _internal_set_height(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:safe_browsing.ImageData.Dimensions) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::int32 width_; ::PROTOBUF_NAMESPACE_ID::int32 height_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class ImageData : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.ImageData) */ { public: ImageData(); virtual ~ImageData(); ImageData(const ImageData& from); ImageData(ImageData&& from) noexcept : ImageData() { *this = ::std::move(from); } inline ImageData& operator=(const ImageData& from) { CopyFrom(from); return *this; } inline ImageData& operator=(ImageData&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const ImageData& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const ImageData* internal_default_instance() { return reinterpret_cast( &_ImageData_default_instance_); } static constexpr int kIndexInFileMessages = 67; friend void swap(ImageData& a, ImageData& b) { a.Swap(&b); } inline void Swap(ImageData* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline ImageData* New() const final { return CreateMaybeMessage(nullptr); } ImageData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ImageData& from); void MergeFrom(const ImageData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ImageData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.ImageData"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- typedef ImageData_Dimensions Dimensions; // accessors ------------------------------------------------------- enum : int { kDataFieldNumber = 1, kMimeTypeFieldNumber = 2, kDimensionsFieldNumber = 3, kOriginalDimensionsFieldNumber = 4, }; // optional bytes data = 1; bool has_data() const; private: bool _internal_has_data() const; public: void clear_data(); const std::string& data() const; void set_data(const std::string& value); void set_data(std::string&& value); void set_data(const char* value); void set_data(const void* value, size_t size); std::string* mutable_data(); std::string* release_data(); void set_allocated_data(std::string* data); private: const std::string& _internal_data() const; void _internal_set_data(const std::string& value); std::string* _internal_mutable_data(); public: // optional string mime_type = 2; bool has_mime_type() const; private: bool _internal_has_mime_type() const; public: void clear_mime_type(); const std::string& mime_type() const; void set_mime_type(const std::string& value); void set_mime_type(std::string&& value); void set_mime_type(const char* value); void set_mime_type(const char* value, size_t size); std::string* mutable_mime_type(); std::string* release_mime_type(); void set_allocated_mime_type(std::string* mime_type); private: const std::string& _internal_mime_type() const; void _internal_set_mime_type(const std::string& value); std::string* _internal_mutable_mime_type(); public: // optional .safe_browsing.ImageData.Dimensions dimensions = 3; bool has_dimensions() const; private: bool _internal_has_dimensions() const; public: void clear_dimensions(); const ::safe_browsing::ImageData_Dimensions& dimensions() const; ::safe_browsing::ImageData_Dimensions* release_dimensions(); ::safe_browsing::ImageData_Dimensions* mutable_dimensions(); void set_allocated_dimensions(::safe_browsing::ImageData_Dimensions* dimensions); private: const ::safe_browsing::ImageData_Dimensions& _internal_dimensions() const; ::safe_browsing::ImageData_Dimensions* _internal_mutable_dimensions(); public: // optional .safe_browsing.ImageData.Dimensions original_dimensions = 4; bool has_original_dimensions() const; private: bool _internal_has_original_dimensions() const; public: void clear_original_dimensions(); const ::safe_browsing::ImageData_Dimensions& original_dimensions() const; ::safe_browsing::ImageData_Dimensions* release_original_dimensions(); ::safe_browsing::ImageData_Dimensions* mutable_original_dimensions(); void set_allocated_original_dimensions(::safe_browsing::ImageData_Dimensions* original_dimensions); private: const ::safe_browsing::ImageData_Dimensions& _internal_original_dimensions() const; ::safe_browsing::ImageData_Dimensions* _internal_mutable_original_dimensions(); public: // @@protoc_insertion_point(class_scope:safe_browsing.ImageData) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mime_type_; ::safe_browsing::ImageData_Dimensions* dimensions_; ::safe_browsing::ImageData_Dimensions* original_dimensions_; friend struct ::TableStruct_csd_2eproto; }; // ------------------------------------------------------------------- class NotificationImageReportRequest : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.NotificationImageReportRequest) */ { public: NotificationImageReportRequest(); virtual ~NotificationImageReportRequest(); NotificationImageReportRequest(const NotificationImageReportRequest& from); NotificationImageReportRequest(NotificationImageReportRequest&& from) noexcept : NotificationImageReportRequest() { *this = ::std::move(from); } inline NotificationImageReportRequest& operator=(const NotificationImageReportRequest& from) { CopyFrom(from); return *this; } inline NotificationImageReportRequest& operator=(NotificationImageReportRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const std::string& unknown_fields() const { return _internal_metadata_.unknown_fields(); } inline std::string* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields(); } static const NotificationImageReportRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY static inline const NotificationImageReportRequest* internal_default_instance() { return reinterpret_cast( &_NotificationImageReportRequest_default_instance_); } static constexpr int kIndexInFileMessages = 68; friend void swap(NotificationImageReportRequest& a, NotificationImageReportRequest& b) { a.Swap(&b); } inline void Swap(NotificationImageReportRequest* other) { if (other == this) return; InternalSwap(other); } // implements Message ---------------------------------------------- inline NotificationImageReportRequest* New() const final { return CreateMaybeMessage(nullptr); } NotificationImageReportRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const NotificationImageReportRequest& from); void MergeFrom(const NotificationImageReportRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; void DiscardUnknownFields(); int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(NotificationImageReportRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "safe_browsing.NotificationImageReportRequest"; } private: inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { return nullptr; } inline void* MaybeArenaPtr() const { return nullptr; } public: std::string GetTypeName() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNotificationOriginFieldNumber = 1, kImageFieldNumber = 2, }; // optional string notification_origin = 1; bool has_notification_origin() const; private: bool _internal_has_notification_origin() const; public: void clear_notification_origin(); const std::string& notification_origin() const; void set_notification_origin(const std::string& value); void set_notification_origin(std::string&& value); void set_notification_origin(const char* value); void set_notification_origin(const char* value, size_t size); std::string* mutable_notification_origin(); std::string* release_notification_origin(); void set_allocated_notification_origin(std::string* notification_origin); private: const std::string& _internal_notification_origin() const; void _internal_set_notification_origin(const std::string& value); std::string* _internal_mutable_notification_origin(); public: // optional .safe_browsing.ImageData image = 2; bool has_image() const; private: bool _internal_has_image() const; public: void clear_image(); const ::safe_browsing::ImageData& image() const; ::safe_browsing::ImageData* release_image(); ::safe_browsing::ImageData* mutable_image(); void set_allocated_image(::safe_browsing::ImageData* image); private: const ::safe_browsing::ImageData& _internal_image() const; ::safe_browsing::ImageData* _internal_mutable_image(); public: // @@protoc_insertion_point(class_scope:safe_browsing.NotificationImageReportRequest) private: class _Internal; ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notification_origin_; ::safe_browsing::ImageData* image_; friend struct ::TableStruct_csd_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // ChromeUserPopulation // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1; inline bool ChromeUserPopulation::_internal_has_user_population() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ChromeUserPopulation::has_user_population() const { return _internal_has_user_population(); } inline void ChromeUserPopulation::clear_user_population() { user_population_ = 0; _has_bits_[0] &= ~0x00000001u; } inline ::safe_browsing::ChromeUserPopulation_UserPopulation ChromeUserPopulation::_internal_user_population() const { return static_cast< ::safe_browsing::ChromeUserPopulation_UserPopulation >(user_population_); } inline ::safe_browsing::ChromeUserPopulation_UserPopulation ChromeUserPopulation::user_population() const { // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.user_population) return _internal_user_population(); } inline void ChromeUserPopulation::_internal_set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value) { assert(::safe_browsing::ChromeUserPopulation_UserPopulation_IsValid(value)); _has_bits_[0] |= 0x00000001u; user_population_ = value; } inline void ChromeUserPopulation::set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value) { _internal_set_user_population(value); // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.user_population) } // optional bool is_history_sync_enabled = 2; inline bool ChromeUserPopulation::_internal_has_is_history_sync_enabled() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ChromeUserPopulation::has_is_history_sync_enabled() const { return _internal_has_is_history_sync_enabled(); } inline void ChromeUserPopulation::clear_is_history_sync_enabled() { is_history_sync_enabled_ = false; _has_bits_[0] &= ~0x00000002u; } inline bool ChromeUserPopulation::_internal_is_history_sync_enabled() const { return is_history_sync_enabled_; } inline bool ChromeUserPopulation::is_history_sync_enabled() const { // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.is_history_sync_enabled) return _internal_is_history_sync_enabled(); } inline void ChromeUserPopulation::_internal_set_is_history_sync_enabled(bool value) { _has_bits_[0] |= 0x00000002u; is_history_sync_enabled_ = value; } inline void ChromeUserPopulation::set_is_history_sync_enabled(bool value) { _internal_set_is_history_sync_enabled(value); // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.is_history_sync_enabled) } // repeated string finch_active_groups = 4; inline int ChromeUserPopulation::_internal_finch_active_groups_size() const { return finch_active_groups_.size(); } inline int ChromeUserPopulation::finch_active_groups_size() const { return _internal_finch_active_groups_size(); } inline void ChromeUserPopulation::clear_finch_active_groups() { finch_active_groups_.Clear(); } inline std::string* ChromeUserPopulation::add_finch_active_groups() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ChromeUserPopulation.finch_active_groups) return _internal_add_finch_active_groups(); } inline const std::string& ChromeUserPopulation::_internal_finch_active_groups(int index) const { return finch_active_groups_.Get(index); } inline const std::string& ChromeUserPopulation::finch_active_groups(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.finch_active_groups) return _internal_finch_active_groups(index); } inline std::string* ChromeUserPopulation::mutable_finch_active_groups(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ChromeUserPopulation.finch_active_groups) return finch_active_groups_.Mutable(index); } inline void ChromeUserPopulation::set_finch_active_groups(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.finch_active_groups) finch_active_groups_.Mutable(index)->assign(value); } inline void ChromeUserPopulation::set_finch_active_groups(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.finch_active_groups) finch_active_groups_.Mutable(index)->assign(std::move(value)); } inline void ChromeUserPopulation::set_finch_active_groups(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); finch_active_groups_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ChromeUserPopulation.finch_active_groups) } inline void ChromeUserPopulation::set_finch_active_groups(int index, const char* value, size_t size) { finch_active_groups_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ChromeUserPopulation.finch_active_groups) } inline std::string* ChromeUserPopulation::_internal_add_finch_active_groups() { return finch_active_groups_.Add(); } inline void ChromeUserPopulation::add_finch_active_groups(const std::string& value) { finch_active_groups_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ChromeUserPopulation.finch_active_groups) } inline void ChromeUserPopulation::add_finch_active_groups(std::string&& value) { finch_active_groups_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ChromeUserPopulation.finch_active_groups) } inline void ChromeUserPopulation::add_finch_active_groups(const char* value) { GOOGLE_DCHECK(value != nullptr); finch_active_groups_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ChromeUserPopulation.finch_active_groups) } inline void ChromeUserPopulation::add_finch_active_groups(const char* value, size_t size) { finch_active_groups_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ChromeUserPopulation.finch_active_groups) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ChromeUserPopulation::finch_active_groups() const { // @@protoc_insertion_point(field_list:safe_browsing.ChromeUserPopulation.finch_active_groups) return finch_active_groups_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ChromeUserPopulation::mutable_finch_active_groups() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ChromeUserPopulation.finch_active_groups) return &finch_active_groups_; } // ------------------------------------------------------------------- // ClientPhishingRequest_Feature // required string name = 1; inline bool ClientPhishingRequest_Feature::_internal_has_name() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientPhishingRequest_Feature::has_name() const { return _internal_has_name(); } inline void ClientPhishingRequest_Feature::clear_name() { name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientPhishingRequest_Feature::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.Feature.name) return _internal_name(); } inline void ClientPhishingRequest_Feature::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.Feature.name) } inline std::string* ClientPhishingRequest_Feature::mutable_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.Feature.name) return _internal_mutable_name(); } inline const std::string& ClientPhishingRequest_Feature::_internal_name() const { return name_.GetNoArena(); } inline void ClientPhishingRequest_Feature::_internal_set_name(const std::string& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientPhishingRequest_Feature::set_name(std::string&& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientPhishingRequest.Feature.name) } inline void ClientPhishingRequest_Feature::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.Feature.name) } inline void ClientPhishingRequest_Feature::set_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.Feature.name) } inline std::string* ClientPhishingRequest_Feature::_internal_mutable_name() { _has_bits_[0] |= 0x00000001u; return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientPhishingRequest_Feature::release_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientPhishingRequest.Feature.name) if (!_internal_has_name()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientPhishingRequest_Feature::set_allocated_name(std::string* name) { if (name != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.Feature.name) } // required double value = 2; inline bool ClientPhishingRequest_Feature::_internal_has_value() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientPhishingRequest_Feature::has_value() const { return _internal_has_value(); } inline void ClientPhishingRequest_Feature::clear_value() { value_ = 0; _has_bits_[0] &= ~0x00000002u; } inline double ClientPhishingRequest_Feature::_internal_value() const { return value_; } inline double ClientPhishingRequest_Feature::value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.Feature.value) return _internal_value(); } inline void ClientPhishingRequest_Feature::_internal_set_value(double value) { _has_bits_[0] |= 0x00000002u; value_ = value; } inline void ClientPhishingRequest_Feature::set_value(double value) { _internal_set_value(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.Feature.value) } // ------------------------------------------------------------------- // ClientPhishingRequest // optional string url = 1; inline bool ClientPhishingRequest::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientPhishingRequest::has_url() const { return _internal_has_url(); } inline void ClientPhishingRequest::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientPhishingRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.url) return _internal_url(); } inline void ClientPhishingRequest::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.url) } inline std::string* ClientPhishingRequest::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.url) return _internal_mutable_url(); } inline const std::string& ClientPhishingRequest::_internal_url() const { return url_.GetNoArena(); } inline void ClientPhishingRequest::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientPhishingRequest::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientPhishingRequest.url) } inline void ClientPhishingRequest::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.url) } inline void ClientPhishingRequest::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.url) } inline std::string* ClientPhishingRequest::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientPhishingRequest::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientPhishingRequest.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientPhishingRequest::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.url) } // optional bytes OBSOLETE_hash_prefix = 10; inline bool ClientPhishingRequest::_internal_has_obsolete_hash_prefix() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientPhishingRequest::has_obsolete_hash_prefix() const { return _internal_has_obsolete_hash_prefix(); } inline void ClientPhishingRequest::clear_obsolete_hash_prefix() { obsolete_hash_prefix_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientPhishingRequest::obsolete_hash_prefix() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) return _internal_obsolete_hash_prefix(); } inline void ClientPhishingRequest::set_obsolete_hash_prefix(const std::string& value) { _internal_set_obsolete_hash_prefix(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } inline std::string* ClientPhishingRequest::mutable_obsolete_hash_prefix() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) return _internal_mutable_obsolete_hash_prefix(); } inline const std::string& ClientPhishingRequest::_internal_obsolete_hash_prefix() const { return obsolete_hash_prefix_.GetNoArena(); } inline void ClientPhishingRequest::_internal_set_obsolete_hash_prefix(const std::string& value) { _has_bits_[0] |= 0x00000004u; obsolete_hash_prefix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientPhishingRequest::set_obsolete_hash_prefix(std::string&& value) { _has_bits_[0] |= 0x00000004u; obsolete_hash_prefix_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } inline void ClientPhishingRequest::set_obsolete_hash_prefix(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; obsolete_hash_prefix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } inline void ClientPhishingRequest::set_obsolete_hash_prefix(const void* value, size_t size) { _has_bits_[0] |= 0x00000004u; obsolete_hash_prefix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } inline std::string* ClientPhishingRequest::_internal_mutable_obsolete_hash_prefix() { _has_bits_[0] |= 0x00000004u; return obsolete_hash_prefix_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientPhishingRequest::release_obsolete_hash_prefix() { // @@protoc_insertion_point(field_release:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) if (!_internal_has_obsolete_hash_prefix()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return obsolete_hash_prefix_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientPhishingRequest::set_allocated_obsolete_hash_prefix(std::string* obsolete_hash_prefix) { if (obsolete_hash_prefix != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } obsolete_hash_prefix_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), obsolete_hash_prefix); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } // required float client_score = 2; inline bool ClientPhishingRequest::_internal_has_client_score() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool ClientPhishingRequest::has_client_score() const { return _internal_has_client_score(); } inline void ClientPhishingRequest::clear_client_score() { client_score_ = 0; _has_bits_[0] &= ~0x00000020u; } inline float ClientPhishingRequest::_internal_client_score() const { return client_score_; } inline float ClientPhishingRequest::client_score() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.client_score) return _internal_client_score(); } inline void ClientPhishingRequest::_internal_set_client_score(float value) { _has_bits_[0] |= 0x00000020u; client_score_ = value; } inline void ClientPhishingRequest::set_client_score(float value) { _internal_set_client_score(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.client_score) } // optional bool is_phishing = 4; inline bool ClientPhishingRequest::_internal_has_is_phishing() const { bool value = (_has_bits_[0] & 0x00000040u) != 0; return value; } inline bool ClientPhishingRequest::has_is_phishing() const { return _internal_has_is_phishing(); } inline void ClientPhishingRequest::clear_is_phishing() { is_phishing_ = false; _has_bits_[0] &= ~0x00000040u; } inline bool ClientPhishingRequest::_internal_is_phishing() const { return is_phishing_; } inline bool ClientPhishingRequest::is_phishing() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.is_phishing) return _internal_is_phishing(); } inline void ClientPhishingRequest::_internal_set_is_phishing(bool value) { _has_bits_[0] |= 0x00000040u; is_phishing_ = value; } inline void ClientPhishingRequest::set_is_phishing(bool value) { _internal_set_is_phishing(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.is_phishing) } // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5; inline int ClientPhishingRequest::_internal_feature_map_size() const { return feature_map_.size(); } inline int ClientPhishingRequest::feature_map_size() const { return _internal_feature_map_size(); } inline void ClientPhishingRequest::clear_feature_map() { feature_map_.Clear(); } inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::mutable_feature_map(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.feature_map) return feature_map_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >* ClientPhishingRequest::mutable_feature_map() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.feature_map) return &feature_map_; } inline const ::safe_browsing::ClientPhishingRequest_Feature& ClientPhishingRequest::_internal_feature_map(int index) const { return feature_map_.Get(index); } inline const ::safe_browsing::ClientPhishingRequest_Feature& ClientPhishingRequest::feature_map(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.feature_map) return _internal_feature_map(index); } inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::_internal_add_feature_map() { return feature_map_.Add(); } inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::add_feature_map() { // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.feature_map) return _internal_add_feature_map(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >& ClientPhishingRequest::feature_map() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.feature_map) return feature_map_; } // optional int32 model_version = 6; inline bool ClientPhishingRequest::_internal_has_model_version() const { bool value = (_has_bits_[0] & 0x00000080u) != 0; return value; } inline bool ClientPhishingRequest::has_model_version() const { return _internal_has_model_version(); } inline void ClientPhishingRequest::clear_model_version() { model_version_ = 0; _has_bits_[0] &= ~0x00000080u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientPhishingRequest::_internal_model_version() const { return model_version_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientPhishingRequest::model_version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.model_version) return _internal_model_version(); } inline void ClientPhishingRequest::_internal_set_model_version(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000080u; model_version_ = value; } inline void ClientPhishingRequest::set_model_version(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_model_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.model_version) } // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8; inline int ClientPhishingRequest::_internal_non_model_feature_map_size() const { return non_model_feature_map_.size(); } inline int ClientPhishingRequest::non_model_feature_map_size() const { return _internal_non_model_feature_map_size(); } inline void ClientPhishingRequest::clear_non_model_feature_map() { non_model_feature_map_.Clear(); } inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::mutable_non_model_feature_map(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.non_model_feature_map) return non_model_feature_map_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >* ClientPhishingRequest::mutable_non_model_feature_map() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.non_model_feature_map) return &non_model_feature_map_; } inline const ::safe_browsing::ClientPhishingRequest_Feature& ClientPhishingRequest::_internal_non_model_feature_map(int index) const { return non_model_feature_map_.Get(index); } inline const ::safe_browsing::ClientPhishingRequest_Feature& ClientPhishingRequest::non_model_feature_map(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.non_model_feature_map) return _internal_non_model_feature_map(index); } inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::_internal_add_non_model_feature_map() { return non_model_feature_map_.Add(); } inline ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::add_non_model_feature_map() { // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.non_model_feature_map) return _internal_add_non_model_feature_map(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >& ClientPhishingRequest::non_model_feature_map() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.non_model_feature_map) return non_model_feature_map_; } // optional string OBSOLETE_referrer_url = 9; inline bool ClientPhishingRequest::_internal_has_obsolete_referrer_url() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientPhishingRequest::has_obsolete_referrer_url() const { return _internal_has_obsolete_referrer_url(); } inline void ClientPhishingRequest::clear_obsolete_referrer_url() { obsolete_referrer_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientPhishingRequest::obsolete_referrer_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) return _internal_obsolete_referrer_url(); } inline void ClientPhishingRequest::set_obsolete_referrer_url(const std::string& value) { _internal_set_obsolete_referrer_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } inline std::string* ClientPhishingRequest::mutable_obsolete_referrer_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) return _internal_mutable_obsolete_referrer_url(); } inline const std::string& ClientPhishingRequest::_internal_obsolete_referrer_url() const { return obsolete_referrer_url_.GetNoArena(); } inline void ClientPhishingRequest::_internal_set_obsolete_referrer_url(const std::string& value) { _has_bits_[0] |= 0x00000002u; obsolete_referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientPhishingRequest::set_obsolete_referrer_url(std::string&& value) { _has_bits_[0] |= 0x00000002u; obsolete_referrer_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } inline void ClientPhishingRequest::set_obsolete_referrer_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; obsolete_referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } inline void ClientPhishingRequest::set_obsolete_referrer_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; obsolete_referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } inline std::string* ClientPhishingRequest::_internal_mutable_obsolete_referrer_url() { _has_bits_[0] |= 0x00000002u; return obsolete_referrer_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientPhishingRequest::release_obsolete_referrer_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) if (!_internal_has_obsolete_referrer_url()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return obsolete_referrer_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientPhishingRequest::set_allocated_obsolete_referrer_url(std::string* obsolete_referrer_url) { if (obsolete_referrer_url != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } obsolete_referrer_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), obsolete_referrer_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } // repeated uint32 shingle_hashes = 12 [packed = true]; inline int ClientPhishingRequest::_internal_shingle_hashes_size() const { return shingle_hashes_.size(); } inline int ClientPhishingRequest::shingle_hashes_size() const { return _internal_shingle_hashes_size(); } inline void ClientPhishingRequest::clear_shingle_hashes() { shingle_hashes_.Clear(); } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientPhishingRequest::_internal_shingle_hashes(int index) const { return shingle_hashes_.Get(index); } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientPhishingRequest::shingle_hashes(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.shingle_hashes) return _internal_shingle_hashes(index); } inline void ClientPhishingRequest::set_shingle_hashes(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { shingle_hashes_.Set(index, value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.shingle_hashes) } inline void ClientPhishingRequest::_internal_add_shingle_hashes(::PROTOBUF_NAMESPACE_ID::uint32 value) { shingle_hashes_.Add(value); } inline void ClientPhishingRequest::add_shingle_hashes(::PROTOBUF_NAMESPACE_ID::uint32 value) { _internal_add_shingle_hashes(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.shingle_hashes) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& ClientPhishingRequest::_internal_shingle_hashes() const { return shingle_hashes_; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& ClientPhishingRequest::shingle_hashes() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.shingle_hashes) return _internal_shingle_hashes(); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* ClientPhishingRequest::_internal_mutable_shingle_hashes() { return &shingle_hashes_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* ClientPhishingRequest::mutable_shingle_hashes() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.shingle_hashes) return _internal_mutable_shingle_hashes(); } // optional string model_filename = 13; inline bool ClientPhishingRequest::_internal_has_model_filename() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientPhishingRequest::has_model_filename() const { return _internal_has_model_filename(); } inline void ClientPhishingRequest::clear_model_filename() { model_filename_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& ClientPhishingRequest::model_filename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.model_filename) return _internal_model_filename(); } inline void ClientPhishingRequest::set_model_filename(const std::string& value) { _internal_set_model_filename(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.model_filename) } inline std::string* ClientPhishingRequest::mutable_model_filename() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.model_filename) return _internal_mutable_model_filename(); } inline const std::string& ClientPhishingRequest::_internal_model_filename() const { return model_filename_.GetNoArena(); } inline void ClientPhishingRequest::_internal_set_model_filename(const std::string& value) { _has_bits_[0] |= 0x00000008u; model_filename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientPhishingRequest::set_model_filename(std::string&& value) { _has_bits_[0] |= 0x00000008u; model_filename_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientPhishingRequest.model_filename) } inline void ClientPhishingRequest::set_model_filename(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; model_filename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.model_filename) } inline void ClientPhishingRequest::set_model_filename(const char* value, size_t size) { _has_bits_[0] |= 0x00000008u; model_filename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.model_filename) } inline std::string* ClientPhishingRequest::_internal_mutable_model_filename() { _has_bits_[0] |= 0x00000008u; return model_filename_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientPhishingRequest::release_model_filename() { // @@protoc_insertion_point(field_release:safe_browsing.ClientPhishingRequest.model_filename) if (!_internal_has_model_filename()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return model_filename_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientPhishingRequest::set_allocated_model_filename(std::string* model_filename) { if (model_filename != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } model_filename_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), model_filename); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.model_filename) } // optional .safe_browsing.ChromeUserPopulation population = 14; inline bool ClientPhishingRequest::_internal_has_population() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; PROTOBUF_ASSUME(!value || population_ != nullptr); return value; } inline bool ClientPhishingRequest::has_population() const { return _internal_has_population(); } inline void ClientPhishingRequest::clear_population() { if (population_ != nullptr) population_->Clear(); _has_bits_[0] &= ~0x00000010u; } inline const ::safe_browsing::ChromeUserPopulation& ClientPhishingRequest::_internal_population() const { const ::safe_browsing::ChromeUserPopulation* p = population_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ChromeUserPopulation_default_instance_); } inline const ::safe_browsing::ChromeUserPopulation& ClientPhishingRequest::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.population) return _internal_population(); } inline ::safe_browsing::ChromeUserPopulation* ClientPhishingRequest::release_population() { // @@protoc_insertion_point(field_release:safe_browsing.ClientPhishingRequest.population) _has_bits_[0] &= ~0x00000010u; ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = nullptr; return temp; } inline ::safe_browsing::ChromeUserPopulation* ClientPhishingRequest::_internal_mutable_population() { _has_bits_[0] |= 0x00000010u; if (population_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ChromeUserPopulation>(GetArenaNoVirtual()); population_ = p; } return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientPhishingRequest::mutable_population() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.population) return _internal_mutable_population(); } inline void ClientPhishingRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete population_; } if (population) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { population = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, population, submessage_arena); } _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } population_ = population; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.population) } // ------------------------------------------------------------------- // ClientPhishingResponse // required bool phishy = 1; inline bool ClientPhishingResponse::_internal_has_phishy() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientPhishingResponse::has_phishy() const { return _internal_has_phishy(); } inline void ClientPhishingResponse::clear_phishy() { phishy_ = false; _has_bits_[0] &= ~0x00000001u; } inline bool ClientPhishingResponse::_internal_phishy() const { return phishy_; } inline bool ClientPhishingResponse::phishy() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingResponse.phishy) return _internal_phishy(); } inline void ClientPhishingResponse::_internal_set_phishy(bool value) { _has_bits_[0] |= 0x00000001u; phishy_ = value; } inline void ClientPhishingResponse::set_phishy(bool value) { _internal_set_phishy(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingResponse.phishy) } // repeated string OBSOLETE_whitelist_expression = 2; inline int ClientPhishingResponse::_internal_obsolete_whitelist_expression_size() const { return obsolete_whitelist_expression_.size(); } inline int ClientPhishingResponse::obsolete_whitelist_expression_size() const { return _internal_obsolete_whitelist_expression_size(); } inline void ClientPhishingResponse::clear_obsolete_whitelist_expression() { obsolete_whitelist_expression_.Clear(); } inline std::string* ClientPhishingResponse::add_obsolete_whitelist_expression() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) return _internal_add_obsolete_whitelist_expression(); } inline const std::string& ClientPhishingResponse::_internal_obsolete_whitelist_expression(int index) const { return obsolete_whitelist_expression_.Get(index); } inline const std::string& ClientPhishingResponse::obsolete_whitelist_expression(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) return _internal_obsolete_whitelist_expression(index); } inline std::string* ClientPhishingResponse::mutable_obsolete_whitelist_expression(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) return obsolete_whitelist_expression_.Mutable(index); } inline void ClientPhishingResponse::set_obsolete_whitelist_expression(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) obsolete_whitelist_expression_.Mutable(index)->assign(value); } inline void ClientPhishingResponse::set_obsolete_whitelist_expression(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) obsolete_whitelist_expression_.Mutable(index)->assign(std::move(value)); } inline void ClientPhishingResponse::set_obsolete_whitelist_expression(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); obsolete_whitelist_expression_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) } inline void ClientPhishingResponse::set_obsolete_whitelist_expression(int index, const char* value, size_t size) { obsolete_whitelist_expression_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) } inline std::string* ClientPhishingResponse::_internal_add_obsolete_whitelist_expression() { return obsolete_whitelist_expression_.Add(); } inline void ClientPhishingResponse::add_obsolete_whitelist_expression(const std::string& value) { obsolete_whitelist_expression_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) } inline void ClientPhishingResponse::add_obsolete_whitelist_expression(std::string&& value) { obsolete_whitelist_expression_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) } inline void ClientPhishingResponse::add_obsolete_whitelist_expression(const char* value) { GOOGLE_DCHECK(value != nullptr); obsolete_whitelist_expression_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) } inline void ClientPhishingResponse::add_obsolete_whitelist_expression(const char* value, size_t size) { obsolete_whitelist_expression_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientPhishingResponse::obsolete_whitelist_expression() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) return obsolete_whitelist_expression_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientPhishingResponse::mutable_obsolete_whitelist_expression() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) return &obsolete_whitelist_expression_; } // ------------------------------------------------------------------- // ClientMalwareRequest_UrlInfo // required string ip = 1; inline bool ClientMalwareRequest_UrlInfo::_internal_has_ip() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientMalwareRequest_UrlInfo::has_ip() const { return _internal_has_ip(); } inline void ClientMalwareRequest_UrlInfo::clear_ip() { ip_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientMalwareRequest_UrlInfo::ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.ip) return _internal_ip(); } inline void ClientMalwareRequest_UrlInfo::set_ip(const std::string& value) { _internal_set_ip(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } inline std::string* ClientMalwareRequest_UrlInfo::mutable_ip() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.ip) return _internal_mutable_ip(); } inline const std::string& ClientMalwareRequest_UrlInfo::_internal_ip() const { return ip_.GetNoArena(); } inline void ClientMalwareRequest_UrlInfo::_internal_set_ip(const std::string& value) { _has_bits_[0] |= 0x00000001u; ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareRequest_UrlInfo::set_ip(std::string&& value) { _has_bits_[0] |= 0x00000001u; ip_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } inline void ClientMalwareRequest_UrlInfo::set_ip(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } inline void ClientMalwareRequest_UrlInfo::set_ip(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } inline std::string* ClientMalwareRequest_UrlInfo::_internal_mutable_ip() { _has_bits_[0] |= 0x00000001u; return ip_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareRequest_UrlInfo::release_ip() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareRequest.UrlInfo.ip) if (!_internal_has_ip()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return ip_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareRequest_UrlInfo::set_allocated_ip(std::string* ip) { if (ip != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } ip_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ip); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } // required string url = 2; inline bool ClientMalwareRequest_UrlInfo::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientMalwareRequest_UrlInfo::has_url() const { return _internal_has_url(); } inline void ClientMalwareRequest_UrlInfo::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientMalwareRequest_UrlInfo::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.url) return _internal_url(); } inline void ClientMalwareRequest_UrlInfo::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.url) } inline std::string* ClientMalwareRequest_UrlInfo::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.url) return _internal_mutable_url(); } inline const std::string& ClientMalwareRequest_UrlInfo::_internal_url() const { return url_.GetNoArena(); } inline void ClientMalwareRequest_UrlInfo::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000002u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareRequest_UrlInfo::set_url(std::string&& value) { _has_bits_[0] |= 0x00000002u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareRequest.UrlInfo.url) } inline void ClientMalwareRequest_UrlInfo::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.url) } inline void ClientMalwareRequest_UrlInfo::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.url) } inline std::string* ClientMalwareRequest_UrlInfo::_internal_mutable_url() { _has_bits_[0] |= 0x00000002u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareRequest_UrlInfo::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareRequest.UrlInfo.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareRequest_UrlInfo::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.url) } // optional string method = 3; inline bool ClientMalwareRequest_UrlInfo::_internal_has_method() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientMalwareRequest_UrlInfo::has_method() const { return _internal_has_method(); } inline void ClientMalwareRequest_UrlInfo::clear_method() { method_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientMalwareRequest_UrlInfo::method() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.method) return _internal_method(); } inline void ClientMalwareRequest_UrlInfo::set_method(const std::string& value) { _internal_set_method(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.method) } inline std::string* ClientMalwareRequest_UrlInfo::mutable_method() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.method) return _internal_mutable_method(); } inline const std::string& ClientMalwareRequest_UrlInfo::_internal_method() const { return method_.GetNoArena(); } inline void ClientMalwareRequest_UrlInfo::_internal_set_method(const std::string& value) { _has_bits_[0] |= 0x00000004u; method_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareRequest_UrlInfo::set_method(std::string&& value) { _has_bits_[0] |= 0x00000004u; method_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareRequest.UrlInfo.method) } inline void ClientMalwareRequest_UrlInfo::set_method(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; method_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.method) } inline void ClientMalwareRequest_UrlInfo::set_method(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; method_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.method) } inline std::string* ClientMalwareRequest_UrlInfo::_internal_mutable_method() { _has_bits_[0] |= 0x00000004u; return method_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareRequest_UrlInfo::release_method() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareRequest.UrlInfo.method) if (!_internal_has_method()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return method_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareRequest_UrlInfo::set_allocated_method(std::string* method) { if (method != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } method_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), method); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.method) } // optional string referrer = 4; inline bool ClientMalwareRequest_UrlInfo::_internal_has_referrer() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientMalwareRequest_UrlInfo::has_referrer() const { return _internal_has_referrer(); } inline void ClientMalwareRequest_UrlInfo::clear_referrer() { referrer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& ClientMalwareRequest_UrlInfo::referrer() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) return _internal_referrer(); } inline void ClientMalwareRequest_UrlInfo::set_referrer(const std::string& value) { _internal_set_referrer(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } inline std::string* ClientMalwareRequest_UrlInfo::mutable_referrer() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) return _internal_mutable_referrer(); } inline const std::string& ClientMalwareRequest_UrlInfo::_internal_referrer() const { return referrer_.GetNoArena(); } inline void ClientMalwareRequest_UrlInfo::_internal_set_referrer(const std::string& value) { _has_bits_[0] |= 0x00000008u; referrer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareRequest_UrlInfo::set_referrer(std::string&& value) { _has_bits_[0] |= 0x00000008u; referrer_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } inline void ClientMalwareRequest_UrlInfo::set_referrer(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; referrer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } inline void ClientMalwareRequest_UrlInfo::set_referrer(const char* value, size_t size) { _has_bits_[0] |= 0x00000008u; referrer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } inline std::string* ClientMalwareRequest_UrlInfo::_internal_mutable_referrer() { _has_bits_[0] |= 0x00000008u; return referrer_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareRequest_UrlInfo::release_referrer() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) if (!_internal_has_referrer()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return referrer_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareRequest_UrlInfo::set_allocated_referrer(std::string* referrer) { if (referrer != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } referrer_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), referrer); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } // optional int32 resource_type = 5; inline bool ClientMalwareRequest_UrlInfo::_internal_has_resource_type() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientMalwareRequest_UrlInfo::has_resource_type() const { return _internal_has_resource_type(); } inline void ClientMalwareRequest_UrlInfo::clear_resource_type() { resource_type_ = 0; _has_bits_[0] &= ~0x00000010u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientMalwareRequest_UrlInfo::_internal_resource_type() const { return resource_type_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientMalwareRequest_UrlInfo::resource_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.resource_type) return _internal_resource_type(); } inline void ClientMalwareRequest_UrlInfo::_internal_set_resource_type(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000010u; resource_type_ = value; } inline void ClientMalwareRequest_UrlInfo::set_resource_type(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_resource_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.resource_type) } // ------------------------------------------------------------------- // ClientMalwareRequest // required string url = 1; inline bool ClientMalwareRequest::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientMalwareRequest::has_url() const { return _internal_has_url(); } inline void ClientMalwareRequest::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientMalwareRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.url) return _internal_url(); } inline void ClientMalwareRequest::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.url) } inline std::string* ClientMalwareRequest::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.url) return _internal_mutable_url(); } inline const std::string& ClientMalwareRequest::_internal_url() const { return url_.GetNoArena(); } inline void ClientMalwareRequest::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareRequest::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareRequest.url) } inline void ClientMalwareRequest::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.url) } inline void ClientMalwareRequest::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.url) } inline std::string* ClientMalwareRequest::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareRequest::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareRequest.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareRequest::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.url) } // optional string referrer_url = 4; inline bool ClientMalwareRequest::_internal_has_referrer_url() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientMalwareRequest::has_referrer_url() const { return _internal_has_referrer_url(); } inline void ClientMalwareRequest::clear_referrer_url() { referrer_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientMalwareRequest::referrer_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.referrer_url) return _internal_referrer_url(); } inline void ClientMalwareRequest::set_referrer_url(const std::string& value) { _internal_set_referrer_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.referrer_url) } inline std::string* ClientMalwareRequest::mutable_referrer_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.referrer_url) return _internal_mutable_referrer_url(); } inline const std::string& ClientMalwareRequest::_internal_referrer_url() const { return referrer_url_.GetNoArena(); } inline void ClientMalwareRequest::_internal_set_referrer_url(const std::string& value) { _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareRequest::set_referrer_url(std::string&& value) { _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareRequest.referrer_url) } inline void ClientMalwareRequest::set_referrer_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.referrer_url) } inline void ClientMalwareRequest::set_referrer_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.referrer_url) } inline std::string* ClientMalwareRequest::_internal_mutable_referrer_url() { _has_bits_[0] |= 0x00000002u; return referrer_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareRequest::release_referrer_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareRequest.referrer_url) if (!_internal_has_referrer_url()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return referrer_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareRequest::set_allocated_referrer_url(std::string* referrer_url) { if (referrer_url != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } referrer_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), referrer_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.referrer_url) } // repeated .safe_browsing.ClientMalwareRequest.UrlInfo bad_ip_url_info = 7; inline int ClientMalwareRequest::_internal_bad_ip_url_info_size() const { return bad_ip_url_info_.size(); } inline int ClientMalwareRequest::bad_ip_url_info_size() const { return _internal_bad_ip_url_info_size(); } inline void ClientMalwareRequest::clear_bad_ip_url_info() { bad_ip_url_info_.Clear(); } inline ::safe_browsing::ClientMalwareRequest_UrlInfo* ClientMalwareRequest::mutable_bad_ip_url_info(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.bad_ip_url_info) return bad_ip_url_info_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >* ClientMalwareRequest::mutable_bad_ip_url_info() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientMalwareRequest.bad_ip_url_info) return &bad_ip_url_info_; } inline const ::safe_browsing::ClientMalwareRequest_UrlInfo& ClientMalwareRequest::_internal_bad_ip_url_info(int index) const { return bad_ip_url_info_.Get(index); } inline const ::safe_browsing::ClientMalwareRequest_UrlInfo& ClientMalwareRequest::bad_ip_url_info(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.bad_ip_url_info) return _internal_bad_ip_url_info(index); } inline ::safe_browsing::ClientMalwareRequest_UrlInfo* ClientMalwareRequest::_internal_add_bad_ip_url_info() { return bad_ip_url_info_.Add(); } inline ::safe_browsing::ClientMalwareRequest_UrlInfo* ClientMalwareRequest::add_bad_ip_url_info() { // @@protoc_insertion_point(field_add:safe_browsing.ClientMalwareRequest.bad_ip_url_info) return _internal_add_bad_ip_url_info(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >& ClientMalwareRequest::bad_ip_url_info() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientMalwareRequest.bad_ip_url_info) return bad_ip_url_info_; } // optional .safe_browsing.ChromeUserPopulation population = 9; inline bool ClientMalwareRequest::_internal_has_population() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || population_ != nullptr); return value; } inline bool ClientMalwareRequest::has_population() const { return _internal_has_population(); } inline void ClientMalwareRequest::clear_population() { if (population_ != nullptr) population_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ChromeUserPopulation& ClientMalwareRequest::_internal_population() const { const ::safe_browsing::ChromeUserPopulation* p = population_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ChromeUserPopulation_default_instance_); } inline const ::safe_browsing::ChromeUserPopulation& ClientMalwareRequest::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.population) return _internal_population(); } inline ::safe_browsing::ChromeUserPopulation* ClientMalwareRequest::release_population() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareRequest.population) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = nullptr; return temp; } inline ::safe_browsing::ChromeUserPopulation* ClientMalwareRequest::_internal_mutable_population() { _has_bits_[0] |= 0x00000004u; if (population_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ChromeUserPopulation>(GetArenaNoVirtual()); population_ = p; } return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientMalwareRequest::mutable_population() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.population) return _internal_mutable_population(); } inline void ClientMalwareRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete population_; } if (population) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { population = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, population, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } population_ = population; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.population) } // ------------------------------------------------------------------- // LoginReputationClientRequest_Frame_Form // optional string action_url = 1; inline bool LoginReputationClientRequest_Frame_Form::_internal_has_action_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool LoginReputationClientRequest_Frame_Form::has_action_url() const { return _internal_has_action_url(); } inline void LoginReputationClientRequest_Frame_Form::clear_action_url() { action_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& LoginReputationClientRequest_Frame_Form::action_url() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) return _internal_action_url(); } inline void LoginReputationClientRequest_Frame_Form::set_action_url(const std::string& value) { _internal_set_action_url(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) } inline std::string* LoginReputationClientRequest_Frame_Form::mutable_action_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) return _internal_mutable_action_url(); } inline const std::string& LoginReputationClientRequest_Frame_Form::_internal_action_url() const { return action_url_.GetNoArena(); } inline void LoginReputationClientRequest_Frame_Form::_internal_set_action_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; action_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void LoginReputationClientRequest_Frame_Form::set_action_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; action_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) } inline void LoginReputationClientRequest_Frame_Form::set_action_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; action_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) } inline void LoginReputationClientRequest_Frame_Form::set_action_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; action_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) } inline std::string* LoginReputationClientRequest_Frame_Form::_internal_mutable_action_url() { _has_bits_[0] |= 0x00000001u; return action_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* LoginReputationClientRequest_Frame_Form::release_action_url() { // @@protoc_insertion_point(field_release:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) if (!_internal_has_action_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return action_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void LoginReputationClientRequest_Frame_Form::set_allocated_action_url(std::string* action_url) { if (action_url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } action_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), action_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.LoginReputationClientRequest.Frame.Form.action_url) } // optional bool has_password_field = 2; inline bool LoginReputationClientRequest_Frame_Form::_internal_has_has_password_field() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool LoginReputationClientRequest_Frame_Form::has_has_password_field() const { return _internal_has_has_password_field(); } inline void LoginReputationClientRequest_Frame_Form::clear_has_password_field() { has_password_field_ = false; _has_bits_[0] &= ~0x00000002u; } inline bool LoginReputationClientRequest_Frame_Form::_internal_has_password_field() const { return has_password_field_; } inline bool LoginReputationClientRequest_Frame_Form::has_password_field() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.Form.has_password_field) return _internal_has_password_field(); } inline void LoginReputationClientRequest_Frame_Form::_internal_set_has_password_field(bool value) { _has_bits_[0] |= 0x00000002u; has_password_field_ = value; } inline void LoginReputationClientRequest_Frame_Form::set_has_password_field(bool value) { _internal_set_has_password_field(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.Frame.Form.has_password_field) } // ------------------------------------------------------------------- // LoginReputationClientRequest_Frame // optional int32 frame_index = 1; inline bool LoginReputationClientRequest_Frame::_internal_has_frame_index() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool LoginReputationClientRequest_Frame::has_frame_index() const { return _internal_has_frame_index(); } inline void LoginReputationClientRequest_Frame::clear_frame_index() { frame_index_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest_Frame::_internal_frame_index() const { return frame_index_; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest_Frame::frame_index() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.frame_index) return _internal_frame_index(); } inline void LoginReputationClientRequest_Frame::_internal_set_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000002u; frame_index_ = value; } inline void LoginReputationClientRequest_Frame::set_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_frame_index(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.Frame.frame_index) } // optional int32 parent_frame_index = 2; inline bool LoginReputationClientRequest_Frame::_internal_has_parent_frame_index() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool LoginReputationClientRequest_Frame::has_parent_frame_index() const { return _internal_has_parent_frame_index(); } inline void LoginReputationClientRequest_Frame::clear_parent_frame_index() { parent_frame_index_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest_Frame::_internal_parent_frame_index() const { return parent_frame_index_; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest_Frame::parent_frame_index() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.parent_frame_index) return _internal_parent_frame_index(); } inline void LoginReputationClientRequest_Frame::_internal_set_parent_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000004u; parent_frame_index_ = value; } inline void LoginReputationClientRequest_Frame::set_parent_frame_index(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_parent_frame_index(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.Frame.parent_frame_index) } // optional string url = 3; inline bool LoginReputationClientRequest_Frame::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool LoginReputationClientRequest_Frame::has_url() const { return _internal_has_url(); } inline void LoginReputationClientRequest_Frame::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& LoginReputationClientRequest_Frame::url() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.url) return _internal_url(); } inline void LoginReputationClientRequest_Frame::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.Frame.url) } inline std::string* LoginReputationClientRequest_Frame::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.Frame.url) return _internal_mutable_url(); } inline const std::string& LoginReputationClientRequest_Frame::_internal_url() const { return url_.GetNoArena(); } inline void LoginReputationClientRequest_Frame::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void LoginReputationClientRequest_Frame::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.LoginReputationClientRequest.Frame.url) } inline void LoginReputationClientRequest_Frame::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.LoginReputationClientRequest.Frame.url) } inline void LoginReputationClientRequest_Frame::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.LoginReputationClientRequest.Frame.url) } inline std::string* LoginReputationClientRequest_Frame::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* LoginReputationClientRequest_Frame::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.LoginReputationClientRequest.Frame.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void LoginReputationClientRequest_Frame::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.LoginReputationClientRequest.Frame.url) } // optional bool has_password_field = 4; inline bool LoginReputationClientRequest_Frame::_internal_has_has_password_field() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool LoginReputationClientRequest_Frame::has_has_password_field() const { return _internal_has_has_password_field(); } inline void LoginReputationClientRequest_Frame::clear_has_password_field() { has_password_field_ = false; _has_bits_[0] &= ~0x00000008u; } inline bool LoginReputationClientRequest_Frame::_internal_has_password_field() const { return has_password_field_; } inline bool LoginReputationClientRequest_Frame::has_password_field() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.has_password_field) return _internal_has_password_field(); } inline void LoginReputationClientRequest_Frame::_internal_set_has_password_field(bool value) { _has_bits_[0] |= 0x00000008u; has_password_field_ = value; } inline void LoginReputationClientRequest_Frame::set_has_password_field(bool value) { _internal_set_has_password_field(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.Frame.has_password_field) } // repeated .safe_browsing.ReferrerChainEntry referrer_chain = 5; inline int LoginReputationClientRequest_Frame::_internal_referrer_chain_size() const { return referrer_chain_.size(); } inline int LoginReputationClientRequest_Frame::referrer_chain_size() const { return _internal_referrer_chain_size(); } inline void LoginReputationClientRequest_Frame::clear_referrer_chain() { referrer_chain_.Clear(); } inline ::safe_browsing::ReferrerChainEntry* LoginReputationClientRequest_Frame::mutable_referrer_chain(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.Frame.referrer_chain) return referrer_chain_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >* LoginReputationClientRequest_Frame::mutable_referrer_chain() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.LoginReputationClientRequest.Frame.referrer_chain) return &referrer_chain_; } inline const ::safe_browsing::ReferrerChainEntry& LoginReputationClientRequest_Frame::_internal_referrer_chain(int index) const { return referrer_chain_.Get(index); } inline const ::safe_browsing::ReferrerChainEntry& LoginReputationClientRequest_Frame::referrer_chain(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.referrer_chain) return _internal_referrer_chain(index); } inline ::safe_browsing::ReferrerChainEntry* LoginReputationClientRequest_Frame::_internal_add_referrer_chain() { return referrer_chain_.Add(); } inline ::safe_browsing::ReferrerChainEntry* LoginReputationClientRequest_Frame::add_referrer_chain() { // @@protoc_insertion_point(field_add:safe_browsing.LoginReputationClientRequest.Frame.referrer_chain) return _internal_add_referrer_chain(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >& LoginReputationClientRequest_Frame::referrer_chain() const { // @@protoc_insertion_point(field_list:safe_browsing.LoginReputationClientRequest.Frame.referrer_chain) return referrer_chain_; } // repeated .safe_browsing.LoginReputationClientRequest.Frame.Form forms = 6; inline int LoginReputationClientRequest_Frame::_internal_forms_size() const { return forms_.size(); } inline int LoginReputationClientRequest_Frame::forms_size() const { return _internal_forms_size(); } inline void LoginReputationClientRequest_Frame::clear_forms() { forms_.Clear(); } inline ::safe_browsing::LoginReputationClientRequest_Frame_Form* LoginReputationClientRequest_Frame::mutable_forms(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.Frame.forms) return forms_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form >* LoginReputationClientRequest_Frame::mutable_forms() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.LoginReputationClientRequest.Frame.forms) return &forms_; } inline const ::safe_browsing::LoginReputationClientRequest_Frame_Form& LoginReputationClientRequest_Frame::_internal_forms(int index) const { return forms_.Get(index); } inline const ::safe_browsing::LoginReputationClientRequest_Frame_Form& LoginReputationClientRequest_Frame::forms(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.Frame.forms) return _internal_forms(index); } inline ::safe_browsing::LoginReputationClientRequest_Frame_Form* LoginReputationClientRequest_Frame::_internal_add_forms() { return forms_.Add(); } inline ::safe_browsing::LoginReputationClientRequest_Frame_Form* LoginReputationClientRequest_Frame::add_forms() { // @@protoc_insertion_point(field_add:safe_browsing.LoginReputationClientRequest.Frame.forms) return _internal_add_forms(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame_Form >& LoginReputationClientRequest_Frame::forms() const { // @@protoc_insertion_point(field_list:safe_browsing.LoginReputationClientRequest.Frame.forms) return forms_; } // ------------------------------------------------------------------- // LoginReputationClientRequest_PasswordReuseEvent // repeated string domains_matching_password = 1; inline int LoginReputationClientRequest_PasswordReuseEvent::_internal_domains_matching_password_size() const { return domains_matching_password_.size(); } inline int LoginReputationClientRequest_PasswordReuseEvent::domains_matching_password_size() const { return _internal_domains_matching_password_size(); } inline void LoginReputationClientRequest_PasswordReuseEvent::clear_domains_matching_password() { domains_matching_password_.Clear(); } inline std::string* LoginReputationClientRequest_PasswordReuseEvent::add_domains_matching_password() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) return _internal_add_domains_matching_password(); } inline const std::string& LoginReputationClientRequest_PasswordReuseEvent::_internal_domains_matching_password(int index) const { return domains_matching_password_.Get(index); } inline const std::string& LoginReputationClientRequest_PasswordReuseEvent::domains_matching_password(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) return _internal_domains_matching_password(index); } inline std::string* LoginReputationClientRequest_PasswordReuseEvent::mutable_domains_matching_password(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) return domains_matching_password_.Mutable(index); } inline void LoginReputationClientRequest_PasswordReuseEvent::set_domains_matching_password(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) domains_matching_password_.Mutable(index)->assign(value); } inline void LoginReputationClientRequest_PasswordReuseEvent::set_domains_matching_password(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) domains_matching_password_.Mutable(index)->assign(std::move(value)); } inline void LoginReputationClientRequest_PasswordReuseEvent::set_domains_matching_password(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); domains_matching_password_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) } inline void LoginReputationClientRequest_PasswordReuseEvent::set_domains_matching_password(int index, const char* value, size_t size) { domains_matching_password_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) } inline std::string* LoginReputationClientRequest_PasswordReuseEvent::_internal_add_domains_matching_password() { return domains_matching_password_.Add(); } inline void LoginReputationClientRequest_PasswordReuseEvent::add_domains_matching_password(const std::string& value) { domains_matching_password_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) } inline void LoginReputationClientRequest_PasswordReuseEvent::add_domains_matching_password(std::string&& value) { domains_matching_password_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) } inline void LoginReputationClientRequest_PasswordReuseEvent::add_domains_matching_password(const char* value) { GOOGLE_DCHECK(value != nullptr); domains_matching_password_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) } inline void LoginReputationClientRequest_PasswordReuseEvent::add_domains_matching_password(const char* value, size_t size) { domains_matching_password_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& LoginReputationClientRequest_PasswordReuseEvent::domains_matching_password() const { // @@protoc_insertion_point(field_list:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) return domains_matching_password_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* LoginReputationClientRequest_PasswordReuseEvent::mutable_domains_matching_password() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.domains_matching_password) return &domains_matching_password_; } // optional int32 frame_id = 2; inline bool LoginReputationClientRequest_PasswordReuseEvent::_internal_has_frame_id() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool LoginReputationClientRequest_PasswordReuseEvent::has_frame_id() const { return _internal_has_frame_id(); } inline void LoginReputationClientRequest_PasswordReuseEvent::clear_frame_id() { frame_id_ = 0; _has_bits_[0] &= ~0x00000001u; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest_PasswordReuseEvent::_internal_frame_id() const { return frame_id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest_PasswordReuseEvent::frame_id() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.frame_id) return _internal_frame_id(); } inline void LoginReputationClientRequest_PasswordReuseEvent::_internal_set_frame_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000001u; frame_id_ = value; } inline void LoginReputationClientRequest_PasswordReuseEvent::set_frame_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_frame_id(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.frame_id) } // optional bool is_chrome_signin_password = 3; inline bool LoginReputationClientRequest_PasswordReuseEvent::_internal_has_is_chrome_signin_password() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool LoginReputationClientRequest_PasswordReuseEvent::has_is_chrome_signin_password() const { return _internal_has_is_chrome_signin_password(); } inline void LoginReputationClientRequest_PasswordReuseEvent::clear_is_chrome_signin_password() { is_chrome_signin_password_ = false; _has_bits_[0] &= ~0x00000002u; } inline bool LoginReputationClientRequest_PasswordReuseEvent::_internal_is_chrome_signin_password() const { return is_chrome_signin_password_; } inline bool LoginReputationClientRequest_PasswordReuseEvent::is_chrome_signin_password() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.is_chrome_signin_password) return _internal_is_chrome_signin_password(); } inline void LoginReputationClientRequest_PasswordReuseEvent::_internal_set_is_chrome_signin_password(bool value) { _has_bits_[0] |= 0x00000002u; is_chrome_signin_password_ = value; } inline void LoginReputationClientRequest_PasswordReuseEvent::set_is_chrome_signin_password(bool value) { _internal_set_is_chrome_signin_password(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.is_chrome_signin_password) } // optional .safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.SyncAccountType sync_account_type = 4; inline bool LoginReputationClientRequest_PasswordReuseEvent::_internal_has_sync_account_type() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool LoginReputationClientRequest_PasswordReuseEvent::has_sync_account_type() const { return _internal_has_sync_account_type(); } inline void LoginReputationClientRequest_PasswordReuseEvent::clear_sync_account_type() { sync_account_type_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType LoginReputationClientRequest_PasswordReuseEvent::_internal_sync_account_type() const { return static_cast< ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType >(sync_account_type_); } inline ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType LoginReputationClientRequest_PasswordReuseEvent::sync_account_type() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.sync_account_type) return _internal_sync_account_type(); } inline void LoginReputationClientRequest_PasswordReuseEvent::_internal_set_sync_account_type(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value) { assert(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType_IsValid(value)); _has_bits_[0] |= 0x00000004u; sync_account_type_ = value; } inline void LoginReputationClientRequest_PasswordReuseEvent::set_sync_account_type(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType value) { _internal_set_sync_account_type(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.PasswordReuseEvent.sync_account_type) } // ------------------------------------------------------------------- // LoginReputationClientRequest // optional string page_url = 1; inline bool LoginReputationClientRequest::_internal_has_page_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool LoginReputationClientRequest::has_page_url() const { return _internal_has_page_url(); } inline void LoginReputationClientRequest::clear_page_url() { page_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& LoginReputationClientRequest::page_url() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.page_url) return _internal_page_url(); } inline void LoginReputationClientRequest::set_page_url(const std::string& value) { _internal_set_page_url(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.page_url) } inline std::string* LoginReputationClientRequest::mutable_page_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.page_url) return _internal_mutable_page_url(); } inline const std::string& LoginReputationClientRequest::_internal_page_url() const { return page_url_.GetNoArena(); } inline void LoginReputationClientRequest::_internal_set_page_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; page_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void LoginReputationClientRequest::set_page_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; page_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.LoginReputationClientRequest.page_url) } inline void LoginReputationClientRequest::set_page_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; page_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.LoginReputationClientRequest.page_url) } inline void LoginReputationClientRequest::set_page_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; page_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.LoginReputationClientRequest.page_url) } inline std::string* LoginReputationClientRequest::_internal_mutable_page_url() { _has_bits_[0] |= 0x00000001u; return page_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* LoginReputationClientRequest::release_page_url() { // @@protoc_insertion_point(field_release:safe_browsing.LoginReputationClientRequest.page_url) if (!_internal_has_page_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return page_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void LoginReputationClientRequest::set_allocated_page_url(std::string* page_url) { if (page_url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } page_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), page_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.LoginReputationClientRequest.page_url) } // optional .safe_browsing.LoginReputationClientRequest.TriggerType trigger_type = 2; inline bool LoginReputationClientRequest::_internal_has_trigger_type() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool LoginReputationClientRequest::has_trigger_type() const { return _internal_has_trigger_type(); } inline void LoginReputationClientRequest::clear_trigger_type() { trigger_type_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::safe_browsing::LoginReputationClientRequest_TriggerType LoginReputationClientRequest::_internal_trigger_type() const { return static_cast< ::safe_browsing::LoginReputationClientRequest_TriggerType >(trigger_type_); } inline ::safe_browsing::LoginReputationClientRequest_TriggerType LoginReputationClientRequest::trigger_type() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.trigger_type) return _internal_trigger_type(); } inline void LoginReputationClientRequest::_internal_set_trigger_type(::safe_browsing::LoginReputationClientRequest_TriggerType value) { assert(::safe_browsing::LoginReputationClientRequest_TriggerType_IsValid(value)); _has_bits_[0] |= 0x00000008u; trigger_type_ = value; } inline void LoginReputationClientRequest::set_trigger_type(::safe_browsing::LoginReputationClientRequest_TriggerType value) { _internal_set_trigger_type(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.trigger_type) } // repeated .safe_browsing.LoginReputationClientRequest.Frame frames = 3; inline int LoginReputationClientRequest::_internal_frames_size() const { return frames_.size(); } inline int LoginReputationClientRequest::frames_size() const { return _internal_frames_size(); } inline void LoginReputationClientRequest::clear_frames() { frames_.Clear(); } inline ::safe_browsing::LoginReputationClientRequest_Frame* LoginReputationClientRequest::mutable_frames(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.frames) return frames_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame >* LoginReputationClientRequest::mutable_frames() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.LoginReputationClientRequest.frames) return &frames_; } inline const ::safe_browsing::LoginReputationClientRequest_Frame& LoginReputationClientRequest::_internal_frames(int index) const { return frames_.Get(index); } inline const ::safe_browsing::LoginReputationClientRequest_Frame& LoginReputationClientRequest::frames(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.frames) return _internal_frames(index); } inline ::safe_browsing::LoginReputationClientRequest_Frame* LoginReputationClientRequest::_internal_add_frames() { return frames_.Add(); } inline ::safe_browsing::LoginReputationClientRequest_Frame* LoginReputationClientRequest::add_frames() { // @@protoc_insertion_point(field_add:safe_browsing.LoginReputationClientRequest.frames) return _internal_add_frames(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::LoginReputationClientRequest_Frame >& LoginReputationClientRequest::frames() const { // @@protoc_insertion_point(field_list:safe_browsing.LoginReputationClientRequest.frames) return frames_; } // optional .safe_browsing.LoginReputationClientRequest.PasswordReuseEvent password_reuse_event = 4; inline bool LoginReputationClientRequest::_internal_has_password_reuse_event() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || password_reuse_event_ != nullptr); return value; } inline bool LoginReputationClientRequest::has_password_reuse_event() const { return _internal_has_password_reuse_event(); } inline void LoginReputationClientRequest::clear_password_reuse_event() { if (password_reuse_event_ != nullptr) password_reuse_event_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent& LoginReputationClientRequest::_internal_password_reuse_event() const { const ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* p = password_reuse_event_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_LoginReputationClientRequest_PasswordReuseEvent_default_instance_); } inline const ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent& LoginReputationClientRequest::password_reuse_event() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.password_reuse_event) return _internal_password_reuse_event(); } inline ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* LoginReputationClientRequest::release_password_reuse_event() { // @@protoc_insertion_point(field_release:safe_browsing.LoginReputationClientRequest.password_reuse_event) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* temp = password_reuse_event_; password_reuse_event_ = nullptr; return temp; } inline ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* LoginReputationClientRequest::_internal_mutable_password_reuse_event() { _has_bits_[0] |= 0x00000002u; if (password_reuse_event_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent>(GetArenaNoVirtual()); password_reuse_event_ = p; } return password_reuse_event_; } inline ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* LoginReputationClientRequest::mutable_password_reuse_event() { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.password_reuse_event) return _internal_mutable_password_reuse_event(); } inline void LoginReputationClientRequest::set_allocated_password_reuse_event(::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent* password_reuse_event) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete password_reuse_event_; } if (password_reuse_event) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { password_reuse_event = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, password_reuse_event, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } password_reuse_event_ = password_reuse_event; // @@protoc_insertion_point(field_set_allocated:safe_browsing.LoginReputationClientRequest.password_reuse_event) } // optional int32 stored_verdict_cnt = 5; inline bool LoginReputationClientRequest::_internal_has_stored_verdict_cnt() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool LoginReputationClientRequest::has_stored_verdict_cnt() const { return _internal_has_stored_verdict_cnt(); } inline void LoginReputationClientRequest::clear_stored_verdict_cnt() { stored_verdict_cnt_ = 0; _has_bits_[0] &= ~0x00000010u; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest::_internal_stored_verdict_cnt() const { return stored_verdict_cnt_; } inline ::PROTOBUF_NAMESPACE_ID::int32 LoginReputationClientRequest::stored_verdict_cnt() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.stored_verdict_cnt) return _internal_stored_verdict_cnt(); } inline void LoginReputationClientRequest::_internal_set_stored_verdict_cnt(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000010u; stored_verdict_cnt_ = value; } inline void LoginReputationClientRequest::set_stored_verdict_cnt(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_stored_verdict_cnt(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.stored_verdict_cnt) } // optional .safe_browsing.ChromeUserPopulation population = 6; inline bool LoginReputationClientRequest::_internal_has_population() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || population_ != nullptr); return value; } inline bool LoginReputationClientRequest::has_population() const { return _internal_has_population(); } inline void LoginReputationClientRequest::clear_population() { if (population_ != nullptr) population_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ChromeUserPopulation& LoginReputationClientRequest::_internal_population() const { const ::safe_browsing::ChromeUserPopulation* p = population_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ChromeUserPopulation_default_instance_); } inline const ::safe_browsing::ChromeUserPopulation& LoginReputationClientRequest::population() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.population) return _internal_population(); } inline ::safe_browsing::ChromeUserPopulation* LoginReputationClientRequest::release_population() { // @@protoc_insertion_point(field_release:safe_browsing.LoginReputationClientRequest.population) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = nullptr; return temp; } inline ::safe_browsing::ChromeUserPopulation* LoginReputationClientRequest::_internal_mutable_population() { _has_bits_[0] |= 0x00000004u; if (population_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ChromeUserPopulation>(GetArenaNoVirtual()); population_ = p; } return population_; } inline ::safe_browsing::ChromeUserPopulation* LoginReputationClientRequest::mutable_population() { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientRequest.population) return _internal_mutable_population(); } inline void LoginReputationClientRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete population_; } if (population) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { population = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, population, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } population_ = population; // @@protoc_insertion_point(field_set_allocated:safe_browsing.LoginReputationClientRequest.population) } // optional bool clicked_through_interstitial = 7; inline bool LoginReputationClientRequest::_internal_has_clicked_through_interstitial() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool LoginReputationClientRequest::has_clicked_through_interstitial() const { return _internal_has_clicked_through_interstitial(); } inline void LoginReputationClientRequest::clear_clicked_through_interstitial() { clicked_through_interstitial_ = false; _has_bits_[0] &= ~0x00000020u; } inline bool LoginReputationClientRequest::_internal_clicked_through_interstitial() const { return clicked_through_interstitial_; } inline bool LoginReputationClientRequest::clicked_through_interstitial() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientRequest.clicked_through_interstitial) return _internal_clicked_through_interstitial(); } inline void LoginReputationClientRequest::_internal_set_clicked_through_interstitial(bool value) { _has_bits_[0] |= 0x00000020u; clicked_through_interstitial_ = value; } inline void LoginReputationClientRequest::set_clicked_through_interstitial(bool value) { _internal_set_clicked_through_interstitial(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientRequest.clicked_through_interstitial) } // ------------------------------------------------------------------- // LoginReputationClientResponse // optional .safe_browsing.LoginReputationClientResponse.VerdictType verdict_type = 1; inline bool LoginReputationClientResponse::_internal_has_verdict_type() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool LoginReputationClientResponse::has_verdict_type() const { return _internal_has_verdict_type(); } inline void LoginReputationClientResponse::clear_verdict_type() { verdict_type_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::safe_browsing::LoginReputationClientResponse_VerdictType LoginReputationClientResponse::_internal_verdict_type() const { return static_cast< ::safe_browsing::LoginReputationClientResponse_VerdictType >(verdict_type_); } inline ::safe_browsing::LoginReputationClientResponse_VerdictType LoginReputationClientResponse::verdict_type() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientResponse.verdict_type) return _internal_verdict_type(); } inline void LoginReputationClientResponse::_internal_set_verdict_type(::safe_browsing::LoginReputationClientResponse_VerdictType value) { assert(::safe_browsing::LoginReputationClientResponse_VerdictType_IsValid(value)); _has_bits_[0] |= 0x00000008u; verdict_type_ = value; } inline void LoginReputationClientResponse::set_verdict_type(::safe_browsing::LoginReputationClientResponse_VerdictType value) { _internal_set_verdict_type(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientResponse.verdict_type) } // optional int64 cache_duration_sec = 2; inline bool LoginReputationClientResponse::_internal_has_cache_duration_sec() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool LoginReputationClientResponse::has_cache_duration_sec() const { return _internal_has_cache_duration_sec(); } inline void LoginReputationClientResponse::clear_cache_duration_sec() { cache_duration_sec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::int64 LoginReputationClientResponse::_internal_cache_duration_sec() const { return cache_duration_sec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 LoginReputationClientResponse::cache_duration_sec() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientResponse.cache_duration_sec) return _internal_cache_duration_sec(); } inline void LoginReputationClientResponse::_internal_set_cache_duration_sec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000004u; cache_duration_sec_ = value; } inline void LoginReputationClientResponse::set_cache_duration_sec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_cache_duration_sec(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientResponse.cache_duration_sec) } // optional string cache_expression = 3; inline bool LoginReputationClientResponse::_internal_has_cache_expression() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool LoginReputationClientResponse::has_cache_expression() const { return _internal_has_cache_expression(); } inline void LoginReputationClientResponse::clear_cache_expression() { cache_expression_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& LoginReputationClientResponse::cache_expression() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientResponse.cache_expression) return _internal_cache_expression(); } inline void LoginReputationClientResponse::set_cache_expression(const std::string& value) { _internal_set_cache_expression(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientResponse.cache_expression) } inline std::string* LoginReputationClientResponse::mutable_cache_expression() { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientResponse.cache_expression) return _internal_mutable_cache_expression(); } inline const std::string& LoginReputationClientResponse::_internal_cache_expression() const { return cache_expression_.GetNoArena(); } inline void LoginReputationClientResponse::_internal_set_cache_expression(const std::string& value) { _has_bits_[0] |= 0x00000001u; cache_expression_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void LoginReputationClientResponse::set_cache_expression(std::string&& value) { _has_bits_[0] |= 0x00000001u; cache_expression_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.LoginReputationClientResponse.cache_expression) } inline void LoginReputationClientResponse::set_cache_expression(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; cache_expression_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.LoginReputationClientResponse.cache_expression) } inline void LoginReputationClientResponse::set_cache_expression(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; cache_expression_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.LoginReputationClientResponse.cache_expression) } inline std::string* LoginReputationClientResponse::_internal_mutable_cache_expression() { _has_bits_[0] |= 0x00000001u; return cache_expression_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* LoginReputationClientResponse::release_cache_expression() { // @@protoc_insertion_point(field_release:safe_browsing.LoginReputationClientResponse.cache_expression) if (!_internal_has_cache_expression()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return cache_expression_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void LoginReputationClientResponse::set_allocated_cache_expression(std::string* cache_expression) { if (cache_expression != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } cache_expression_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cache_expression); // @@protoc_insertion_point(field_set_allocated:safe_browsing.LoginReputationClientResponse.cache_expression) } // optional bool DEPRECATED_cache_expression_exact_match = 4 [deprecated = true]; inline bool LoginReputationClientResponse::_internal_has_deprecated_cache_expression_exact_match() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool LoginReputationClientResponse::has_deprecated_cache_expression_exact_match() const { return _internal_has_deprecated_cache_expression_exact_match(); } inline void LoginReputationClientResponse::clear_deprecated_cache_expression_exact_match() { deprecated_cache_expression_exact_match_ = false; _has_bits_[0] &= ~0x00000010u; } inline bool LoginReputationClientResponse::_internal_deprecated_cache_expression_exact_match() const { return deprecated_cache_expression_exact_match_; } inline bool LoginReputationClientResponse::deprecated_cache_expression_exact_match() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientResponse.DEPRECATED_cache_expression_exact_match) return _internal_deprecated_cache_expression_exact_match(); } inline void LoginReputationClientResponse::_internal_set_deprecated_cache_expression_exact_match(bool value) { _has_bits_[0] |= 0x00000010u; deprecated_cache_expression_exact_match_ = value; } inline void LoginReputationClientResponse::set_deprecated_cache_expression_exact_match(bool value) { _internal_set_deprecated_cache_expression_exact_match(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientResponse.DEPRECATED_cache_expression_exact_match) } // optional bytes verdict_token = 5; inline bool LoginReputationClientResponse::_internal_has_verdict_token() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool LoginReputationClientResponse::has_verdict_token() const { return _internal_has_verdict_token(); } inline void LoginReputationClientResponse::clear_verdict_token() { verdict_token_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& LoginReputationClientResponse::verdict_token() const { // @@protoc_insertion_point(field_get:safe_browsing.LoginReputationClientResponse.verdict_token) return _internal_verdict_token(); } inline void LoginReputationClientResponse::set_verdict_token(const std::string& value) { _internal_set_verdict_token(value); // @@protoc_insertion_point(field_set:safe_browsing.LoginReputationClientResponse.verdict_token) } inline std::string* LoginReputationClientResponse::mutable_verdict_token() { // @@protoc_insertion_point(field_mutable:safe_browsing.LoginReputationClientResponse.verdict_token) return _internal_mutable_verdict_token(); } inline const std::string& LoginReputationClientResponse::_internal_verdict_token() const { return verdict_token_.GetNoArena(); } inline void LoginReputationClientResponse::_internal_set_verdict_token(const std::string& value) { _has_bits_[0] |= 0x00000002u; verdict_token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void LoginReputationClientResponse::set_verdict_token(std::string&& value) { _has_bits_[0] |= 0x00000002u; verdict_token_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.LoginReputationClientResponse.verdict_token) } inline void LoginReputationClientResponse::set_verdict_token(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; verdict_token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.LoginReputationClientResponse.verdict_token) } inline void LoginReputationClientResponse::set_verdict_token(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; verdict_token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.LoginReputationClientResponse.verdict_token) } inline std::string* LoginReputationClientResponse::_internal_mutable_verdict_token() { _has_bits_[0] |= 0x00000002u; return verdict_token_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* LoginReputationClientResponse::release_verdict_token() { // @@protoc_insertion_point(field_release:safe_browsing.LoginReputationClientResponse.verdict_token) if (!_internal_has_verdict_token()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return verdict_token_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void LoginReputationClientResponse::set_allocated_verdict_token(std::string* verdict_token) { if (verdict_token != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } verdict_token_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), verdict_token); // @@protoc_insertion_point(field_set_allocated:safe_browsing.LoginReputationClientResponse.verdict_token) } // ------------------------------------------------------------------- // ClientMalwareResponse // required bool blacklist = 1; inline bool ClientMalwareResponse::_internal_has_blacklist() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientMalwareResponse::has_blacklist() const { return _internal_has_blacklist(); } inline void ClientMalwareResponse::clear_blacklist() { blacklist_ = false; _has_bits_[0] &= ~0x00000004u; } inline bool ClientMalwareResponse::_internal_blacklist() const { return blacklist_; } inline bool ClientMalwareResponse::blacklist() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.blacklist) return _internal_blacklist(); } inline void ClientMalwareResponse::_internal_set_blacklist(bool value) { _has_bits_[0] |= 0x00000004u; blacklist_ = value; } inline void ClientMalwareResponse::set_blacklist(bool value) { _internal_set_blacklist(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.blacklist) } // optional string bad_ip = 2; inline bool ClientMalwareResponse::_internal_has_bad_ip() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientMalwareResponse::has_bad_ip() const { return _internal_has_bad_ip(); } inline void ClientMalwareResponse::clear_bad_ip() { bad_ip_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientMalwareResponse::bad_ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.bad_ip) return _internal_bad_ip(); } inline void ClientMalwareResponse::set_bad_ip(const std::string& value) { _internal_set_bad_ip(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.bad_ip) } inline std::string* ClientMalwareResponse::mutable_bad_ip() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareResponse.bad_ip) return _internal_mutable_bad_ip(); } inline const std::string& ClientMalwareResponse::_internal_bad_ip() const { return bad_ip_.GetNoArena(); } inline void ClientMalwareResponse::_internal_set_bad_ip(const std::string& value) { _has_bits_[0] |= 0x00000001u; bad_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareResponse::set_bad_ip(std::string&& value) { _has_bits_[0] |= 0x00000001u; bad_ip_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareResponse.bad_ip) } inline void ClientMalwareResponse::set_bad_ip(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; bad_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareResponse.bad_ip) } inline void ClientMalwareResponse::set_bad_ip(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; bad_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareResponse.bad_ip) } inline std::string* ClientMalwareResponse::_internal_mutable_bad_ip() { _has_bits_[0] |= 0x00000001u; return bad_ip_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareResponse::release_bad_ip() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareResponse.bad_ip) if (!_internal_has_bad_ip()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return bad_ip_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareResponse::set_allocated_bad_ip(std::string* bad_ip) { if (bad_ip != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } bad_ip_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bad_ip); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareResponse.bad_ip) } // optional string bad_url = 3; inline bool ClientMalwareResponse::_internal_has_bad_url() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientMalwareResponse::has_bad_url() const { return _internal_has_bad_url(); } inline void ClientMalwareResponse::clear_bad_url() { bad_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientMalwareResponse::bad_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.bad_url) return _internal_bad_url(); } inline void ClientMalwareResponse::set_bad_url(const std::string& value) { _internal_set_bad_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.bad_url) } inline std::string* ClientMalwareResponse::mutable_bad_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareResponse.bad_url) return _internal_mutable_bad_url(); } inline const std::string& ClientMalwareResponse::_internal_bad_url() const { return bad_url_.GetNoArena(); } inline void ClientMalwareResponse::_internal_set_bad_url(const std::string& value) { _has_bits_[0] |= 0x00000002u; bad_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientMalwareResponse::set_bad_url(std::string&& value) { _has_bits_[0] |= 0x00000002u; bad_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientMalwareResponse.bad_url) } inline void ClientMalwareResponse::set_bad_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; bad_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareResponse.bad_url) } inline void ClientMalwareResponse::set_bad_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; bad_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareResponse.bad_url) } inline std::string* ClientMalwareResponse::_internal_mutable_bad_url() { _has_bits_[0] |= 0x00000002u; return bad_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientMalwareResponse::release_bad_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientMalwareResponse.bad_url) if (!_internal_has_bad_url()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return bad_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientMalwareResponse::set_allocated_bad_url(std::string* bad_url) { if (bad_url != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } bad_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bad_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareResponse.bad_url) } // ------------------------------------------------------------------- // ClientDownloadRequest_Digests // optional bytes sha256 = 1; inline bool ClientDownloadRequest_Digests::_internal_has_sha256() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_Digests::has_sha256() const { return _internal_has_sha256(); } inline void ClientDownloadRequest_Digests::clear_sha256() { sha256_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_Digests::sha256() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.sha256) return _internal_sha256(); } inline void ClientDownloadRequest_Digests::set_sha256(const std::string& value) { _internal_set_sha256(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.sha256) } inline std::string* ClientDownloadRequest_Digests::mutable_sha256() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.sha256) return _internal_mutable_sha256(); } inline const std::string& ClientDownloadRequest_Digests::_internal_sha256() const { return sha256_.GetNoArena(); } inline void ClientDownloadRequest_Digests::_internal_set_sha256(const std::string& value) { _has_bits_[0] |= 0x00000001u; sha256_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_Digests::set_sha256(std::string&& value) { _has_bits_[0] |= 0x00000001u; sha256_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.Digests.sha256) } inline void ClientDownloadRequest_Digests::set_sha256(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; sha256_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.sha256) } inline void ClientDownloadRequest_Digests::set_sha256(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; sha256_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.sha256) } inline std::string* ClientDownloadRequest_Digests::_internal_mutable_sha256() { _has_bits_[0] |= 0x00000001u; return sha256_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_Digests::release_sha256() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.Digests.sha256) if (!_internal_has_sha256()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return sha256_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_Digests::set_allocated_sha256(std::string* sha256) { if (sha256 != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } sha256_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sha256); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.sha256) } // optional bytes sha1 = 2; inline bool ClientDownloadRequest_Digests::_internal_has_sha1() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadRequest_Digests::has_sha1() const { return _internal_has_sha1(); } inline void ClientDownloadRequest_Digests::clear_sha1() { sha1_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientDownloadRequest_Digests::sha1() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.sha1) return _internal_sha1(); } inline void ClientDownloadRequest_Digests::set_sha1(const std::string& value) { _internal_set_sha1(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.sha1) } inline std::string* ClientDownloadRequest_Digests::mutable_sha1() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.sha1) return _internal_mutable_sha1(); } inline const std::string& ClientDownloadRequest_Digests::_internal_sha1() const { return sha1_.GetNoArena(); } inline void ClientDownloadRequest_Digests::_internal_set_sha1(const std::string& value) { _has_bits_[0] |= 0x00000002u; sha1_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_Digests::set_sha1(std::string&& value) { _has_bits_[0] |= 0x00000002u; sha1_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.Digests.sha1) } inline void ClientDownloadRequest_Digests::set_sha1(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; sha1_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.sha1) } inline void ClientDownloadRequest_Digests::set_sha1(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; sha1_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.sha1) } inline std::string* ClientDownloadRequest_Digests::_internal_mutable_sha1() { _has_bits_[0] |= 0x00000002u; return sha1_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_Digests::release_sha1() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.Digests.sha1) if (!_internal_has_sha1()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return sha1_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_Digests::set_allocated_sha1(std::string* sha1) { if (sha1 != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } sha1_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sha1); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.sha1) } // optional bytes md5 = 3; inline bool ClientDownloadRequest_Digests::_internal_has_md5() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientDownloadRequest_Digests::has_md5() const { return _internal_has_md5(); } inline void ClientDownloadRequest_Digests::clear_md5() { md5_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientDownloadRequest_Digests::md5() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.md5) return _internal_md5(); } inline void ClientDownloadRequest_Digests::set_md5(const std::string& value) { _internal_set_md5(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.md5) } inline std::string* ClientDownloadRequest_Digests::mutable_md5() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.md5) return _internal_mutable_md5(); } inline const std::string& ClientDownloadRequest_Digests::_internal_md5() const { return md5_.GetNoArena(); } inline void ClientDownloadRequest_Digests::_internal_set_md5(const std::string& value) { _has_bits_[0] |= 0x00000004u; md5_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_Digests::set_md5(std::string&& value) { _has_bits_[0] |= 0x00000004u; md5_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.Digests.md5) } inline void ClientDownloadRequest_Digests::set_md5(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; md5_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.md5) } inline void ClientDownloadRequest_Digests::set_md5(const void* value, size_t size) { _has_bits_[0] |= 0x00000004u; md5_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.md5) } inline std::string* ClientDownloadRequest_Digests::_internal_mutable_md5() { _has_bits_[0] |= 0x00000004u; return md5_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_Digests::release_md5() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.Digests.md5) if (!_internal_has_md5()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return md5_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_Digests::set_allocated_md5(std::string* md5) { if (md5 != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } md5_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), md5); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.md5) } // ------------------------------------------------------------------- // ClientDownloadRequest_Resource // required string url = 1; inline bool ClientDownloadRequest_Resource::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_Resource::has_url() const { return _internal_has_url(); } inline void ClientDownloadRequest_Resource::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_Resource::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.url) return _internal_url(); } inline void ClientDownloadRequest_Resource::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.url) } inline std::string* ClientDownloadRequest_Resource::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.url) return _internal_mutable_url(); } inline const std::string& ClientDownloadRequest_Resource::_internal_url() const { return url_.GetNoArena(); } inline void ClientDownloadRequest_Resource::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_Resource::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.Resource.url) } inline void ClientDownloadRequest_Resource::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.url) } inline void ClientDownloadRequest_Resource::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.url) } inline std::string* ClientDownloadRequest_Resource::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_Resource::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.Resource.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_Resource::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.url) } // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2; inline bool ClientDownloadRequest_Resource::_internal_has_type() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientDownloadRequest_Resource::has_type() const { return _internal_has_type(); } inline void ClientDownloadRequest_Resource::clear_type() { type_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::safe_browsing::ClientDownloadRequest_ResourceType ClientDownloadRequest_Resource::_internal_type() const { return static_cast< ::safe_browsing::ClientDownloadRequest_ResourceType >(type_); } inline ::safe_browsing::ClientDownloadRequest_ResourceType ClientDownloadRequest_Resource::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.type) return _internal_type(); } inline void ClientDownloadRequest_Resource::_internal_set_type(::safe_browsing::ClientDownloadRequest_ResourceType value) { assert(::safe_browsing::ClientDownloadRequest_ResourceType_IsValid(value)); _has_bits_[0] |= 0x00000008u; type_ = value; } inline void ClientDownloadRequest_Resource::set_type(::safe_browsing::ClientDownloadRequest_ResourceType value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.type) } // optional bytes remote_ip = 3; inline bool ClientDownloadRequest_Resource::_internal_has_remote_ip() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadRequest_Resource::has_remote_ip() const { return _internal_has_remote_ip(); } inline void ClientDownloadRequest_Resource::clear_remote_ip() { remote_ip_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientDownloadRequest_Resource::remote_ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.remote_ip) return _internal_remote_ip(); } inline void ClientDownloadRequest_Resource::set_remote_ip(const std::string& value) { _internal_set_remote_ip(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } inline std::string* ClientDownloadRequest_Resource::mutable_remote_ip() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.remote_ip) return _internal_mutable_remote_ip(); } inline const std::string& ClientDownloadRequest_Resource::_internal_remote_ip() const { return remote_ip_.GetNoArena(); } inline void ClientDownloadRequest_Resource::_internal_set_remote_ip(const std::string& value) { _has_bits_[0] |= 0x00000002u; remote_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_Resource::set_remote_ip(std::string&& value) { _has_bits_[0] |= 0x00000002u; remote_ip_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } inline void ClientDownloadRequest_Resource::set_remote_ip(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; remote_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } inline void ClientDownloadRequest_Resource::set_remote_ip(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; remote_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } inline std::string* ClientDownloadRequest_Resource::_internal_mutable_remote_ip() { _has_bits_[0] |= 0x00000002u; return remote_ip_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_Resource::release_remote_ip() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.Resource.remote_ip) if (!_internal_has_remote_ip()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return remote_ip_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_Resource::set_allocated_remote_ip(std::string* remote_ip) { if (remote_ip != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } remote_ip_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), remote_ip); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } // optional string referrer = 4; inline bool ClientDownloadRequest_Resource::_internal_has_referrer() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientDownloadRequest_Resource::has_referrer() const { return _internal_has_referrer(); } inline void ClientDownloadRequest_Resource::clear_referrer() { referrer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientDownloadRequest_Resource::referrer() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.referrer) return _internal_referrer(); } inline void ClientDownloadRequest_Resource::set_referrer(const std::string& value) { _internal_set_referrer(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.referrer) } inline std::string* ClientDownloadRequest_Resource::mutable_referrer() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.referrer) return _internal_mutable_referrer(); } inline const std::string& ClientDownloadRequest_Resource::_internal_referrer() const { return referrer_.GetNoArena(); } inline void ClientDownloadRequest_Resource::_internal_set_referrer(const std::string& value) { _has_bits_[0] |= 0x00000004u; referrer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_Resource::set_referrer(std::string&& value) { _has_bits_[0] |= 0x00000004u; referrer_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.Resource.referrer) } inline void ClientDownloadRequest_Resource::set_referrer(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; referrer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.referrer) } inline void ClientDownloadRequest_Resource::set_referrer(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; referrer_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.referrer) } inline std::string* ClientDownloadRequest_Resource::_internal_mutable_referrer() { _has_bits_[0] |= 0x00000004u; return referrer_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_Resource::release_referrer() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.Resource.referrer) if (!_internal_has_referrer()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return referrer_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_Resource::set_allocated_referrer(std::string* referrer) { if (referrer != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } referrer_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), referrer); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.referrer) } // ------------------------------------------------------------------- // ClientDownloadRequest_CertificateChain_Element // optional bytes certificate = 1; inline bool ClientDownloadRequest_CertificateChain_Element::_internal_has_certificate() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_CertificateChain_Element::has_certificate() const { return _internal_has_certificate(); } inline void ClientDownloadRequest_CertificateChain_Element::clear_certificate() { certificate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_CertificateChain_Element::certificate() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) return _internal_certificate(); } inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const std::string& value) { _internal_set_certificate(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) } inline std::string* ClientDownloadRequest_CertificateChain_Element::mutable_certificate() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) return _internal_mutable_certificate(); } inline const std::string& ClientDownloadRequest_CertificateChain_Element::_internal_certificate() const { return certificate_.GetNoArena(); } inline void ClientDownloadRequest_CertificateChain_Element::_internal_set_certificate(const std::string& value) { _has_bits_[0] |= 0x00000001u; certificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(std::string&& value) { _has_bits_[0] |= 0x00000001u; certificate_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) } inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; certificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) } inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; certificate_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) } inline std::string* ClientDownloadRequest_CertificateChain_Element::_internal_mutable_certificate() { _has_bits_[0] |= 0x00000001u; return certificate_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_CertificateChain_Element::release_certificate() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) if (!_internal_has_certificate()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return certificate_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_CertificateChain_Element::set_allocated_certificate(std::string* certificate) { if (certificate != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } certificate_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), certificate); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) } // ------------------------------------------------------------------- // ClientDownloadRequest_CertificateChain // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1; inline int ClientDownloadRequest_CertificateChain::_internal_element_size() const { return element_.size(); } inline int ClientDownloadRequest_CertificateChain::element_size() const { return _internal_element_size(); } inline void ClientDownloadRequest_CertificateChain::clear_element() { element_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain::mutable_element(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.CertificateChain.element) return element_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >* ClientDownloadRequest_CertificateChain::mutable_element() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.CertificateChain.element) return &element_; } inline const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& ClientDownloadRequest_CertificateChain::_internal_element(int index) const { return element_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& ClientDownloadRequest_CertificateChain::element(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.CertificateChain.element) return _internal_element(index); } inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain::_internal_add_element() { return element_.Add(); } inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain::add_element() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.CertificateChain.element) return _internal_add_element(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >& ClientDownloadRequest_CertificateChain::element() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.CertificateChain.element) return element_; } // ------------------------------------------------------------------- // ClientDownloadRequest_ExtendedAttr // required string key = 1; inline bool ClientDownloadRequest_ExtendedAttr::_internal_has_key() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_ExtendedAttr::has_key() const { return _internal_has_key(); } inline void ClientDownloadRequest_ExtendedAttr::clear_key() { key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_ExtendedAttr::key() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) return _internal_key(); } inline void ClientDownloadRequest_ExtendedAttr::set_key(const std::string& value) { _internal_set_key(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } inline std::string* ClientDownloadRequest_ExtendedAttr::mutable_key() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) return _internal_mutable_key(); } inline const std::string& ClientDownloadRequest_ExtendedAttr::_internal_key() const { return key_.GetNoArena(); } inline void ClientDownloadRequest_ExtendedAttr::_internal_set_key(const std::string& value) { _has_bits_[0] |= 0x00000001u; key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_ExtendedAttr::set_key(std::string&& value) { _has_bits_[0] |= 0x00000001u; key_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } inline void ClientDownloadRequest_ExtendedAttr::set_key(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } inline void ClientDownloadRequest_ExtendedAttr::set_key(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } inline std::string* ClientDownloadRequest_ExtendedAttr::_internal_mutable_key() { _has_bits_[0] |= 0x00000001u; return key_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_ExtendedAttr::release_key() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) if (!_internal_has_key()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return key_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_ExtendedAttr::set_allocated_key(std::string* key) { if (key != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } key_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } // optional bytes value = 2; inline bool ClientDownloadRequest_ExtendedAttr::_internal_has_value() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadRequest_ExtendedAttr::has_value() const { return _internal_has_value(); } inline void ClientDownloadRequest_ExtendedAttr::clear_value() { value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientDownloadRequest_ExtendedAttr::value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) return _internal_value(); } inline void ClientDownloadRequest_ExtendedAttr::set_value(const std::string& value) { _internal_set_value(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } inline std::string* ClientDownloadRequest_ExtendedAttr::mutable_value() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) return _internal_mutable_value(); } inline const std::string& ClientDownloadRequest_ExtendedAttr::_internal_value() const { return value_.GetNoArena(); } inline void ClientDownloadRequest_ExtendedAttr::_internal_set_value(const std::string& value) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_ExtendedAttr::set_value(std::string&& value) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } inline void ClientDownloadRequest_ExtendedAttr::set_value(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } inline void ClientDownloadRequest_ExtendedAttr::set_value(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } inline std::string* ClientDownloadRequest_ExtendedAttr::_internal_mutable_value() { _has_bits_[0] |= 0x00000002u; return value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_ExtendedAttr::release_value() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) if (!_internal_has_value()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return value_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_ExtendedAttr::set_allocated_value(std::string* value) { if (value != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } value_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } // ------------------------------------------------------------------- // ClientDownloadRequest_SignatureInfo // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1; inline int ClientDownloadRequest_SignatureInfo::_internal_certificate_chain_size() const { return certificate_chain_.size(); } inline int ClientDownloadRequest_SignatureInfo::certificate_chain_size() const { return _internal_certificate_chain_size(); } inline void ClientDownloadRequest_SignatureInfo::clear_certificate_chain() { certificate_chain_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_CertificateChain* ClientDownloadRequest_SignatureInfo::mutable_certificate_chain(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain) return certificate_chain_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >* ClientDownloadRequest_SignatureInfo::mutable_certificate_chain() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain) return &certificate_chain_; } inline const ::safe_browsing::ClientDownloadRequest_CertificateChain& ClientDownloadRequest_SignatureInfo::_internal_certificate_chain(int index) const { return certificate_chain_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_CertificateChain& ClientDownloadRequest_SignatureInfo::certificate_chain(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain) return _internal_certificate_chain(index); } inline ::safe_browsing::ClientDownloadRequest_CertificateChain* ClientDownloadRequest_SignatureInfo::_internal_add_certificate_chain() { return certificate_chain_.Add(); } inline ::safe_browsing::ClientDownloadRequest_CertificateChain* ClientDownloadRequest_SignatureInfo::add_certificate_chain() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain) return _internal_add_certificate_chain(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >& ClientDownloadRequest_SignatureInfo::certificate_chain() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain) return certificate_chain_; } // optional bool trusted = 2; inline bool ClientDownloadRequest_SignatureInfo::_internal_has_trusted() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_SignatureInfo::has_trusted() const { return _internal_has_trusted(); } inline void ClientDownloadRequest_SignatureInfo::clear_trusted() { trusted_ = false; _has_bits_[0] &= ~0x00000001u; } inline bool ClientDownloadRequest_SignatureInfo::_internal_trusted() const { return trusted_; } inline bool ClientDownloadRequest_SignatureInfo::trusted() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.trusted) return _internal_trusted(); } inline void ClientDownloadRequest_SignatureInfo::_internal_set_trusted(bool value) { _has_bits_[0] |= 0x00000001u; trusted_ = value; } inline void ClientDownloadRequest_SignatureInfo::set_trusted(bool value) { _internal_set_trusted(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.SignatureInfo.trusted) } // repeated bytes signed_data = 3; inline int ClientDownloadRequest_SignatureInfo::_internal_signed_data_size() const { return signed_data_.size(); } inline int ClientDownloadRequest_SignatureInfo::signed_data_size() const { return _internal_signed_data_size(); } inline void ClientDownloadRequest_SignatureInfo::clear_signed_data() { signed_data_.Clear(); } inline std::string* ClientDownloadRequest_SignatureInfo::add_signed_data() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) return _internal_add_signed_data(); } inline const std::string& ClientDownloadRequest_SignatureInfo::_internal_signed_data(int index) const { return signed_data_.Get(index); } inline const std::string& ClientDownloadRequest_SignatureInfo::signed_data(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) return _internal_signed_data(index); } inline std::string* ClientDownloadRequest_SignatureInfo::mutable_signed_data(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) return signed_data_.Mutable(index); } inline void ClientDownloadRequest_SignatureInfo::set_signed_data(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) signed_data_.Mutable(index)->assign(value); } inline void ClientDownloadRequest_SignatureInfo::set_signed_data(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) signed_data_.Mutable(index)->assign(std::move(value)); } inline void ClientDownloadRequest_SignatureInfo::set_signed_data(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); signed_data_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) } inline void ClientDownloadRequest_SignatureInfo::set_signed_data(int index, const void* value, size_t size) { signed_data_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) } inline std::string* ClientDownloadRequest_SignatureInfo::_internal_add_signed_data() { return signed_data_.Add(); } inline void ClientDownloadRequest_SignatureInfo::add_signed_data(const std::string& value) { signed_data_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) } inline void ClientDownloadRequest_SignatureInfo::add_signed_data(std::string&& value) { signed_data_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) } inline void ClientDownloadRequest_SignatureInfo::add_signed_data(const char* value) { GOOGLE_DCHECK(value != nullptr); signed_data_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) } inline void ClientDownloadRequest_SignatureInfo::add_signed_data(const void* value, size_t size) { signed_data_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientDownloadRequest_SignatureInfo::signed_data() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) return signed_data_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientDownloadRequest_SignatureInfo::mutable_signed_data() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) return &signed_data_; } // repeated .safe_browsing.ClientDownloadRequest.ExtendedAttr xattr = 4; inline int ClientDownloadRequest_SignatureInfo::_internal_xattr_size() const { return xattr_.size(); } inline int ClientDownloadRequest_SignatureInfo::xattr_size() const { return _internal_xattr_size(); } inline void ClientDownloadRequest_SignatureInfo::clear_xattr() { xattr_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* ClientDownloadRequest_SignatureInfo::mutable_xattr(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return xattr_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >* ClientDownloadRequest_SignatureInfo::mutable_xattr() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return &xattr_; } inline const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& ClientDownloadRequest_SignatureInfo::_internal_xattr(int index) const { return xattr_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& ClientDownloadRequest_SignatureInfo::xattr(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return _internal_xattr(index); } inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* ClientDownloadRequest_SignatureInfo::_internal_add_xattr() { return xattr_.Add(); } inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* ClientDownloadRequest_SignatureInfo::add_xattr() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return _internal_add_xattr(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >& ClientDownloadRequest_SignatureInfo::xattr() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return xattr_; } // ------------------------------------------------------------------- // ClientDownloadRequest_PEImageHeaders_DebugData // optional bytes directory_entry = 1; inline bool ClientDownloadRequest_PEImageHeaders_DebugData::_internal_has_directory_entry() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_PEImageHeaders_DebugData::has_directory_entry() const { return _internal_has_directory_entry(); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_directory_entry() { directory_entry_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_PEImageHeaders_DebugData::directory_entry() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) return _internal_directory_entry(); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const std::string& value) { _internal_set_directory_entry(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } inline std::string* ClientDownloadRequest_PEImageHeaders_DebugData::mutable_directory_entry() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) return _internal_mutable_directory_entry(); } inline const std::string& ClientDownloadRequest_PEImageHeaders_DebugData::_internal_directory_entry() const { return directory_entry_.GetNoArena(); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::_internal_set_directory_entry(const std::string& value) { _has_bits_[0] |= 0x00000001u; directory_entry_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(std::string&& value) { _has_bits_[0] |= 0x00000001u; directory_entry_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; directory_entry_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; directory_entry_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } inline std::string* ClientDownloadRequest_PEImageHeaders_DebugData::_internal_mutable_directory_entry() { _has_bits_[0] |= 0x00000001u; return directory_entry_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_PEImageHeaders_DebugData::release_directory_entry() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) if (!_internal_has_directory_entry()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return directory_entry_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_allocated_directory_entry(std::string* directory_entry) { if (directory_entry != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } directory_entry_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), directory_entry); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } // optional bytes raw_data = 2; inline bool ClientDownloadRequest_PEImageHeaders_DebugData::_internal_has_raw_data() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadRequest_PEImageHeaders_DebugData::has_raw_data() const { return _internal_has_raw_data(); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_raw_data() { raw_data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientDownloadRequest_PEImageHeaders_DebugData::raw_data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) return _internal_raw_data(); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const std::string& value) { _internal_set_raw_data(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } inline std::string* ClientDownloadRequest_PEImageHeaders_DebugData::mutable_raw_data() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) return _internal_mutable_raw_data(); } inline const std::string& ClientDownloadRequest_PEImageHeaders_DebugData::_internal_raw_data() const { return raw_data_.GetNoArena(); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::_internal_set_raw_data(const std::string& value) { _has_bits_[0] |= 0x00000002u; raw_data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(std::string&& value) { _has_bits_[0] |= 0x00000002u; raw_data_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; raw_data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; raw_data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } inline std::string* ClientDownloadRequest_PEImageHeaders_DebugData::_internal_mutable_raw_data() { _has_bits_[0] |= 0x00000002u; return raw_data_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_PEImageHeaders_DebugData::release_raw_data() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) if (!_internal_has_raw_data()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return raw_data_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_allocated_raw_data(std::string* raw_data) { if (raw_data != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } raw_data_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), raw_data); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } // ------------------------------------------------------------------- // ClientDownloadRequest_PEImageHeaders // optional bytes dos_header = 1; inline bool ClientDownloadRequest_PEImageHeaders::_internal_has_dos_header() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_PEImageHeaders::has_dos_header() const { return _internal_has_dos_header(); } inline void ClientDownloadRequest_PEImageHeaders::clear_dos_header() { dos_header_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_PEImageHeaders::dos_header() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) return _internal_dos_header(); } inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const std::string& value) { _internal_set_dos_header(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } inline std::string* ClientDownloadRequest_PEImageHeaders::mutable_dos_header() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) return _internal_mutable_dos_header(); } inline const std::string& ClientDownloadRequest_PEImageHeaders::_internal_dos_header() const { return dos_header_.GetNoArena(); } inline void ClientDownloadRequest_PEImageHeaders::_internal_set_dos_header(const std::string& value) { _has_bits_[0] |= 0x00000001u; dos_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(std::string&& value) { _has_bits_[0] |= 0x00000001u; dos_header_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; dos_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; dos_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } inline std::string* ClientDownloadRequest_PEImageHeaders::_internal_mutable_dos_header() { _has_bits_[0] |= 0x00000001u; return dos_header_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_PEImageHeaders::release_dos_header() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) if (!_internal_has_dos_header()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return dos_header_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_dos_header(std::string* dos_header) { if (dos_header != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } dos_header_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), dos_header); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } // optional bytes file_header = 2; inline bool ClientDownloadRequest_PEImageHeaders::_internal_has_file_header() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadRequest_PEImageHeaders::has_file_header() const { return _internal_has_file_header(); } inline void ClientDownloadRequest_PEImageHeaders::clear_file_header() { file_header_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientDownloadRequest_PEImageHeaders::file_header() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) return _internal_file_header(); } inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const std::string& value) { _internal_set_file_header(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } inline std::string* ClientDownloadRequest_PEImageHeaders::mutable_file_header() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) return _internal_mutable_file_header(); } inline const std::string& ClientDownloadRequest_PEImageHeaders::_internal_file_header() const { return file_header_.GetNoArena(); } inline void ClientDownloadRequest_PEImageHeaders::_internal_set_file_header(const std::string& value) { _has_bits_[0] |= 0x00000002u; file_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_PEImageHeaders::set_file_header(std::string&& value) { _has_bits_[0] |= 0x00000002u; file_header_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; file_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; file_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } inline std::string* ClientDownloadRequest_PEImageHeaders::_internal_mutable_file_header() { _has_bits_[0] |= 0x00000002u; return file_header_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_PEImageHeaders::release_file_header() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) if (!_internal_has_file_header()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return file_header_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_file_header(std::string* file_header) { if (file_header != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } file_header_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_header); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } // optional bytes optional_headers32 = 3; inline bool ClientDownloadRequest_PEImageHeaders::_internal_has_optional_headers32() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientDownloadRequest_PEImageHeaders::has_optional_headers32() const { return _internal_has_optional_headers32(); } inline void ClientDownloadRequest_PEImageHeaders::clear_optional_headers32() { optional_headers32_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientDownloadRequest_PEImageHeaders::optional_headers32() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) return _internal_optional_headers32(); } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const std::string& value) { _internal_set_optional_headers32(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } inline std::string* ClientDownloadRequest_PEImageHeaders::mutable_optional_headers32() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) return _internal_mutable_optional_headers32(); } inline const std::string& ClientDownloadRequest_PEImageHeaders::_internal_optional_headers32() const { return optional_headers32_.GetNoArena(); } inline void ClientDownloadRequest_PEImageHeaders::_internal_set_optional_headers32(const std::string& value) { _has_bits_[0] |= 0x00000004u; optional_headers32_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(std::string&& value) { _has_bits_[0] |= 0x00000004u; optional_headers32_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; optional_headers32_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const void* value, size_t size) { _has_bits_[0] |= 0x00000004u; optional_headers32_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } inline std::string* ClientDownloadRequest_PEImageHeaders::_internal_mutable_optional_headers32() { _has_bits_[0] |= 0x00000004u; return optional_headers32_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_PEImageHeaders::release_optional_headers32() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) if (!_internal_has_optional_headers32()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return optional_headers32_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_optional_headers32(std::string* optional_headers32) { if (optional_headers32 != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } optional_headers32_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), optional_headers32); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } // optional bytes optional_headers64 = 4; inline bool ClientDownloadRequest_PEImageHeaders::_internal_has_optional_headers64() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientDownloadRequest_PEImageHeaders::has_optional_headers64() const { return _internal_has_optional_headers64(); } inline void ClientDownloadRequest_PEImageHeaders::clear_optional_headers64() { optional_headers64_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& ClientDownloadRequest_PEImageHeaders::optional_headers64() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) return _internal_optional_headers64(); } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const std::string& value) { _internal_set_optional_headers64(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } inline std::string* ClientDownloadRequest_PEImageHeaders::mutable_optional_headers64() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) return _internal_mutable_optional_headers64(); } inline const std::string& ClientDownloadRequest_PEImageHeaders::_internal_optional_headers64() const { return optional_headers64_.GetNoArena(); } inline void ClientDownloadRequest_PEImageHeaders::_internal_set_optional_headers64(const std::string& value) { _has_bits_[0] |= 0x00000008u; optional_headers64_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(std::string&& value) { _has_bits_[0] |= 0x00000008u; optional_headers64_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; optional_headers64_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const void* value, size_t size) { _has_bits_[0] |= 0x00000008u; optional_headers64_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } inline std::string* ClientDownloadRequest_PEImageHeaders::_internal_mutable_optional_headers64() { _has_bits_[0] |= 0x00000008u; return optional_headers64_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_PEImageHeaders::release_optional_headers64() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) if (!_internal_has_optional_headers64()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return optional_headers64_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_optional_headers64(std::string* optional_headers64) { if (optional_headers64 != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } optional_headers64_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), optional_headers64); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } // repeated bytes section_header = 5; inline int ClientDownloadRequest_PEImageHeaders::_internal_section_header_size() const { return section_header_.size(); } inline int ClientDownloadRequest_PEImageHeaders::section_header_size() const { return _internal_section_header_size(); } inline void ClientDownloadRequest_PEImageHeaders::clear_section_header() { section_header_.Clear(); } inline std::string* ClientDownloadRequest_PEImageHeaders::add_section_header() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) return _internal_add_section_header(); } inline const std::string& ClientDownloadRequest_PEImageHeaders::_internal_section_header(int index) const { return section_header_.Get(index); } inline const std::string& ClientDownloadRequest_PEImageHeaders::section_header(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) return _internal_section_header(index); } inline std::string* ClientDownloadRequest_PEImageHeaders::mutable_section_header(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) return section_header_.Mutable(index); } inline void ClientDownloadRequest_PEImageHeaders::set_section_header(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) section_header_.Mutable(index)->assign(value); } inline void ClientDownloadRequest_PEImageHeaders::set_section_header(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) section_header_.Mutable(index)->assign(std::move(value)); } inline void ClientDownloadRequest_PEImageHeaders::set_section_header(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); section_header_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) } inline void ClientDownloadRequest_PEImageHeaders::set_section_header(int index, const void* value, size_t size) { section_header_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) } inline std::string* ClientDownloadRequest_PEImageHeaders::_internal_add_section_header() { return section_header_.Add(); } inline void ClientDownloadRequest_PEImageHeaders::add_section_header(const std::string& value) { section_header_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) } inline void ClientDownloadRequest_PEImageHeaders::add_section_header(std::string&& value) { section_header_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) } inline void ClientDownloadRequest_PEImageHeaders::add_section_header(const char* value) { GOOGLE_DCHECK(value != nullptr); section_header_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) } inline void ClientDownloadRequest_PEImageHeaders::add_section_header(const void* value, size_t size) { section_header_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientDownloadRequest_PEImageHeaders::section_header() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) return section_header_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientDownloadRequest_PEImageHeaders::mutable_section_header() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) return §ion_header_; } // optional bytes export_section_data = 6; inline bool ClientDownloadRequest_PEImageHeaders::_internal_has_export_section_data() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientDownloadRequest_PEImageHeaders::has_export_section_data() const { return _internal_has_export_section_data(); } inline void ClientDownloadRequest_PEImageHeaders::clear_export_section_data() { export_section_data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000010u; } inline const std::string& ClientDownloadRequest_PEImageHeaders::export_section_data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) return _internal_export_section_data(); } inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const std::string& value) { _internal_set_export_section_data(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) } inline std::string* ClientDownloadRequest_PEImageHeaders::mutable_export_section_data() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) return _internal_mutable_export_section_data(); } inline const std::string& ClientDownloadRequest_PEImageHeaders::_internal_export_section_data() const { return export_section_data_.GetNoArena(); } inline void ClientDownloadRequest_PEImageHeaders::_internal_set_export_section_data(const std::string& value) { _has_bits_[0] |= 0x00000010u; export_section_data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(std::string&& value) { _has_bits_[0] |= 0x00000010u; export_section_data_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) } inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000010u; export_section_data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) } inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const void* value, size_t size) { _has_bits_[0] |= 0x00000010u; export_section_data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) } inline std::string* ClientDownloadRequest_PEImageHeaders::_internal_mutable_export_section_data() { _has_bits_[0] |= 0x00000010u; return export_section_data_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_PEImageHeaders::release_export_section_data() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) if (!_internal_has_export_section_data()) { return nullptr; } _has_bits_[0] &= ~0x00000010u; return export_section_data_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_export_section_data(std::string* export_section_data) { if (export_section_data != nullptr) { _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } export_section_data_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), export_section_data); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) } // repeated .safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData debug_data = 7; inline int ClientDownloadRequest_PEImageHeaders::_internal_debug_data_size() const { return debug_data_.size(); } inline int ClientDownloadRequest_PEImageHeaders::debug_data_size() const { return _internal_debug_data_size(); } inline void ClientDownloadRequest_PEImageHeaders::clear_debug_data() { debug_data_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* ClientDownloadRequest_PEImageHeaders::mutable_debug_data(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data) return debug_data_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >* ClientDownloadRequest_PEImageHeaders::mutable_debug_data() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data) return &debug_data_; } inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& ClientDownloadRequest_PEImageHeaders::_internal_debug_data(int index) const { return debug_data_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& ClientDownloadRequest_PEImageHeaders::debug_data(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data) return _internal_debug_data(index); } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* ClientDownloadRequest_PEImageHeaders::_internal_add_debug_data() { return debug_data_.Add(); } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* ClientDownloadRequest_PEImageHeaders::add_debug_data() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data) return _internal_add_debug_data(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >& ClientDownloadRequest_PEImageHeaders::debug_data() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data) return debug_data_; } // ------------------------------------------------------------------- // ClientDownloadRequest_MachOHeaders_LoadCommand // required uint32 command_id = 1; inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::_internal_has_command_id() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::has_command_id() const { return _internal_has_command_id(); } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_command_id() { command_id_ = 0u; _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientDownloadRequest_MachOHeaders_LoadCommand::_internal_command_id() const { return command_id_; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientDownloadRequest_MachOHeaders_LoadCommand::command_id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command_id) return _internal_command_id(); } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::_internal_set_command_id(::PROTOBUF_NAMESPACE_ID::uint32 value) { _has_bits_[0] |= 0x00000002u; command_id_ = value; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command_id(::PROTOBUF_NAMESPACE_ID::uint32 value) { _internal_set_command_id(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command_id) } // required bytes command = 2; inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::_internal_has_command() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::has_command() const { return _internal_has_command(); } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_command() { command_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_MachOHeaders_LoadCommand::command() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) return _internal_command(); } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const std::string& value) { _internal_set_command(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } inline std::string* ClientDownloadRequest_MachOHeaders_LoadCommand::mutable_command() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) return _internal_mutable_command(); } inline const std::string& ClientDownloadRequest_MachOHeaders_LoadCommand::_internal_command() const { return command_.GetNoArena(); } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::_internal_set_command(const std::string& value) { _has_bits_[0] |= 0x00000001u; command_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(std::string&& value) { _has_bits_[0] |= 0x00000001u; command_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; command_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; command_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } inline std::string* ClientDownloadRequest_MachOHeaders_LoadCommand::_internal_mutable_command() { _has_bits_[0] |= 0x00000001u; return command_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_MachOHeaders_LoadCommand::release_command() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) if (!_internal_has_command()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return command_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_allocated_command(std::string* command) { if (command != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } command_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), command); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } // ------------------------------------------------------------------- // ClientDownloadRequest_MachOHeaders // required bytes mach_header = 1; inline bool ClientDownloadRequest_MachOHeaders::_internal_has_mach_header() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_MachOHeaders::has_mach_header() const { return _internal_has_mach_header(); } inline void ClientDownloadRequest_MachOHeaders::clear_mach_header() { mach_header_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_MachOHeaders::mach_header() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) return _internal_mach_header(); } inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const std::string& value) { _internal_set_mach_header(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) } inline std::string* ClientDownloadRequest_MachOHeaders::mutable_mach_header() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) return _internal_mutable_mach_header(); } inline const std::string& ClientDownloadRequest_MachOHeaders::_internal_mach_header() const { return mach_header_.GetNoArena(); } inline void ClientDownloadRequest_MachOHeaders::_internal_set_mach_header(const std::string& value) { _has_bits_[0] |= 0x00000001u; mach_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_MachOHeaders::set_mach_header(std::string&& value) { _has_bits_[0] |= 0x00000001u; mach_header_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) } inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; mach_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) } inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; mach_header_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) } inline std::string* ClientDownloadRequest_MachOHeaders::_internal_mutable_mach_header() { _has_bits_[0] |= 0x00000001u; return mach_header_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_MachOHeaders::release_mach_header() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) if (!_internal_has_mach_header()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return mach_header_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_MachOHeaders::set_allocated_mach_header(std::string* mach_header) { if (mach_header != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } mach_header_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mach_header); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) } // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand load_commands = 2; inline int ClientDownloadRequest_MachOHeaders::_internal_load_commands_size() const { return load_commands_.size(); } inline int ClientDownloadRequest_MachOHeaders::load_commands_size() const { return _internal_load_commands_size(); } inline void ClientDownloadRequest_MachOHeaders::clear_load_commands() { load_commands_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* ClientDownloadRequest_MachOHeaders::mutable_load_commands(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands) return load_commands_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >* ClientDownloadRequest_MachOHeaders::mutable_load_commands() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands) return &load_commands_; } inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& ClientDownloadRequest_MachOHeaders::_internal_load_commands(int index) const { return load_commands_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& ClientDownloadRequest_MachOHeaders::load_commands(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands) return _internal_load_commands(index); } inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* ClientDownloadRequest_MachOHeaders::_internal_add_load_commands() { return load_commands_.Add(); } inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* ClientDownloadRequest_MachOHeaders::add_load_commands() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands) return _internal_add_load_commands(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >& ClientDownloadRequest_MachOHeaders::load_commands() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands) return load_commands_; } // ------------------------------------------------------------------- // ClientDownloadRequest_ImageHeaders // optional .safe_browsing.ClientDownloadRequest.PEImageHeaders pe_headers = 1; inline bool ClientDownloadRequest_ImageHeaders::_internal_has_pe_headers() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || pe_headers_ != nullptr); return value; } inline bool ClientDownloadRequest_ImageHeaders::has_pe_headers() const { return _internal_has_pe_headers(); } inline void ClientDownloadRequest_ImageHeaders::clear_pe_headers() { if (pe_headers_ != nullptr) pe_headers_->Clear(); _has_bits_[0] &= ~0x00000001u; } inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& ClientDownloadRequest_ImageHeaders::_internal_pe_headers() const { const ::safe_browsing::ClientDownloadRequest_PEImageHeaders* p = pe_headers_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_PEImageHeaders_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& ClientDownloadRequest_ImageHeaders::pe_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers) return _internal_pe_headers(); } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* ClientDownloadRequest_ImageHeaders::release_pe_headers() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers) _has_bits_[0] &= ~0x00000001u; ::safe_browsing::ClientDownloadRequest_PEImageHeaders* temp = pe_headers_; pe_headers_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* ClientDownloadRequest_ImageHeaders::_internal_mutable_pe_headers() { _has_bits_[0] |= 0x00000001u; if (pe_headers_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_PEImageHeaders>(GetArenaNoVirtual()); pe_headers_ = p; } return pe_headers_; } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* ClientDownloadRequest_ImageHeaders::mutable_pe_headers() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers) return _internal_mutable_pe_headers(); } inline void ClientDownloadRequest_ImageHeaders::set_allocated_pe_headers(::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete pe_headers_; } if (pe_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { pe_headers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, pe_headers, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } pe_headers_ = pe_headers; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers) } // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders mach_o_headers = 2; inline int ClientDownloadRequest_ImageHeaders::_internal_mach_o_headers_size() const { return mach_o_headers_.size(); } inline int ClientDownloadRequest_ImageHeaders::mach_o_headers_size() const { return _internal_mach_o_headers_size(); } inline void ClientDownloadRequest_ImageHeaders::clear_mach_o_headers() { mach_o_headers_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* ClientDownloadRequest_ImageHeaders::mutable_mach_o_headers(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers) return mach_o_headers_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >* ClientDownloadRequest_ImageHeaders::mutable_mach_o_headers() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers) return &mach_o_headers_; } inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders& ClientDownloadRequest_ImageHeaders::_internal_mach_o_headers(int index) const { return mach_o_headers_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders& ClientDownloadRequest_ImageHeaders::mach_o_headers(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers) return _internal_mach_o_headers(index); } inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* ClientDownloadRequest_ImageHeaders::_internal_add_mach_o_headers() { return mach_o_headers_.Add(); } inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* ClientDownloadRequest_ImageHeaders::add_mach_o_headers() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers) return _internal_add_mach_o_headers(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >& ClientDownloadRequest_ImageHeaders::mach_o_headers() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers) return mach_o_headers_; } // ------------------------------------------------------------------- // ClientDownloadRequest_ArchivedBinary // optional string file_basename = 1; inline bool ClientDownloadRequest_ArchivedBinary::_internal_has_file_basename() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest_ArchivedBinary::has_file_basename() const { return _internal_has_file_basename(); } inline void ClientDownloadRequest_ArchivedBinary::clear_file_basename() { file_basename_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest_ArchivedBinary::file_basename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) return _internal_file_basename(); } inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const std::string& value) { _internal_set_file_basename(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } inline std::string* ClientDownloadRequest_ArchivedBinary::mutable_file_basename() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) return _internal_mutable_file_basename(); } inline const std::string& ClientDownloadRequest_ArchivedBinary::_internal_file_basename() const { return file_basename_.GetNoArena(); } inline void ClientDownloadRequest_ArchivedBinary::_internal_set_file_basename(const std::string& value) { _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(std::string&& value) { _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } inline std::string* ClientDownloadRequest_ArchivedBinary::_internal_mutable_file_basename() { _has_bits_[0] |= 0x00000001u; return file_basename_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest_ArchivedBinary::release_file_basename() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) if (!_internal_has_file_basename()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return file_basename_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_file_basename(std::string* file_basename) { if (file_basename != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } file_basename_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_basename); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 2; inline bool ClientDownloadRequest_ArchivedBinary::_internal_has_download_type() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool ClientDownloadRequest_ArchivedBinary::has_download_type() const { return _internal_has_download_type(); } inline void ClientDownloadRequest_ArchivedBinary::clear_download_type() { download_type_ = 0; _has_bits_[0] &= ~0x00000020u; } inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest_ArchivedBinary::_internal_download_type() const { return static_cast< ::safe_browsing::ClientDownloadRequest_DownloadType >(download_type_); } inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest_ArchivedBinary::download_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.download_type) return _internal_download_type(); } inline void ClientDownloadRequest_ArchivedBinary::_internal_set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) { assert(::safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value)); _has_bits_[0] |= 0x00000020u; download_type_ = value; } inline void ClientDownloadRequest_ArchivedBinary::set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) { _internal_set_download_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.download_type) } // optional .safe_browsing.ClientDownloadRequest.Digests digests = 3; inline bool ClientDownloadRequest_ArchivedBinary::_internal_has_digests() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || digests_ != nullptr); return value; } inline bool ClientDownloadRequest_ArchivedBinary::has_digests() const { return _internal_has_digests(); } inline void ClientDownloadRequest_ArchivedBinary::clear_digests() { if (digests_ != nullptr) digests_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest_ArchivedBinary::_internal_digests() const { const ::safe_browsing::ClientDownloadRequest_Digests* p = digests_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_Digests_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest_ArchivedBinary::digests() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests) return _internal_digests(); } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest_ArchivedBinary::release_digests() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientDownloadRequest_Digests* temp = digests_; digests_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest_ArchivedBinary::_internal_mutable_digests() { _has_bits_[0] |= 0x00000002u; if (digests_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_Digests>(GetArenaNoVirtual()); digests_ = p; } return digests_; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest_ArchivedBinary::mutable_digests() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests) return _internal_mutable_digests(); } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete digests_; } if (digests) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { digests = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, digests, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } digests_ = digests; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests) } // optional int64 length = 4; inline bool ClientDownloadRequest_ArchivedBinary::_internal_has_length() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientDownloadRequest_ArchivedBinary::has_length() const { return _internal_has_length(); } inline void ClientDownloadRequest_ArchivedBinary::clear_length() { length_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000010u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientDownloadRequest_ArchivedBinary::_internal_length() const { return length_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientDownloadRequest_ArchivedBinary::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.length) return _internal_length(); } inline void ClientDownloadRequest_ArchivedBinary::_internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000010u; length_ = value; } inline void ClientDownloadRequest_ArchivedBinary::set_length(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_length(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.length) } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool ClientDownloadRequest_ArchivedBinary::_internal_has_signature() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || signature_ != nullptr); return value; } inline bool ClientDownloadRequest_ArchivedBinary::has_signature() const { return _internal_has_signature(); } inline void ClientDownloadRequest_ArchivedBinary::clear_signature() { if (signature_ != nullptr) signature_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest_ArchivedBinary::_internal_signature() const { const ::safe_browsing::ClientDownloadRequest_SignatureInfo* p = signature_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_SignatureInfo_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest_ArchivedBinary::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature) return _internal_signature(); } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_ArchivedBinary::release_signature() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_ArchivedBinary::_internal_mutable_signature() { _has_bits_[0] |= 0x00000004u; if (signature_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_SignatureInfo>(GetArenaNoVirtual()); signature_ = p; } return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_ArchivedBinary::mutable_signature() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature) return _internal_mutable_signature(); } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete signature_; } if (signature) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { signature = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, signature, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } signature_ = signature; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6; inline bool ClientDownloadRequest_ArchivedBinary::_internal_has_image_headers() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || image_headers_ != nullptr); return value; } inline bool ClientDownloadRequest_ArchivedBinary::has_image_headers() const { return _internal_has_image_headers(); } inline void ClientDownloadRequest_ArchivedBinary::clear_image_headers() { if (image_headers_ != nullptr) image_headers_->Clear(); _has_bits_[0] &= ~0x00000008u; } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest_ArchivedBinary::_internal_image_headers() const { const ::safe_browsing::ClientDownloadRequest_ImageHeaders* p = image_headers_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_ImageHeaders_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest_ArchivedBinary::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers) return _internal_image_headers(); } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest_ArchivedBinary::release_image_headers() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers) _has_bits_[0] &= ~0x00000008u; ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest_ArchivedBinary::_internal_mutable_image_headers() { _has_bits_[0] |= 0x00000008u; if (image_headers_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ImageHeaders>(GetArenaNoVirtual()); image_headers_ = p; } return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest_ArchivedBinary::mutable_image_headers() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers) return _internal_mutable_image_headers(); } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete image_headers_; } if (image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { image_headers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, image_headers, submessage_arena); } _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } image_headers_ = image_headers; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers) } // ------------------------------------------------------------------- // ClientDownloadRequest // required string url = 1; inline bool ClientDownloadRequest::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadRequest::has_url() const { return _internal_has_url(); } inline void ClientDownloadRequest::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.url) return _internal_url(); } inline void ClientDownloadRequest::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.url) } inline std::string* ClientDownloadRequest::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.url) return _internal_mutable_url(); } inline const std::string& ClientDownloadRequest::_internal_url() const { return url_.GetNoArena(); } inline void ClientDownloadRequest::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.url) } inline void ClientDownloadRequest::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.url) } inline void ClientDownloadRequest::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.url) } inline std::string* ClientDownloadRequest::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.url) } // required .safe_browsing.ClientDownloadRequest.Digests digests = 2; inline bool ClientDownloadRequest::_internal_has_digests() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; PROTOBUF_ASSUME(!value || digests_ != nullptr); return value; } inline bool ClientDownloadRequest::has_digests() const { return _internal_has_digests(); } inline void ClientDownloadRequest::clear_digests() { if (digests_ != nullptr) digests_->Clear(); _has_bits_[0] &= ~0x00000010u; } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest::_internal_digests() const { const ::safe_browsing::ClientDownloadRequest_Digests* p = digests_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_Digests_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest::digests() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.digests) return _internal_digests(); } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest::release_digests() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.digests) _has_bits_[0] &= ~0x00000010u; ::safe_browsing::ClientDownloadRequest_Digests* temp = digests_; digests_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest::_internal_mutable_digests() { _has_bits_[0] |= 0x00000010u; if (digests_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_Digests>(GetArenaNoVirtual()); digests_ = p; } return digests_; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest::mutable_digests() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.digests) return _internal_mutable_digests(); } inline void ClientDownloadRequest::set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete digests_; } if (digests) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { digests = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, digests, submessage_arena); } _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } digests_ = digests; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.digests) } // required int64 length = 3; inline bool ClientDownloadRequest::_internal_has_length() const { bool value = (_has_bits_[0] & 0x00000100u) != 0; return value; } inline bool ClientDownloadRequest::has_length() const { return _internal_has_length(); } inline void ClientDownloadRequest::clear_length() { length_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000100u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientDownloadRequest::_internal_length() const { return length_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientDownloadRequest::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.length) return _internal_length(); } inline void ClientDownloadRequest::_internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000100u; length_ = value; } inline void ClientDownloadRequest::set_length(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_length(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.length) } // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4; inline int ClientDownloadRequest::_internal_resources_size() const { return resources_.size(); } inline int ClientDownloadRequest::resources_size() const { return _internal_resources_size(); } inline void ClientDownloadRequest::clear_resources() { resources_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_Resource* ClientDownloadRequest::mutable_resources(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.resources) return resources_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >* ClientDownloadRequest::mutable_resources() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.resources) return &resources_; } inline const ::safe_browsing::ClientDownloadRequest_Resource& ClientDownloadRequest::_internal_resources(int index) const { return resources_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_Resource& ClientDownloadRequest::resources(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.resources) return _internal_resources(index); } inline ::safe_browsing::ClientDownloadRequest_Resource* ClientDownloadRequest::_internal_add_resources() { return resources_.Add(); } inline ::safe_browsing::ClientDownloadRequest_Resource* ClientDownloadRequest::add_resources() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.resources) return _internal_add_resources(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >& ClientDownloadRequest::resources() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.resources) return resources_; } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool ClientDownloadRequest::_internal_has_signature() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; PROTOBUF_ASSUME(!value || signature_ != nullptr); return value; } inline bool ClientDownloadRequest::has_signature() const { return _internal_has_signature(); } inline void ClientDownloadRequest::clear_signature() { if (signature_ != nullptr) signature_->Clear(); _has_bits_[0] &= ~0x00000020u; } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest::_internal_signature() const { const ::safe_browsing::ClientDownloadRequest_SignatureInfo* p = signature_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_SignatureInfo_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.signature) return _internal_signature(); } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest::release_signature() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.signature) _has_bits_[0] &= ~0x00000020u; ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest::_internal_mutable_signature() { _has_bits_[0] |= 0x00000020u; if (signature_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_SignatureInfo>(GetArenaNoVirtual()); signature_ = p; } return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest::mutable_signature() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.signature) return _internal_mutable_signature(); } inline void ClientDownloadRequest::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete signature_; } if (signature) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { signature = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, signature, submessage_arena); } _has_bits_[0] |= 0x00000020u; } else { _has_bits_[0] &= ~0x00000020u; } signature_ = signature; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.signature) } // optional bool user_initiated = 6; inline bool ClientDownloadRequest::_internal_has_user_initiated() const { bool value = (_has_bits_[0] & 0x00000800u) != 0; return value; } inline bool ClientDownloadRequest::has_user_initiated() const { return _internal_has_user_initiated(); } inline void ClientDownloadRequest::clear_user_initiated() { user_initiated_ = false; _has_bits_[0] &= ~0x00000800u; } inline bool ClientDownloadRequest::_internal_user_initiated() const { return user_initiated_; } inline bool ClientDownloadRequest::user_initiated() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.user_initiated) return _internal_user_initiated(); } inline void ClientDownloadRequest::_internal_set_user_initiated(bool value) { _has_bits_[0] |= 0x00000800u; user_initiated_ = value; } inline void ClientDownloadRequest::set_user_initiated(bool value) { _internal_set_user_initiated(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.user_initiated) } // optional string file_basename = 9; inline bool ClientDownloadRequest::_internal_has_file_basename() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadRequest::has_file_basename() const { return _internal_has_file_basename(); } inline void ClientDownloadRequest::clear_file_basename() { file_basename_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientDownloadRequest::file_basename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.file_basename) return _internal_file_basename(); } inline void ClientDownloadRequest::set_file_basename(const std::string& value) { _internal_set_file_basename(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.file_basename) } inline std::string* ClientDownloadRequest::mutable_file_basename() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.file_basename) return _internal_mutable_file_basename(); } inline const std::string& ClientDownloadRequest::_internal_file_basename() const { return file_basename_.GetNoArena(); } inline void ClientDownloadRequest::_internal_set_file_basename(const std::string& value) { _has_bits_[0] |= 0x00000002u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest::set_file_basename(std::string&& value) { _has_bits_[0] |= 0x00000002u; file_basename_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.file_basename) } inline void ClientDownloadRequest::set_file_basename(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.file_basename) } inline void ClientDownloadRequest::set_file_basename(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.file_basename) } inline std::string* ClientDownloadRequest::_internal_mutable_file_basename() { _has_bits_[0] |= 0x00000002u; return file_basename_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest::release_file_basename() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.file_basename) if (!_internal_has_file_basename()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return file_basename_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest::set_allocated_file_basename(std::string* file_basename) { if (file_basename != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } file_basename_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_basename); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.file_basename) } // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE]; inline bool ClientDownloadRequest::_internal_has_download_type() const { bool value = (_has_bits_[0] & 0x00000400u) != 0; return value; } inline bool ClientDownloadRequest::has_download_type() const { return _internal_has_download_type(); } inline void ClientDownloadRequest::clear_download_type() { download_type_ = 0; _has_bits_[0] &= ~0x00000400u; } inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest::_internal_download_type() const { return static_cast< ::safe_browsing::ClientDownloadRequest_DownloadType >(download_type_); } inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest::download_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.download_type) return _internal_download_type(); } inline void ClientDownloadRequest::_internal_set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) { assert(::safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value)); _has_bits_[0] |= 0x00000400u; download_type_ = value; } inline void ClientDownloadRequest::set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) { _internal_set_download_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.download_type) } // optional string locale = 11; inline bool ClientDownloadRequest::_internal_has_locale() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientDownloadRequest::has_locale() const { return _internal_has_locale(); } inline void ClientDownloadRequest::clear_locale() { locale_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientDownloadRequest::locale() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.locale) return _internal_locale(); } inline void ClientDownloadRequest::set_locale(const std::string& value) { _internal_set_locale(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.locale) } inline std::string* ClientDownloadRequest::mutable_locale() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.locale) return _internal_mutable_locale(); } inline const std::string& ClientDownloadRequest::_internal_locale() const { return locale_.GetNoArena(); } inline void ClientDownloadRequest::_internal_set_locale(const std::string& value) { _has_bits_[0] |= 0x00000004u; locale_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest::set_locale(std::string&& value) { _has_bits_[0] |= 0x00000004u; locale_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.locale) } inline void ClientDownloadRequest::set_locale(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; locale_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.locale) } inline void ClientDownloadRequest::set_locale(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; locale_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.locale) } inline std::string* ClientDownloadRequest::_internal_mutable_locale() { _has_bits_[0] |= 0x00000004u; return locale_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest::release_locale() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.locale) if (!_internal_has_locale()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return locale_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest::set_allocated_locale(std::string* locale) { if (locale != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } locale_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), locale); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.locale) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 18; inline bool ClientDownloadRequest::_internal_has_image_headers() const { bool value = (_has_bits_[0] & 0x00000040u) != 0; PROTOBUF_ASSUME(!value || image_headers_ != nullptr); return value; } inline bool ClientDownloadRequest::has_image_headers() const { return _internal_has_image_headers(); } inline void ClientDownloadRequest::clear_image_headers() { if (image_headers_ != nullptr) image_headers_->Clear(); _has_bits_[0] &= ~0x00000040u; } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest::_internal_image_headers() const { const ::safe_browsing::ClientDownloadRequest_ImageHeaders* p = image_headers_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_ImageHeaders_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.image_headers) return _internal_image_headers(); } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest::release_image_headers() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.image_headers) _has_bits_[0] &= ~0x00000040u; ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest::_internal_mutable_image_headers() { _has_bits_[0] |= 0x00000040u; if (image_headers_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ImageHeaders>(GetArenaNoVirtual()); image_headers_ = p; } return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest::mutable_image_headers() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.image_headers) return _internal_mutable_image_headers(); } inline void ClientDownloadRequest::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete image_headers_; } if (image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { image_headers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, image_headers, submessage_arena); } _has_bits_[0] |= 0x00000040u; } else { _has_bits_[0] &= ~0x00000040u; } image_headers_ = image_headers; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.image_headers) } // repeated .safe_browsing.ClientDownloadRequest.ArchivedBinary archived_binary = 22; inline int ClientDownloadRequest::_internal_archived_binary_size() const { return archived_binary_.size(); } inline int ClientDownloadRequest::archived_binary_size() const { return _internal_archived_binary_size(); } inline void ClientDownloadRequest::clear_archived_binary() { archived_binary_.Clear(); } inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* ClientDownloadRequest::mutable_archived_binary(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.archived_binary) return archived_binary_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >* ClientDownloadRequest::mutable_archived_binary() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.archived_binary) return &archived_binary_; } inline const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& ClientDownloadRequest::_internal_archived_binary(int index) const { return archived_binary_.Get(index); } inline const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& ClientDownloadRequest::archived_binary(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.archived_binary) return _internal_archived_binary(index); } inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* ClientDownloadRequest::_internal_add_archived_binary() { return archived_binary_.Add(); } inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* ClientDownloadRequest::add_archived_binary() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.archived_binary) return _internal_add_archived_binary(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >& ClientDownloadRequest::archived_binary() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.archived_binary) return archived_binary_; } // optional .safe_browsing.ChromeUserPopulation population = 24; inline bool ClientDownloadRequest::_internal_has_population() const { bool value = (_has_bits_[0] & 0x00000080u) != 0; PROTOBUF_ASSUME(!value || population_ != nullptr); return value; } inline bool ClientDownloadRequest::has_population() const { return _internal_has_population(); } inline void ClientDownloadRequest::clear_population() { if (population_ != nullptr) population_->Clear(); _has_bits_[0] &= ~0x00000080u; } inline const ::safe_browsing::ChromeUserPopulation& ClientDownloadRequest::_internal_population() const { const ::safe_browsing::ChromeUserPopulation* p = population_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ChromeUserPopulation_default_instance_); } inline const ::safe_browsing::ChromeUserPopulation& ClientDownloadRequest::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.population) return _internal_population(); } inline ::safe_browsing::ChromeUserPopulation* ClientDownloadRequest::release_population() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.population) _has_bits_[0] &= ~0x00000080u; ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = nullptr; return temp; } inline ::safe_browsing::ChromeUserPopulation* ClientDownloadRequest::_internal_mutable_population() { _has_bits_[0] |= 0x00000080u; if (population_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ChromeUserPopulation>(GetArenaNoVirtual()); population_ = p; } return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientDownloadRequest::mutable_population() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.population) return _internal_mutable_population(); } inline void ClientDownloadRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete population_; } if (population) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { population = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, population, submessage_arena); } _has_bits_[0] |= 0x00000080u; } else { _has_bits_[0] &= ~0x00000080u; } population_ = population; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.population) } // optional bool archive_valid = 26; inline bool ClientDownloadRequest::_internal_has_archive_valid() const { bool value = (_has_bits_[0] & 0x00001000u) != 0; return value; } inline bool ClientDownloadRequest::has_archive_valid() const { return _internal_has_archive_valid(); } inline void ClientDownloadRequest::clear_archive_valid() { archive_valid_ = false; _has_bits_[0] &= ~0x00001000u; } inline bool ClientDownloadRequest::_internal_archive_valid() const { return archive_valid_; } inline bool ClientDownloadRequest::archive_valid() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.archive_valid) return _internal_archive_valid(); } inline void ClientDownloadRequest::_internal_set_archive_valid(bool value) { _has_bits_[0] |= 0x00001000u; archive_valid_ = value; } inline void ClientDownloadRequest::set_archive_valid(bool value) { _internal_set_archive_valid(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.archive_valid) } // optional bool skipped_url_whitelist = 28; inline bool ClientDownloadRequest::_internal_has_skipped_url_whitelist() const { bool value = (_has_bits_[0] & 0x00002000u) != 0; return value; } inline bool ClientDownloadRequest::has_skipped_url_whitelist() const { return _internal_has_skipped_url_whitelist(); } inline void ClientDownloadRequest::clear_skipped_url_whitelist() { skipped_url_whitelist_ = false; _has_bits_[0] &= ~0x00002000u; } inline bool ClientDownloadRequest::_internal_skipped_url_whitelist() const { return skipped_url_whitelist_; } inline bool ClientDownloadRequest::skipped_url_whitelist() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.skipped_url_whitelist) return _internal_skipped_url_whitelist(); } inline void ClientDownloadRequest::_internal_set_skipped_url_whitelist(bool value) { _has_bits_[0] |= 0x00002000u; skipped_url_whitelist_ = value; } inline void ClientDownloadRequest::set_skipped_url_whitelist(bool value) { _internal_set_skipped_url_whitelist(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.skipped_url_whitelist) } // optional bool skipped_certificate_whitelist = 31; inline bool ClientDownloadRequest::_internal_has_skipped_certificate_whitelist() const { bool value = (_has_bits_[0] & 0x00004000u) != 0; return value; } inline bool ClientDownloadRequest::has_skipped_certificate_whitelist() const { return _internal_has_skipped_certificate_whitelist(); } inline void ClientDownloadRequest::clear_skipped_certificate_whitelist() { skipped_certificate_whitelist_ = false; _has_bits_[0] &= ~0x00004000u; } inline bool ClientDownloadRequest::_internal_skipped_certificate_whitelist() const { return skipped_certificate_whitelist_; } inline bool ClientDownloadRequest::skipped_certificate_whitelist() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.skipped_certificate_whitelist) return _internal_skipped_certificate_whitelist(); } inline void ClientDownloadRequest::_internal_set_skipped_certificate_whitelist(bool value) { _has_bits_[0] |= 0x00004000u; skipped_certificate_whitelist_ = value; } inline void ClientDownloadRequest::set_skipped_certificate_whitelist(bool value) { _internal_set_skipped_certificate_whitelist(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.skipped_certificate_whitelist) } // repeated string alternate_extensions = 35; inline int ClientDownloadRequest::_internal_alternate_extensions_size() const { return alternate_extensions_.size(); } inline int ClientDownloadRequest::alternate_extensions_size() const { return _internal_alternate_extensions_size(); } inline void ClientDownloadRequest::clear_alternate_extensions() { alternate_extensions_.Clear(); } inline std::string* ClientDownloadRequest::add_alternate_extensions() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientDownloadRequest.alternate_extensions) return _internal_add_alternate_extensions(); } inline const std::string& ClientDownloadRequest::_internal_alternate_extensions(int index) const { return alternate_extensions_.Get(index); } inline const std::string& ClientDownloadRequest::alternate_extensions(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.alternate_extensions) return _internal_alternate_extensions(index); } inline std::string* ClientDownloadRequest::mutable_alternate_extensions(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.alternate_extensions) return alternate_extensions_.Mutable(index); } inline void ClientDownloadRequest::set_alternate_extensions(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.alternate_extensions) alternate_extensions_.Mutable(index)->assign(value); } inline void ClientDownloadRequest::set_alternate_extensions(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.alternate_extensions) alternate_extensions_.Mutable(index)->assign(std::move(value)); } inline void ClientDownloadRequest::set_alternate_extensions(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); alternate_extensions_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.alternate_extensions) } inline void ClientDownloadRequest::set_alternate_extensions(int index, const char* value, size_t size) { alternate_extensions_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.alternate_extensions) } inline std::string* ClientDownloadRequest::_internal_add_alternate_extensions() { return alternate_extensions_.Add(); } inline void ClientDownloadRequest::add_alternate_extensions(const std::string& value) { alternate_extensions_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.alternate_extensions) } inline void ClientDownloadRequest::add_alternate_extensions(std::string&& value) { alternate_extensions_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.alternate_extensions) } inline void ClientDownloadRequest::add_alternate_extensions(const char* value) { GOOGLE_DCHECK(value != nullptr); alternate_extensions_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientDownloadRequest.alternate_extensions) } inline void ClientDownloadRequest::add_alternate_extensions(const char* value, size_t size) { alternate_extensions_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientDownloadRequest.alternate_extensions) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientDownloadRequest::alternate_extensions() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.alternate_extensions) return alternate_extensions_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientDownloadRequest::mutable_alternate_extensions() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.alternate_extensions) return &alternate_extensions_; } // repeated .safe_browsing.ReferrerChainEntry referrer_chain = 36; inline int ClientDownloadRequest::_internal_referrer_chain_size() const { return referrer_chain_.size(); } inline int ClientDownloadRequest::referrer_chain_size() const { return _internal_referrer_chain_size(); } inline void ClientDownloadRequest::clear_referrer_chain() { referrer_chain_.Clear(); } inline ::safe_browsing::ReferrerChainEntry* ClientDownloadRequest::mutable_referrer_chain(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.referrer_chain) return referrer_chain_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >* ClientDownloadRequest::mutable_referrer_chain() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.referrer_chain) return &referrer_chain_; } inline const ::safe_browsing::ReferrerChainEntry& ClientDownloadRequest::_internal_referrer_chain(int index) const { return referrer_chain_.Get(index); } inline const ::safe_browsing::ReferrerChainEntry& ClientDownloadRequest::referrer_chain(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.referrer_chain) return _internal_referrer_chain(index); } inline ::safe_browsing::ReferrerChainEntry* ClientDownloadRequest::_internal_add_referrer_chain() { return referrer_chain_.Add(); } inline ::safe_browsing::ReferrerChainEntry* ClientDownloadRequest::add_referrer_chain() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.referrer_chain) return _internal_add_referrer_chain(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry >& ClientDownloadRequest::referrer_chain() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.referrer_chain) return referrer_chain_; } // optional bool DEPRECATED_download_attribution_finch_enabled = 39 [deprecated = true]; inline bool ClientDownloadRequest::_internal_has_deprecated_download_attribution_finch_enabled() const { bool value = (_has_bits_[0] & 0x00000200u) != 0; return value; } inline bool ClientDownloadRequest::has_deprecated_download_attribution_finch_enabled() const { return _internal_has_deprecated_download_attribution_finch_enabled(); } inline void ClientDownloadRequest::clear_deprecated_download_attribution_finch_enabled() { deprecated_download_attribution_finch_enabled_ = false; _has_bits_[0] &= ~0x00000200u; } inline bool ClientDownloadRequest::_internal_deprecated_download_attribution_finch_enabled() const { return deprecated_download_attribution_finch_enabled_; } inline bool ClientDownloadRequest::deprecated_download_attribution_finch_enabled() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.DEPRECATED_download_attribution_finch_enabled) return _internal_deprecated_download_attribution_finch_enabled(); } inline void ClientDownloadRequest::_internal_set_deprecated_download_attribution_finch_enabled(bool value) { _has_bits_[0] |= 0x00000200u; deprecated_download_attribution_finch_enabled_ = value; } inline void ClientDownloadRequest::set_deprecated_download_attribution_finch_enabled(bool value) { _internal_set_deprecated_download_attribution_finch_enabled(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.DEPRECATED_download_attribution_finch_enabled) } // optional bytes udif_code_signature = 40; inline bool ClientDownloadRequest::_internal_has_udif_code_signature() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientDownloadRequest::has_udif_code_signature() const { return _internal_has_udif_code_signature(); } inline void ClientDownloadRequest::clear_udif_code_signature() { udif_code_signature_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& ClientDownloadRequest::udif_code_signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.udif_code_signature) return _internal_udif_code_signature(); } inline void ClientDownloadRequest::set_udif_code_signature(const std::string& value) { _internal_set_udif_code_signature(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.udif_code_signature) } inline std::string* ClientDownloadRequest::mutable_udif_code_signature() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.udif_code_signature) return _internal_mutable_udif_code_signature(); } inline const std::string& ClientDownloadRequest::_internal_udif_code_signature() const { return udif_code_signature_.GetNoArena(); } inline void ClientDownloadRequest::_internal_set_udif_code_signature(const std::string& value) { _has_bits_[0] |= 0x00000008u; udif_code_signature_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadRequest::set_udif_code_signature(std::string&& value) { _has_bits_[0] |= 0x00000008u; udif_code_signature_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadRequest.udif_code_signature) } inline void ClientDownloadRequest::set_udif_code_signature(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; udif_code_signature_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.udif_code_signature) } inline void ClientDownloadRequest::set_udif_code_signature(const void* value, size_t size) { _has_bits_[0] |= 0x00000008u; udif_code_signature_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.udif_code_signature) } inline std::string* ClientDownloadRequest::_internal_mutable_udif_code_signature() { _has_bits_[0] |= 0x00000008u; return udif_code_signature_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadRequest::release_udif_code_signature() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadRequest.udif_code_signature) if (!_internal_has_udif_code_signature()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return udif_code_signature_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadRequest::set_allocated_udif_code_signature(std::string* udif_code_signature) { if (udif_code_signature != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } udif_code_signature_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), udif_code_signature); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.udif_code_signature) } // ------------------------------------------------------------------- // ReferrerChainEntry_ServerRedirect // optional string url = 1; inline bool ReferrerChainEntry_ServerRedirect::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ReferrerChainEntry_ServerRedirect::has_url() const { return _internal_has_url(); } inline void ReferrerChainEntry_ServerRedirect::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ReferrerChainEntry_ServerRedirect::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.ServerRedirect.url) return _internal_url(); } inline void ReferrerChainEntry_ServerRedirect::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.ServerRedirect.url) } inline std::string* ReferrerChainEntry_ServerRedirect::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ReferrerChainEntry.ServerRedirect.url) return _internal_mutable_url(); } inline const std::string& ReferrerChainEntry_ServerRedirect::_internal_url() const { return url_.GetNoArena(); } inline void ReferrerChainEntry_ServerRedirect::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ReferrerChainEntry_ServerRedirect::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ReferrerChainEntry.ServerRedirect.url) } inline void ReferrerChainEntry_ServerRedirect::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ReferrerChainEntry.ServerRedirect.url) } inline void ReferrerChainEntry_ServerRedirect::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ReferrerChainEntry.ServerRedirect.url) } inline std::string* ReferrerChainEntry_ServerRedirect::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ReferrerChainEntry_ServerRedirect::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ReferrerChainEntry.ServerRedirect.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ReferrerChainEntry_ServerRedirect::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ReferrerChainEntry.ServerRedirect.url) } // ------------------------------------------------------------------- // ReferrerChainEntry // optional string url = 1; inline bool ReferrerChainEntry::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ReferrerChainEntry::has_url() const { return _internal_has_url(); } inline void ReferrerChainEntry::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ReferrerChainEntry::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.url) return _internal_url(); } inline void ReferrerChainEntry::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.url) } inline std::string* ReferrerChainEntry::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ReferrerChainEntry.url) return _internal_mutable_url(); } inline const std::string& ReferrerChainEntry::_internal_url() const { return url_.GetNoArena(); } inline void ReferrerChainEntry::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ReferrerChainEntry::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ReferrerChainEntry.url) } inline void ReferrerChainEntry::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ReferrerChainEntry.url) } inline void ReferrerChainEntry::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ReferrerChainEntry.url) } inline std::string* ReferrerChainEntry::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ReferrerChainEntry::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ReferrerChainEntry.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ReferrerChainEntry::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ReferrerChainEntry.url) } // optional string main_frame_url = 9; inline bool ReferrerChainEntry::_internal_has_main_frame_url() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ReferrerChainEntry::has_main_frame_url() const { return _internal_has_main_frame_url(); } inline void ReferrerChainEntry::clear_main_frame_url() { main_frame_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& ReferrerChainEntry::main_frame_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.main_frame_url) return _internal_main_frame_url(); } inline void ReferrerChainEntry::set_main_frame_url(const std::string& value) { _internal_set_main_frame_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.main_frame_url) } inline std::string* ReferrerChainEntry::mutable_main_frame_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ReferrerChainEntry.main_frame_url) return _internal_mutable_main_frame_url(); } inline const std::string& ReferrerChainEntry::_internal_main_frame_url() const { return main_frame_url_.GetNoArena(); } inline void ReferrerChainEntry::_internal_set_main_frame_url(const std::string& value) { _has_bits_[0] |= 0x00000008u; main_frame_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ReferrerChainEntry::set_main_frame_url(std::string&& value) { _has_bits_[0] |= 0x00000008u; main_frame_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ReferrerChainEntry.main_frame_url) } inline void ReferrerChainEntry::set_main_frame_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; main_frame_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ReferrerChainEntry.main_frame_url) } inline void ReferrerChainEntry::set_main_frame_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000008u; main_frame_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ReferrerChainEntry.main_frame_url) } inline std::string* ReferrerChainEntry::_internal_mutable_main_frame_url() { _has_bits_[0] |= 0x00000008u; return main_frame_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ReferrerChainEntry::release_main_frame_url() { // @@protoc_insertion_point(field_release:safe_browsing.ReferrerChainEntry.main_frame_url) if (!_internal_has_main_frame_url()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return main_frame_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ReferrerChainEntry::set_allocated_main_frame_url(std::string* main_frame_url) { if (main_frame_url != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } main_frame_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), main_frame_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ReferrerChainEntry.main_frame_url) } // optional .safe_browsing.ReferrerChainEntry.URLType type = 2 [default = CLIENT_REDIRECT]; inline bool ReferrerChainEntry::_internal_has_type() const { bool value = (_has_bits_[0] & 0x00000040u) != 0; return value; } inline bool ReferrerChainEntry::has_type() const { return _internal_has_type(); } inline void ReferrerChainEntry::clear_type() { type_ = 4; _has_bits_[0] &= ~0x00000040u; } inline ::safe_browsing::ReferrerChainEntry_URLType ReferrerChainEntry::_internal_type() const { return static_cast< ::safe_browsing::ReferrerChainEntry_URLType >(type_); } inline ::safe_browsing::ReferrerChainEntry_URLType ReferrerChainEntry::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.type) return _internal_type(); } inline void ReferrerChainEntry::_internal_set_type(::safe_browsing::ReferrerChainEntry_URLType value) { assert(::safe_browsing::ReferrerChainEntry_URLType_IsValid(value)); _has_bits_[0] |= 0x00000040u; type_ = value; } inline void ReferrerChainEntry::set_type(::safe_browsing::ReferrerChainEntry_URLType value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.type) } // repeated string ip_addresses = 3; inline int ReferrerChainEntry::_internal_ip_addresses_size() const { return ip_addresses_.size(); } inline int ReferrerChainEntry::ip_addresses_size() const { return _internal_ip_addresses_size(); } inline void ReferrerChainEntry::clear_ip_addresses() { ip_addresses_.Clear(); } inline std::string* ReferrerChainEntry::add_ip_addresses() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ReferrerChainEntry.ip_addresses) return _internal_add_ip_addresses(); } inline const std::string& ReferrerChainEntry::_internal_ip_addresses(int index) const { return ip_addresses_.Get(index); } inline const std::string& ReferrerChainEntry::ip_addresses(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.ip_addresses) return _internal_ip_addresses(index); } inline std::string* ReferrerChainEntry::mutable_ip_addresses(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ReferrerChainEntry.ip_addresses) return ip_addresses_.Mutable(index); } inline void ReferrerChainEntry::set_ip_addresses(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.ip_addresses) ip_addresses_.Mutable(index)->assign(value); } inline void ReferrerChainEntry::set_ip_addresses(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.ip_addresses) ip_addresses_.Mutable(index)->assign(std::move(value)); } inline void ReferrerChainEntry::set_ip_addresses(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); ip_addresses_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ReferrerChainEntry.ip_addresses) } inline void ReferrerChainEntry::set_ip_addresses(int index, const char* value, size_t size) { ip_addresses_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ReferrerChainEntry.ip_addresses) } inline std::string* ReferrerChainEntry::_internal_add_ip_addresses() { return ip_addresses_.Add(); } inline void ReferrerChainEntry::add_ip_addresses(const std::string& value) { ip_addresses_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ReferrerChainEntry.ip_addresses) } inline void ReferrerChainEntry::add_ip_addresses(std::string&& value) { ip_addresses_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ReferrerChainEntry.ip_addresses) } inline void ReferrerChainEntry::add_ip_addresses(const char* value) { GOOGLE_DCHECK(value != nullptr); ip_addresses_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ReferrerChainEntry.ip_addresses) } inline void ReferrerChainEntry::add_ip_addresses(const char* value, size_t size) { ip_addresses_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ReferrerChainEntry.ip_addresses) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ReferrerChainEntry::ip_addresses() const { // @@protoc_insertion_point(field_list:safe_browsing.ReferrerChainEntry.ip_addresses) return ip_addresses_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ReferrerChainEntry::mutable_ip_addresses() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ReferrerChainEntry.ip_addresses) return &ip_addresses_; } // optional string referrer_url = 4; inline bool ReferrerChainEntry::_internal_has_referrer_url() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ReferrerChainEntry::has_referrer_url() const { return _internal_has_referrer_url(); } inline void ReferrerChainEntry::clear_referrer_url() { referrer_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ReferrerChainEntry::referrer_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.referrer_url) return _internal_referrer_url(); } inline void ReferrerChainEntry::set_referrer_url(const std::string& value) { _internal_set_referrer_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.referrer_url) } inline std::string* ReferrerChainEntry::mutable_referrer_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ReferrerChainEntry.referrer_url) return _internal_mutable_referrer_url(); } inline const std::string& ReferrerChainEntry::_internal_referrer_url() const { return referrer_url_.GetNoArena(); } inline void ReferrerChainEntry::_internal_set_referrer_url(const std::string& value) { _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ReferrerChainEntry::set_referrer_url(std::string&& value) { _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ReferrerChainEntry.referrer_url) } inline void ReferrerChainEntry::set_referrer_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ReferrerChainEntry.referrer_url) } inline void ReferrerChainEntry::set_referrer_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ReferrerChainEntry.referrer_url) } inline std::string* ReferrerChainEntry::_internal_mutable_referrer_url() { _has_bits_[0] |= 0x00000002u; return referrer_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ReferrerChainEntry::release_referrer_url() { // @@protoc_insertion_point(field_release:safe_browsing.ReferrerChainEntry.referrer_url) if (!_internal_has_referrer_url()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return referrer_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ReferrerChainEntry::set_allocated_referrer_url(std::string* referrer_url) { if (referrer_url != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } referrer_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), referrer_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ReferrerChainEntry.referrer_url) } // optional string referrer_main_frame_url = 5; inline bool ReferrerChainEntry::_internal_has_referrer_main_frame_url() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ReferrerChainEntry::has_referrer_main_frame_url() const { return _internal_has_referrer_main_frame_url(); } inline void ReferrerChainEntry::clear_referrer_main_frame_url() { referrer_main_frame_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ReferrerChainEntry::referrer_main_frame_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) return _internal_referrer_main_frame_url(); } inline void ReferrerChainEntry::set_referrer_main_frame_url(const std::string& value) { _internal_set_referrer_main_frame_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) } inline std::string* ReferrerChainEntry::mutable_referrer_main_frame_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) return _internal_mutable_referrer_main_frame_url(); } inline const std::string& ReferrerChainEntry::_internal_referrer_main_frame_url() const { return referrer_main_frame_url_.GetNoArena(); } inline void ReferrerChainEntry::_internal_set_referrer_main_frame_url(const std::string& value) { _has_bits_[0] |= 0x00000004u; referrer_main_frame_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ReferrerChainEntry::set_referrer_main_frame_url(std::string&& value) { _has_bits_[0] |= 0x00000004u; referrer_main_frame_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) } inline void ReferrerChainEntry::set_referrer_main_frame_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; referrer_main_frame_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) } inline void ReferrerChainEntry::set_referrer_main_frame_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; referrer_main_frame_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) } inline std::string* ReferrerChainEntry::_internal_mutable_referrer_main_frame_url() { _has_bits_[0] |= 0x00000004u; return referrer_main_frame_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ReferrerChainEntry::release_referrer_main_frame_url() { // @@protoc_insertion_point(field_release:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) if (!_internal_has_referrer_main_frame_url()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return referrer_main_frame_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ReferrerChainEntry::set_allocated_referrer_main_frame_url(std::string* referrer_main_frame_url) { if (referrer_main_frame_url != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } referrer_main_frame_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), referrer_main_frame_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ReferrerChainEntry.referrer_main_frame_url) } // optional bool is_retargeting = 6; inline bool ReferrerChainEntry::_internal_has_is_retargeting() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool ReferrerChainEntry::has_is_retargeting() const { return _internal_has_is_retargeting(); } inline void ReferrerChainEntry::clear_is_retargeting() { is_retargeting_ = false; _has_bits_[0] &= ~0x00000020u; } inline bool ReferrerChainEntry::_internal_is_retargeting() const { return is_retargeting_; } inline bool ReferrerChainEntry::is_retargeting() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.is_retargeting) return _internal_is_retargeting(); } inline void ReferrerChainEntry::_internal_set_is_retargeting(bool value) { _has_bits_[0] |= 0x00000020u; is_retargeting_ = value; } inline void ReferrerChainEntry::set_is_retargeting(bool value) { _internal_set_is_retargeting(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.is_retargeting) } // optional double navigation_time_msec = 7; inline bool ReferrerChainEntry::_internal_has_navigation_time_msec() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ReferrerChainEntry::has_navigation_time_msec() const { return _internal_has_navigation_time_msec(); } inline void ReferrerChainEntry::clear_navigation_time_msec() { navigation_time_msec_ = 0; _has_bits_[0] &= ~0x00000010u; } inline double ReferrerChainEntry::_internal_navigation_time_msec() const { return navigation_time_msec_; } inline double ReferrerChainEntry::navigation_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.navigation_time_msec) return _internal_navigation_time_msec(); } inline void ReferrerChainEntry::_internal_set_navigation_time_msec(double value) { _has_bits_[0] |= 0x00000010u; navigation_time_msec_ = value; } inline void ReferrerChainEntry::set_navigation_time_msec(double value) { _internal_set_navigation_time_msec(value); // @@protoc_insertion_point(field_set:safe_browsing.ReferrerChainEntry.navigation_time_msec) } // repeated .safe_browsing.ReferrerChainEntry.ServerRedirect server_redirect_chain = 8; inline int ReferrerChainEntry::_internal_server_redirect_chain_size() const { return server_redirect_chain_.size(); } inline int ReferrerChainEntry::server_redirect_chain_size() const { return _internal_server_redirect_chain_size(); } inline void ReferrerChainEntry::clear_server_redirect_chain() { server_redirect_chain_.Clear(); } inline ::safe_browsing::ReferrerChainEntry_ServerRedirect* ReferrerChainEntry::mutable_server_redirect_chain(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ReferrerChainEntry.server_redirect_chain) return server_redirect_chain_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect >* ReferrerChainEntry::mutable_server_redirect_chain() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ReferrerChainEntry.server_redirect_chain) return &server_redirect_chain_; } inline const ::safe_browsing::ReferrerChainEntry_ServerRedirect& ReferrerChainEntry::_internal_server_redirect_chain(int index) const { return server_redirect_chain_.Get(index); } inline const ::safe_browsing::ReferrerChainEntry_ServerRedirect& ReferrerChainEntry::server_redirect_chain(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ReferrerChainEntry.server_redirect_chain) return _internal_server_redirect_chain(index); } inline ::safe_browsing::ReferrerChainEntry_ServerRedirect* ReferrerChainEntry::_internal_add_server_redirect_chain() { return server_redirect_chain_.Add(); } inline ::safe_browsing::ReferrerChainEntry_ServerRedirect* ReferrerChainEntry::add_server_redirect_chain() { // @@protoc_insertion_point(field_add:safe_browsing.ReferrerChainEntry.server_redirect_chain) return _internal_add_server_redirect_chain(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ReferrerChainEntry_ServerRedirect >& ReferrerChainEntry::server_redirect_chain() const { // @@protoc_insertion_point(field_list:safe_browsing.ReferrerChainEntry.server_redirect_chain) return server_redirect_chain_; } // ------------------------------------------------------------------- // ClientDownloadResponse_MoreInfo // optional string description = 1; inline bool ClientDownloadResponse_MoreInfo::_internal_has_description() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadResponse_MoreInfo::has_description() const { return _internal_has_description(); } inline void ClientDownloadResponse_MoreInfo::clear_description() { description_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadResponse_MoreInfo::description() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.MoreInfo.description) return _internal_description(); } inline void ClientDownloadResponse_MoreInfo::set_description(const std::string& value) { _internal_set_description(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.MoreInfo.description) } inline std::string* ClientDownloadResponse_MoreInfo::mutable_description() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.MoreInfo.description) return _internal_mutable_description(); } inline const std::string& ClientDownloadResponse_MoreInfo::_internal_description() const { return description_.GetNoArena(); } inline void ClientDownloadResponse_MoreInfo::_internal_set_description(const std::string& value) { _has_bits_[0] |= 0x00000001u; description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadResponse_MoreInfo::set_description(std::string&& value) { _has_bits_[0] |= 0x00000001u; description_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadResponse.MoreInfo.description) } inline void ClientDownloadResponse_MoreInfo::set_description(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.MoreInfo.description) } inline void ClientDownloadResponse_MoreInfo::set_description(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.MoreInfo.description) } inline std::string* ClientDownloadResponse_MoreInfo::_internal_mutable_description() { _has_bits_[0] |= 0x00000001u; return description_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadResponse_MoreInfo::release_description() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadResponse.MoreInfo.description) if (!_internal_has_description()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return description_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadResponse_MoreInfo::set_allocated_description(std::string* description) { if (description != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } description_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.MoreInfo.description) } // optional string url = 2; inline bool ClientDownloadResponse_MoreInfo::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientDownloadResponse_MoreInfo::has_url() const { return _internal_has_url(); } inline void ClientDownloadResponse_MoreInfo::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientDownloadResponse_MoreInfo::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.MoreInfo.url) return _internal_url(); } inline void ClientDownloadResponse_MoreInfo::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.MoreInfo.url) } inline std::string* ClientDownloadResponse_MoreInfo::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.MoreInfo.url) return _internal_mutable_url(); } inline const std::string& ClientDownloadResponse_MoreInfo::_internal_url() const { return url_.GetNoArena(); } inline void ClientDownloadResponse_MoreInfo::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000002u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadResponse_MoreInfo::set_url(std::string&& value) { _has_bits_[0] |= 0x00000002u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadResponse.MoreInfo.url) } inline void ClientDownloadResponse_MoreInfo::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.MoreInfo.url) } inline void ClientDownloadResponse_MoreInfo::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.MoreInfo.url) } inline std::string* ClientDownloadResponse_MoreInfo::_internal_mutable_url() { _has_bits_[0] |= 0x00000002u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadResponse_MoreInfo::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadResponse.MoreInfo.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadResponse_MoreInfo::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.MoreInfo.url) } // ------------------------------------------------------------------- // ClientDownloadResponse // optional .safe_browsing.ClientDownloadResponse.Verdict verdict = 1 [default = SAFE]; inline bool ClientDownloadResponse::_internal_has_verdict() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientDownloadResponse::has_verdict() const { return _internal_has_verdict(); } inline void ClientDownloadResponse::clear_verdict() { verdict_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::safe_browsing::ClientDownloadResponse_Verdict ClientDownloadResponse::_internal_verdict() const { return static_cast< ::safe_browsing::ClientDownloadResponse_Verdict >(verdict_); } inline ::safe_browsing::ClientDownloadResponse_Verdict ClientDownloadResponse::verdict() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.verdict) return _internal_verdict(); } inline void ClientDownloadResponse::_internal_set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) { assert(::safe_browsing::ClientDownloadResponse_Verdict_IsValid(value)); _has_bits_[0] |= 0x00000004u; verdict_ = value; } inline void ClientDownloadResponse::set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) { _internal_set_verdict(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.verdict) } // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2; inline bool ClientDownloadResponse::_internal_has_more_info() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || more_info_ != nullptr); return value; } inline bool ClientDownloadResponse::has_more_info() const { return _internal_has_more_info(); } inline void ClientDownloadResponse::clear_more_info() { if (more_info_ != nullptr) more_info_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientDownloadResponse_MoreInfo& ClientDownloadResponse::_internal_more_info() const { const ::safe_browsing::ClientDownloadResponse_MoreInfo* p = more_info_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadResponse_MoreInfo_default_instance_); } inline const ::safe_browsing::ClientDownloadResponse_MoreInfo& ClientDownloadResponse::more_info() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.more_info) return _internal_more_info(); } inline ::safe_browsing::ClientDownloadResponse_MoreInfo* ClientDownloadResponse::release_more_info() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadResponse.more_info) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientDownloadResponse_MoreInfo* temp = more_info_; more_info_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadResponse_MoreInfo* ClientDownloadResponse::_internal_mutable_more_info() { _has_bits_[0] |= 0x00000002u; if (more_info_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadResponse_MoreInfo>(GetArenaNoVirtual()); more_info_ = p; } return more_info_; } inline ::safe_browsing::ClientDownloadResponse_MoreInfo* ClientDownloadResponse::mutable_more_info() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.more_info) return _internal_mutable_more_info(); } inline void ClientDownloadResponse::set_allocated_more_info(::safe_browsing::ClientDownloadResponse_MoreInfo* more_info) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete more_info_; } if (more_info) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { more_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, more_info, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } more_info_ = more_info; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.more_info) } // optional bytes token = 3; inline bool ClientDownloadResponse::_internal_has_token() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadResponse::has_token() const { return _internal_has_token(); } inline void ClientDownloadResponse::clear_token() { token_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadResponse::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.token) return _internal_token(); } inline void ClientDownloadResponse::set_token(const std::string& value) { _internal_set_token(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.token) } inline std::string* ClientDownloadResponse::mutable_token() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.token) return _internal_mutable_token(); } inline const std::string& ClientDownloadResponse::_internal_token() const { return token_.GetNoArena(); } inline void ClientDownloadResponse::_internal_set_token(const std::string& value) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadResponse::set_token(std::string&& value) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadResponse.token) } inline void ClientDownloadResponse::set_token(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.token) } inline void ClientDownloadResponse::set_token(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.token) } inline std::string* ClientDownloadResponse::_internal_mutable_token() { _has_bits_[0] |= 0x00000001u; return token_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadResponse::release_token() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadResponse.token) if (!_internal_has_token()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return token_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadResponse::set_allocated_token(std::string* token) { if (token != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } token_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.token) } // optional bool upload = 5; inline bool ClientDownloadResponse::_internal_has_upload() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientDownloadResponse::has_upload() const { return _internal_has_upload(); } inline void ClientDownloadResponse::clear_upload() { upload_ = false; _has_bits_[0] &= ~0x00000008u; } inline bool ClientDownloadResponse::_internal_upload() const { return upload_; } inline bool ClientDownloadResponse::upload() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.upload) return _internal_upload(); } inline void ClientDownloadResponse::_internal_set_upload(bool value) { _has_bits_[0] |= 0x00000008u; upload_ = value; } inline void ClientDownloadResponse::set_upload(bool value) { _internal_set_upload(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.upload) } // ------------------------------------------------------------------- // ClientDownloadReport_UserInformation // optional string email = 1; inline bool ClientDownloadReport_UserInformation::_internal_has_email() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadReport_UserInformation::has_email() const { return _internal_has_email(); } inline void ClientDownloadReport_UserInformation::clear_email() { email_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadReport_UserInformation::email() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.UserInformation.email) return _internal_email(); } inline void ClientDownloadReport_UserInformation::set_email(const std::string& value) { _internal_set_email(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.UserInformation.email) } inline std::string* ClientDownloadReport_UserInformation::mutable_email() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.UserInformation.email) return _internal_mutable_email(); } inline const std::string& ClientDownloadReport_UserInformation::_internal_email() const { return email_.GetNoArena(); } inline void ClientDownloadReport_UserInformation::_internal_set_email(const std::string& value) { _has_bits_[0] |= 0x00000001u; email_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadReport_UserInformation::set_email(std::string&& value) { _has_bits_[0] |= 0x00000001u; email_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadReport.UserInformation.email) } inline void ClientDownloadReport_UserInformation::set_email(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; email_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadReport.UserInformation.email) } inline void ClientDownloadReport_UserInformation::set_email(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; email_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadReport.UserInformation.email) } inline std::string* ClientDownloadReport_UserInformation::_internal_mutable_email() { _has_bits_[0] |= 0x00000001u; return email_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadReport_UserInformation::release_email() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadReport.UserInformation.email) if (!_internal_has_email()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return email_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadReport_UserInformation::set_allocated_email(std::string* email) { if (email != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } email_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), email); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.UserInformation.email) } // ------------------------------------------------------------------- // ClientDownloadReport // optional .safe_browsing.ClientDownloadReport.Reason reason = 1; inline bool ClientDownloadReport::_internal_has_reason() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientDownloadReport::has_reason() const { return _internal_has_reason(); } inline void ClientDownloadReport::clear_reason() { reason_ = 0; _has_bits_[0] &= ~0x00000010u; } inline ::safe_browsing::ClientDownloadReport_Reason ClientDownloadReport::_internal_reason() const { return static_cast< ::safe_browsing::ClientDownloadReport_Reason >(reason_); } inline ::safe_browsing::ClientDownloadReport_Reason ClientDownloadReport::reason() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.reason) return _internal_reason(); } inline void ClientDownloadReport::_internal_set_reason(::safe_browsing::ClientDownloadReport_Reason value) { assert(::safe_browsing::ClientDownloadReport_Reason_IsValid(value)); _has_bits_[0] |= 0x00000010u; reason_ = value; } inline void ClientDownloadReport::set_reason(::safe_browsing::ClientDownloadReport_Reason value) { _internal_set_reason(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.reason) } // optional .safe_browsing.ClientDownloadRequest download_request = 2; inline bool ClientDownloadReport::_internal_has_download_request() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || download_request_ != nullptr); return value; } inline bool ClientDownloadReport::has_download_request() const { return _internal_has_download_request(); } inline void ClientDownloadReport::clear_download_request() { if (download_request_ != nullptr) download_request_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientDownloadRequest& ClientDownloadReport::_internal_download_request() const { const ::safe_browsing::ClientDownloadRequest* p = download_request_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest& ClientDownloadReport::download_request() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.download_request) return _internal_download_request(); } inline ::safe_browsing::ClientDownloadRequest* ClientDownloadReport::release_download_request() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadReport.download_request) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientDownloadRequest* temp = download_request_; download_request_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest* ClientDownloadReport::_internal_mutable_download_request() { _has_bits_[0] |= 0x00000002u; if (download_request_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest>(GetArenaNoVirtual()); download_request_ = p; } return download_request_; } inline ::safe_browsing::ClientDownloadRequest* ClientDownloadReport::mutable_download_request() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.download_request) return _internal_mutable_download_request(); } inline void ClientDownloadReport::set_allocated_download_request(::safe_browsing::ClientDownloadRequest* download_request) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete download_request_; } if (download_request) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { download_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, download_request, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } download_request_ = download_request; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.download_request) } // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3; inline bool ClientDownloadReport::_internal_has_user_information() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || user_information_ != nullptr); return value; } inline bool ClientDownloadReport::has_user_information() const { return _internal_has_user_information(); } inline void ClientDownloadReport::clear_user_information() { if (user_information_ != nullptr) user_information_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientDownloadReport_UserInformation& ClientDownloadReport::_internal_user_information() const { const ::safe_browsing::ClientDownloadReport_UserInformation* p = user_information_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadReport_UserInformation_default_instance_); } inline const ::safe_browsing::ClientDownloadReport_UserInformation& ClientDownloadReport::user_information() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.user_information) return _internal_user_information(); } inline ::safe_browsing::ClientDownloadReport_UserInformation* ClientDownloadReport::release_user_information() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadReport.user_information) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientDownloadReport_UserInformation* temp = user_information_; user_information_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadReport_UserInformation* ClientDownloadReport::_internal_mutable_user_information() { _has_bits_[0] |= 0x00000004u; if (user_information_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadReport_UserInformation>(GetArenaNoVirtual()); user_information_ = p; } return user_information_; } inline ::safe_browsing::ClientDownloadReport_UserInformation* ClientDownloadReport::mutable_user_information() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.user_information) return _internal_mutable_user_information(); } inline void ClientDownloadReport::set_allocated_user_information(::safe_browsing::ClientDownloadReport_UserInformation* user_information) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete user_information_; } if (user_information) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { user_information = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, user_information, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } user_information_ = user_information; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.user_information) } // optional bytes comment = 4; inline bool ClientDownloadReport::_internal_has_comment() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientDownloadReport::has_comment() const { return _internal_has_comment(); } inline void ClientDownloadReport::clear_comment() { comment_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientDownloadReport::comment() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.comment) return _internal_comment(); } inline void ClientDownloadReport::set_comment(const std::string& value) { _internal_set_comment(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.comment) } inline std::string* ClientDownloadReport::mutable_comment() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.comment) return _internal_mutable_comment(); } inline const std::string& ClientDownloadReport::_internal_comment() const { return comment_.GetNoArena(); } inline void ClientDownloadReport::_internal_set_comment(const std::string& value) { _has_bits_[0] |= 0x00000001u; comment_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientDownloadReport::set_comment(std::string&& value) { _has_bits_[0] |= 0x00000001u; comment_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientDownloadReport.comment) } inline void ClientDownloadReport::set_comment(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; comment_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadReport.comment) } inline void ClientDownloadReport::set_comment(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; comment_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadReport.comment) } inline std::string* ClientDownloadReport::_internal_mutable_comment() { _has_bits_[0] |= 0x00000001u; return comment_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientDownloadReport::release_comment() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadReport.comment) if (!_internal_has_comment()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return comment_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientDownloadReport::set_allocated_comment(std::string* comment) { if (comment != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } comment_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), comment); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.comment) } // optional .safe_browsing.ClientDownloadResponse download_response = 5; inline bool ClientDownloadReport::_internal_has_download_response() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || download_response_ != nullptr); return value; } inline bool ClientDownloadReport::has_download_response() const { return _internal_has_download_response(); } inline void ClientDownloadReport::clear_download_response() { if (download_response_ != nullptr) download_response_->Clear(); _has_bits_[0] &= ~0x00000008u; } inline const ::safe_browsing::ClientDownloadResponse& ClientDownloadReport::_internal_download_response() const { const ::safe_browsing::ClientDownloadResponse* p = download_response_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadResponse_default_instance_); } inline const ::safe_browsing::ClientDownloadResponse& ClientDownloadReport::download_response() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.download_response) return _internal_download_response(); } inline ::safe_browsing::ClientDownloadResponse* ClientDownloadReport::release_download_response() { // @@protoc_insertion_point(field_release:safe_browsing.ClientDownloadReport.download_response) _has_bits_[0] &= ~0x00000008u; ::safe_browsing::ClientDownloadResponse* temp = download_response_; download_response_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadResponse* ClientDownloadReport::_internal_mutable_download_response() { _has_bits_[0] |= 0x00000008u; if (download_response_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadResponse>(GetArenaNoVirtual()); download_response_ = p; } return download_response_; } inline ::safe_browsing::ClientDownloadResponse* ClientDownloadReport::mutable_download_response() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.download_response) return _internal_mutable_download_response(); } inline void ClientDownloadReport::set_allocated_download_response(::safe_browsing::ClientDownloadResponse* download_response) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete download_response_; } if (download_response) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { download_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, download_response, submessage_arena); } _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } download_response_ = download_response; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.download_response) } // ------------------------------------------------------------------- // ClientUploadResponse // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1; inline bool ClientUploadResponse::_internal_has_status() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientUploadResponse::has_status() const { return _internal_has_status(); } inline void ClientUploadResponse::clear_status() { status_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::safe_browsing::ClientUploadResponse_UploadStatus ClientUploadResponse::_internal_status() const { return static_cast< ::safe_browsing::ClientUploadResponse_UploadStatus >(status_); } inline ::safe_browsing::ClientUploadResponse_UploadStatus ClientUploadResponse::status() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientUploadResponse.status) return _internal_status(); } inline void ClientUploadResponse::_internal_set_status(::safe_browsing::ClientUploadResponse_UploadStatus value) { assert(::safe_browsing::ClientUploadResponse_UploadStatus_IsValid(value)); _has_bits_[0] |= 0x00000002u; status_ = value; } inline void ClientUploadResponse::set_status(::safe_browsing::ClientUploadResponse_UploadStatus value) { _internal_set_status(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientUploadResponse.status) } // optional string permalink = 2; inline bool ClientUploadResponse::_internal_has_permalink() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientUploadResponse::has_permalink() const { return _internal_has_permalink(); } inline void ClientUploadResponse::clear_permalink() { permalink_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientUploadResponse::permalink() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientUploadResponse.permalink) return _internal_permalink(); } inline void ClientUploadResponse::set_permalink(const std::string& value) { _internal_set_permalink(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientUploadResponse.permalink) } inline std::string* ClientUploadResponse::mutable_permalink() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientUploadResponse.permalink) return _internal_mutable_permalink(); } inline const std::string& ClientUploadResponse::_internal_permalink() const { return permalink_.GetNoArena(); } inline void ClientUploadResponse::_internal_set_permalink(const std::string& value) { _has_bits_[0] |= 0x00000001u; permalink_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientUploadResponse::set_permalink(std::string&& value) { _has_bits_[0] |= 0x00000001u; permalink_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientUploadResponse.permalink) } inline void ClientUploadResponse::set_permalink(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; permalink_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientUploadResponse.permalink) } inline void ClientUploadResponse::set_permalink(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; permalink_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientUploadResponse.permalink) } inline std::string* ClientUploadResponse::_internal_mutable_permalink() { _has_bits_[0] |= 0x00000001u; return permalink_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientUploadResponse::release_permalink() { // @@protoc_insertion_point(field_release:safe_browsing.ClientUploadResponse.permalink) if (!_internal_has_permalink()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return permalink_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientUploadResponse::set_allocated_permalink(std::string* permalink) { if (permalink != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } permalink_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), permalink); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientUploadResponse.permalink) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_TrackedPreferenceIncident // optional string path = 1; inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_has_path() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_path() const { return _internal_has_path(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_path() { path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::path() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) return _internal_path(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const std::string& value) { _internal_set_path(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_path() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) return _internal_mutable_path(); } inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_path() const { return path_.GetNoArena(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_set_path(const std::string& value) { _has_bits_[0] |= 0x00000001u; path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(std::string&& value) { _has_bits_[0] |= 0x00000001u; path_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_mutable_path() { _has_bits_[0] |= 0x00000001u; return path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::release_path() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) if (!_internal_has_path()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return path_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_allocated_path(std::string* path) { if (path != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), path); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } // optional string atomic_value = 2; inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_has_atomic_value() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_atomic_value() const { return _internal_has_atomic_value(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_atomic_value() { atomic_value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::atomic_value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) return _internal_atomic_value(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const std::string& value) { _internal_set_atomic_value(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_atomic_value() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) return _internal_mutable_atomic_value(); } inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_atomic_value() const { return atomic_value_.GetNoArena(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_set_atomic_value(const std::string& value) { _has_bits_[0] |= 0x00000002u; atomic_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(std::string&& value) { _has_bits_[0] |= 0x00000002u; atomic_value_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; atomic_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; atomic_value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_mutable_atomic_value() { _has_bits_[0] |= 0x00000002u; return atomic_value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::release_atomic_value() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) if (!_internal_has_atomic_value()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return atomic_value_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_allocated_atomic_value(std::string* atomic_value) { if (atomic_value != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } atomic_value_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), atomic_value); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } // repeated string split_key = 3; inline int ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_split_key_size() const { return split_key_.size(); } inline int ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key_size() const { return _internal_split_key_size(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_split_key() { split_key_.Clear(); } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) return _internal_add_split_key(); } inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_split_key(int index) const { return split_key_.Get(index); } inline const std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) return _internal_split_key(index); } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_split_key(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) return split_key_.Mutable(index); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_split_key(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) split_key_.Mutable(index)->assign(value); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_split_key(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) split_key_.Mutable(index)->assign(std::move(value)); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_split_key(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); split_key_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_split_key(int index, const char* value, size_t size) { split_key_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) } inline std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_add_split_key() { return split_key_.Add(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key(const std::string& value) { split_key_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key(std::string&& value) { split_key_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key(const char* value) { GOOGLE_DCHECK(value != nullptr); split_key_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::add_split_key(const char* value, size_t size) { split_key_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) return split_key_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_split_key() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) return &split_key_; } // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.ValueState value_state = 4; inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_has_value_state() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_value_state() const { return _internal_has_value_state(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_value_state() { value_state_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_value_state() const { return static_cast< ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState >(value_state_); } inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident::value_state() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.value_state) return _internal_value_state(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::_internal_set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value) { assert(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(value)); _has_bits_[0] |= 0x00000004u; value_state_ = value; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value) { _internal_set_value_state(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.value_state) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile // optional string relative_path = 1; inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_has_relative_path() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::has_relative_path() const { return _internal_has_relative_path(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_relative_path() { relative_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::relative_path() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) return _internal_relative_path(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const std::string& value) { _internal_set_relative_path(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) } inline std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_relative_path() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) return _internal_mutable_relative_path(); } inline const std::string& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_relative_path() const { return relative_path_.GetNoArena(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_set_relative_path(const std::string& value) { _has_bits_[0] |= 0x00000001u; relative_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(std::string&& value) { _has_bits_[0] |= 0x00000001u; relative_path_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; relative_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; relative_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) } inline std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_mutable_relative_path() { _has_bits_[0] |= 0x00000001u; return relative_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_relative_path() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) if (!_internal_has_relative_path()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return relative_path_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_relative_path(std::string* relative_path) { if (relative_path != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } relative_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), relative_path); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2; inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_has_signature() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || signature_ != nullptr); return value; } inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::has_signature() const { return _internal_has_signature(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_signature() { if (signature_ != nullptr) signature_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_signature() const { const ::safe_browsing::ClientDownloadRequest_SignatureInfo* p = signature_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_SignatureInfo_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature) return _internal_signature(); } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_signature() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_mutable_signature() { _has_bits_[0] |= 0x00000002u; if (signature_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_SignatureInfo>(GetArenaNoVirtual()); signature_ = p; } return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_signature() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature) return _internal_mutable_signature(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete signature_; } if (signature) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { signature = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, signature, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } signature_ = signature; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3; inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_has_image_headers() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || image_headers_ != nullptr); return value; } inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::has_image_headers() const { return _internal_has_image_headers(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_image_headers() { if (image_headers_ != nullptr) image_headers_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_image_headers() const { const ::safe_browsing::ClientDownloadRequest_ImageHeaders* p = image_headers_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_ImageHeaders_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers) return _internal_image_headers(); } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_image_headers() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::_internal_mutable_image_headers() { _has_bits_[0] |= 0x00000004u; if (image_headers_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ImageHeaders>(GetArenaNoVirtual()); image_headers_ = p; } return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_image_headers() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers) return _internal_mutable_image_headers(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete image_headers_; } if (image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { image_headers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, image_headers, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } image_headers_ = image_headers; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_BinaryIntegrityIncident // optional string file_basename = 1; inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_has_file_basename() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_file_basename() const { return _internal_has_file_basename(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_file_basename() { file_basename_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::file_basename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) return _internal_file_basename(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const std::string& value) { _internal_set_file_basename(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) } inline std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_file_basename() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) return _internal_mutable_file_basename(); } inline const std::string& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_file_basename() const { return file_basename_.GetNoArena(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_set_file_basename(const std::string& value) { _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(std::string&& value) { _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; file_basename_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) } inline std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_mutable_file_basename() { _has_bits_[0] |= 0x00000001u; return file_basename_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_file_basename() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) if (!_internal_has_file_basename()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return file_basename_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_file_basename(std::string* file_basename) { if (file_basename != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } file_basename_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_basename); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2; inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_has_signature() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || signature_ != nullptr); return value; } inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_signature() const { return _internal_has_signature(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_signature() { if (signature_ != nullptr) signature_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_signature() const { const ::safe_browsing::ClientDownloadRequest_SignatureInfo* p = signature_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_SignatureInfo_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature) return _internal_signature(); } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_signature() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_mutable_signature() { _has_bits_[0] |= 0x00000002u; if (signature_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_SignatureInfo>(GetArenaNoVirtual()); signature_ = p; } return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_signature() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature) return _internal_mutable_signature(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete signature_; } if (signature) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { signature = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, signature, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } signature_ = signature; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3; inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_has_image_headers() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || image_headers_ != nullptr); return value; } inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_image_headers() const { return _internal_has_image_headers(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_image_headers() { if (image_headers_ != nullptr) image_headers_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_image_headers() const { const ::safe_browsing::ClientDownloadRequest_ImageHeaders* p = image_headers_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_ImageHeaders_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers) return _internal_image_headers(); } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_image_headers() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_mutable_image_headers() { _has_bits_[0] |= 0x00000004u; if (image_headers_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ImageHeaders>(GetArenaNoVirtual()); image_headers_ = p; } return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_image_headers() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers) return _internal_mutable_image_headers(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete image_headers_; } if (image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { image_headers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, image_headers, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } image_headers_ = image_headers; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers) } // optional int32 sec_error = 4; inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_has_sec_error() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_BinaryIntegrityIncident::has_sec_error() const { return _internal_has_sec_error(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_sec_error() { sec_error_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_sec_error() const { return sec_error_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_IncidentData_BinaryIntegrityIncident::sec_error() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.sec_error) return _internal_sec_error(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_set_sec_error(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000008u; sec_error_ = value; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_sec_error(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_sec_error(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.sec_error) } // repeated .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile contained_file = 5; inline int ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_contained_file_size() const { return contained_file_.size(); } inline int ClientIncidentReport_IncidentData_BinaryIntegrityIncident::contained_file_size() const { return _internal_contained_file_size(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_contained_file() { contained_file_.Clear(); } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_contained_file(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file) return contained_file_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_contained_file() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file) return &contained_file_; } inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_contained_file(int index) const { return contained_file_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::contained_file(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file) return _internal_contained_file(index); } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::_internal_add_contained_file() { return contained_file_.Add(); } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::add_contained_file() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file) return _internal_add_contained_file(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::contained_file() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.contained_file) return contained_file_; } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_ResourceRequestIncident // optional bytes digest = 1; inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_has_digest() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_digest() const { return _internal_has_digest(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_digest() { digest_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::digest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) return _internal_digest(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const std::string& value) { _internal_set_digest(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } inline std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::mutable_digest() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) return _internal_mutable_digest(); } inline const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_digest() const { return digest_.GetNoArena(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_set_digest(const std::string& value) { _has_bits_[0] |= 0x00000001u; digest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(std::string&& value) { _has_bits_[0] |= 0x00000001u; digest_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; digest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; digest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } inline std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_mutable_digest() { _has_bits_[0] |= 0x00000001u; return digest_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::release_digest() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) if (!_internal_has_digest()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return digest_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_allocated_digest(std::string* digest) { if (digest != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } digest_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), digest); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } // optional string origin = 2; inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_has_origin() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_origin() const { return _internal_has_origin(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_origin() { origin_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::origin() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) return _internal_origin(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const std::string& value) { _internal_set_origin(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) } inline std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::mutable_origin() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) return _internal_mutable_origin(); } inline const std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_origin() const { return origin_.GetNoArena(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_set_origin(const std::string& value) { _has_bits_[0] |= 0x00000002u; origin_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(std::string&& value) { _has_bits_[0] |= 0x00000002u; origin_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; origin_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; origin_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) } inline std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_mutable_origin() { _has_bits_[0] |= 0x00000002u; return origin_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::release_origin() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) if (!_internal_has_origin()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return origin_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_allocated_origin(std::string* origin) { if (origin != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } origin_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), origin); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) } // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.Type type = 3 [default = UNKNOWN]; inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_has_type() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_type() const { return _internal_has_type(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_type() { type_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_type() const { return static_cast< ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type >(type_); } inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.type) return _internal_type(); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::_internal_set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value) { assert(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(value)); _has_bits_[0] |= 0x00000004u; type_ = value; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.type) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData // optional int64 incident_time_msec = 1; inline bool ClientIncidentReport_IncidentData::_internal_has_incident_time_msec() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_IncidentData::has_incident_time_msec() const { return _internal_has_incident_time_msec(); } inline void ClientIncidentReport_IncidentData::clear_incident_time_msec() { incident_time_msec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_IncidentData::_internal_incident_time_msec() const { return incident_time_msec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_IncidentData::incident_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.incident_time_msec) return _internal_incident_time_msec(); } inline void ClientIncidentReport_IncidentData::_internal_set_incident_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000008u; incident_time_msec_ = value; } inline void ClientIncidentReport_IncidentData::set_incident_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_incident_time_msec(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.incident_time_msec) } // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident tracked_preference = 2; inline bool ClientIncidentReport_IncidentData::_internal_has_tracked_preference() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || tracked_preference_ != nullptr); return value; } inline bool ClientIncidentReport_IncidentData::has_tracked_preference() const { return _internal_has_tracked_preference(); } inline void ClientIncidentReport_IncidentData::clear_tracked_preference() { if (tracked_preference_ != nullptr) tracked_preference_->Clear(); _has_bits_[0] &= ~0x00000001u; } inline const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& ClientIncidentReport_IncidentData::_internal_tracked_preference() const { const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* p = tracked_preference_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_IncidentData_TrackedPreferenceIncident_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& ClientIncidentReport_IncidentData::tracked_preference() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference) return _internal_tracked_preference(); } inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* ClientIncidentReport_IncidentData::release_tracked_preference() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference) _has_bits_[0] &= ~0x00000001u; ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* temp = tracked_preference_; tracked_preference_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* ClientIncidentReport_IncidentData::_internal_mutable_tracked_preference() { _has_bits_[0] |= 0x00000001u; if (tracked_preference_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident>(GetArenaNoVirtual()); tracked_preference_ = p; } return tracked_preference_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* ClientIncidentReport_IncidentData::mutable_tracked_preference() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference) return _internal_mutable_tracked_preference(); } inline void ClientIncidentReport_IncidentData::set_allocated_tracked_preference(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete tracked_preference_; } if (tracked_preference) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { tracked_preference = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, tracked_preference, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } tracked_preference_ = tracked_preference; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference) } // optional .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident binary_integrity = 3; inline bool ClientIncidentReport_IncidentData::_internal_has_binary_integrity() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || binary_integrity_ != nullptr); return value; } inline bool ClientIncidentReport_IncidentData::has_binary_integrity() const { return _internal_has_binary_integrity(); } inline void ClientIncidentReport_IncidentData::clear_binary_integrity() { if (binary_integrity_ != nullptr) binary_integrity_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& ClientIncidentReport_IncidentData::_internal_binary_integrity() const { const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* p = binary_integrity_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_IncidentData_BinaryIntegrityIncident_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& ClientIncidentReport_IncidentData::binary_integrity() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity) return _internal_binary_integrity(); } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* ClientIncidentReport_IncidentData::release_binary_integrity() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* temp = binary_integrity_; binary_integrity_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* ClientIncidentReport_IncidentData::_internal_mutable_binary_integrity() { _has_bits_[0] |= 0x00000002u; if (binary_integrity_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident>(GetArenaNoVirtual()); binary_integrity_ = p; } return binary_integrity_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* ClientIncidentReport_IncidentData::mutable_binary_integrity() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity) return _internal_mutable_binary_integrity(); } inline void ClientIncidentReport_IncidentData::set_allocated_binary_integrity(::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete binary_integrity_; } if (binary_integrity) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { binary_integrity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, binary_integrity, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } binary_integrity_ = binary_integrity; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity) } // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident resource_request = 7; inline bool ClientIncidentReport_IncidentData::_internal_has_resource_request() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || resource_request_ != nullptr); return value; } inline bool ClientIncidentReport_IncidentData::has_resource_request() const { return _internal_has_resource_request(); } inline void ClientIncidentReport_IncidentData::clear_resource_request() { if (resource_request_ != nullptr) resource_request_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& ClientIncidentReport_IncidentData::_internal_resource_request() const { const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* p = resource_request_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_IncidentData_ResourceRequestIncident_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& ClientIncidentReport_IncidentData::resource_request() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.resource_request) return _internal_resource_request(); } inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* ClientIncidentReport_IncidentData::release_resource_request() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.IncidentData.resource_request) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* temp = resource_request_; resource_request_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* ClientIncidentReport_IncidentData::_internal_mutable_resource_request() { _has_bits_[0] |= 0x00000004u; if (resource_request_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident>(GetArenaNoVirtual()); resource_request_ = p; } return resource_request_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* ClientIncidentReport_IncidentData::mutable_resource_request() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.resource_request) return _internal_mutable_resource_request(); } inline void ClientIncidentReport_IncidentData::set_allocated_resource_request(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete resource_request_; } if (resource_request) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { resource_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, resource_request, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } resource_request_ = resource_request; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.resource_request) } // ------------------------------------------------------------------- // ClientIncidentReport_DownloadDetails // optional bytes token = 1; inline bool ClientIncidentReport_DownloadDetails::_internal_has_token() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_DownloadDetails::has_token() const { return _internal_has_token(); } inline void ClientIncidentReport_DownloadDetails::clear_token() { token_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_DownloadDetails::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.token) return _internal_token(); } inline void ClientIncidentReport_DownloadDetails::set_token(const std::string& value) { _internal_set_token(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.DownloadDetails.token) } inline std::string* ClientIncidentReport_DownloadDetails::mutable_token() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.DownloadDetails.token) return _internal_mutable_token(); } inline const std::string& ClientIncidentReport_DownloadDetails::_internal_token() const { return token_.GetNoArena(); } inline void ClientIncidentReport_DownloadDetails::_internal_set_token(const std::string& value) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_DownloadDetails::set_token(std::string&& value) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.DownloadDetails.token) } inline void ClientIncidentReport_DownloadDetails::set_token(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.DownloadDetails.token) } inline void ClientIncidentReport_DownloadDetails::set_token(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.DownloadDetails.token) } inline std::string* ClientIncidentReport_DownloadDetails::_internal_mutable_token() { _has_bits_[0] |= 0x00000001u; return token_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_DownloadDetails::release_token() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.DownloadDetails.token) if (!_internal_has_token()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return token_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_DownloadDetails::set_allocated_token(std::string* token) { if (token != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } token_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.DownloadDetails.token) } // optional .safe_browsing.ClientDownloadRequest download = 2; inline bool ClientIncidentReport_DownloadDetails::_internal_has_download() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || download_ != nullptr); return value; } inline bool ClientIncidentReport_DownloadDetails::has_download() const { return _internal_has_download(); } inline void ClientIncidentReport_DownloadDetails::clear_download() { if (download_ != nullptr) download_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientDownloadRequest& ClientIncidentReport_DownloadDetails::_internal_download() const { const ::safe_browsing::ClientDownloadRequest* p = download_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest& ClientIncidentReport_DownloadDetails::download() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.download) return _internal_download(); } inline ::safe_browsing::ClientDownloadRequest* ClientIncidentReport_DownloadDetails::release_download() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.DownloadDetails.download) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientDownloadRequest* temp = download_; download_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest* ClientIncidentReport_DownloadDetails::_internal_mutable_download() { _has_bits_[0] |= 0x00000002u; if (download_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest>(GetArenaNoVirtual()); download_ = p; } return download_; } inline ::safe_browsing::ClientDownloadRequest* ClientIncidentReport_DownloadDetails::mutable_download() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.DownloadDetails.download) return _internal_mutable_download(); } inline void ClientIncidentReport_DownloadDetails::set_allocated_download(::safe_browsing::ClientDownloadRequest* download) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete download_; } if (download) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { download = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, download, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } download_ = download; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.DownloadDetails.download) } // optional int64 download_time_msec = 3; inline bool ClientIncidentReport_DownloadDetails::_internal_has_download_time_msec() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_DownloadDetails::has_download_time_msec() const { return _internal_has_download_time_msec(); } inline void ClientIncidentReport_DownloadDetails::clear_download_time_msec() { download_time_msec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_DownloadDetails::_internal_download_time_msec() const { return download_time_msec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_DownloadDetails::download_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.download_time_msec) return _internal_download_time_msec(); } inline void ClientIncidentReport_DownloadDetails::_internal_set_download_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000004u; download_time_msec_ = value; } inline void ClientIncidentReport_DownloadDetails::set_download_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_download_time_msec(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.DownloadDetails.download_time_msec) } // optional int64 open_time_msec = 4; inline bool ClientIncidentReport_DownloadDetails::_internal_has_open_time_msec() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_DownloadDetails::has_open_time_msec() const { return _internal_has_open_time_msec(); } inline void ClientIncidentReport_DownloadDetails::clear_open_time_msec() { open_time_msec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_DownloadDetails::_internal_open_time_msec() const { return open_time_msec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_DownloadDetails::open_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.open_time_msec) return _internal_open_time_msec(); } inline void ClientIncidentReport_DownloadDetails::_internal_set_open_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000008u; open_time_msec_ = value; } inline void ClientIncidentReport_DownloadDetails::set_open_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_open_time_msec(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.DownloadDetails.open_time_msec) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_OS_RegistryValue // optional string name = 1; inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_has_name() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_name() const { return _internal_has_name(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_name() { name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) return _internal_name(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::mutable_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) return _internal_mutable_name(); } inline const std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_name() const { return name_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_set_name(const std::string& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(std::string&& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_mutable_name() { _has_bits_[0] |= 0x00000001u; return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::release_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) if (!_internal_has_name()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_allocated_name(std::string* name) { if (name != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } // optional uint32 type = 2; inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_has_type() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_type() const { return _internal_has_type(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_type() { type_ = 0u; _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_type() const { return type_; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_OS_RegistryValue::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.type) return _internal_type(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_set_type(::PROTOBUF_NAMESPACE_ID::uint32 value) { _has_bits_[0] |= 0x00000004u; type_ = value; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_type(::PROTOBUF_NAMESPACE_ID::uint32 value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.type) } // optional bytes data = 3; inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_has_data() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_data() const { return _internal_has_data(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_data() { data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) return _internal_data(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const std::string& value) { _internal_set_data(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::mutable_data() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) return _internal_mutable_data(); } inline const std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_data() const { return data_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_set_data(const std::string& value) { _has_bits_[0] |= 0x00000002u; data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(std::string&& value) { _has_bits_[0] |= 0x00000002u; data_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::_internal_mutable_data() { _has_bits_[0] |= 0x00000002u; return data_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::release_data() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) if (!_internal_has_data()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return data_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_allocated_data(std::string* data) { if (data != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } data_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_OS_RegistryKey // optional string name = 1; inline bool ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_has_name() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_OS_RegistryKey::has_name() const { return _internal_has_name(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_name() { name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_OS_RegistryKey::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) return _internal_name(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) return _internal_mutable_name(); } inline const std::string& ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_name() const { return name_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_set_name(const std::string& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(std::string&& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_mutable_name() { _has_bits_[0] |= 0x00000001u; return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_OS_RegistryKey::release_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) if (!_internal_has_name()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_allocated_name(std::string* name) { if (name != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue value = 2; inline int ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_value_size() const { return value_.size(); } inline int ClientIncidentReport_EnvironmentData_OS_RegistryKey::value_size() const { return _internal_value_size(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_value() { value_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_value(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value) return value_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_value() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value) return &value_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_value(int index) const { return value_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& ClientIncidentReport_EnvironmentData_OS_RegistryKey::value(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value) return _internal_value(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_add_value() { return value_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* ClientIncidentReport_EnvironmentData_OS_RegistryKey::add_value() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value) return _internal_add_value(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >& ClientIncidentReport_EnvironmentData_OS_RegistryKey::value() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.value) return value_; } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey key = 3; inline int ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_key_size() const { return key_.size(); } inline int ClientIncidentReport_EnvironmentData_OS_RegistryKey::key_size() const { return _internal_key_size(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_key() { key_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_key(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key) return key_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_key() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key) return &key_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_key(int index) const { return key_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& ClientIncidentReport_EnvironmentData_OS_RegistryKey::key(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key) return _internal_key(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS_RegistryKey::_internal_add_key() { return key_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS_RegistryKey::add_key() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key) return _internal_add_key(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >& ClientIncidentReport_EnvironmentData_OS_RegistryKey::key() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.key) return key_; } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_OS // optional string os_name = 1; inline bool ClientIncidentReport_EnvironmentData_OS::_internal_has_os_name() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_OS::has_os_name() const { return _internal_has_os_name(); } inline void ClientIncidentReport_EnvironmentData_OS::clear_os_name() { os_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_OS::os_name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) return _internal_os_name(); } inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const std::string& value) { _internal_set_os_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } inline std::string* ClientIncidentReport_EnvironmentData_OS::mutable_os_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) return _internal_mutable_os_name(); } inline const std::string& ClientIncidentReport_EnvironmentData_OS::_internal_os_name() const { return os_name_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_OS::_internal_set_os_name(const std::string& value) { _has_bits_[0] |= 0x00000001u; os_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(std::string&& value) { _has_bits_[0] |= 0x00000001u; os_name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; os_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; os_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } inline std::string* ClientIncidentReport_EnvironmentData_OS::_internal_mutable_os_name() { _has_bits_[0] |= 0x00000001u; return os_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_OS::release_os_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) if (!_internal_has_os_name()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return os_name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_OS::set_allocated_os_name(std::string* os_name) { if (os_name != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } os_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), os_name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } // optional string os_version = 2; inline bool ClientIncidentReport_EnvironmentData_OS::_internal_has_os_version() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_OS::has_os_version() const { return _internal_has_os_version(); } inline void ClientIncidentReport_EnvironmentData_OS::clear_os_version() { os_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_EnvironmentData_OS::os_version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) return _internal_os_version(); } inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const std::string& value) { _internal_set_os_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) } inline std::string* ClientIncidentReport_EnvironmentData_OS::mutable_os_version() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) return _internal_mutable_os_version(); } inline const std::string& ClientIncidentReport_EnvironmentData_OS::_internal_os_version() const { return os_version_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_OS::_internal_set_os_version(const std::string& value) { _has_bits_[0] |= 0x00000002u; os_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(std::string&& value) { _has_bits_[0] |= 0x00000002u; os_version_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) } inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; os_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) } inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; os_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) } inline std::string* ClientIncidentReport_EnvironmentData_OS::_internal_mutable_os_version() { _has_bits_[0] |= 0x00000002u; return os_version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_OS::release_os_version() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) if (!_internal_has_os_version()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return os_version_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_OS::set_allocated_os_version(std::string* os_version) { if (os_version != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } os_version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), os_version); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey registry_key = 3; inline int ClientIncidentReport_EnvironmentData_OS::_internal_registry_key_size() const { return registry_key_.size(); } inline int ClientIncidentReport_EnvironmentData_OS::registry_key_size() const { return _internal_registry_key_size(); } inline void ClientIncidentReport_EnvironmentData_OS::clear_registry_key() { registry_key_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS::mutable_registry_key(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key) return registry_key_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >* ClientIncidentReport_EnvironmentData_OS::mutable_registry_key() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key) return ®istry_key_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& ClientIncidentReport_EnvironmentData_OS::_internal_registry_key(int index) const { return registry_key_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& ClientIncidentReport_EnvironmentData_OS::registry_key(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key) return _internal_registry_key(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS::_internal_add_registry_key() { return registry_key_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* ClientIncidentReport_EnvironmentData_OS::add_registry_key() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key) return _internal_add_registry_key(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >& ClientIncidentReport_EnvironmentData_OS::registry_key() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.OS.registry_key) return registry_key_; } // optional bool is_enrolled_to_domain = 4; inline bool ClientIncidentReport_EnvironmentData_OS::_internal_has_is_enrolled_to_domain() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_OS::has_is_enrolled_to_domain() const { return _internal_has_is_enrolled_to_domain(); } inline void ClientIncidentReport_EnvironmentData_OS::clear_is_enrolled_to_domain() { is_enrolled_to_domain_ = false; _has_bits_[0] &= ~0x00000004u; } inline bool ClientIncidentReport_EnvironmentData_OS::_internal_is_enrolled_to_domain() const { return is_enrolled_to_domain_; } inline bool ClientIncidentReport_EnvironmentData_OS::is_enrolled_to_domain() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.is_enrolled_to_domain) return _internal_is_enrolled_to_domain(); } inline void ClientIncidentReport_EnvironmentData_OS::_internal_set_is_enrolled_to_domain(bool value) { _has_bits_[0] |= 0x00000004u; is_enrolled_to_domain_ = value; } inline void ClientIncidentReport_EnvironmentData_OS::set_is_enrolled_to_domain(bool value) { _internal_set_is_enrolled_to_domain(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.is_enrolled_to_domain) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Machine // optional string cpu_architecture = 1; inline bool ClientIncidentReport_EnvironmentData_Machine::_internal_has_cpu_architecture() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpu_architecture() const { return _internal_has_cpu_architecture(); } inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpu_architecture() { cpu_architecture_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_Machine::cpu_architecture() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) return _internal_cpu_architecture(); } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const std::string& value) { _internal_set_cpu_architecture(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } inline std::string* ClientIncidentReport_EnvironmentData_Machine::mutable_cpu_architecture() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) return _internal_mutable_cpu_architecture(); } inline const std::string& ClientIncidentReport_EnvironmentData_Machine::_internal_cpu_architecture() const { return cpu_architecture_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Machine::_internal_set_cpu_architecture(const std::string& value) { _has_bits_[0] |= 0x00000001u; cpu_architecture_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(std::string&& value) { _has_bits_[0] |= 0x00000001u; cpu_architecture_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; cpu_architecture_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; cpu_architecture_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } inline std::string* ClientIncidentReport_EnvironmentData_Machine::_internal_mutable_cpu_architecture() { _has_bits_[0] |= 0x00000001u; return cpu_architecture_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Machine::release_cpu_architecture() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) if (!_internal_has_cpu_architecture()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return cpu_architecture_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Machine::set_allocated_cpu_architecture(std::string* cpu_architecture) { if (cpu_architecture != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } cpu_architecture_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cpu_architecture); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } // optional string cpu_vendor = 2; inline bool ClientIncidentReport_EnvironmentData_Machine::_internal_has_cpu_vendor() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpu_vendor() const { return _internal_has_cpu_vendor(); } inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpu_vendor() { cpu_vendor_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_EnvironmentData_Machine::cpu_vendor() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) return _internal_cpu_vendor(); } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const std::string& value) { _internal_set_cpu_vendor(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } inline std::string* ClientIncidentReport_EnvironmentData_Machine::mutable_cpu_vendor() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) return _internal_mutable_cpu_vendor(); } inline const std::string& ClientIncidentReport_EnvironmentData_Machine::_internal_cpu_vendor() const { return cpu_vendor_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Machine::_internal_set_cpu_vendor(const std::string& value) { _has_bits_[0] |= 0x00000002u; cpu_vendor_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(std::string&& value) { _has_bits_[0] |= 0x00000002u; cpu_vendor_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; cpu_vendor_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; cpu_vendor_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } inline std::string* ClientIncidentReport_EnvironmentData_Machine::_internal_mutable_cpu_vendor() { _has_bits_[0] |= 0x00000002u; return cpu_vendor_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Machine::release_cpu_vendor() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) if (!_internal_has_cpu_vendor()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return cpu_vendor_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Machine::set_allocated_cpu_vendor(std::string* cpu_vendor) { if (cpu_vendor != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } cpu_vendor_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cpu_vendor); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } // optional uint32 cpuid = 3; inline bool ClientIncidentReport_EnvironmentData_Machine::_internal_has_cpuid() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpuid() const { return _internal_has_cpuid(); } inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpuid() { cpuid_ = 0u; _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_Machine::_internal_cpuid() const { return cpuid_; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_Machine::cpuid() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpuid) return _internal_cpuid(); } inline void ClientIncidentReport_EnvironmentData_Machine::_internal_set_cpuid(::PROTOBUF_NAMESPACE_ID::uint32 value) { _has_bits_[0] |= 0x00000004u; cpuid_ = value; } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpuid(::PROTOBUF_NAMESPACE_ID::uint32 value) { _internal_set_cpuid(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpuid) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Process_Patch // optional string function = 1; inline bool ClientIncidentReport_EnvironmentData_Process_Patch::_internal_has_function() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_Patch::has_function() const { return _internal_has_function(); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_function() { function_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_Process_Patch::function() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) return _internal_function(); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const std::string& value) { _internal_set_function(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } inline std::string* ClientIncidentReport_EnvironmentData_Process_Patch::mutable_function() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) return _internal_mutable_function(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_Patch::_internal_function() const { return function_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::_internal_set_function(const std::string& value) { _has_bits_[0] |= 0x00000001u; function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(std::string&& value) { _has_bits_[0] |= 0x00000001u; function_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } inline std::string* ClientIncidentReport_EnvironmentData_Process_Patch::_internal_mutable_function() { _has_bits_[0] |= 0x00000001u; return function_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Process_Patch::release_function() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) if (!_internal_has_function()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return function_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_allocated_function(std::string* function) { if (function != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } function_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), function); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } // optional string target_dll = 2; inline bool ClientIncidentReport_EnvironmentData_Process_Patch::_internal_has_target_dll() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_Patch::has_target_dll() const { return _internal_has_target_dll(); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_target_dll() { target_dll_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_EnvironmentData_Process_Patch::target_dll() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) return _internal_target_dll(); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const std::string& value) { _internal_set_target_dll(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) } inline std::string* ClientIncidentReport_EnvironmentData_Process_Patch::mutable_target_dll() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) return _internal_mutable_target_dll(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_Patch::_internal_target_dll() const { return target_dll_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::_internal_set_target_dll(const std::string& value) { _has_bits_[0] |= 0x00000002u; target_dll_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(std::string&& value) { _has_bits_[0] |= 0x00000002u; target_dll_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; target_dll_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; target_dll_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) } inline std::string* ClientIncidentReport_EnvironmentData_Process_Patch::_internal_mutable_target_dll() { _has_bits_[0] |= 0x00000002u; return target_dll_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Process_Patch::release_target_dll() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) if (!_internal_has_target_dll()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return target_dll_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_allocated_target_dll(std::string* target_dll) { if (target_dll != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } target_dll_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), target_dll); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Process_NetworkProvider // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Process_Dll // optional string path = 1; inline bool ClientIncidentReport_EnvironmentData_Process_Dll::_internal_has_path() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_path() const { return _internal_has_path(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_path() { path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_Process_Dll::path() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) return _internal_path(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const std::string& value) { _internal_set_path(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } inline std::string* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_path() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) return _internal_mutable_path(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_Dll::_internal_path() const { return path_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::_internal_set_path(const std::string& value) { _has_bits_[0] |= 0x00000001u; path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(std::string&& value) { _has_bits_[0] |= 0x00000001u; path_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } inline std::string* ClientIncidentReport_EnvironmentData_Process_Dll::_internal_mutable_path() { _has_bits_[0] |= 0x00000001u; return path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Process_Dll::release_path() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) if (!_internal_has_path()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return path_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_allocated_path(std::string* path) { if (path != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), path); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } // optional uint64 base_address = 2; inline bool ClientIncidentReport_EnvironmentData_Process_Dll::_internal_has_base_address() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_base_address() const { return _internal_has_base_address(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_base_address() { base_address_ = PROTOBUF_ULONGLONG(0); _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::uint64 ClientIncidentReport_EnvironmentData_Process_Dll::_internal_base_address() const { return base_address_; } inline ::PROTOBUF_NAMESPACE_ID::uint64 ClientIncidentReport_EnvironmentData_Process_Dll::base_address() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.base_address) return _internal_base_address(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::_internal_set_base_address(::PROTOBUF_NAMESPACE_ID::uint64 value) { _has_bits_[0] |= 0x00000004u; base_address_ = value; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_base_address(::PROTOBUF_NAMESPACE_ID::uint64 value) { _internal_set_base_address(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.base_address) } // optional uint32 length = 3; inline bool ClientIncidentReport_EnvironmentData_Process_Dll::_internal_has_length() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_length() const { return _internal_has_length(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_length() { length_ = 0u; _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_Process_Dll::_internal_length() const { return length_; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_Process_Dll::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.length) return _internal_length(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::_internal_set_length(::PROTOBUF_NAMESPACE_ID::uint32 value) { _has_bits_[0] |= 0x00000008u; length_ = value; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_length(::PROTOBUF_NAMESPACE_ID::uint32 value) { _internal_set_length(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.length) } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.Feature feature = 4; inline int ClientIncidentReport_EnvironmentData_Process_Dll::_internal_feature_size() const { return feature_.size(); } inline int ClientIncidentReport_EnvironmentData_Process_Dll::feature_size() const { return _internal_feature_size(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_feature() { feature_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll::_internal_feature(int index) const { return static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature >(feature_.Get(index)); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll::feature(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) return _internal_feature(index); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_feature(int index, ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value) { assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value)); feature_.Set(index, value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) } inline void ClientIncidentReport_EnvironmentData_Process_Dll::_internal_add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value) { assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value)); feature_.Add(value); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value) { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) _internal_add_feature(value); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& ClientIncidentReport_EnvironmentData_Process_Dll::feature() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) return feature_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* ClientIncidentReport_EnvironmentData_Process_Dll::_internal_mutable_feature() { return &feature_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_feature() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) return _internal_mutable_feature(); } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5; inline bool ClientIncidentReport_EnvironmentData_Process_Dll::_internal_has_image_headers() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || image_headers_ != nullptr); return value; } inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_image_headers() const { return _internal_has_image_headers(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_image_headers() { if (image_headers_ != nullptr) image_headers_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_EnvironmentData_Process_Dll::_internal_image_headers() const { const ::safe_browsing::ClientDownloadRequest_ImageHeaders* p = image_headers_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientDownloadRequest_ImageHeaders_default_instance_); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_EnvironmentData_Process_Dll::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers) return _internal_image_headers(); } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_EnvironmentData_Process_Dll::release_image_headers() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = nullptr; return temp; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_EnvironmentData_Process_Dll::_internal_mutable_image_headers() { _has_bits_[0] |= 0x00000002u; if (image_headers_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientDownloadRequest_ImageHeaders>(GetArenaNoVirtual()); image_headers_ = p; } return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_image_headers() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers) return _internal_mutable_image_headers(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete image_headers_; } if (image_headers) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { image_headers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, image_headers, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } image_headers_ = image_headers; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification // optional uint32 file_offset = 1; inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_has_file_offset() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_file_offset() const { return _internal_has_file_offset(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_file_offset() { file_offset_ = 0u; _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_file_offset() const { return file_offset_; } inline ::PROTOBUF_NAMESPACE_ID::uint32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::file_offset() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.file_offset) return _internal_file_offset(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_set_file_offset(::PROTOBUF_NAMESPACE_ID::uint32 value) { _has_bits_[0] |= 0x00000004u; file_offset_ = value; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_file_offset(::PROTOBUF_NAMESPACE_ID::uint32 value) { _internal_set_file_offset(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.file_offset) } // optional int32 byte_count = 2; inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_has_byte_count() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_byte_count() const { return _internal_has_byte_count(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_byte_count() { byte_count_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_byte_count() const { return byte_count_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::byte_count() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.byte_count) return _internal_byte_count(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_set_byte_count(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000008u; byte_count_ = value; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_byte_count(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_byte_count(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.byte_count) } // optional bytes modified_bytes = 3; inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_has_modified_bytes() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_modified_bytes() const { return _internal_has_modified_bytes(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_modified_bytes() { modified_bytes_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::modified_bytes() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) return _internal_modified_bytes(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const std::string& value) { _internal_set_modified_bytes(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::mutable_modified_bytes() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) return _internal_mutable_modified_bytes(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_modified_bytes() const { return modified_bytes_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_set_modified_bytes(const std::string& value) { _has_bits_[0] |= 0x00000001u; modified_bytes_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(std::string&& value) { _has_bits_[0] |= 0x00000001u; modified_bytes_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; modified_bytes_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; modified_bytes_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_mutable_modified_bytes() { _has_bits_[0] |= 0x00000001u; return modified_bytes_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::release_modified_bytes() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) if (!_internal_has_modified_bytes()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return modified_bytes_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_allocated_modified_bytes(std::string* modified_bytes) { if (modified_bytes != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } modified_bytes_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), modified_bytes); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) } // optional string export_name = 4; inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_has_export_name() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::has_export_name() const { return _internal_has_export_name(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_export_name() { export_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::export_name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) return _internal_export_name(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const std::string& value) { _internal_set_export_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::mutable_export_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) return _internal_mutable_export_name(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_export_name() const { return export_name_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_set_export_name(const std::string& value) { _has_bits_[0] |= 0x00000002u; export_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(std::string&& value) { _has_bits_[0] |= 0x00000002u; export_name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; export_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; export_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::_internal_mutable_export_name() { _has_bits_[0] |= 0x00000002u; return export_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::release_export_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) if (!_internal_has_export_name()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return export_name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_allocated_export_name(std::string* export_name) { if (export_name != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } export_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), export_name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Process_ModuleState // optional string name = 1; inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_has_name() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState::has_name() const { return _internal_has_name(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_name() { name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) return _internal_name(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) return _internal_mutable_name(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_name() const { return name_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_set_name(const std::string& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(std::string&& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_mutable_name() { _has_bits_[0] |= 0x00000001u; return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::release_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) if (!_internal_has_name()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_allocated_name(std::string* name) { if (name != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) } // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.ModifiedState modified_state = 2; inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_has_modified_state() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process_ModuleState::has_modified_state() const { return _internal_has_modified_state(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_modified_state() { modified_state_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_modified_state() const { return static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState >(modified_state_); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState::modified_state() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modified_state) return _internal_modified_state(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value) { assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(value)); _has_bits_[0] |= 0x00000002u; modified_state_ = value; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value) { _internal_set_modified_state(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modified_state) } // repeated string OBSOLETE_modified_export = 3; inline int ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_obsolete_modified_export_size() const { return obsolete_modified_export_.size(); } inline int ClientIncidentReport_EnvironmentData_Process_ModuleState::obsolete_modified_export_size() const { return _internal_obsolete_modified_export_size(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_obsolete_modified_export() { obsolete_modified_export_.Clear(); } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) return _internal_add_obsolete_modified_export(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_obsolete_modified_export(int index) const { return obsolete_modified_export_.Get(index); } inline const std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState::obsolete_modified_export(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) return _internal_obsolete_modified_export(index); } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_obsolete_modified_export(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) return obsolete_modified_export_.Mutable(index); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_obsolete_modified_export(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) obsolete_modified_export_.Mutable(index)->assign(value); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_obsolete_modified_export(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) obsolete_modified_export_.Mutable(index)->assign(std::move(value)); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_obsolete_modified_export(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); obsolete_modified_export_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_obsolete_modified_export(int index, const char* value, size_t size) { obsolete_modified_export_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) } inline std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_add_obsolete_modified_export() { return obsolete_modified_export_.Add(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export(const std::string& value) { obsolete_modified_export_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export(std::string&& value) { obsolete_modified_export_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export(const char* value) { GOOGLE_DCHECK(value != nullptr); obsolete_modified_export_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::add_obsolete_modified_export(const char* value, size_t size) { obsolete_modified_export_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientIncidentReport_EnvironmentData_Process_ModuleState::obsolete_modified_export() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) return obsolete_modified_export_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_obsolete_modified_export() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.OBSOLETE_modified_export) return &obsolete_modified_export_; } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification modification = 4; inline int ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_modification_size() const { return modification_.size(); } inline int ClientIncidentReport_EnvironmentData_Process_ModuleState::modification_size() const { return _internal_modification_size(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_modification() { modification_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_modification(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification) return modification_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_modification() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification) return &modification_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_modification(int index) const { return modification_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& ClientIncidentReport_EnvironmentData_Process_ModuleState::modification(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification) return _internal_modification(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* ClientIncidentReport_EnvironmentData_Process_ModuleState::_internal_add_modification() { return modification_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* ClientIncidentReport_EnvironmentData_Process_ModuleState::add_modification() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification) return _internal_add_modification(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >& ClientIncidentReport_EnvironmentData_Process_ModuleState::modification() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.modification) return modification_; } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Process // optional string version = 1; inline bool ClientIncidentReport_EnvironmentData_Process::_internal_has_version() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process::has_version() const { return _internal_has_version(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_version() { version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_EnvironmentData_Process::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) return _internal_version(); } inline void ClientIncidentReport_EnvironmentData_Process::set_version(const std::string& value) { _internal_set_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } inline std::string* ClientIncidentReport_EnvironmentData_Process::mutable_version() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) return _internal_mutable_version(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process::_internal_version() const { return version_.GetNoArena(); } inline void ClientIncidentReport_EnvironmentData_Process::_internal_set_version(const std::string& value) { _has_bits_[0] |= 0x00000001u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_EnvironmentData_Process::set_version(std::string&& value) { _has_bits_[0] |= 0x00000001u; version_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } inline void ClientIncidentReport_EnvironmentData_Process::set_version(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } inline void ClientIncidentReport_EnvironmentData_Process::set_version(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } inline std::string* ClientIncidentReport_EnvironmentData_Process::_internal_mutable_version() { _has_bits_[0] |= 0x00000001u; return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_EnvironmentData_Process::release_version() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) if (!_internal_has_version()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return version_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_EnvironmentData_Process::set_allocated_version(std::string* version) { if (version != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } // repeated string OBSOLETE_dlls = 2; inline int ClientIncidentReport_EnvironmentData_Process::_internal_obsolete_dlls_size() const { return obsolete_dlls_.size(); } inline int ClientIncidentReport_EnvironmentData_Process::obsolete_dlls_size() const { return _internal_obsolete_dlls_size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_obsolete_dlls() { obsolete_dlls_.Clear(); } inline std::string* ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) return _internal_add_obsolete_dlls(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process::_internal_obsolete_dlls(int index) const { return obsolete_dlls_.Get(index); } inline const std::string& ClientIncidentReport_EnvironmentData_Process::obsolete_dlls(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) return _internal_obsolete_dlls(index); } inline std::string* ClientIncidentReport_EnvironmentData_Process::mutable_obsolete_dlls(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) return obsolete_dlls_.Mutable(index); } inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_dlls(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) obsolete_dlls_.Mutable(index)->assign(value); } inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_dlls(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) obsolete_dlls_.Mutable(index)->assign(std::move(value)); } inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_dlls(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); obsolete_dlls_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) } inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_dlls(int index, const char* value, size_t size) { obsolete_dlls_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) } inline std::string* ClientIncidentReport_EnvironmentData_Process::_internal_add_obsolete_dlls() { return obsolete_dlls_.Add(); } inline void ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls(const std::string& value) { obsolete_dlls_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) } inline void ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls(std::string&& value) { obsolete_dlls_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) } inline void ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls(const char* value) { GOOGLE_DCHECK(value != nullptr); obsolete_dlls_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) } inline void ClientIncidentReport_EnvironmentData_Process::add_obsolete_dlls(const char* value, size_t size) { obsolete_dlls_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientIncidentReport_EnvironmentData_Process::obsolete_dlls() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) return obsolete_dlls_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientIncidentReport_EnvironmentData_Process::mutable_obsolete_dlls() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) return &obsolete_dlls_; } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch patches = 3; inline int ClientIncidentReport_EnvironmentData_Process::_internal_patches_size() const { return patches_.size(); } inline int ClientIncidentReport_EnvironmentData_Process::patches_size() const { return _internal_patches_size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_patches() { patches_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* ClientIncidentReport_EnvironmentData_Process::mutable_patches(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches) return patches_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >* ClientIncidentReport_EnvironmentData_Process::mutable_patches() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches) return &patches_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& ClientIncidentReport_EnvironmentData_Process::_internal_patches(int index) const { return patches_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& ClientIncidentReport_EnvironmentData_Process::patches(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches) return _internal_patches(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* ClientIncidentReport_EnvironmentData_Process::_internal_add_patches() { return patches_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* ClientIncidentReport_EnvironmentData_Process::add_patches() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches) return _internal_add_patches(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >& ClientIncidentReport_EnvironmentData_Process::patches() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches) return patches_; } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider network_providers = 4; inline int ClientIncidentReport_EnvironmentData_Process::_internal_network_providers_size() const { return network_providers_.size(); } inline int ClientIncidentReport_EnvironmentData_Process::network_providers_size() const { return _internal_network_providers_size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_network_providers() { network_providers_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* ClientIncidentReport_EnvironmentData_Process::mutable_network_providers(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers) return network_providers_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >* ClientIncidentReport_EnvironmentData_Process::mutable_network_providers() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers) return &network_providers_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& ClientIncidentReport_EnvironmentData_Process::_internal_network_providers(int index) const { return network_providers_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& ClientIncidentReport_EnvironmentData_Process::network_providers(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers) return _internal_network_providers(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* ClientIncidentReport_EnvironmentData_Process::_internal_add_network_providers() { return network_providers_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* ClientIncidentReport_EnvironmentData_Process::add_network_providers() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers) return _internal_add_network_providers(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >& ClientIncidentReport_EnvironmentData_Process::network_providers() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.network_providers) return network_providers_; } // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Channel chrome_update_channel = 5; inline bool ClientIncidentReport_EnvironmentData_Process::_internal_has_chrome_update_channel() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process::has_chrome_update_channel() const { return _internal_has_chrome_update_channel(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_chrome_update_channel() { chrome_update_channel_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process::_internal_chrome_update_channel() const { return static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel >(chrome_update_channel_); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process::chrome_update_channel() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.chrome_update_channel) return _internal_chrome_update_channel(); } inline void ClientIncidentReport_EnvironmentData_Process::_internal_set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value) { assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(value)); _has_bits_[0] |= 0x00000004u; chrome_update_channel_ = value; } inline void ClientIncidentReport_EnvironmentData_Process::set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value) { _internal_set_chrome_update_channel(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.chrome_update_channel) } // optional int64 uptime_msec = 6; inline bool ClientIncidentReport_EnvironmentData_Process::_internal_has_uptime_msec() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process::has_uptime_msec() const { return _internal_has_uptime_msec(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_uptime_msec() { uptime_msec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_EnvironmentData_Process::_internal_uptime_msec() const { return uptime_msec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_EnvironmentData_Process::uptime_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.uptime_msec) return _internal_uptime_msec(); } inline void ClientIncidentReport_EnvironmentData_Process::_internal_set_uptime_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000002u; uptime_msec_ = value; } inline void ClientIncidentReport_EnvironmentData_Process::set_uptime_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_uptime_msec(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.uptime_msec) } // optional bool metrics_consent = 7; inline bool ClientIncidentReport_EnvironmentData_Process::_internal_has_metrics_consent() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process::has_metrics_consent() const { return _internal_has_metrics_consent(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_metrics_consent() { metrics_consent_ = false; _has_bits_[0] &= ~0x00000008u; } inline bool ClientIncidentReport_EnvironmentData_Process::_internal_metrics_consent() const { return metrics_consent_; } inline bool ClientIncidentReport_EnvironmentData_Process::metrics_consent() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.metrics_consent) return _internal_metrics_consent(); } inline void ClientIncidentReport_EnvironmentData_Process::_internal_set_metrics_consent(bool value) { _has_bits_[0] |= 0x00000008u; metrics_consent_ = value; } inline void ClientIncidentReport_EnvironmentData_Process::set_metrics_consent(bool value) { _internal_set_metrics_consent(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.metrics_consent) } // optional bool OBSOLETE_extended_consent = 8; inline bool ClientIncidentReport_EnvironmentData_Process::_internal_has_obsolete_extended_consent() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process::has_obsolete_extended_consent() const { return _internal_has_obsolete_extended_consent(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_obsolete_extended_consent() { obsolete_extended_consent_ = false; _has_bits_[0] &= ~0x00000010u; } inline bool ClientIncidentReport_EnvironmentData_Process::_internal_obsolete_extended_consent() const { return obsolete_extended_consent_; } inline bool ClientIncidentReport_EnvironmentData_Process::obsolete_extended_consent() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_extended_consent) return _internal_obsolete_extended_consent(); } inline void ClientIncidentReport_EnvironmentData_Process::_internal_set_obsolete_extended_consent(bool value) { _has_bits_[0] |= 0x00000010u; obsolete_extended_consent_ = value; } inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_extended_consent(bool value) { _internal_set_obsolete_extended_consent(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_extended_consent) } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll dll = 9; inline int ClientIncidentReport_EnvironmentData_Process::_internal_dll_size() const { return dll_.size(); } inline int ClientIncidentReport_EnvironmentData_Process::dll_size() const { return _internal_dll_size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_dll() { dll_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* ClientIncidentReport_EnvironmentData_Process::mutable_dll(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll) return dll_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >* ClientIncidentReport_EnvironmentData_Process::mutable_dll() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll) return &dll_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& ClientIncidentReport_EnvironmentData_Process::_internal_dll(int index) const { return dll_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& ClientIncidentReport_EnvironmentData_Process::dll(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll) return _internal_dll(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* ClientIncidentReport_EnvironmentData_Process::_internal_add_dll() { return dll_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* ClientIncidentReport_EnvironmentData_Process::add_dll() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll) return _internal_add_dll(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >& ClientIncidentReport_EnvironmentData_Process::dll() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll) return dll_; } // repeated string blacklisted_dll = 10; inline int ClientIncidentReport_EnvironmentData_Process::_internal_blacklisted_dll_size() const { return blacklisted_dll_.size(); } inline int ClientIncidentReport_EnvironmentData_Process::blacklisted_dll_size() const { return _internal_blacklisted_dll_size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_blacklisted_dll() { blacklisted_dll_.Clear(); } inline std::string* ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) return _internal_add_blacklisted_dll(); } inline const std::string& ClientIncidentReport_EnvironmentData_Process::_internal_blacklisted_dll(int index) const { return blacklisted_dll_.Get(index); } inline const std::string& ClientIncidentReport_EnvironmentData_Process::blacklisted_dll(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) return _internal_blacklisted_dll(index); } inline std::string* ClientIncidentReport_EnvironmentData_Process::mutable_blacklisted_dll(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) return blacklisted_dll_.Mutable(index); } inline void ClientIncidentReport_EnvironmentData_Process::set_blacklisted_dll(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) blacklisted_dll_.Mutable(index)->assign(value); } inline void ClientIncidentReport_EnvironmentData_Process::set_blacklisted_dll(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) blacklisted_dll_.Mutable(index)->assign(std::move(value)); } inline void ClientIncidentReport_EnvironmentData_Process::set_blacklisted_dll(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); blacklisted_dll_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) } inline void ClientIncidentReport_EnvironmentData_Process::set_blacklisted_dll(int index, const char* value, size_t size) { blacklisted_dll_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) } inline std::string* ClientIncidentReport_EnvironmentData_Process::_internal_add_blacklisted_dll() { return blacklisted_dll_.Add(); } inline void ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll(const std::string& value) { blacklisted_dll_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) } inline void ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll(std::string&& value) { blacklisted_dll_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) } inline void ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll(const char* value) { GOOGLE_DCHECK(value != nullptr); blacklisted_dll_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) } inline void ClientIncidentReport_EnvironmentData_Process::add_blacklisted_dll(const char* value, size_t size) { blacklisted_dll_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientIncidentReport_EnvironmentData_Process::blacklisted_dll() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) return blacklisted_dll_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientIncidentReport_EnvironmentData_Process::mutable_blacklisted_dll() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) return &blacklisted_dll_; } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState module_state = 11; inline int ClientIncidentReport_EnvironmentData_Process::_internal_module_state_size() const { return module_state_.size(); } inline int ClientIncidentReport_EnvironmentData_Process::module_state_size() const { return _internal_module_state_size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_module_state() { module_state_.Clear(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* ClientIncidentReport_EnvironmentData_Process::mutable_module_state(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state) return module_state_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >* ClientIncidentReport_EnvironmentData_Process::mutable_module_state() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state) return &module_state_; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& ClientIncidentReport_EnvironmentData_Process::_internal_module_state(int index) const { return module_state_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& ClientIncidentReport_EnvironmentData_Process::module_state(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state) return _internal_module_state(index); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* ClientIncidentReport_EnvironmentData_Process::_internal_add_module_state() { return module_state_.Add(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* ClientIncidentReport_EnvironmentData_Process::add_module_state() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state) return _internal_add_module_state(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >& ClientIncidentReport_EnvironmentData_Process::module_state() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.module_state) return module_state_; } // optional bool OBSOLETE_field_trial_participant = 12; inline bool ClientIncidentReport_EnvironmentData_Process::_internal_has_obsolete_field_trial_participant() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool ClientIncidentReport_EnvironmentData_Process::has_obsolete_field_trial_participant() const { return _internal_has_obsolete_field_trial_participant(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_obsolete_field_trial_participant() { obsolete_field_trial_participant_ = false; _has_bits_[0] &= ~0x00000020u; } inline bool ClientIncidentReport_EnvironmentData_Process::_internal_obsolete_field_trial_participant() const { return obsolete_field_trial_participant_; } inline bool ClientIncidentReport_EnvironmentData_Process::obsolete_field_trial_participant() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_field_trial_participant) return _internal_obsolete_field_trial_participant(); } inline void ClientIncidentReport_EnvironmentData_Process::_internal_set_obsolete_field_trial_participant(bool value) { _has_bits_[0] |= 0x00000020u; obsolete_field_trial_participant_ = value; } inline void ClientIncidentReport_EnvironmentData_Process::set_obsolete_field_trial_participant(bool value) { _internal_set_obsolete_field_trial_participant(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_field_trial_participant) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData // optional .safe_browsing.ClientIncidentReport.EnvironmentData.OS os = 1; inline bool ClientIncidentReport_EnvironmentData::_internal_has_os() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || os_ != nullptr); return value; } inline bool ClientIncidentReport_EnvironmentData::has_os() const { return _internal_has_os(); } inline void ClientIncidentReport_EnvironmentData::clear_os() { if (os_ != nullptr) os_->Clear(); _has_bits_[0] &= ~0x00000001u; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& ClientIncidentReport_EnvironmentData::_internal_os() const { const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* p = os_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_EnvironmentData_OS_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& ClientIncidentReport_EnvironmentData::os() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.os) return _internal_os(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* ClientIncidentReport_EnvironmentData::release_os() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.os) _has_bits_[0] &= ~0x00000001u; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* temp = os_; os_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* ClientIncidentReport_EnvironmentData::_internal_mutable_os() { _has_bits_[0] |= 0x00000001u; if (os_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_OS>(GetArenaNoVirtual()); os_ = p; } return os_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* ClientIncidentReport_EnvironmentData::mutable_os() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.os) return _internal_mutable_os(); } inline void ClientIncidentReport_EnvironmentData::set_allocated_os(::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete os_; } if (os) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { os = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, os, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } os_ = os; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.os) } // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Machine machine = 2; inline bool ClientIncidentReport_EnvironmentData::_internal_has_machine() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || machine_ != nullptr); return value; } inline bool ClientIncidentReport_EnvironmentData::has_machine() const { return _internal_has_machine(); } inline void ClientIncidentReport_EnvironmentData::clear_machine() { if (machine_ != nullptr) machine_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& ClientIncidentReport_EnvironmentData::_internal_machine() const { const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* p = machine_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_EnvironmentData_Machine_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& ClientIncidentReport_EnvironmentData::machine() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.machine) return _internal_machine(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* ClientIncidentReport_EnvironmentData::release_machine() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.machine) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* temp = machine_; machine_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* ClientIncidentReport_EnvironmentData::_internal_mutable_machine() { _has_bits_[0] |= 0x00000002u; if (machine_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Machine>(GetArenaNoVirtual()); machine_ = p; } return machine_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* ClientIncidentReport_EnvironmentData::mutable_machine() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.machine) return _internal_mutable_machine(); } inline void ClientIncidentReport_EnvironmentData::set_allocated_machine(::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete machine_; } if (machine) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { machine = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, machine, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } machine_ = machine; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.machine) } // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process process = 3; inline bool ClientIncidentReport_EnvironmentData::_internal_has_process() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || process_ != nullptr); return value; } inline bool ClientIncidentReport_EnvironmentData::has_process() const { return _internal_has_process(); } inline void ClientIncidentReport_EnvironmentData::clear_process() { if (process_ != nullptr) process_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& ClientIncidentReport_EnvironmentData::_internal_process() const { const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* p = process_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_EnvironmentData_Process_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& ClientIncidentReport_EnvironmentData::process() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.process) return _internal_process(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* ClientIncidentReport_EnvironmentData::release_process() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.EnvironmentData.process) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* temp = process_; process_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* ClientIncidentReport_EnvironmentData::_internal_mutable_process() { _has_bits_[0] |= 0x00000004u; if (process_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData_Process>(GetArenaNoVirtual()); process_ = p; } return process_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* ClientIncidentReport_EnvironmentData::mutable_process() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.process) return _internal_mutable_process(); } inline void ClientIncidentReport_EnvironmentData::set_allocated_process(::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete process_; } if (process) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { process = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, process, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } process_ = process; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.process) } // ------------------------------------------------------------------- // ClientIncidentReport_ExtensionData_ExtensionInfo // optional string id = 1; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_id() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_id() const { return _internal_has_id(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_id() { id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) return _internal_id(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const std::string& value) { _internal_set_id(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_id() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) return _internal_mutable_id(); } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_id() const { return id_.GetNoArena(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_id(const std::string& value) { _has_bits_[0] |= 0x00000001u; id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(std::string&& value) { _has_bits_[0] |= 0x00000001u; id_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_mutable_id() { _has_bits_[0] |= 0x00000001u; return id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_id() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) if (!_internal_has_id()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return id_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_id(std::string* id) { if (id != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } // optional string version = 2; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_version() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_version() const { return _internal_has_version(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_version() { version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) return _internal_version(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const std::string& value) { _internal_set_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_version() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) return _internal_mutable_version(); } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_version() const { return version_.GetNoArena(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_version(const std::string& value) { _has_bits_[0] |= 0x00000002u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(std::string&& value) { _has_bits_[0] |= 0x00000002u; version_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_mutable_version() { _has_bits_[0] |= 0x00000002u; return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_version() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) if (!_internal_has_version()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return version_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_version(std::string* version) { if (version != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } // optional string name = 3; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_name() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_name() const { return _internal_has_name(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_name() { name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) return _internal_name(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) return _internal_mutable_name(); } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_name() const { return name_.GetNoArena(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_name(const std::string& value) { _has_bits_[0] |= 0x00000004u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(std::string&& value) { _has_bits_[0] |= 0x00000004u; name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_mutable_name() { _has_bits_[0] |= 0x00000004u; return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) if (!_internal_has_name()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_name(std::string* name) { if (name != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } // optional string description = 4; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_description() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_description() const { return _internal_has_description(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_description() { description_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::description() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) return _internal_description(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const std::string& value) { _internal_set_description(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_description() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) return _internal_mutable_description(); } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_description() const { return description_.GetNoArena(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_description(const std::string& value) { _has_bits_[0] |= 0x00000008u; description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(std::string&& value) { _has_bits_[0] |= 0x00000008u; description_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const char* value, size_t size) { _has_bits_[0] |= 0x00000008u; description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_mutable_description() { _has_bits_[0] |= 0x00000008u; return description_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_description() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) if (!_internal_has_description()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return description_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_description(std::string* description) { if (description != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } description_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) } // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.ExtensionState state = 5 [default = STATE_UNKNOWN]; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_state() const { bool value = (_has_bits_[0] & 0x00000040u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_state() const { return _internal_has_state(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_state() { state_ = 0; _has_bits_[0] &= ~0x00000040u; } inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_state() const { return static_cast< ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState >(state_); } inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo::state() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.state) return _internal_state(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value) { assert(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(value)); _has_bits_[0] |= 0x00000040u; state_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value) { _internal_set_state(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.state) } // optional int32 type = 6; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_type() const { bool value = (_has_bits_[0] & 0x00000080u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_type() const { return _internal_has_type(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_type() { type_ = 0; _has_bits_[0] &= ~0x00000080u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_type() const { return type_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.type) return _internal_type(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_type(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000080u; type_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_type(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.type) } // optional string update_url = 7; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_update_url() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_update_url() const { return _internal_has_update_url(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_update_url() { update_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000010u; } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::update_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) return _internal_update_url(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const std::string& value) { _internal_set_update_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_update_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) return _internal_mutable_update_url(); } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_update_url() const { return update_url_.GetNoArena(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_update_url(const std::string& value) { _has_bits_[0] |= 0x00000010u; update_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(std::string&& value) { _has_bits_[0] |= 0x00000010u; update_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000010u; update_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000010u; update_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_mutable_update_url() { _has_bits_[0] |= 0x00000010u; return update_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_update_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) if (!_internal_has_update_url()) { return nullptr; } _has_bits_[0] &= ~0x00000010u; return update_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_update_url(std::string* update_url) { if (update_url != nullptr) { _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } update_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), update_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } // optional bool has_signature_validation = 8; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_has_signature_validation() const { bool value = (_has_bits_[0] & 0x00000100u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_has_signature_validation() const { return _internal_has_has_signature_validation(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_signature_validation() { has_signature_validation_ = false; _has_bits_[0] &= ~0x00000100u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_signature_validation() const { return has_signature_validation_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_signature_validation() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.has_signature_validation) return _internal_has_signature_validation(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_has_signature_validation(bool value) { _has_bits_[0] |= 0x00000100u; has_signature_validation_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_signature_validation(bool value) { _internal_set_has_signature_validation(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.has_signature_validation) } // optional bool signature_is_valid = 9; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_signature_is_valid() const { bool value = (_has_bits_[0] & 0x00000200u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_signature_is_valid() const { return _internal_has_signature_is_valid(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_signature_is_valid() { signature_is_valid_ = false; _has_bits_[0] &= ~0x00000200u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_signature_is_valid() const { return signature_is_valid_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::signature_is_valid() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.signature_is_valid) return _internal_signature_is_valid(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_signature_is_valid(bool value) { _has_bits_[0] |= 0x00000200u; signature_is_valid_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_signature_is_valid(bool value) { _internal_set_signature_is_valid(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.signature_is_valid) } // optional bool installed_by_custodian = 10; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_installed_by_custodian() const { bool value = (_has_bits_[0] & 0x00000400u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_installed_by_custodian() const { return _internal_has_installed_by_custodian(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_custodian() { installed_by_custodian_ = false; _has_bits_[0] &= ~0x00000400u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_installed_by_custodian() const { return installed_by_custodian_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::installed_by_custodian() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_custodian) return _internal_installed_by_custodian(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_installed_by_custodian(bool value) { _has_bits_[0] |= 0x00000400u; installed_by_custodian_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_custodian(bool value) { _internal_set_installed_by_custodian(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_custodian) } // optional bool installed_by_default = 11; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_installed_by_default() const { bool value = (_has_bits_[0] & 0x00000800u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_installed_by_default() const { return _internal_has_installed_by_default(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_default() { installed_by_default_ = false; _has_bits_[0] &= ~0x00000800u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_installed_by_default() const { return installed_by_default_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::installed_by_default() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_default) return _internal_installed_by_default(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_installed_by_default(bool value) { _has_bits_[0] |= 0x00000800u; installed_by_default_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_default(bool value) { _internal_set_installed_by_default(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_default) } // optional bool installed_by_oem = 12; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_installed_by_oem() const { bool value = (_has_bits_[0] & 0x00001000u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_installed_by_oem() const { return _internal_has_installed_by_oem(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_oem() { installed_by_oem_ = false; _has_bits_[0] &= ~0x00001000u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_installed_by_oem() const { return installed_by_oem_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::installed_by_oem() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_oem) return _internal_installed_by_oem(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_installed_by_oem(bool value) { _has_bits_[0] |= 0x00001000u; installed_by_oem_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_oem(bool value) { _internal_set_installed_by_oem(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.installed_by_oem) } // optional bool from_bookmark = 13; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_from_bookmark() const { bool value = (_has_bits_[0] & 0x00002000u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_from_bookmark() const { return _internal_has_from_bookmark(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_from_bookmark() { from_bookmark_ = false; _has_bits_[0] &= ~0x00002000u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_from_bookmark() const { return from_bookmark_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::from_bookmark() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_bookmark) return _internal_from_bookmark(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_from_bookmark(bool value) { _has_bits_[0] |= 0x00002000u; from_bookmark_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_from_bookmark(bool value) { _internal_set_from_bookmark(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_bookmark) } // optional bool from_webstore = 14; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_from_webstore() const { bool value = (_has_bits_[0] & 0x00004000u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_from_webstore() const { return _internal_has_from_webstore(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_from_webstore() { from_webstore_ = false; _has_bits_[0] &= ~0x00004000u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_from_webstore() const { return from_webstore_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::from_webstore() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_webstore) return _internal_from_webstore(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_from_webstore(bool value) { _has_bits_[0] |= 0x00004000u; from_webstore_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_from_webstore(bool value) { _internal_set_from_webstore(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_webstore) } // optional bool converted_from_user_script = 15; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_converted_from_user_script() const { bool value = (_has_bits_[0] & 0x00008000u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_converted_from_user_script() const { return _internal_has_converted_from_user_script(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_converted_from_user_script() { converted_from_user_script_ = false; _has_bits_[0] &= ~0x00008000u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_converted_from_user_script() const { return converted_from_user_script_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::converted_from_user_script() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.converted_from_user_script) return _internal_converted_from_user_script(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_converted_from_user_script(bool value) { _has_bits_[0] |= 0x00008000u; converted_from_user_script_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_converted_from_user_script(bool value) { _internal_set_converted_from_user_script(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.converted_from_user_script) } // optional bool may_be_untrusted = 16; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_may_be_untrusted() const { bool value = (_has_bits_[0] & 0x00020000u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_may_be_untrusted() const { return _internal_has_may_be_untrusted(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_may_be_untrusted() { may_be_untrusted_ = false; _has_bits_[0] &= ~0x00020000u; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_may_be_untrusted() const { return may_be_untrusted_; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::may_be_untrusted() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.may_be_untrusted) return _internal_may_be_untrusted(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_may_be_untrusted(bool value) { _has_bits_[0] |= 0x00020000u; may_be_untrusted_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_may_be_untrusted(bool value) { _internal_set_may_be_untrusted(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.may_be_untrusted) } // optional int64 install_time_msec = 17; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_install_time_msec() const { bool value = (_has_bits_[0] & 0x00010000u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_install_time_msec() const { return _internal_has_install_time_msec(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_install_time_msec() { install_time_msec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00010000u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_install_time_msec() const { return install_time_msec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_ExtensionData_ExtensionInfo::install_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.install_time_msec) return _internal_install_time_msec(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_install_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00010000u; install_time_msec_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_install_time_msec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_install_time_msec(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.install_time_msec) } // optional int32 manifest_location_type = 18; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_manifest_location_type() const { bool value = (_has_bits_[0] & 0x00040000u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_manifest_location_type() const { return _internal_has_manifest_location_type(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_manifest_location_type() { manifest_location_type_ = 0; _has_bits_[0] &= ~0x00040000u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_manifest_location_type() const { return manifest_location_type_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::manifest_location_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest_location_type) return _internal_manifest_location_type(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_manifest_location_type(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00040000u; manifest_location_type_ = value; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest_location_type(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_manifest_location_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest_location_type) } // optional string manifest = 19; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_has_manifest() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_manifest() const { return _internal_has_manifest(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_manifest() { manifest_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000020u; } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::manifest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) return _internal_manifest(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const std::string& value) { _internal_set_manifest(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_manifest() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) return _internal_mutable_manifest(); } inline const std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_manifest() const { return manifest_.GetNoArena(); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_set_manifest(const std::string& value) { _has_bits_[0] |= 0x00000020u; manifest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(std::string&& value) { _has_bits_[0] |= 0x00000020u; manifest_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000020u; manifest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const char* value, size_t size) { _has_bits_[0] |= 0x00000020u; manifest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::_internal_mutable_manifest() { _has_bits_[0] |= 0x00000020u; return manifest_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_manifest() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) if (!_internal_has_manifest()) { return nullptr; } _has_bits_[0] &= ~0x00000020u; return manifest_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_manifest(std::string* manifest) { if (manifest != nullptr) { _has_bits_[0] |= 0x00000020u; } else { _has_bits_[0] &= ~0x00000020u; } manifest_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), manifest); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) } // ------------------------------------------------------------------- // ClientIncidentReport_ExtensionData // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo last_installed_extension = 1; inline bool ClientIncidentReport_ExtensionData::_internal_has_last_installed_extension() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || last_installed_extension_ != nullptr); return value; } inline bool ClientIncidentReport_ExtensionData::has_last_installed_extension() const { return _internal_has_last_installed_extension(); } inline void ClientIncidentReport_ExtensionData::clear_last_installed_extension() { if (last_installed_extension_ != nullptr) last_installed_extension_->Clear(); _has_bits_[0] &= ~0x00000001u; } inline const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& ClientIncidentReport_ExtensionData::_internal_last_installed_extension() const { const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* p = last_installed_extension_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_ExtensionData_ExtensionInfo_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& ClientIncidentReport_ExtensionData::last_installed_extension() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension) return _internal_last_installed_extension(); } inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* ClientIncidentReport_ExtensionData::release_last_installed_extension() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension) _has_bits_[0] &= ~0x00000001u; ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* temp = last_installed_extension_; last_installed_extension_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* ClientIncidentReport_ExtensionData::_internal_mutable_last_installed_extension() { _has_bits_[0] |= 0x00000001u; if (last_installed_extension_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo>(GetArenaNoVirtual()); last_installed_extension_ = p; } return last_installed_extension_; } inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* ClientIncidentReport_ExtensionData::mutable_last_installed_extension() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension) return _internal_mutable_last_installed_extension(); } inline void ClientIncidentReport_ExtensionData::set_allocated_last_installed_extension(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete last_installed_extension_; } if (last_installed_extension) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { last_installed_extension = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, last_installed_extension, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } last_installed_extension_ = last_installed_extension; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension) } // ------------------------------------------------------------------- // ClientIncidentReport_NonBinaryDownloadDetails // optional string file_type = 1; inline bool ClientIncidentReport_NonBinaryDownloadDetails::_internal_has_file_type() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_file_type() const { return _internal_has_file_type(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_file_type() { file_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentReport_NonBinaryDownloadDetails::file_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) return _internal_file_type(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const std::string& value) { _internal_set_file_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_file_type() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) return _internal_mutable_file_type(); } inline const std::string& ClientIncidentReport_NonBinaryDownloadDetails::_internal_file_type() const { return file_type_.GetNoArena(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::_internal_set_file_type(const std::string& value) { _has_bits_[0] |= 0x00000001u; file_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(std::string&& value) { _has_bits_[0] |= 0x00000001u; file_type_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; file_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; file_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::_internal_mutable_file_type() { _has_bits_[0] |= 0x00000001u; return file_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_file_type() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) if (!_internal_has_file_type()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return file_type_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_file_type(std::string* file_type) { if (file_type != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } file_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_type); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } // optional bytes url_spec_sha256 = 2; inline bool ClientIncidentReport_NonBinaryDownloadDetails::_internal_has_url_spec_sha256() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_url_spec_sha256() const { return _internal_has_url_spec_sha256(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_url_spec_sha256() { url_spec_sha256_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientIncidentReport_NonBinaryDownloadDetails::url_spec_sha256() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) return _internal_url_spec_sha256(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const std::string& value) { _internal_set_url_spec_sha256(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_url_spec_sha256() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) return _internal_mutable_url_spec_sha256(); } inline const std::string& ClientIncidentReport_NonBinaryDownloadDetails::_internal_url_spec_sha256() const { return url_spec_sha256_.GetNoArena(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::_internal_set_url_spec_sha256(const std::string& value) { _has_bits_[0] |= 0x00000002u; url_spec_sha256_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(std::string&& value) { _has_bits_[0] |= 0x00000002u; url_spec_sha256_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; url_spec_sha256_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; url_spec_sha256_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::_internal_mutable_url_spec_sha256() { _has_bits_[0] |= 0x00000002u; return url_spec_sha256_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_url_spec_sha256() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) if (!_internal_has_url_spec_sha256()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return url_spec_sha256_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_url_spec_sha256(std::string* url_spec_sha256) { if (url_spec_sha256 != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } url_spec_sha256_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url_spec_sha256); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } // optional string host = 3; inline bool ClientIncidentReport_NonBinaryDownloadDetails::_internal_has_host() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_host() const { return _internal_has_host(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_host() { host_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientIncidentReport_NonBinaryDownloadDetails::host() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) return _internal_host(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const std::string& value) { _internal_set_host(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_host() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) return _internal_mutable_host(); } inline const std::string& ClientIncidentReport_NonBinaryDownloadDetails::_internal_host() const { return host_.GetNoArena(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::_internal_set_host(const std::string& value) { _has_bits_[0] |= 0x00000004u; host_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(std::string&& value) { _has_bits_[0] |= 0x00000004u; host_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; host_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; host_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::_internal_mutable_host() { _has_bits_[0] |= 0x00000004u; return host_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_host() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) if (!_internal_has_host()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return host_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_host(std::string* host) { if (host != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } host_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), host); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } // optional int64 length = 4; inline bool ClientIncidentReport_NonBinaryDownloadDetails::_internal_has_length() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_length() const { return _internal_has_length(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_length() { length_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_NonBinaryDownloadDetails::_internal_length() const { return length_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientIncidentReport_NonBinaryDownloadDetails::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.length) return _internal_length(); } inline void ClientIncidentReport_NonBinaryDownloadDetails::_internal_set_length(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000008u; length_ = value; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_length(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_length(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.length) } // ------------------------------------------------------------------- // ClientIncidentReport // repeated .safe_browsing.ClientIncidentReport.IncidentData incident = 1; inline int ClientIncidentReport::_internal_incident_size() const { return incident_.size(); } inline int ClientIncidentReport::incident_size() const { return _internal_incident_size(); } inline void ClientIncidentReport::clear_incident() { incident_.Clear(); } inline ::safe_browsing::ClientIncidentReport_IncidentData* ClientIncidentReport::mutable_incident(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.incident) return incident_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >* ClientIncidentReport::mutable_incident() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.incident) return &incident_; } inline const ::safe_browsing::ClientIncidentReport_IncidentData& ClientIncidentReport::_internal_incident(int index) const { return incident_.Get(index); } inline const ::safe_browsing::ClientIncidentReport_IncidentData& ClientIncidentReport::incident(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.incident) return _internal_incident(index); } inline ::safe_browsing::ClientIncidentReport_IncidentData* ClientIncidentReport::_internal_add_incident() { return incident_.Add(); } inline ::safe_browsing::ClientIncidentReport_IncidentData* ClientIncidentReport::add_incident() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.incident) return _internal_add_incident(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >& ClientIncidentReport::incident() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.incident) return incident_; } // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; inline bool ClientIncidentReport::_internal_has_download() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || download_ != nullptr); return value; } inline bool ClientIncidentReport::has_download() const { return _internal_has_download(); } inline void ClientIncidentReport::clear_download() { if (download_ != nullptr) download_->Clear(); _has_bits_[0] &= ~0x00000001u; } inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& ClientIncidentReport::_internal_download() const { const ::safe_browsing::ClientIncidentReport_DownloadDetails* p = download_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_DownloadDetails_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& ClientIncidentReport::download() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.download) return _internal_download(); } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* ClientIncidentReport::release_download() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.download) _has_bits_[0] &= ~0x00000001u; ::safe_browsing::ClientIncidentReport_DownloadDetails* temp = download_; download_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* ClientIncidentReport::_internal_mutable_download() { _has_bits_[0] |= 0x00000001u; if (download_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_DownloadDetails>(GetArenaNoVirtual()); download_ = p; } return download_; } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* ClientIncidentReport::mutable_download() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.download) return _internal_mutable_download(); } inline void ClientIncidentReport::set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete download_; } if (download) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { download = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, download, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } download_ = download; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.download) } // optional .safe_browsing.ClientIncidentReport.EnvironmentData environment = 3; inline bool ClientIncidentReport::_internal_has_environment() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || environment_ != nullptr); return value; } inline bool ClientIncidentReport::has_environment() const { return _internal_has_environment(); } inline void ClientIncidentReport::clear_environment() { if (environment_ != nullptr) environment_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData& ClientIncidentReport::_internal_environment() const { const ::safe_browsing::ClientIncidentReport_EnvironmentData* p = environment_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_EnvironmentData_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData& ClientIncidentReport::environment() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.environment) return _internal_environment(); } inline ::safe_browsing::ClientIncidentReport_EnvironmentData* ClientIncidentReport::release_environment() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.environment) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ClientIncidentReport_EnvironmentData* temp = environment_; environment_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData* ClientIncidentReport::_internal_mutable_environment() { _has_bits_[0] |= 0x00000002u; if (environment_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_EnvironmentData>(GetArenaNoVirtual()); environment_ = p; } return environment_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData* ClientIncidentReport::mutable_environment() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.environment) return _internal_mutable_environment(); } inline void ClientIncidentReport::set_allocated_environment(::safe_browsing::ClientIncidentReport_EnvironmentData* environment) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete environment_; } if (environment) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { environment = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, environment, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } environment_ = environment; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.environment) } // optional .safe_browsing.ChromeUserPopulation population = 7; inline bool ClientIncidentReport::_internal_has_population() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || population_ != nullptr); return value; } inline bool ClientIncidentReport::has_population() const { return _internal_has_population(); } inline void ClientIncidentReport::clear_population() { if (population_ != nullptr) population_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ChromeUserPopulation& ClientIncidentReport::_internal_population() const { const ::safe_browsing::ChromeUserPopulation* p = population_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ChromeUserPopulation_default_instance_); } inline const ::safe_browsing::ChromeUserPopulation& ClientIncidentReport::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.population) return _internal_population(); } inline ::safe_browsing::ChromeUserPopulation* ClientIncidentReport::release_population() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.population) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = nullptr; return temp; } inline ::safe_browsing::ChromeUserPopulation* ClientIncidentReport::_internal_mutable_population() { _has_bits_[0] |= 0x00000004u; if (population_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ChromeUserPopulation>(GetArenaNoVirtual()); population_ = p; } return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientIncidentReport::mutable_population() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.population) return _internal_mutable_population(); } inline void ClientIncidentReport::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete population_; } if (population) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { population = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, population, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } population_ = population; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.population) } // optional .safe_browsing.ClientIncidentReport.ExtensionData extension_data = 8; inline bool ClientIncidentReport::_internal_has_extension_data() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || extension_data_ != nullptr); return value; } inline bool ClientIncidentReport::has_extension_data() const { return _internal_has_extension_data(); } inline void ClientIncidentReport::clear_extension_data() { if (extension_data_ != nullptr) extension_data_->Clear(); _has_bits_[0] &= ~0x00000008u; } inline const ::safe_browsing::ClientIncidentReport_ExtensionData& ClientIncidentReport::_internal_extension_data() const { const ::safe_browsing::ClientIncidentReport_ExtensionData* p = extension_data_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_ExtensionData_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_ExtensionData& ClientIncidentReport::extension_data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.extension_data) return _internal_extension_data(); } inline ::safe_browsing::ClientIncidentReport_ExtensionData* ClientIncidentReport::release_extension_data() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.extension_data) _has_bits_[0] &= ~0x00000008u; ::safe_browsing::ClientIncidentReport_ExtensionData* temp = extension_data_; extension_data_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_ExtensionData* ClientIncidentReport::_internal_mutable_extension_data() { _has_bits_[0] |= 0x00000008u; if (extension_data_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_ExtensionData>(GetArenaNoVirtual()); extension_data_ = p; } return extension_data_; } inline ::safe_browsing::ClientIncidentReport_ExtensionData* ClientIncidentReport::mutable_extension_data() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.extension_data) return _internal_mutable_extension_data(); } inline void ClientIncidentReport::set_allocated_extension_data(::safe_browsing::ClientIncidentReport_ExtensionData* extension_data) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete extension_data_; } if (extension_data) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { extension_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, extension_data, submessage_arena); } _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } extension_data_ = extension_data; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.extension_data) } // optional .safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails non_binary_download = 9; inline bool ClientIncidentReport::_internal_has_non_binary_download() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; PROTOBUF_ASSUME(!value || non_binary_download_ != nullptr); return value; } inline bool ClientIncidentReport::has_non_binary_download() const { return _internal_has_non_binary_download(); } inline void ClientIncidentReport::clear_non_binary_download() { if (non_binary_download_ != nullptr) non_binary_download_->Clear(); _has_bits_[0] &= ~0x00000010u; } inline const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& ClientIncidentReport::_internal_non_binary_download() const { const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* p = non_binary_download_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_NonBinaryDownloadDetails_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& ClientIncidentReport::non_binary_download() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.non_binary_download) return _internal_non_binary_download(); } inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* ClientIncidentReport::release_non_binary_download() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentReport.non_binary_download) _has_bits_[0] &= ~0x00000010u; ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* temp = non_binary_download_; non_binary_download_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* ClientIncidentReport::_internal_mutable_non_binary_download() { _has_bits_[0] |= 0x00000010u; if (non_binary_download_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails>(GetArenaNoVirtual()); non_binary_download_ = p; } return non_binary_download_; } inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* ClientIncidentReport::mutable_non_binary_download() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.non_binary_download) return _internal_mutable_non_binary_download(); } inline void ClientIncidentReport::set_allocated_non_binary_download(::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete non_binary_download_; } if (non_binary_download) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { non_binary_download = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, non_binary_download, submessage_arena); } _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } non_binary_download_ = non_binary_download; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.non_binary_download) } // ------------------------------------------------------------------- // ClientIncidentResponse_EnvironmentRequest // optional int32 dll_index = 1; inline bool ClientIncidentResponse_EnvironmentRequest::_internal_has_dll_index() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentResponse_EnvironmentRequest::has_dll_index() const { return _internal_has_dll_index(); } inline void ClientIncidentResponse_EnvironmentRequest::clear_dll_index() { dll_index_ = 0; _has_bits_[0] &= ~0x00000001u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentResponse_EnvironmentRequest::_internal_dll_index() const { return dll_index_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientIncidentResponse_EnvironmentRequest::dll_index() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.EnvironmentRequest.dll_index) return _internal_dll_index(); } inline void ClientIncidentResponse_EnvironmentRequest::_internal_set_dll_index(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000001u; dll_index_ = value; } inline void ClientIncidentResponse_EnvironmentRequest::set_dll_index(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_dll_index(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.EnvironmentRequest.dll_index) } // ------------------------------------------------------------------- // ClientIncidentResponse // optional bytes token = 1; inline bool ClientIncidentResponse::_internal_has_token() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientIncidentResponse::has_token() const { return _internal_has_token(); } inline void ClientIncidentResponse::clear_token() { token_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientIncidentResponse::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.token) return _internal_token(); } inline void ClientIncidentResponse::set_token(const std::string& value) { _internal_set_token(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.token) } inline std::string* ClientIncidentResponse::mutable_token() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentResponse.token) return _internal_mutable_token(); } inline const std::string& ClientIncidentResponse::_internal_token() const { return token_.GetNoArena(); } inline void ClientIncidentResponse::_internal_set_token(const std::string& value) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientIncidentResponse::set_token(std::string&& value) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientIncidentResponse.token) } inline void ClientIncidentResponse::set_token(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentResponse.token) } inline void ClientIncidentResponse::set_token(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentResponse.token) } inline std::string* ClientIncidentResponse::_internal_mutable_token() { _has_bits_[0] |= 0x00000001u; return token_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientIncidentResponse::release_token() { // @@protoc_insertion_point(field_release:safe_browsing.ClientIncidentResponse.token) if (!_internal_has_token()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return token_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientIncidentResponse::set_allocated_token(std::string* token) { if (token != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } token_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentResponse.token) } // optional bool download_requested = 2; inline bool ClientIncidentResponse::_internal_has_download_requested() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientIncidentResponse::has_download_requested() const { return _internal_has_download_requested(); } inline void ClientIncidentResponse::clear_download_requested() { download_requested_ = false; _has_bits_[0] &= ~0x00000002u; } inline bool ClientIncidentResponse::_internal_download_requested() const { return download_requested_; } inline bool ClientIncidentResponse::download_requested() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.download_requested) return _internal_download_requested(); } inline void ClientIncidentResponse::_internal_set_download_requested(bool value) { _has_bits_[0] |= 0x00000002u; download_requested_ = value; } inline void ClientIncidentResponse::set_download_requested(bool value) { _internal_set_download_requested(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.download_requested) } // repeated .safe_browsing.ClientIncidentResponse.EnvironmentRequest environment_requests = 3; inline int ClientIncidentResponse::_internal_environment_requests_size() const { return environment_requests_.size(); } inline int ClientIncidentResponse::environment_requests_size() const { return _internal_environment_requests_size(); } inline void ClientIncidentResponse::clear_environment_requests() { environment_requests_.Clear(); } inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* ClientIncidentResponse::mutable_environment_requests(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentResponse.environment_requests) return environment_requests_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >* ClientIncidentResponse::mutable_environment_requests() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentResponse.environment_requests) return &environment_requests_; } inline const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& ClientIncidentResponse::_internal_environment_requests(int index) const { return environment_requests_.Get(index); } inline const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& ClientIncidentResponse::environment_requests(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.environment_requests) return _internal_environment_requests(index); } inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* ClientIncidentResponse::_internal_add_environment_requests() { return environment_requests_.Add(); } inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* ClientIncidentResponse::add_environment_requests() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentResponse.environment_requests) return _internal_add_environment_requests(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >& ClientIncidentResponse::environment_requests() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentResponse.environment_requests) return environment_requests_; } // ------------------------------------------------------------------- // DownloadMetadata // optional uint32 download_id = 1; inline bool DownloadMetadata::_internal_has_download_id() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool DownloadMetadata::has_download_id() const { return _internal_has_download_id(); } inline void DownloadMetadata::clear_download_id() { download_id_ = 0u; _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::uint32 DownloadMetadata::_internal_download_id() const { return download_id_; } inline ::PROTOBUF_NAMESPACE_ID::uint32 DownloadMetadata::download_id() const { // @@protoc_insertion_point(field_get:safe_browsing.DownloadMetadata.download_id) return _internal_download_id(); } inline void DownloadMetadata::_internal_set_download_id(::PROTOBUF_NAMESPACE_ID::uint32 value) { _has_bits_[0] |= 0x00000002u; download_id_ = value; } inline void DownloadMetadata::set_download_id(::PROTOBUF_NAMESPACE_ID::uint32 value) { _internal_set_download_id(value); // @@protoc_insertion_point(field_set:safe_browsing.DownloadMetadata.download_id) } // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; inline bool DownloadMetadata::_internal_has_download() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || download_ != nullptr); return value; } inline bool DownloadMetadata::has_download() const { return _internal_has_download(); } inline void DownloadMetadata::clear_download() { if (download_ != nullptr) download_->Clear(); _has_bits_[0] &= ~0x00000001u; } inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& DownloadMetadata::_internal_download() const { const ::safe_browsing::ClientIncidentReport_DownloadDetails* p = download_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientIncidentReport_DownloadDetails_default_instance_); } inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& DownloadMetadata::download() const { // @@protoc_insertion_point(field_get:safe_browsing.DownloadMetadata.download) return _internal_download(); } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* DownloadMetadata::release_download() { // @@protoc_insertion_point(field_release:safe_browsing.DownloadMetadata.download) _has_bits_[0] &= ~0x00000001u; ::safe_browsing::ClientIncidentReport_DownloadDetails* temp = download_; download_ = nullptr; return temp; } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* DownloadMetadata::_internal_mutable_download() { _has_bits_[0] |= 0x00000001u; if (download_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientIncidentReport_DownloadDetails>(GetArenaNoVirtual()); download_ = p; } return download_; } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* DownloadMetadata::mutable_download() { // @@protoc_insertion_point(field_mutable:safe_browsing.DownloadMetadata.download) return _internal_mutable_download(); } inline void DownloadMetadata::set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete download_; } if (download) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { download = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, download, submessage_arena); } _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } download_ = download; // @@protoc_insertion_point(field_set_allocated:safe_browsing.DownloadMetadata.download) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPHeader // required bytes name = 1; inline bool ClientSafeBrowsingReportRequest_HTTPHeader::_internal_has_name() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPHeader::has_name() const { return _internal_has_name(); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_name() { name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPHeader::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) return _internal_name(); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } inline std::string* ClientSafeBrowsingReportRequest_HTTPHeader::mutable_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) return _internal_mutable_name(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPHeader::_internal_name() const { return name_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::_internal_set_name(const std::string& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(std::string&& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } inline std::string* ClientSafeBrowsingReportRequest_HTTPHeader::_internal_mutable_name() { _has_bits_[0] |= 0x00000001u; return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPHeader::release_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) if (!_internal_has_name()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_allocated_name(std::string* name) { if (name != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } // optional bytes value = 2; inline bool ClientSafeBrowsingReportRequest_HTTPHeader::_internal_has_value() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPHeader::has_value() const { return _internal_has_value(); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_value() { value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPHeader::value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) return _internal_value(); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const std::string& value) { _internal_set_value(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } inline std::string* ClientSafeBrowsingReportRequest_HTTPHeader::mutable_value() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) return _internal_mutable_value(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPHeader::_internal_value() const { return value_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::_internal_set_value(const std::string& value) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(std::string&& value) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } inline std::string* ClientSafeBrowsingReportRequest_HTTPHeader::_internal_mutable_value() { _has_bits_[0] |= 0x00000002u; return value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPHeader::release_value() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) if (!_internal_has_value()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return value_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_allocated_value(std::string* value) { if (value != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } value_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine // optional bytes verb = 1; inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_has_verb() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_verb() const { return _internal_has_verb(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_verb() { verb_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::verb() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) return _internal_verb(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const std::string& value) { _internal_set_verb(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_verb() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) return _internal_mutable_verb(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_verb() const { return verb_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_set_verb(const std::string& value) { _has_bits_[0] |= 0x00000001u; verb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(std::string&& value) { _has_bits_[0] |= 0x00000001u; verb_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; verb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; verb_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_mutable_verb() { _has_bits_[0] |= 0x00000001u; return verb_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_verb() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) if (!_internal_has_verb()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return verb_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_verb(std::string* verb) { if (verb != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } verb_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), verb); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } // optional bytes uri = 2; inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_has_uri() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_uri() const { return _internal_has_uri(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_uri() { uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::uri() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) return _internal_uri(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const std::string& value) { _internal_set_uri(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_uri() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) return _internal_mutable_uri(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_uri() const { return uri_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_set_uri(const std::string& value) { _has_bits_[0] |= 0x00000002u; uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(std::string&& value) { _has_bits_[0] |= 0x00000002u; uri_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_mutable_uri() { _has_bits_[0] |= 0x00000002u; return uri_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_uri() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) if (!_internal_has_uri()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return uri_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_uri(std::string* uri) { if (uri != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } uri_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uri); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } // optional bytes version = 3; inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_has_version() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_version() const { return _internal_has_version(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_version() { version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) return _internal_version(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const std::string& value) { _internal_set_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_version() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) return _internal_mutable_version(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_version() const { return version_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_set_version(const std::string& value) { _has_bits_[0] |= 0x00000004u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(std::string&& value) { _has_bits_[0] |= 0x00000004u; version_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const void* value, size_t size) { _has_bits_[0] |= 0x00000004u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::_internal_mutable_version() { _has_bits_[0] |= 0x00000004u; return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_version() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) if (!_internal_has_version()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return version_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_version(std::string* version) { if (version != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPRequest // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine firstline = 1; inline bool ClientSafeBrowsingReportRequest_HTTPRequest::_internal_has_firstline() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || firstline_ != nullptr); return value; } inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_firstline() const { return _internal_has_firstline(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_firstline() { if (firstline_ != nullptr) firstline_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& ClientSafeBrowsingReportRequest_HTTPRequest::_internal_firstline() const { const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* p = firstline_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine_default_instance_); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& ClientSafeBrowsingReportRequest_HTTPRequest::firstline() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline) return _internal_firstline(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* ClientSafeBrowsingReportRequest_HTTPRequest::release_firstline() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* temp = firstline_; firstline_ = nullptr; return temp; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* ClientSafeBrowsingReportRequest_HTTPRequest::_internal_mutable_firstline() { _has_bits_[0] |= 0x00000004u; if (firstline_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine>(GetArenaNoVirtual()); firstline_ = p; } return firstline_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_firstline() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline) return _internal_mutable_firstline(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete firstline_; } if (firstline) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { firstline = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, firstline, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } firstline_ = firstline; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline) } // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; inline int ClientSafeBrowsingReportRequest_HTTPRequest::_internal_headers_size() const { return headers_.size(); } inline int ClientSafeBrowsingReportRequest_HTTPRequest::headers_size() const { return _internal_headers_size(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_headers() { headers_.Clear(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_headers(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return headers_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_headers() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return &headers_; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPRequest::_internal_headers(int index) const { return headers_.Get(index); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPRequest::headers(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return _internal_headers(index); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPRequest::_internal_add_headers() { return headers_.Add(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPRequest::add_headers() { // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return _internal_add_headers(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& ClientSafeBrowsingReportRequest_HTTPRequest::headers() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return headers_; } // optional bytes body = 3; inline bool ClientSafeBrowsingReportRequest_HTTPRequest::_internal_has_body() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_body() const { return _internal_has_body(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_body() { body_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest::body() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) return _internal_body(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const std::string& value) { _internal_set_body(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_body() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) return _internal_mutable_body(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest::_internal_body() const { return body_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::_internal_set_body(const std::string& value) { _has_bits_[0] |= 0x00000001u; body_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(std::string&& value) { _has_bits_[0] |= 0x00000001u; body_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; body_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; body_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest::_internal_mutable_body() { _has_bits_[0] |= 0x00000001u; return body_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest::release_body() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) if (!_internal_has_body()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return body_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_body(std::string* body) { if (body != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } body_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } // optional bytes bodydigest = 4; inline bool ClientSafeBrowsingReportRequest_HTTPRequest::_internal_has_bodydigest() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_bodydigest() const { return _internal_has_bodydigest(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_bodydigest() { bodydigest_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest::bodydigest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) return _internal_bodydigest(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const std::string& value) { _internal_set_bodydigest(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_bodydigest() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) return _internal_mutable_bodydigest(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPRequest::_internal_bodydigest() const { return bodydigest_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::_internal_set_bodydigest(const std::string& value) { _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(std::string&& value) { _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest::_internal_mutable_bodydigest() { _has_bits_[0] |= 0x00000002u; return bodydigest_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPRequest::release_bodydigest() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) if (!_internal_has_bodydigest()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return bodydigest_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_bodydigest(std::string* bodydigest) { if (bodydigest != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } bodydigest_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bodydigest); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } // optional int32 bodylength = 5; inline bool ClientSafeBrowsingReportRequest_HTTPRequest::_internal_has_bodylength() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_bodylength() const { return _internal_has_bodylength(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_bodylength() { bodylength_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_HTTPRequest::_internal_bodylength() const { return bodylength_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_HTTPRequest::bodylength() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodylength) return _internal_bodylength(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::_internal_set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000008u; bodylength_ = value; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_bodylength(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodylength) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine // optional int32 code = 1; inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_has_code() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_code() const { return _internal_has_code(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_code() { code_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_code() const { return code_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::code() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.code) return _internal_code(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_set_code(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000004u; code_ = value; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_code(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_code(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.code) } // optional bytes message = 2; inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_has_message() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_message() const { return _internal_has_message(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_message() { message_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::message() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) return _internal_message(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_message(const std::string& value) { _internal_set_message(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::mutable_message() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) return _internal_mutable_message(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_message() const { return message_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_set_message(const std::string& value) { _has_bits_[0] |= 0x00000001u; message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_message(std::string&& value) { _has_bits_[0] |= 0x00000001u; message_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_message(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_message(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_mutable_message() { _has_bits_[0] |= 0x00000001u; return message_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::release_message() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) if (!_internal_has_message()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return message_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_allocated_message(std::string* message) { if (message != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } message_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.message) } // optional bytes version = 3; inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_has_version() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_version() const { return _internal_has_version(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_version() { version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) return _internal_version(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const std::string& value) { _internal_set_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::mutable_version() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) return _internal_mutable_version(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_version() const { return version_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_set_version(const std::string& value) { _has_bits_[0] |= 0x00000002u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(std::string&& value) { _has_bits_[0] |= 0x00000002u; version_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::_internal_mutable_version() { _has_bits_[0] |= 0x00000002u; return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::release_version() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) if (!_internal_has_version()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return version_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_allocated_version(std::string* version) { if (version != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPResponse // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine firstline = 1; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::_internal_has_firstline() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || firstline_ != nullptr); return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_firstline() const { return _internal_has_firstline(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_firstline() { if (firstline_ != nullptr) firstline_->Clear(); _has_bits_[0] &= ~0x00000008u; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& ClientSafeBrowsingReportRequest_HTTPResponse::_internal_firstline() const { const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* p = firstline_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine_default_instance_); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& ClientSafeBrowsingReportRequest_HTTPResponse::firstline() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline) return _internal_firstline(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* ClientSafeBrowsingReportRequest_HTTPResponse::release_firstline() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline) _has_bits_[0] &= ~0x00000008u; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* temp = firstline_; firstline_ = nullptr; return temp; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* ClientSafeBrowsingReportRequest_HTTPResponse::_internal_mutable_firstline() { _has_bits_[0] |= 0x00000008u; if (firstline_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine>(GetArenaNoVirtual()); firstline_ = p; } return firstline_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_firstline() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline) return _internal_mutable_firstline(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete firstline_; } if (firstline) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { firstline = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, firstline, submessage_arena); } _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } firstline_ = firstline; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline) } // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; inline int ClientSafeBrowsingReportRequest_HTTPResponse::_internal_headers_size() const { return headers_.size(); } inline int ClientSafeBrowsingReportRequest_HTTPResponse::headers_size() const { return _internal_headers_size(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_headers() { headers_.Clear(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_headers(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return headers_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_headers() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return &headers_; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPResponse::_internal_headers(int index) const { return headers_.Get(index); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPResponse::headers(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return _internal_headers(index); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPResponse::_internal_add_headers() { return headers_.Add(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPResponse::add_headers() { // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return _internal_add_headers(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& ClientSafeBrowsingReportRequest_HTTPResponse::headers() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return headers_; } // optional bytes body = 3; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::_internal_has_body() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_body() const { return _internal_has_body(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_body() { body_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse::body() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) return _internal_body(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const std::string& value) { _internal_set_body(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_body() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) return _internal_mutable_body(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse::_internal_body() const { return body_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::_internal_set_body(const std::string& value) { _has_bits_[0] |= 0x00000001u; body_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(std::string&& value) { _has_bits_[0] |= 0x00000001u; body_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; body_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; body_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::_internal_mutable_body() { _has_bits_[0] |= 0x00000001u; return body_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_body() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) if (!_internal_has_body()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return body_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_body(std::string* body) { if (body != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } body_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } // optional bytes bodydigest = 4; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::_internal_has_bodydigest() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_bodydigest() const { return _internal_has_bodydigest(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_bodydigest() { bodydigest_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse::bodydigest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) return _internal_bodydigest(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const std::string& value) { _internal_set_bodydigest(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_bodydigest() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) return _internal_mutable_bodydigest(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse::_internal_bodydigest() const { return bodydigest_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::_internal_set_bodydigest(const std::string& value) { _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(std::string&& value) { _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const void* value, size_t size) { _has_bits_[0] |= 0x00000002u; bodydigest_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::_internal_mutable_bodydigest() { _has_bits_[0] |= 0x00000002u; return bodydigest_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_bodydigest() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) if (!_internal_has_bodydigest()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return bodydigest_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_bodydigest(std::string* bodydigest) { if (bodydigest != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } bodydigest_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bodydigest); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } // optional int32 bodylength = 5; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::_internal_has_bodylength() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_bodylength() const { return _internal_has_bodylength(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_bodylength() { bodylength_ = 0; _has_bits_[0] &= ~0x00000010u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_HTTPResponse::_internal_bodylength() const { return bodylength_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_HTTPResponse::bodylength() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodylength) return _internal_bodylength(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::_internal_set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000010u; bodylength_ = value; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodylength(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_bodylength(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodylength) } // optional bytes remote_ip = 6; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::_internal_has_remote_ip() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_remote_ip() const { return _internal_has_remote_ip(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_remote_ip() { remote_ip_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse::remote_ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) return _internal_remote_ip(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const std::string& value) { _internal_set_remote_ip(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_remote_ip() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) return _internal_mutable_remote_ip(); } inline const std::string& ClientSafeBrowsingReportRequest_HTTPResponse::_internal_remote_ip() const { return remote_ip_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::_internal_set_remote_ip(const std::string& value) { _has_bits_[0] |= 0x00000004u; remote_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(std::string&& value) { _has_bits_[0] |= 0x00000004u; remote_ip_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; remote_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const void* value, size_t size) { _has_bits_[0] |= 0x00000004u; remote_ip_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::_internal_mutable_remote_ip() { _has_bits_[0] |= 0x00000004u; return remote_ip_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_remote_ip() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) if (!_internal_has_remote_ip()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return remote_ip_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_remote_ip(std::string* remote_ip) { if (remote_ip != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } remote_ip_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), remote_ip); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_Resource // required int32 id = 1; inline bool ClientSafeBrowsingReportRequest_Resource::_internal_has_id() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_Resource::has_id() const { return _internal_has_id(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_id() { id_ = 0; _has_bits_[0] &= ~0x00000010u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_Resource::_internal_id() const { return id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_Resource::id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.id) return _internal_id(); } inline void ClientSafeBrowsingReportRequest_Resource::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000010u; id_ = value; } inline void ClientSafeBrowsingReportRequest_Resource::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_id(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.id) } // optional string url = 2; inline bool ClientSafeBrowsingReportRequest_Resource::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_Resource::has_url() const { return _internal_has_url(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest_Resource::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) return _internal_url(); } inline void ClientSafeBrowsingReportRequest_Resource::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } inline std::string* ClientSafeBrowsingReportRequest_Resource::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) return _internal_mutable_url(); } inline const std::string& ClientSafeBrowsingReportRequest_Resource::_internal_url() const { return url_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_Resource::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_Resource::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } inline void ClientSafeBrowsingReportRequest_Resource::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } inline void ClientSafeBrowsingReportRequest_Resource::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } inline std::string* ClientSafeBrowsingReportRequest_Resource::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_Resource::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest request = 3; inline bool ClientSafeBrowsingReportRequest_Resource::_internal_has_request() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || request_ != nullptr); return value; } inline bool ClientSafeBrowsingReportRequest_Resource::has_request() const { return _internal_has_request(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_request() { if (request_ != nullptr) request_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& ClientSafeBrowsingReportRequest_Resource::_internal_request() const { const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* p = request_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientSafeBrowsingReportRequest_HTTPRequest_default_instance_); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& ClientSafeBrowsingReportRequest_Resource::request() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request) return _internal_request(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* ClientSafeBrowsingReportRequest_Resource::release_request() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* temp = request_; request_ = nullptr; return temp; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* ClientSafeBrowsingReportRequest_Resource::_internal_mutable_request() { _has_bits_[0] |= 0x00000004u; if (request_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest>(GetArenaNoVirtual()); request_ = p; } return request_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* ClientSafeBrowsingReportRequest_Resource::mutable_request() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request) return _internal_mutable_request(); } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_request(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete request_; } if (request) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, request, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } request_ = request; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request) } // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse response = 4; inline bool ClientSafeBrowsingReportRequest_Resource::_internal_has_response() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || response_ != nullptr); return value; } inline bool ClientSafeBrowsingReportRequest_Resource::has_response() const { return _internal_has_response(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_response() { if (response_ != nullptr) response_->Clear(); _has_bits_[0] &= ~0x00000008u; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& ClientSafeBrowsingReportRequest_Resource::_internal_response() const { const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* p = response_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientSafeBrowsingReportRequest_HTTPResponse_default_instance_); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& ClientSafeBrowsingReportRequest_Resource::response() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response) return _internal_response(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* ClientSafeBrowsingReportRequest_Resource::release_response() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response) _has_bits_[0] &= ~0x00000008u; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* temp = response_; response_ = nullptr; return temp; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* ClientSafeBrowsingReportRequest_Resource::_internal_mutable_response() { _has_bits_[0] |= 0x00000008u; if (response_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse>(GetArenaNoVirtual()); response_ = p; } return response_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* ClientSafeBrowsingReportRequest_Resource::mutable_response() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response) return _internal_mutable_response(); } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_response(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete response_; } if (response) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, response, submessage_arena); } _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } response_ = response; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response) } // optional int32 parent_id = 5; inline bool ClientSafeBrowsingReportRequest_Resource::_internal_has_parent_id() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_Resource::has_parent_id() const { return _internal_has_parent_id(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_parent_id() { parent_id_ = 0; _has_bits_[0] &= ~0x00000020u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_Resource::_internal_parent_id() const { return parent_id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_Resource::parent_id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.parent_id) return _internal_parent_id(); } inline void ClientSafeBrowsingReportRequest_Resource::_internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000020u; parent_id_ = value; } inline void ClientSafeBrowsingReportRequest_Resource::set_parent_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_parent_id(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.parent_id) } // repeated int32 child_ids = 6; inline int ClientSafeBrowsingReportRequest_Resource::_internal_child_ids_size() const { return child_ids_.size(); } inline int ClientSafeBrowsingReportRequest_Resource::child_ids_size() const { return _internal_child_ids_size(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_child_ids() { child_ids_.Clear(); } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_Resource::_internal_child_ids(int index) const { return child_ids_.Get(index); } inline ::PROTOBUF_NAMESPACE_ID::int32 ClientSafeBrowsingReportRequest_Resource::child_ids(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) return _internal_child_ids(index); } inline void ClientSafeBrowsingReportRequest_Resource::set_child_ids(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { child_ids_.Set(index, value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) } inline void ClientSafeBrowsingReportRequest_Resource::_internal_add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value) { child_ids_.Add(value); } inline void ClientSafeBrowsingReportRequest_Resource::add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_add_child_ids(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& ClientSafeBrowsingReportRequest_Resource::_internal_child_ids() const { return child_ids_; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& ClientSafeBrowsingReportRequest_Resource::child_ids() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) return _internal_child_ids(); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* ClientSafeBrowsingReportRequest_Resource::_internal_mutable_child_ids() { return &child_ids_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* ClientSafeBrowsingReportRequest_Resource::mutable_child_ids() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) return _internal_mutable_child_ids(); } // optional string tag_name = 7; inline bool ClientSafeBrowsingReportRequest_Resource::_internal_has_tag_name() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_Resource::has_tag_name() const { return _internal_has_tag_name(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_tag_name() { tag_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientSafeBrowsingReportRequest_Resource::tag_name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) return _internal_tag_name(); } inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const std::string& value) { _internal_set_tag_name(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } inline std::string* ClientSafeBrowsingReportRequest_Resource::mutable_tag_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) return _internal_mutable_tag_name(); } inline const std::string& ClientSafeBrowsingReportRequest_Resource::_internal_tag_name() const { return tag_name_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_Resource::_internal_set_tag_name(const std::string& value) { _has_bits_[0] |= 0x00000002u; tag_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(std::string&& value) { _has_bits_[0] |= 0x00000002u; tag_name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; tag_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; tag_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } inline std::string* ClientSafeBrowsingReportRequest_Resource::_internal_mutable_tag_name() { _has_bits_[0] |= 0x00000002u; return tag_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_Resource::release_tag_name() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) if (!_internal_has_tag_name()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return tag_name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_tag_name(std::string* tag_name) { if (tag_name != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } tag_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), tag_name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties // optional string client_version = 1; inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_has_client_version() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::has_client_version() const { return _internal_has_client_version(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::clear_client_version() { client_version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::client_version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) return _internal_client_version(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_client_version(const std::string& value) { _internal_set_client_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) } inline std::string* ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::mutable_client_version() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) return _internal_mutable_client_version(); } inline const std::string& ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_client_version() const { return client_version_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_set_client_version(const std::string& value) { _has_bits_[0] |= 0x00000001u; client_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_client_version(std::string&& value) { _has_bits_[0] |= 0x00000001u; client_version_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_client_version(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; client_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_client_version(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; client_version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) } inline std::string* ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_mutable_client_version() { _has_bits_[0] |= 0x00000001u; return client_version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::release_client_version() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) if (!_internal_has_client_version()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return client_version_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_allocated_client_version(std::string* client_version) { if (client_version != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } client_version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_version); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.client_version) } // optional int64 google_play_services_version = 2; inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_has_google_play_services_version() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::has_google_play_services_version() const { return _internal_has_google_play_services_version(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::clear_google_play_services_version() { google_play_services_version_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_google_play_services_version() const { return google_play_services_version_; } inline ::PROTOBUF_NAMESPACE_ID::int64 ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::google_play_services_version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.google_play_services_version) return _internal_google_play_services_version(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_set_google_play_services_version(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000002u; google_play_services_version_ = value; } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_google_play_services_version(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_google_play_services_version(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.google_play_services_version) } // optional bool is_instant_apps = 3; inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_has_is_instant_apps() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::has_is_instant_apps() const { return _internal_has_is_instant_apps(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::clear_is_instant_apps() { is_instant_apps_ = false; _has_bits_[0] &= ~0x00000004u; } inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_is_instant_apps() const { return is_instant_apps_; } inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::is_instant_apps() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.is_instant_apps) return _internal_is_instant_apps(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_set_is_instant_apps(bool value) { _has_bits_[0] |= 0x00000004u; is_instant_apps_ = value; } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_is_instant_apps(bool value) { _internal_set_is_instant_apps(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.is_instant_apps) } // optional .safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingUrlApiType url_api_type = 4; inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_has_url_api_type() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::has_url_api_type() const { return _internal_has_url_api_type(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::clear_url_api_type() { url_api_type_ = 0; _has_bits_[0] &= ~0x00000008u; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_url_api_type() const { return static_cast< ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType >(url_api_type_); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::url_api_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.url_api_type) return _internal_url_api_type(); } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::_internal_set_url_api_type(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value) { assert(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType_IsValid(value)); _has_bits_[0] |= 0x00000008u; url_api_type_ = value; } inline void ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties::set_url_api_type(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType value) { _internal_set_url_api_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties.url_api_type) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest // optional .safe_browsing.ClientSafeBrowsingReportRequest.ReportType type = 10; inline bool ClientSafeBrowsingReportRequest::_internal_has_type() const { bool value = (_has_bits_[0] & 0x00000040u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_type() const { return _internal_has_type(); } inline void ClientSafeBrowsingReportRequest::clear_type() { type_ = 0; _has_bits_[0] &= ~0x00000040u; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest::_internal_type() const { return static_cast< ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType >(type_); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.type) return _internal_type(); } inline void ClientSafeBrowsingReportRequest::_internal_set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value) { assert(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType_IsValid(value)); _has_bits_[0] |= 0x00000040u; type_ = value; } inline void ClientSafeBrowsingReportRequest::set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value) { _internal_set_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.type) } // optional .safe_browsing.ClientDownloadResponse.Verdict download_verdict = 11; inline bool ClientSafeBrowsingReportRequest::_internal_has_download_verdict() const { bool value = (_has_bits_[0] & 0x00000800u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_download_verdict() const { return _internal_has_download_verdict(); } inline void ClientSafeBrowsingReportRequest::clear_download_verdict() { download_verdict_ = 0; _has_bits_[0] &= ~0x00000800u; } inline ::safe_browsing::ClientDownloadResponse_Verdict ClientSafeBrowsingReportRequest::_internal_download_verdict() const { return static_cast< ::safe_browsing::ClientDownloadResponse_Verdict >(download_verdict_); } inline ::safe_browsing::ClientDownloadResponse_Verdict ClientSafeBrowsingReportRequest::download_verdict() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.download_verdict) return _internal_download_verdict(); } inline void ClientSafeBrowsingReportRequest::_internal_set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) { assert(::safe_browsing::ClientDownloadResponse_Verdict_IsValid(value)); _has_bits_[0] |= 0x00000800u; download_verdict_ = value; } inline void ClientSafeBrowsingReportRequest::set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) { _internal_set_download_verdict(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.download_verdict) } // optional string url = 1; inline bool ClientSafeBrowsingReportRequest::_internal_has_url() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_url() const { return _internal_has_url(); } inline void ClientSafeBrowsingReportRequest::clear_url() { url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ClientSafeBrowsingReportRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.url) return _internal_url(); } inline void ClientSafeBrowsingReportRequest::set_url(const std::string& value) { _internal_set_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.url) } inline std::string* ClientSafeBrowsingReportRequest::mutable_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.url) return _internal_mutable_url(); } inline const std::string& ClientSafeBrowsingReportRequest::_internal_url() const { return url_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest::_internal_set_url(const std::string& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest::set_url(std::string&& value) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.url) } inline void ClientSafeBrowsingReportRequest::set_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.url) } inline void ClientSafeBrowsingReportRequest::set_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.url) } inline std::string* ClientSafeBrowsingReportRequest::_internal_mutable_url() { _has_bits_[0] |= 0x00000001u; return url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest::release_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.url) if (!_internal_has_url()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest::set_allocated_url(std::string* url) { if (url != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.url) } // optional string page_url = 2; inline bool ClientSafeBrowsingReportRequest::_internal_has_page_url() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_page_url() const { return _internal_has_page_url(); } inline void ClientSafeBrowsingReportRequest::clear_page_url() { page_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ClientSafeBrowsingReportRequest::page_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.page_url) return _internal_page_url(); } inline void ClientSafeBrowsingReportRequest::set_page_url(const std::string& value) { _internal_set_page_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } inline std::string* ClientSafeBrowsingReportRequest::mutable_page_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.page_url) return _internal_mutable_page_url(); } inline const std::string& ClientSafeBrowsingReportRequest::_internal_page_url() const { return page_url_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest::_internal_set_page_url(const std::string& value) { _has_bits_[0] |= 0x00000002u; page_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest::set_page_url(std::string&& value) { _has_bits_[0] |= 0x00000002u; page_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } inline void ClientSafeBrowsingReportRequest::set_page_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; page_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } inline void ClientSafeBrowsingReportRequest::set_page_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; page_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } inline std::string* ClientSafeBrowsingReportRequest::_internal_mutable_page_url() { _has_bits_[0] |= 0x00000002u; return page_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest::release_page_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.page_url) if (!_internal_has_page_url()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return page_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest::set_allocated_page_url(std::string* page_url) { if (page_url != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } page_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), page_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } // optional string referrer_url = 3; inline bool ClientSafeBrowsingReportRequest::_internal_has_referrer_url() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_referrer_url() const { return _internal_has_referrer_url(); } inline void ClientSafeBrowsingReportRequest::clear_referrer_url() { referrer_url_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000004u; } inline const std::string& ClientSafeBrowsingReportRequest::referrer_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) return _internal_referrer_url(); } inline void ClientSafeBrowsingReportRequest::set_referrer_url(const std::string& value) { _internal_set_referrer_url(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } inline std::string* ClientSafeBrowsingReportRequest::mutable_referrer_url() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) return _internal_mutable_referrer_url(); } inline const std::string& ClientSafeBrowsingReportRequest::_internal_referrer_url() const { return referrer_url_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest::_internal_set_referrer_url(const std::string& value) { _has_bits_[0] |= 0x00000004u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest::set_referrer_url(std::string&& value) { _has_bits_[0] |= 0x00000004u; referrer_url_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } inline void ClientSafeBrowsingReportRequest::set_referrer_url(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000004u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } inline void ClientSafeBrowsingReportRequest::set_referrer_url(const char* value, size_t size) { _has_bits_[0] |= 0x00000004u; referrer_url_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } inline std::string* ClientSafeBrowsingReportRequest::_internal_mutable_referrer_url() { _has_bits_[0] |= 0x00000004u; return referrer_url_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest::release_referrer_url() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) if (!_internal_has_referrer_url()) { return nullptr; } _has_bits_[0] &= ~0x00000004u; return referrer_url_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest::set_allocated_referrer_url(std::string* referrer_url) { if (referrer_url != nullptr) { _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } referrer_url_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), referrer_url); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } // repeated .safe_browsing.ClientSafeBrowsingReportRequest.Resource resources = 4; inline int ClientSafeBrowsingReportRequest::_internal_resources_size() const { return resources_.size(); } inline int ClientSafeBrowsingReportRequest::resources_size() const { return _internal_resources_size(); } inline void ClientSafeBrowsingReportRequest::clear_resources() { resources_.Clear(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* ClientSafeBrowsingReportRequest::mutable_resources(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.resources) return resources_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >* ClientSafeBrowsingReportRequest::mutable_resources() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.resources) return &resources_; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& ClientSafeBrowsingReportRequest::_internal_resources(int index) const { return resources_.Get(index); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& ClientSafeBrowsingReportRequest::resources(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.resources) return _internal_resources(index); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* ClientSafeBrowsingReportRequest::_internal_add_resources() { return resources_.Add(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* ClientSafeBrowsingReportRequest::add_resources() { // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.resources) return _internal_add_resources(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >& ClientSafeBrowsingReportRequest::resources() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.resources) return resources_; } // repeated .safe_browsing.HTMLElement dom = 16; inline int ClientSafeBrowsingReportRequest::_internal_dom_size() const { return dom_.size(); } inline int ClientSafeBrowsingReportRequest::dom_size() const { return _internal_dom_size(); } inline void ClientSafeBrowsingReportRequest::clear_dom() { dom_.Clear(); } inline ::safe_browsing::HTMLElement* ClientSafeBrowsingReportRequest::mutable_dom(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.dom) return dom_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement >* ClientSafeBrowsingReportRequest::mutable_dom() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.dom) return &dom_; } inline const ::safe_browsing::HTMLElement& ClientSafeBrowsingReportRequest::_internal_dom(int index) const { return dom_.Get(index); } inline const ::safe_browsing::HTMLElement& ClientSafeBrowsingReportRequest::dom(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.dom) return _internal_dom(index); } inline ::safe_browsing::HTMLElement* ClientSafeBrowsingReportRequest::_internal_add_dom() { return dom_.Add(); } inline ::safe_browsing::HTMLElement* ClientSafeBrowsingReportRequest::add_dom() { // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.dom) return _internal_add_dom(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement >& ClientSafeBrowsingReportRequest::dom() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.dom) return dom_; } // optional bool complete = 5; inline bool ClientSafeBrowsingReportRequest::_internal_has_complete() const { bool value = (_has_bits_[0] & 0x00000080u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_complete() const { return _internal_has_complete(); } inline void ClientSafeBrowsingReportRequest::clear_complete() { complete_ = false; _has_bits_[0] &= ~0x00000080u; } inline bool ClientSafeBrowsingReportRequest::_internal_complete() const { return complete_; } inline bool ClientSafeBrowsingReportRequest::complete() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.complete) return _internal_complete(); } inline void ClientSafeBrowsingReportRequest::_internal_set_complete(bool value) { _has_bits_[0] |= 0x00000080u; complete_ = value; } inline void ClientSafeBrowsingReportRequest::set_complete(bool value) { _internal_set_complete(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.complete) } // repeated string client_asn = 6; inline int ClientSafeBrowsingReportRequest::_internal_client_asn_size() const { return client_asn_.size(); } inline int ClientSafeBrowsingReportRequest::client_asn_size() const { return _internal_client_asn_size(); } inline void ClientSafeBrowsingReportRequest::clear_client_asn() { client_asn_.Clear(); } inline std::string* ClientSafeBrowsingReportRequest::add_client_asn() { // @@protoc_insertion_point(field_add_mutable:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) return _internal_add_client_asn(); } inline const std::string& ClientSafeBrowsingReportRequest::_internal_client_asn(int index) const { return client_asn_.Get(index); } inline const std::string& ClientSafeBrowsingReportRequest::client_asn(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) return _internal_client_asn(index); } inline std::string* ClientSafeBrowsingReportRequest::mutable_client_asn(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) return client_asn_.Mutable(index); } inline void ClientSafeBrowsingReportRequest::set_client_asn(int index, const std::string& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) client_asn_.Mutable(index)->assign(value); } inline void ClientSafeBrowsingReportRequest::set_client_asn(int index, std::string&& value) { // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) client_asn_.Mutable(index)->assign(std::move(value)); } inline void ClientSafeBrowsingReportRequest::set_client_asn(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); client_asn_.Mutable(index)->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) } inline void ClientSafeBrowsingReportRequest::set_client_asn(int index, const char* value, size_t size) { client_asn_.Mutable(index)->assign( reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) } inline std::string* ClientSafeBrowsingReportRequest::_internal_add_client_asn() { return client_asn_.Add(); } inline void ClientSafeBrowsingReportRequest::add_client_asn(const std::string& value) { client_asn_.Add()->assign(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) } inline void ClientSafeBrowsingReportRequest::add_client_asn(std::string&& value) { client_asn_.Add(std::move(value)); // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) } inline void ClientSafeBrowsingReportRequest::add_client_asn(const char* value) { GOOGLE_DCHECK(value != nullptr); client_asn_.Add()->assign(value); // @@protoc_insertion_point(field_add_char:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) } inline void ClientSafeBrowsingReportRequest::add_client_asn(const char* value, size_t size) { client_asn_.Add()->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_add_pointer:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& ClientSafeBrowsingReportRequest::client_asn() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) return client_asn_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* ClientSafeBrowsingReportRequest::mutable_client_asn() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) return &client_asn_; } // optional string client_country = 7; inline bool ClientSafeBrowsingReportRequest::_internal_has_client_country() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_client_country() const { return _internal_has_client_country(); } inline void ClientSafeBrowsingReportRequest::clear_client_country() { client_country_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000008u; } inline const std::string& ClientSafeBrowsingReportRequest::client_country() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.client_country) return _internal_client_country(); } inline void ClientSafeBrowsingReportRequest::set_client_country(const std::string& value) { _internal_set_client_country(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } inline std::string* ClientSafeBrowsingReportRequest::mutable_client_country() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.client_country) return _internal_mutable_client_country(); } inline const std::string& ClientSafeBrowsingReportRequest::_internal_client_country() const { return client_country_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest::_internal_set_client_country(const std::string& value) { _has_bits_[0] |= 0x00000008u; client_country_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest::set_client_country(std::string&& value) { _has_bits_[0] |= 0x00000008u; client_country_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } inline void ClientSafeBrowsingReportRequest::set_client_country(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000008u; client_country_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } inline void ClientSafeBrowsingReportRequest::set_client_country(const char* value, size_t size) { _has_bits_[0] |= 0x00000008u; client_country_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } inline std::string* ClientSafeBrowsingReportRequest::_internal_mutable_client_country() { _has_bits_[0] |= 0x00000008u; return client_country_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest::release_client_country() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.client_country) if (!_internal_has_client_country()) { return nullptr; } _has_bits_[0] &= ~0x00000008u; return client_country_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest::set_allocated_client_country(std::string* client_country) { if (client_country != nullptr) { _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } client_country_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_country); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } // optional bool did_proceed = 8; inline bool ClientSafeBrowsingReportRequest::_internal_has_did_proceed() const { bool value = (_has_bits_[0] & 0x00000100u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_did_proceed() const { return _internal_has_did_proceed(); } inline void ClientSafeBrowsingReportRequest::clear_did_proceed() { did_proceed_ = false; _has_bits_[0] &= ~0x00000100u; } inline bool ClientSafeBrowsingReportRequest::_internal_did_proceed() const { return did_proceed_; } inline bool ClientSafeBrowsingReportRequest::did_proceed() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.did_proceed) return _internal_did_proceed(); } inline void ClientSafeBrowsingReportRequest::_internal_set_did_proceed(bool value) { _has_bits_[0] |= 0x00000100u; did_proceed_ = value; } inline void ClientSafeBrowsingReportRequest::set_did_proceed(bool value) { _internal_set_did_proceed(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.did_proceed) } // optional bool repeat_visit = 9; inline bool ClientSafeBrowsingReportRequest::_internal_has_repeat_visit() const { bool value = (_has_bits_[0] & 0x00000200u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_repeat_visit() const { return _internal_has_repeat_visit(); } inline void ClientSafeBrowsingReportRequest::clear_repeat_visit() { repeat_visit_ = false; _has_bits_[0] &= ~0x00000200u; } inline bool ClientSafeBrowsingReportRequest::_internal_repeat_visit() const { return repeat_visit_; } inline bool ClientSafeBrowsingReportRequest::repeat_visit() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.repeat_visit) return _internal_repeat_visit(); } inline void ClientSafeBrowsingReportRequest::_internal_set_repeat_visit(bool value) { _has_bits_[0] |= 0x00000200u; repeat_visit_ = value; } inline void ClientSafeBrowsingReportRequest::set_repeat_visit(bool value) { _internal_set_repeat_visit(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.repeat_visit) } // optional bytes token = 15; inline bool ClientSafeBrowsingReportRequest::_internal_has_token() const { bool value = (_has_bits_[0] & 0x00000010u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_token() const { return _internal_has_token(); } inline void ClientSafeBrowsingReportRequest::clear_token() { token_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000010u; } inline const std::string& ClientSafeBrowsingReportRequest::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.token) return _internal_token(); } inline void ClientSafeBrowsingReportRequest::set_token(const std::string& value) { _internal_set_token(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.token) } inline std::string* ClientSafeBrowsingReportRequest::mutable_token() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.token) return _internal_mutable_token(); } inline const std::string& ClientSafeBrowsingReportRequest::_internal_token() const { return token_.GetNoArena(); } inline void ClientSafeBrowsingReportRequest::_internal_set_token(const std::string& value) { _has_bits_[0] |= 0x00000010u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ClientSafeBrowsingReportRequest::set_token(std::string&& value) { _has_bits_[0] |= 0x00000010u; token_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ClientSafeBrowsingReportRequest.token) } inline void ClientSafeBrowsingReportRequest::set_token(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000010u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.token) } inline void ClientSafeBrowsingReportRequest::set_token(const void* value, size_t size) { _has_bits_[0] |= 0x00000010u; token_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.token) } inline std::string* ClientSafeBrowsingReportRequest::_internal_mutable_token() { _has_bits_[0] |= 0x00000010u; return token_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ClientSafeBrowsingReportRequest::release_token() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.token) if (!_internal_has_token()) { return nullptr; } _has_bits_[0] &= ~0x00000010u; return token_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ClientSafeBrowsingReportRequest::set_allocated_token(std::string* token) { if (token != nullptr) { _has_bits_[0] |= 0x00000010u; } else { _has_bits_[0] &= ~0x00000010u; } token_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), token); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.token) } // optional .safe_browsing.ClientSafeBrowsingReportRequest.SafeBrowsingClientProperties client_properties = 17; inline bool ClientSafeBrowsingReportRequest::_internal_has_client_properties() const { bool value = (_has_bits_[0] & 0x00000020u) != 0; PROTOBUF_ASSUME(!value || client_properties_ != nullptr); return value; } inline bool ClientSafeBrowsingReportRequest::has_client_properties() const { return _internal_has_client_properties(); } inline void ClientSafeBrowsingReportRequest::clear_client_properties() { if (client_properties_ != nullptr) client_properties_->Clear(); _has_bits_[0] &= ~0x00000020u; } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& ClientSafeBrowsingReportRequest::_internal_client_properties() const { const ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* p = client_properties_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties_default_instance_); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties& ClientSafeBrowsingReportRequest::client_properties() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.client_properties) return _internal_client_properties(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* ClientSafeBrowsingReportRequest::release_client_properties() { // @@protoc_insertion_point(field_release:safe_browsing.ClientSafeBrowsingReportRequest.client_properties) _has_bits_[0] &= ~0x00000020u; ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* temp = client_properties_; client_properties_ = nullptr; return temp; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* ClientSafeBrowsingReportRequest::_internal_mutable_client_properties() { _has_bits_[0] |= 0x00000020u; if (client_properties_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties>(GetArenaNoVirtual()); client_properties_ = p; } return client_properties_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* ClientSafeBrowsingReportRequest::mutable_client_properties() { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.client_properties) return _internal_mutable_client_properties(); } inline void ClientSafeBrowsingReportRequest::set_allocated_client_properties(::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingClientProperties* client_properties) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete client_properties_; } if (client_properties) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { client_properties = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, client_properties, submessage_arena); } _has_bits_[0] |= 0x00000020u; } else { _has_bits_[0] &= ~0x00000020u; } client_properties_ = client_properties; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.client_properties) } // optional bool show_download_in_folder = 18; inline bool ClientSafeBrowsingReportRequest::_internal_has_show_download_in_folder() const { bool value = (_has_bits_[0] & 0x00000400u) != 0; return value; } inline bool ClientSafeBrowsingReportRequest::has_show_download_in_folder() const { return _internal_has_show_download_in_folder(); } inline void ClientSafeBrowsingReportRequest::clear_show_download_in_folder() { show_download_in_folder_ = false; _has_bits_[0] &= ~0x00000400u; } inline bool ClientSafeBrowsingReportRequest::_internal_show_download_in_folder() const { return show_download_in_folder_; } inline bool ClientSafeBrowsingReportRequest::show_download_in_folder() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.show_download_in_folder) return _internal_show_download_in_folder(); } inline void ClientSafeBrowsingReportRequest::_internal_set_show_download_in_folder(bool value) { _has_bits_[0] |= 0x00000400u; show_download_in_folder_ = value; } inline void ClientSafeBrowsingReportRequest::set_show_download_in_folder(bool value) { _internal_set_show_download_in_folder(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.show_download_in_folder) } // ------------------------------------------------------------------- // HTMLElement_Attribute // optional string name = 1; inline bool HTMLElement_Attribute::_internal_has_name() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool HTMLElement_Attribute::has_name() const { return _internal_has_name(); } inline void HTMLElement_Attribute::clear_name() { name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& HTMLElement_Attribute::name() const { // @@protoc_insertion_point(field_get:safe_browsing.HTMLElement.Attribute.name) return _internal_name(); } inline void HTMLElement_Attribute::set_name(const std::string& value) { _internal_set_name(value); // @@protoc_insertion_point(field_set:safe_browsing.HTMLElement.Attribute.name) } inline std::string* HTMLElement_Attribute::mutable_name() { // @@protoc_insertion_point(field_mutable:safe_browsing.HTMLElement.Attribute.name) return _internal_mutable_name(); } inline const std::string& HTMLElement_Attribute::_internal_name() const { return name_.GetNoArena(); } inline void HTMLElement_Attribute::_internal_set_name(const std::string& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void HTMLElement_Attribute::set_name(std::string&& value) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.HTMLElement.Attribute.name) } inline void HTMLElement_Attribute::set_name(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.HTMLElement.Attribute.name) } inline void HTMLElement_Attribute::set_name(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.HTMLElement.Attribute.name) } inline std::string* HTMLElement_Attribute::_internal_mutable_name() { _has_bits_[0] |= 0x00000001u; return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* HTMLElement_Attribute::release_name() { // @@protoc_insertion_point(field_release:safe_browsing.HTMLElement.Attribute.name) if (!_internal_has_name()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void HTMLElement_Attribute::set_allocated_name(std::string* name) { if (name != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); // @@protoc_insertion_point(field_set_allocated:safe_browsing.HTMLElement.Attribute.name) } // optional string value = 2; inline bool HTMLElement_Attribute::_internal_has_value() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool HTMLElement_Attribute::has_value() const { return _internal_has_value(); } inline void HTMLElement_Attribute::clear_value() { value_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& HTMLElement_Attribute::value() const { // @@protoc_insertion_point(field_get:safe_browsing.HTMLElement.Attribute.value) return _internal_value(); } inline void HTMLElement_Attribute::set_value(const std::string& value) { _internal_set_value(value); // @@protoc_insertion_point(field_set:safe_browsing.HTMLElement.Attribute.value) } inline std::string* HTMLElement_Attribute::mutable_value() { // @@protoc_insertion_point(field_mutable:safe_browsing.HTMLElement.Attribute.value) return _internal_mutable_value(); } inline const std::string& HTMLElement_Attribute::_internal_value() const { return value_.GetNoArena(); } inline void HTMLElement_Attribute::_internal_set_value(const std::string& value) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void HTMLElement_Attribute::set_value(std::string&& value) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.HTMLElement.Attribute.value) } inline void HTMLElement_Attribute::set_value(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.HTMLElement.Attribute.value) } inline void HTMLElement_Attribute::set_value(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; value_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.HTMLElement.Attribute.value) } inline std::string* HTMLElement_Attribute::_internal_mutable_value() { _has_bits_[0] |= 0x00000002u; return value_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* HTMLElement_Attribute::release_value() { // @@protoc_insertion_point(field_release:safe_browsing.HTMLElement.Attribute.value) if (!_internal_has_value()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return value_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void HTMLElement_Attribute::set_allocated_value(std::string* value) { if (value != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } value_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); // @@protoc_insertion_point(field_set_allocated:safe_browsing.HTMLElement.Attribute.value) } // ------------------------------------------------------------------- // HTMLElement // optional int32 id = 1; inline bool HTMLElement::_internal_has_id() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool HTMLElement::has_id() const { return _internal_has_id(); } inline void HTMLElement::clear_id() { id_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int32 HTMLElement::_internal_id() const { return id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 HTMLElement::id() const { // @@protoc_insertion_point(field_get:safe_browsing.HTMLElement.id) return _internal_id(); } inline void HTMLElement::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000002u; id_ = value; } inline void HTMLElement::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_id(value); // @@protoc_insertion_point(field_set:safe_browsing.HTMLElement.id) } // optional string tag = 2; inline bool HTMLElement::_internal_has_tag() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool HTMLElement::has_tag() const { return _internal_has_tag(); } inline void HTMLElement::clear_tag() { tag_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& HTMLElement::tag() const { // @@protoc_insertion_point(field_get:safe_browsing.HTMLElement.tag) return _internal_tag(); } inline void HTMLElement::set_tag(const std::string& value) { _internal_set_tag(value); // @@protoc_insertion_point(field_set:safe_browsing.HTMLElement.tag) } inline std::string* HTMLElement::mutable_tag() { // @@protoc_insertion_point(field_mutable:safe_browsing.HTMLElement.tag) return _internal_mutable_tag(); } inline const std::string& HTMLElement::_internal_tag() const { return tag_.GetNoArena(); } inline void HTMLElement::_internal_set_tag(const std::string& value) { _has_bits_[0] |= 0x00000001u; tag_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void HTMLElement::set_tag(std::string&& value) { _has_bits_[0] |= 0x00000001u; tag_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.HTMLElement.tag) } inline void HTMLElement::set_tag(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; tag_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.HTMLElement.tag) } inline void HTMLElement::set_tag(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; tag_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.HTMLElement.tag) } inline std::string* HTMLElement::_internal_mutable_tag() { _has_bits_[0] |= 0x00000001u; return tag_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* HTMLElement::release_tag() { // @@protoc_insertion_point(field_release:safe_browsing.HTMLElement.tag) if (!_internal_has_tag()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return tag_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void HTMLElement::set_allocated_tag(std::string* tag) { if (tag != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } tag_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), tag); // @@protoc_insertion_point(field_set_allocated:safe_browsing.HTMLElement.tag) } // repeated int32 child_ids = 3; inline int HTMLElement::_internal_child_ids_size() const { return child_ids_.size(); } inline int HTMLElement::child_ids_size() const { return _internal_child_ids_size(); } inline void HTMLElement::clear_child_ids() { child_ids_.Clear(); } inline ::PROTOBUF_NAMESPACE_ID::int32 HTMLElement::_internal_child_ids(int index) const { return child_ids_.Get(index); } inline ::PROTOBUF_NAMESPACE_ID::int32 HTMLElement::child_ids(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.HTMLElement.child_ids) return _internal_child_ids(index); } inline void HTMLElement::set_child_ids(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) { child_ids_.Set(index, value); // @@protoc_insertion_point(field_set:safe_browsing.HTMLElement.child_ids) } inline void HTMLElement::_internal_add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value) { child_ids_.Add(value); } inline void HTMLElement::add_child_ids(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_add_child_ids(value); // @@protoc_insertion_point(field_add:safe_browsing.HTMLElement.child_ids) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& HTMLElement::_internal_child_ids() const { return child_ids_; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >& HTMLElement::child_ids() const { // @@protoc_insertion_point(field_list:safe_browsing.HTMLElement.child_ids) return _internal_child_ids(); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* HTMLElement::_internal_mutable_child_ids() { return &child_ids_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >* HTMLElement::mutable_child_ids() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.HTMLElement.child_ids) return _internal_mutable_child_ids(); } // optional int32 resource_id = 5; inline bool HTMLElement::_internal_has_resource_id() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool HTMLElement::has_resource_id() const { return _internal_has_resource_id(); } inline void HTMLElement::clear_resource_id() { resource_id_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::int32 HTMLElement::_internal_resource_id() const { return resource_id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 HTMLElement::resource_id() const { // @@protoc_insertion_point(field_get:safe_browsing.HTMLElement.resource_id) return _internal_resource_id(); } inline void HTMLElement::_internal_set_resource_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000004u; resource_id_ = value; } inline void HTMLElement::set_resource_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_resource_id(value); // @@protoc_insertion_point(field_set:safe_browsing.HTMLElement.resource_id) } // repeated .safe_browsing.HTMLElement.Attribute attribute = 6; inline int HTMLElement::_internal_attribute_size() const { return attribute_.size(); } inline int HTMLElement::attribute_size() const { return _internal_attribute_size(); } inline void HTMLElement::clear_attribute() { attribute_.Clear(); } inline ::safe_browsing::HTMLElement_Attribute* HTMLElement::mutable_attribute(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.HTMLElement.attribute) return attribute_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute >* HTMLElement::mutable_attribute() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.HTMLElement.attribute) return &attribute_; } inline const ::safe_browsing::HTMLElement_Attribute& HTMLElement::_internal_attribute(int index) const { return attribute_.Get(index); } inline const ::safe_browsing::HTMLElement_Attribute& HTMLElement::attribute(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.HTMLElement.attribute) return _internal_attribute(index); } inline ::safe_browsing::HTMLElement_Attribute* HTMLElement::_internal_add_attribute() { return attribute_.Add(); } inline ::safe_browsing::HTMLElement_Attribute* HTMLElement::add_attribute() { // @@protoc_insertion_point(field_add:safe_browsing.HTMLElement.attribute) return _internal_add_attribute(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::HTMLElement_Attribute >& HTMLElement::attribute() const { // @@protoc_insertion_point(field_list:safe_browsing.HTMLElement.attribute) return attribute_; } // ------------------------------------------------------------------- // ImageData_Dimensions // optional int32 width = 1; inline bool ImageData_Dimensions::_internal_has_width() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ImageData_Dimensions::has_width() const { return _internal_has_width(); } inline void ImageData_Dimensions::clear_width() { width_ = 0; _has_bits_[0] &= ~0x00000001u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ImageData_Dimensions::_internal_width() const { return width_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ImageData_Dimensions::width() const { // @@protoc_insertion_point(field_get:safe_browsing.ImageData.Dimensions.width) return _internal_width(); } inline void ImageData_Dimensions::_internal_set_width(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000001u; width_ = value; } inline void ImageData_Dimensions::set_width(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_width(value); // @@protoc_insertion_point(field_set:safe_browsing.ImageData.Dimensions.width) } // optional int32 height = 2; inline bool ImageData_Dimensions::_internal_has_height() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ImageData_Dimensions::has_height() const { return _internal_has_height(); } inline void ImageData_Dimensions::clear_height() { height_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int32 ImageData_Dimensions::_internal_height() const { return height_; } inline ::PROTOBUF_NAMESPACE_ID::int32 ImageData_Dimensions::height() const { // @@protoc_insertion_point(field_get:safe_browsing.ImageData.Dimensions.height) return _internal_height(); } inline void ImageData_Dimensions::_internal_set_height(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000002u; height_ = value; } inline void ImageData_Dimensions::set_height(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_height(value); // @@protoc_insertion_point(field_set:safe_browsing.ImageData.Dimensions.height) } // ------------------------------------------------------------------- // ImageData // optional bytes data = 1; inline bool ImageData::_internal_has_data() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool ImageData::has_data() const { return _internal_has_data(); } inline void ImageData::clear_data() { data_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ImageData::data() const { // @@protoc_insertion_point(field_get:safe_browsing.ImageData.data) return _internal_data(); } inline void ImageData::set_data(const std::string& value) { _internal_set_data(value); // @@protoc_insertion_point(field_set:safe_browsing.ImageData.data) } inline std::string* ImageData::mutable_data() { // @@protoc_insertion_point(field_mutable:safe_browsing.ImageData.data) return _internal_mutable_data(); } inline const std::string& ImageData::_internal_data() const { return data_.GetNoArena(); } inline void ImageData::_internal_set_data(const std::string& value) { _has_bits_[0] |= 0x00000001u; data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ImageData::set_data(std::string&& value) { _has_bits_[0] |= 0x00000001u; data_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ImageData.data) } inline void ImageData::set_data(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ImageData.data) } inline void ImageData::set_data(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; data_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ImageData.data) } inline std::string* ImageData::_internal_mutable_data() { _has_bits_[0] |= 0x00000001u; return data_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ImageData::release_data() { // @@protoc_insertion_point(field_release:safe_browsing.ImageData.data) if (!_internal_has_data()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return data_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ImageData::set_allocated_data(std::string* data) { if (data != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } data_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ImageData.data) } // optional string mime_type = 2; inline bool ImageData::_internal_has_mime_type() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool ImageData::has_mime_type() const { return _internal_has_mime_type(); } inline void ImageData::clear_mime_type() { mime_type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000002u; } inline const std::string& ImageData::mime_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ImageData.mime_type) return _internal_mime_type(); } inline void ImageData::set_mime_type(const std::string& value) { _internal_set_mime_type(value); // @@protoc_insertion_point(field_set:safe_browsing.ImageData.mime_type) } inline std::string* ImageData::mutable_mime_type() { // @@protoc_insertion_point(field_mutable:safe_browsing.ImageData.mime_type) return _internal_mutable_mime_type(); } inline const std::string& ImageData::_internal_mime_type() const { return mime_type_.GetNoArena(); } inline void ImageData::_internal_set_mime_type(const std::string& value) { _has_bits_[0] |= 0x00000002u; mime_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void ImageData::set_mime_type(std::string&& value) { _has_bits_[0] |= 0x00000002u; mime_type_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.ImageData.mime_type) } inline void ImageData::set_mime_type(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000002u; mime_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.ImageData.mime_type) } inline void ImageData::set_mime_type(const char* value, size_t size) { _has_bits_[0] |= 0x00000002u; mime_type_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ImageData.mime_type) } inline std::string* ImageData::_internal_mutable_mime_type() { _has_bits_[0] |= 0x00000002u; return mime_type_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* ImageData::release_mime_type() { // @@protoc_insertion_point(field_release:safe_browsing.ImageData.mime_type) if (!_internal_has_mime_type()) { return nullptr; } _has_bits_[0] &= ~0x00000002u; return mime_type_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void ImageData::set_allocated_mime_type(std::string* mime_type) { if (mime_type != nullptr) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } mime_type_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mime_type); // @@protoc_insertion_point(field_set_allocated:safe_browsing.ImageData.mime_type) } // optional .safe_browsing.ImageData.Dimensions dimensions = 3; inline bool ImageData::_internal_has_dimensions() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || dimensions_ != nullptr); return value; } inline bool ImageData::has_dimensions() const { return _internal_has_dimensions(); } inline void ImageData::clear_dimensions() { if (dimensions_ != nullptr) dimensions_->Clear(); _has_bits_[0] &= ~0x00000004u; } inline const ::safe_browsing::ImageData_Dimensions& ImageData::_internal_dimensions() const { const ::safe_browsing::ImageData_Dimensions* p = dimensions_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ImageData_Dimensions_default_instance_); } inline const ::safe_browsing::ImageData_Dimensions& ImageData::dimensions() const { // @@protoc_insertion_point(field_get:safe_browsing.ImageData.dimensions) return _internal_dimensions(); } inline ::safe_browsing::ImageData_Dimensions* ImageData::release_dimensions() { // @@protoc_insertion_point(field_release:safe_browsing.ImageData.dimensions) _has_bits_[0] &= ~0x00000004u; ::safe_browsing::ImageData_Dimensions* temp = dimensions_; dimensions_ = nullptr; return temp; } inline ::safe_browsing::ImageData_Dimensions* ImageData::_internal_mutable_dimensions() { _has_bits_[0] |= 0x00000004u; if (dimensions_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ImageData_Dimensions>(GetArenaNoVirtual()); dimensions_ = p; } return dimensions_; } inline ::safe_browsing::ImageData_Dimensions* ImageData::mutable_dimensions() { // @@protoc_insertion_point(field_mutable:safe_browsing.ImageData.dimensions) return _internal_mutable_dimensions(); } inline void ImageData::set_allocated_dimensions(::safe_browsing::ImageData_Dimensions* dimensions) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete dimensions_; } if (dimensions) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { dimensions = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, dimensions, submessage_arena); } _has_bits_[0] |= 0x00000004u; } else { _has_bits_[0] &= ~0x00000004u; } dimensions_ = dimensions; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ImageData.dimensions) } // optional .safe_browsing.ImageData.Dimensions original_dimensions = 4; inline bool ImageData::_internal_has_original_dimensions() const { bool value = (_has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || original_dimensions_ != nullptr); return value; } inline bool ImageData::has_original_dimensions() const { return _internal_has_original_dimensions(); } inline void ImageData::clear_original_dimensions() { if (original_dimensions_ != nullptr) original_dimensions_->Clear(); _has_bits_[0] &= ~0x00000008u; } inline const ::safe_browsing::ImageData_Dimensions& ImageData::_internal_original_dimensions() const { const ::safe_browsing::ImageData_Dimensions* p = original_dimensions_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ImageData_Dimensions_default_instance_); } inline const ::safe_browsing::ImageData_Dimensions& ImageData::original_dimensions() const { // @@protoc_insertion_point(field_get:safe_browsing.ImageData.original_dimensions) return _internal_original_dimensions(); } inline ::safe_browsing::ImageData_Dimensions* ImageData::release_original_dimensions() { // @@protoc_insertion_point(field_release:safe_browsing.ImageData.original_dimensions) _has_bits_[0] &= ~0x00000008u; ::safe_browsing::ImageData_Dimensions* temp = original_dimensions_; original_dimensions_ = nullptr; return temp; } inline ::safe_browsing::ImageData_Dimensions* ImageData::_internal_mutable_original_dimensions() { _has_bits_[0] |= 0x00000008u; if (original_dimensions_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ImageData_Dimensions>(GetArenaNoVirtual()); original_dimensions_ = p; } return original_dimensions_; } inline ::safe_browsing::ImageData_Dimensions* ImageData::mutable_original_dimensions() { // @@protoc_insertion_point(field_mutable:safe_browsing.ImageData.original_dimensions) return _internal_mutable_original_dimensions(); } inline void ImageData::set_allocated_original_dimensions(::safe_browsing::ImageData_Dimensions* original_dimensions) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete original_dimensions_; } if (original_dimensions) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { original_dimensions = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, original_dimensions, submessage_arena); } _has_bits_[0] |= 0x00000008u; } else { _has_bits_[0] &= ~0x00000008u; } original_dimensions_ = original_dimensions; // @@protoc_insertion_point(field_set_allocated:safe_browsing.ImageData.original_dimensions) } // ------------------------------------------------------------------- // NotificationImageReportRequest // optional string notification_origin = 1; inline bool NotificationImageReportRequest::_internal_has_notification_origin() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool NotificationImageReportRequest::has_notification_origin() const { return _internal_has_notification_origin(); } inline void NotificationImageReportRequest::clear_notification_origin() { notification_origin_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); _has_bits_[0] &= ~0x00000001u; } inline const std::string& NotificationImageReportRequest::notification_origin() const { // @@protoc_insertion_point(field_get:safe_browsing.NotificationImageReportRequest.notification_origin) return _internal_notification_origin(); } inline void NotificationImageReportRequest::set_notification_origin(const std::string& value) { _internal_set_notification_origin(value); // @@protoc_insertion_point(field_set:safe_browsing.NotificationImageReportRequest.notification_origin) } inline std::string* NotificationImageReportRequest::mutable_notification_origin() { // @@protoc_insertion_point(field_mutable:safe_browsing.NotificationImageReportRequest.notification_origin) return _internal_mutable_notification_origin(); } inline const std::string& NotificationImageReportRequest::_internal_notification_origin() const { return notification_origin_.GetNoArena(); } inline void NotificationImageReportRequest::_internal_set_notification_origin(const std::string& value) { _has_bits_[0] |= 0x00000001u; notification_origin_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); } inline void NotificationImageReportRequest::set_notification_origin(std::string&& value) { _has_bits_[0] |= 0x00000001u; notification_origin_.SetNoArena( &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); // @@protoc_insertion_point(field_set_rvalue:safe_browsing.NotificationImageReportRequest.notification_origin) } inline void NotificationImageReportRequest::set_notification_origin(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; notification_origin_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); // @@protoc_insertion_point(field_set_char:safe_browsing.NotificationImageReportRequest.notification_origin) } inline void NotificationImageReportRequest::set_notification_origin(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; notification_origin_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); // @@protoc_insertion_point(field_set_pointer:safe_browsing.NotificationImageReportRequest.notification_origin) } inline std::string* NotificationImageReportRequest::_internal_mutable_notification_origin() { _has_bits_[0] |= 0x00000001u; return notification_origin_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline std::string* NotificationImageReportRequest::release_notification_origin() { // @@protoc_insertion_point(field_release:safe_browsing.NotificationImageReportRequest.notification_origin) if (!_internal_has_notification_origin()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return notification_origin_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } inline void NotificationImageReportRequest::set_allocated_notification_origin(std::string* notification_origin) { if (notification_origin != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } notification_origin_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), notification_origin); // @@protoc_insertion_point(field_set_allocated:safe_browsing.NotificationImageReportRequest.notification_origin) } // optional .safe_browsing.ImageData image = 2; inline bool NotificationImageReportRequest::_internal_has_image() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || image_ != nullptr); return value; } inline bool NotificationImageReportRequest::has_image() const { return _internal_has_image(); } inline void NotificationImageReportRequest::clear_image() { if (image_ != nullptr) image_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::safe_browsing::ImageData& NotificationImageReportRequest::_internal_image() const { const ::safe_browsing::ImageData* p = image_; return p != nullptr ? *p : *reinterpret_cast( &::safe_browsing::_ImageData_default_instance_); } inline const ::safe_browsing::ImageData& NotificationImageReportRequest::image() const { // @@protoc_insertion_point(field_get:safe_browsing.NotificationImageReportRequest.image) return _internal_image(); } inline ::safe_browsing::ImageData* NotificationImageReportRequest::release_image() { // @@protoc_insertion_point(field_release:safe_browsing.NotificationImageReportRequest.image) _has_bits_[0] &= ~0x00000002u; ::safe_browsing::ImageData* temp = image_; image_ = nullptr; return temp; } inline ::safe_browsing::ImageData* NotificationImageReportRequest::_internal_mutable_image() { _has_bits_[0] |= 0x00000002u; if (image_ == nullptr) { auto* p = CreateMaybeMessage<::safe_browsing::ImageData>(GetArenaNoVirtual()); image_ = p; } return image_; } inline ::safe_browsing::ImageData* NotificationImageReportRequest::mutable_image() { // @@protoc_insertion_point(field_mutable:safe_browsing.NotificationImageReportRequest.image) return _internal_mutable_image(); } inline void NotificationImageReportRequest::set_allocated_image(::safe_browsing::ImageData* image) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete image_; } if (image) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; if (message_arena != submessage_arena) { image = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, image, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } image_ = image; // @@protoc_insertion_point(field_set_allocated:safe_browsing.NotificationImageReportRequest.image) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace safe_browsing PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::safe_browsing::ChromeUserPopulation_UserPopulation> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::LoginReputationClientRequest_PasswordReuseEvent_SyncAccountType> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::LoginReputationClientRequest_TriggerType> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::LoginReputationClientResponse_VerdictType> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientDownloadRequest_ResourceType> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientDownloadRequest_DownloadType> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ReferrerChainEntry_URLType> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientDownloadResponse_Verdict> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientDownloadReport_Reason> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientUploadResponse_UploadStatus> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType> : ::std::true_type {}; template <> struct is_proto_enum< ::safe_browsing::ClientSafeBrowsingReportRequest_SafeBrowsingUrlApiType> : ::std::true_type {}; PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_csd_2eproto