// Generated by the protocol buffer compiler. DO NOT EDIT! // source: chromium/chrome/common/safe_browsing/csd.proto #ifndef PROTOBUF_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto__INCLUDED #define PROTOBUF_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto__INCLUDED #include #include #if GOOGLE_PROTOBUF_VERSION < 2006000 #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 2006001 < GOOGLE_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 // @@protoc_insertion_point(includes) namespace safe_browsing { // Internal implementation detail -- do not call these. void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); class ChromeUserPopulation; class ClientPhishingRequest; class ClientPhishingRequest_Feature; class ClientPhishingResponse; class ClientMalwareRequest; class ClientMalwareRequest_UrlInfo; class ClientMalwareResponse; class ClientDownloadRequest; class ClientDownloadRequest_Digests; class ClientDownloadRequest_Resource; class ClientDownloadRequest_CertificateChain; class ClientDownloadRequest_CertificateChain_Element; class ClientDownloadRequest_ExtendedAttr; class ClientDownloadRequest_SignatureInfo; class ClientDownloadRequest_PEImageHeaders; class ClientDownloadRequest_PEImageHeaders_DebugData; class ClientDownloadRequest_MachOHeaders; class ClientDownloadRequest_MachOHeaders_LoadCommand; class ClientDownloadRequest_ImageHeaders; class ClientDownloadRequest_ArchivedBinary; class ClientDownloadRequest_URLChainEntry; class ClientDownloadResponse; class ClientDownloadResponse_MoreInfo; class ClientDownloadReport; class ClientDownloadReport_UserInformation; class ClientUploadResponse; class ClientIncidentReport; class ClientIncidentReport_IncidentData; class ClientIncidentReport_IncidentData_TrackedPreferenceIncident; class ClientIncidentReport_IncidentData_BinaryIntegrityIncident; class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile; class ClientIncidentReport_IncidentData_BlacklistLoadIncident; class ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident; class ClientIncidentReport_IncidentData_ResourceRequestIncident; class ClientIncidentReport_IncidentData_SuspiciousModuleIncident; class ClientIncidentReport_DownloadDetails; class ClientIncidentReport_EnvironmentData; class ClientIncidentReport_EnvironmentData_OS; class ClientIncidentReport_EnvironmentData_OS_RegistryValue; class ClientIncidentReport_EnvironmentData_OS_RegistryKey; class ClientIncidentReport_EnvironmentData_Machine; class ClientIncidentReport_EnvironmentData_Process; class ClientIncidentReport_EnvironmentData_Process_Patch; class ClientIncidentReport_EnvironmentData_Process_NetworkProvider; class ClientIncidentReport_EnvironmentData_Process_Dll; class ClientIncidentReport_EnvironmentData_Process_ModuleState; class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification; class ClientIncidentReport_ExtensionData; class ClientIncidentReport_ExtensionData_ExtensionInfo; class ClientIncidentReport_NonBinaryDownloadDetails; class ClientIncidentResponse; class ClientIncidentResponse_EnvironmentRequest; class DownloadMetadata; class ClientSafeBrowsingReportRequest; class ClientSafeBrowsingReportRequest_HTTPHeader; class ClientSafeBrowsingReportRequest_HTTPRequest; class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine; class ClientSafeBrowsingReportRequest_HTTPResponse; class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine; class ClientSafeBrowsingReportRequest_Resource; enum ChromeUserPopulation_UserPopulation { ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION = 0, ChromeUserPopulation_UserPopulation_SAFE_BROWSING = 1, ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING = 2 }; bool ChromeUserPopulation_UserPopulation_IsValid(int value); const ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MIN = ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION; const ChromeUserPopulation_UserPopulation ChromeUserPopulation_UserPopulation_UserPopulation_MAX = ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING; const int ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE = ChromeUserPopulation_UserPopulation_UserPopulation_MAX + 1; enum ClientDownloadRequest_URLChainEntry_URLType { ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_URL = 1, ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_REFERRER = 2, ClientDownloadRequest_URLChainEntry_URLType_LANDING_PAGE = 3, ClientDownloadRequest_URLChainEntry_URLType_LANDING_REFERRER = 4, ClientDownloadRequest_URLChainEntry_URLType_CLIENT_REDIRECT = 5, ClientDownloadRequest_URLChainEntry_URLType_SERVER_REDIRECT = 6 }; bool ClientDownloadRequest_URLChainEntry_URLType_IsValid(int value); const ClientDownloadRequest_URLChainEntry_URLType ClientDownloadRequest_URLChainEntry_URLType_URLType_MIN = ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_URL; const ClientDownloadRequest_URLChainEntry_URLType ClientDownloadRequest_URLChainEntry_URLType_URLType_MAX = ClientDownloadRequest_URLChainEntry_URLType_SERVER_REDIRECT; const int ClientDownloadRequest_URLChainEntry_URLType_URLType_ARRAYSIZE = ClientDownloadRequest_URLChainEntry_URLType_URLType_MAX + 1; enum ClientDownloadRequest_ResourceType { 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); const ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MIN = ClientDownloadRequest_ResourceType_DOWNLOAD_URL; const ClientDownloadRequest_ResourceType ClientDownloadRequest_ResourceType_ResourceType_MAX = ClientDownloadRequest_ResourceType_PPAPI_PLUGIN; const int ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE = ClientDownloadRequest_ResourceType_ResourceType_MAX + 1; enum ClientDownloadRequest_DownloadType { 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); const ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MIN = ClientDownloadRequest_DownloadType_WIN_EXECUTABLE; const ClientDownloadRequest_DownloadType ClientDownloadRequest_DownloadType_DownloadType_MAX = ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE; const int ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE = ClientDownloadRequest_DownloadType_DownloadType_MAX + 1; enum ClientDownloadResponse_Verdict { 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); const ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MIN = ClientDownloadResponse_Verdict_SAFE; const ClientDownloadResponse_Verdict ClientDownloadResponse_Verdict_Verdict_MAX = ClientDownloadResponse_Verdict_UNKNOWN; const int ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE = ClientDownloadResponse_Verdict_Verdict_MAX + 1; enum ClientDownloadReport_Reason { ClientDownloadReport_Reason_SHARE = 0, ClientDownloadReport_Reason_FALSE_POSITIVE = 1, ClientDownloadReport_Reason_APPEAL = 2 }; bool ClientDownloadReport_Reason_IsValid(int value); const ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MIN = ClientDownloadReport_Reason_SHARE; const ClientDownloadReport_Reason ClientDownloadReport_Reason_Reason_MAX = ClientDownloadReport_Reason_APPEAL; const int ClientDownloadReport_Reason_Reason_ARRAYSIZE = ClientDownloadReport_Reason_Reason_MAX + 1; enum ClientUploadResponse_UploadStatus { ClientUploadResponse_UploadStatus_SUCCESS = 0, ClientUploadResponse_UploadStatus_UPLOAD_FAILURE = 1 }; bool ClientUploadResponse_UploadStatus_IsValid(int value); const ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MIN = ClientUploadResponse_UploadStatus_SUCCESS; const ClientUploadResponse_UploadStatus ClientUploadResponse_UploadStatus_UploadStatus_MAX = ClientUploadResponse_UploadStatus_UPLOAD_FAILURE; const int ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE = ClientUploadResponse_UploadStatus_UploadStatus_MAX + 1; enum ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState { 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 }; bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(int value); const ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN; const ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE; const int ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX + 1; enum ClientIncidentReport_IncidentData_ResourceRequestIncident_Type { ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN = 0, ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN = 3 }; bool ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(int value); const ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN; const ClientIncidentReport_IncidentData_ResourceRequestIncident_Type ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN; const int ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX + 1; enum ClientIncidentReport_EnvironmentData_Process_Dll_Feature { ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN = 0, ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP = 1 }; bool ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(int value); const ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN; const ClientIncidentReport_EnvironmentData_Process_Dll_Feature ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP; const int ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX + 1; enum ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState { 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); const ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN; const ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_MODIFIED; const int ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX + 1; enum ClientIncidentReport_EnvironmentData_Process_Channel { 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); const ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN; const ClientIncidentReport_EnvironmentData_Process_Channel ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE; const int ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX + 1; enum ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState { 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); const ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN; const ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED; const int ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX + 1; enum ClientSafeBrowsingReportRequest_ReportType { ClientSafeBrowsingReportRequest_ReportType_UNKNOWN = 0, ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING = 1, ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE = 2, ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED = 3, ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_PHISHING_URL = 4, ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_MALWARE_URL = 5, ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY = 6, ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING = 7, ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API = 10 }; bool ClientSafeBrowsingReportRequest_ReportType_IsValid(int value); const ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN = ClientSafeBrowsingReportRequest_ReportType_UNKNOWN; const ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API; const int ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE = ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX + 1; // =================================================================== class ChromeUserPopulation : public ::google::protobuf::MessageLite { public: ChromeUserPopulation(); virtual ~ChromeUserPopulation(); ChromeUserPopulation(const ChromeUserPopulation& from); inline ChromeUserPopulation& operator=(const ChromeUserPopulation& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ChromeUserPopulation& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ChromeUserPopulation* internal_default_instance() { return default_instance_; } #endif void Swap(ChromeUserPopulation* other); // implements Message ---------------------------------------------- ChromeUserPopulation* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ChromeUserPopulation& from); void MergeFrom(const ChromeUserPopulation& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ChromeUserPopulation_UserPopulation UserPopulation; static const UserPopulation UNKNOWN_USER_POPULATION = ChromeUserPopulation_UserPopulation_UNKNOWN_USER_POPULATION; static const UserPopulation SAFE_BROWSING = ChromeUserPopulation_UserPopulation_SAFE_BROWSING; static const UserPopulation EXTENDED_REPORTING = ChromeUserPopulation_UserPopulation_EXTENDED_REPORTING; static inline bool UserPopulation_IsValid(int value) { return ChromeUserPopulation_UserPopulation_IsValid(value); } static const UserPopulation UserPopulation_MIN = ChromeUserPopulation_UserPopulation_UserPopulation_MIN; static const UserPopulation UserPopulation_MAX = ChromeUserPopulation_UserPopulation_UserPopulation_MAX; static const int UserPopulation_ARRAYSIZE = ChromeUserPopulation_UserPopulation_UserPopulation_ARRAYSIZE; // accessors ------------------------------------------------------- // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1; inline bool has_user_population() const; inline void clear_user_population(); static const int kUserPopulationFieldNumber = 1; inline ::safe_browsing::ChromeUserPopulation_UserPopulation user_population() const; inline void set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value); // @@protoc_insertion_point(class_scope:safe_browsing.ChromeUserPopulation) private: inline void set_has_user_population(); inline void clear_has_user_population(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; int user_population_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ChromeUserPopulation* default_instance_; }; // ------------------------------------------------------------------- class ClientPhishingRequest_Feature : public ::google::protobuf::MessageLite { public: ClientPhishingRequest_Feature(); virtual ~ClientPhishingRequest_Feature(); ClientPhishingRequest_Feature(const ClientPhishingRequest_Feature& from); inline ClientPhishingRequest_Feature& operator=(const ClientPhishingRequest_Feature& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientPhishingRequest_Feature& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientPhishingRequest_Feature* internal_default_instance() { return default_instance_; } #endif void Swap(ClientPhishingRequest_Feature* other); // implements Message ---------------------------------------------- ClientPhishingRequest_Feature* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientPhishingRequest_Feature& from); void MergeFrom(const ClientPhishingRequest_Feature& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required string name = 1; inline bool has_name() const; inline void clear_name(); static const int kNameFieldNumber = 1; inline const ::std::string& name() const; inline void set_name(const ::std::string& value); inline void set_name(const char* value); inline void set_name(const char* value, size_t size); inline ::std::string* mutable_name(); inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); // required double value = 2; inline bool has_value() const; inline void clear_value(); static const int kValueFieldNumber = 2; inline double value() const; inline void set_value(double value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest.Feature) private: inline void set_has_name(); inline void clear_has_name(); inline void set_has_value(); inline void clear_has_value(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* name_; double value_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientPhishingRequest_Feature* default_instance_; }; // ------------------------------------------------------------------- class ClientPhishingRequest : public ::google::protobuf::MessageLite { public: ClientPhishingRequest(); virtual ~ClientPhishingRequest(); ClientPhishingRequest(const ClientPhishingRequest& from); inline ClientPhishingRequest& operator=(const ClientPhishingRequest& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientPhishingRequest& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientPhishingRequest* internal_default_instance() { return default_instance_; } #endif void Swap(ClientPhishingRequest* other); // implements Message ---------------------------------------------- ClientPhishingRequest* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientPhishingRequest& from); void MergeFrom(const ClientPhishingRequest& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientPhishingRequest_Feature Feature; // accessors ------------------------------------------------------- // optional string url = 1; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 1; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // optional bytes OBSOLETE_hash_prefix = 10; inline bool has_obsolete_hash_prefix() const; inline void clear_obsolete_hash_prefix(); static const int kOBSOLETEHashPrefixFieldNumber = 10; inline const ::std::string& obsolete_hash_prefix() const; inline void set_obsolete_hash_prefix(const ::std::string& value); inline void set_obsolete_hash_prefix(const char* value); inline void set_obsolete_hash_prefix(const void* value, size_t size); inline ::std::string* mutable_obsolete_hash_prefix(); inline ::std::string* release_obsolete_hash_prefix(); inline void set_allocated_obsolete_hash_prefix(::std::string* obsolete_hash_prefix); // required float client_score = 2; inline bool has_client_score() const; inline void clear_client_score(); static const int kClientScoreFieldNumber = 2; inline float client_score() const; inline void set_client_score(float value); // optional bool is_phishing = 4; inline bool has_is_phishing() const; inline void clear_is_phishing(); static const int kIsPhishingFieldNumber = 4; inline bool is_phishing() const; inline void set_is_phishing(bool value); // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5; inline int feature_map_size() const; inline void clear_feature_map(); static const int kFeatureMapFieldNumber = 5; inline const ::safe_browsing::ClientPhishingRequest_Feature& feature_map(int index) const; inline ::safe_browsing::ClientPhishingRequest_Feature* mutable_feature_map(int index); inline ::safe_browsing::ClientPhishingRequest_Feature* add_feature_map(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >& feature_map() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >* mutable_feature_map(); // optional int32 model_version = 6; inline bool has_model_version() const; inline void clear_model_version(); static const int kModelVersionFieldNumber = 6; inline ::google::protobuf::int32 model_version() const; inline void set_model_version(::google::protobuf::int32 value); // repeated .safe_browsing.ClientPhishingRequest.Feature non_model_feature_map = 8; inline int non_model_feature_map_size() const; inline void clear_non_model_feature_map(); static const int kNonModelFeatureMapFieldNumber = 8; inline const ::safe_browsing::ClientPhishingRequest_Feature& non_model_feature_map(int index) const; inline ::safe_browsing::ClientPhishingRequest_Feature* mutable_non_model_feature_map(int index); inline ::safe_browsing::ClientPhishingRequest_Feature* add_non_model_feature_map(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >& non_model_feature_map() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >* mutable_non_model_feature_map(); // optional string OBSOLETE_referrer_url = 9; inline bool has_obsolete_referrer_url() const; inline void clear_obsolete_referrer_url(); static const int kOBSOLETEReferrerUrlFieldNumber = 9; inline const ::std::string& obsolete_referrer_url() const; inline void set_obsolete_referrer_url(const ::std::string& value); inline void set_obsolete_referrer_url(const char* value); inline void set_obsolete_referrer_url(const char* value, size_t size); inline ::std::string* mutable_obsolete_referrer_url(); inline ::std::string* release_obsolete_referrer_url(); inline void set_allocated_obsolete_referrer_url(::std::string* obsolete_referrer_url); // repeated uint32 shingle_hashes = 12 [packed = true]; inline int shingle_hashes_size() const; inline void clear_shingle_hashes(); static const int kShingleHashesFieldNumber = 12; inline ::google::protobuf::uint32 shingle_hashes(int index) const; inline void set_shingle_hashes(int index, ::google::protobuf::uint32 value); inline void add_shingle_hashes(::google::protobuf::uint32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& shingle_hashes() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_shingle_hashes(); // optional string model_filename = 13; inline bool has_model_filename() const; inline void clear_model_filename(); static const int kModelFilenameFieldNumber = 13; inline const ::std::string& model_filename() const; inline void set_model_filename(const ::std::string& value); inline void set_model_filename(const char* value); inline void set_model_filename(const char* value, size_t size); inline ::std::string* mutable_model_filename(); inline ::std::string* release_model_filename(); inline void set_allocated_model_filename(::std::string* model_filename); // optional .safe_browsing.ChromeUserPopulation population = 14; inline bool has_population() const; inline void clear_population(); static const int kPopulationFieldNumber = 14; inline const ::safe_browsing::ChromeUserPopulation& population() const; inline ::safe_browsing::ChromeUserPopulation* mutable_population(); inline ::safe_browsing::ChromeUserPopulation* release_population(); inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingRequest) private: inline void set_has_url(); inline void clear_has_url(); inline void set_has_obsolete_hash_prefix(); inline void clear_has_obsolete_hash_prefix(); inline void set_has_client_score(); inline void clear_has_client_score(); inline void set_has_is_phishing(); inline void clear_has_is_phishing(); inline void set_has_model_version(); inline void clear_has_model_version(); inline void set_has_obsolete_referrer_url(); inline void clear_has_obsolete_referrer_url(); inline void set_has_model_filename(); inline void clear_has_model_filename(); inline void set_has_population(); inline void clear_has_population(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* url_; ::std::string* obsolete_hash_prefix_; float client_score_; bool is_phishing_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > feature_map_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature > non_model_feature_map_; ::std::string* obsolete_referrer_url_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > shingle_hashes_; mutable int _shingle_hashes_cached_byte_size_; ::std::string* model_filename_; ::safe_browsing::ChromeUserPopulation* population_; ::google::protobuf::int32 model_version_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientPhishingRequest* default_instance_; }; // ------------------------------------------------------------------- class ClientPhishingResponse : public ::google::protobuf::MessageLite { public: ClientPhishingResponse(); virtual ~ClientPhishingResponse(); ClientPhishingResponse(const ClientPhishingResponse& from); inline ClientPhishingResponse& operator=(const ClientPhishingResponse& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientPhishingResponse& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientPhishingResponse* internal_default_instance() { return default_instance_; } #endif void Swap(ClientPhishingResponse* other); // implements Message ---------------------------------------------- ClientPhishingResponse* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientPhishingResponse& from); void MergeFrom(const ClientPhishingResponse& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required bool phishy = 1; inline bool has_phishy() const; inline void clear_phishy(); static const int kPhishyFieldNumber = 1; inline bool phishy() const; inline void set_phishy(bool value); // repeated string OBSOLETE_whitelist_expression = 2; inline int obsolete_whitelist_expression_size() const; inline void clear_obsolete_whitelist_expression(); static const int kOBSOLETEWhitelistExpressionFieldNumber = 2; inline const ::std::string& obsolete_whitelist_expression(int index) const; inline ::std::string* mutable_obsolete_whitelist_expression(int index); inline void set_obsolete_whitelist_expression(int index, const ::std::string& value); inline void set_obsolete_whitelist_expression(int index, const char* value); inline void set_obsolete_whitelist_expression(int index, const char* value, size_t size); inline ::std::string* add_obsolete_whitelist_expression(); inline void add_obsolete_whitelist_expression(const ::std::string& value); inline void add_obsolete_whitelist_expression(const char* value); inline void add_obsolete_whitelist_expression(const char* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& obsolete_whitelist_expression() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_obsolete_whitelist_expression(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientPhishingResponse) private: inline void set_has_phishy(); inline void clear_has_phishy(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::std::string> obsolete_whitelist_expression_; bool phishy_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientPhishingResponse* default_instance_; }; // ------------------------------------------------------------------- class ClientMalwareRequest_UrlInfo : public ::google::protobuf::MessageLite { public: ClientMalwareRequest_UrlInfo(); virtual ~ClientMalwareRequest_UrlInfo(); ClientMalwareRequest_UrlInfo(const ClientMalwareRequest_UrlInfo& from); inline ClientMalwareRequest_UrlInfo& operator=(const ClientMalwareRequest_UrlInfo& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientMalwareRequest_UrlInfo& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientMalwareRequest_UrlInfo* internal_default_instance() { return default_instance_; } #endif void Swap(ClientMalwareRequest_UrlInfo* other); // implements Message ---------------------------------------------- ClientMalwareRequest_UrlInfo* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientMalwareRequest_UrlInfo& from); void MergeFrom(const ClientMalwareRequest_UrlInfo& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required string ip = 1; inline bool has_ip() const; inline void clear_ip(); static const int kIpFieldNumber = 1; inline const ::std::string& ip() const; inline void set_ip(const ::std::string& value); inline void set_ip(const char* value); inline void set_ip(const char* value, size_t size); inline ::std::string* mutable_ip(); inline ::std::string* release_ip(); inline void set_allocated_ip(::std::string* ip); // required string url = 2; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 2; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // optional string method = 3; inline bool has_method() const; inline void clear_method(); static const int kMethodFieldNumber = 3; inline const ::std::string& method() const; inline void set_method(const ::std::string& value); inline void set_method(const char* value); inline void set_method(const char* value, size_t size); inline ::std::string* mutable_method(); inline ::std::string* release_method(); inline void set_allocated_method(::std::string* method); // optional string referrer = 4; inline bool has_referrer() const; inline void clear_referrer(); static const int kReferrerFieldNumber = 4; inline const ::std::string& referrer() const; inline void set_referrer(const ::std::string& value); inline void set_referrer(const char* value); inline void set_referrer(const char* value, size_t size); inline ::std::string* mutable_referrer(); inline ::std::string* release_referrer(); inline void set_allocated_referrer(::std::string* referrer); // optional int32 resource_type = 5; inline bool has_resource_type() const; inline void clear_resource_type(); static const int kResourceTypeFieldNumber = 5; inline ::google::protobuf::int32 resource_type() const; inline void set_resource_type(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest.UrlInfo) private: inline void set_has_ip(); inline void clear_has_ip(); inline void set_has_url(); inline void clear_has_url(); inline void set_has_method(); inline void clear_has_method(); inline void set_has_referrer(); inline void clear_has_referrer(); inline void set_has_resource_type(); inline void clear_has_resource_type(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* ip_; ::std::string* url_; ::std::string* method_; ::std::string* referrer_; ::google::protobuf::int32 resource_type_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientMalwareRequest_UrlInfo* default_instance_; }; // ------------------------------------------------------------------- class ClientMalwareRequest : public ::google::protobuf::MessageLite { public: ClientMalwareRequest(); virtual ~ClientMalwareRequest(); ClientMalwareRequest(const ClientMalwareRequest& from); inline ClientMalwareRequest& operator=(const ClientMalwareRequest& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientMalwareRequest& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientMalwareRequest* internal_default_instance() { return default_instance_; } #endif void Swap(ClientMalwareRequest* other); // implements Message ---------------------------------------------- ClientMalwareRequest* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientMalwareRequest& from); void MergeFrom(const ClientMalwareRequest& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientMalwareRequest_UrlInfo UrlInfo; // accessors ------------------------------------------------------- // required string url = 1; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 1; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // optional string referrer_url = 4; inline bool has_referrer_url() const; inline void clear_referrer_url(); static const int kReferrerUrlFieldNumber = 4; inline const ::std::string& referrer_url() const; inline void set_referrer_url(const ::std::string& value); inline void set_referrer_url(const char* value); inline void set_referrer_url(const char* value, size_t size); inline ::std::string* mutable_referrer_url(); inline ::std::string* release_referrer_url(); inline void set_allocated_referrer_url(::std::string* referrer_url); // repeated .safe_browsing.ClientMalwareRequest.UrlInfo bad_ip_url_info = 7; inline int bad_ip_url_info_size() const; inline void clear_bad_ip_url_info(); static const int kBadIpUrlInfoFieldNumber = 7; inline const ::safe_browsing::ClientMalwareRequest_UrlInfo& bad_ip_url_info(int index) const; inline ::safe_browsing::ClientMalwareRequest_UrlInfo* mutable_bad_ip_url_info(int index); inline ::safe_browsing::ClientMalwareRequest_UrlInfo* add_bad_ip_url_info(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >& bad_ip_url_info() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo >* mutable_bad_ip_url_info(); // optional .safe_browsing.ChromeUserPopulation population = 9; inline bool has_population() const; inline void clear_population(); static const int kPopulationFieldNumber = 9; inline const ::safe_browsing::ChromeUserPopulation& population() const; inline ::safe_browsing::ChromeUserPopulation* mutable_population(); inline ::safe_browsing::ChromeUserPopulation* release_population(); inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareRequest) private: inline void set_has_url(); inline void clear_has_url(); inline void set_has_referrer_url(); inline void clear_has_referrer_url(); inline void set_has_population(); inline void clear_has_population(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* url_; ::std::string* referrer_url_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientMalwareRequest_UrlInfo > bad_ip_url_info_; ::safe_browsing::ChromeUserPopulation* population_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientMalwareRequest* default_instance_; }; // ------------------------------------------------------------------- class ClientMalwareResponse : public ::google::protobuf::MessageLite { public: ClientMalwareResponse(); virtual ~ClientMalwareResponse(); ClientMalwareResponse(const ClientMalwareResponse& from); inline ClientMalwareResponse& operator=(const ClientMalwareResponse& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientMalwareResponse& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientMalwareResponse* internal_default_instance() { return default_instance_; } #endif void Swap(ClientMalwareResponse* other); // implements Message ---------------------------------------------- ClientMalwareResponse* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientMalwareResponse& from); void MergeFrom(const ClientMalwareResponse& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required bool blacklist = 1; inline bool has_blacklist() const; inline void clear_blacklist(); static const int kBlacklistFieldNumber = 1; inline bool blacklist() const; inline void set_blacklist(bool value); // optional string bad_ip = 2; inline bool has_bad_ip() const; inline void clear_bad_ip(); static const int kBadIpFieldNumber = 2; inline const ::std::string& bad_ip() const; inline void set_bad_ip(const ::std::string& value); inline void set_bad_ip(const char* value); inline void set_bad_ip(const char* value, size_t size); inline ::std::string* mutable_bad_ip(); inline ::std::string* release_bad_ip(); inline void set_allocated_bad_ip(::std::string* bad_ip); // optional string bad_url = 3; inline bool has_bad_url() const; inline void clear_bad_url(); static const int kBadUrlFieldNumber = 3; inline const ::std::string& bad_url() const; inline void set_bad_url(const ::std::string& value); inline void set_bad_url(const char* value); inline void set_bad_url(const char* value, size_t size); inline ::std::string* mutable_bad_url(); inline ::std::string* release_bad_url(); inline void set_allocated_bad_url(::std::string* bad_url); // @@protoc_insertion_point(class_scope:safe_browsing.ClientMalwareResponse) private: inline void set_has_blacklist(); inline void clear_has_blacklist(); inline void set_has_bad_ip(); inline void clear_has_bad_ip(); inline void set_has_bad_url(); inline void clear_has_bad_url(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* bad_ip_; ::std::string* bad_url_; bool blacklist_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientMalwareResponse* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_Digests : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_Digests(); virtual ~ClientDownloadRequest_Digests(); ClientDownloadRequest_Digests(const ClientDownloadRequest_Digests& from); inline ClientDownloadRequest_Digests& operator=(const ClientDownloadRequest_Digests& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_Digests& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_Digests* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_Digests* other); // implements Message ---------------------------------------------- ClientDownloadRequest_Digests* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_Digests& from); void MergeFrom(const ClientDownloadRequest_Digests& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional bytes sha256 = 1; inline bool has_sha256() const; inline void clear_sha256(); static const int kSha256FieldNumber = 1; inline const ::std::string& sha256() const; inline void set_sha256(const ::std::string& value); inline void set_sha256(const char* value); inline void set_sha256(const void* value, size_t size); inline ::std::string* mutable_sha256(); inline ::std::string* release_sha256(); inline void set_allocated_sha256(::std::string* sha256); // optional bytes sha1 = 2; inline bool has_sha1() const; inline void clear_sha1(); static const int kSha1FieldNumber = 2; inline const ::std::string& sha1() const; inline void set_sha1(const ::std::string& value); inline void set_sha1(const char* value); inline void set_sha1(const void* value, size_t size); inline ::std::string* mutable_sha1(); inline ::std::string* release_sha1(); inline void set_allocated_sha1(::std::string* sha1); // optional bytes md5 = 3; inline bool has_md5() const; inline void clear_md5(); static const int kMd5FieldNumber = 3; inline const ::std::string& md5() const; inline void set_md5(const ::std::string& value); inline void set_md5(const char* value); inline void set_md5(const void* value, size_t size); inline ::std::string* mutable_md5(); inline ::std::string* release_md5(); inline void set_allocated_md5(::std::string* md5); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Digests) private: inline void set_has_sha256(); inline void clear_has_sha256(); inline void set_has_sha1(); inline void clear_has_sha1(); inline void set_has_md5(); inline void clear_has_md5(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* sha256_; ::std::string* sha1_; ::std::string* md5_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_Digests* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_Resource : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_Resource(); virtual ~ClientDownloadRequest_Resource(); ClientDownloadRequest_Resource(const ClientDownloadRequest_Resource& from); inline ClientDownloadRequest_Resource& operator=(const ClientDownloadRequest_Resource& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_Resource& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_Resource* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_Resource* other); // implements Message ---------------------------------------------- ClientDownloadRequest_Resource* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_Resource& from); void MergeFrom(const ClientDownloadRequest_Resource& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required string url = 1; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 1; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::safe_browsing::ClientDownloadRequest_ResourceType type() const; inline void set_type(::safe_browsing::ClientDownloadRequest_ResourceType value); // optional bytes remote_ip = 3; inline bool has_remote_ip() const; inline void clear_remote_ip(); static const int kRemoteIpFieldNumber = 3; inline const ::std::string& remote_ip() const; inline void set_remote_ip(const ::std::string& value); inline void set_remote_ip(const char* value); inline void set_remote_ip(const void* value, size_t size); inline ::std::string* mutable_remote_ip(); inline ::std::string* release_remote_ip(); inline void set_allocated_remote_ip(::std::string* remote_ip); // optional string referrer = 4; inline bool has_referrer() const; inline void clear_referrer(); static const int kReferrerFieldNumber = 4; inline const ::std::string& referrer() const; inline void set_referrer(const ::std::string& value); inline void set_referrer(const char* value); inline void set_referrer(const char* value, size_t size); inline ::std::string* mutable_referrer(); inline ::std::string* release_referrer(); inline void set_allocated_referrer(::std::string* referrer); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.Resource) private: inline void set_has_url(); inline void clear_has_url(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_remote_ip(); inline void clear_has_remote_ip(); inline void set_has_referrer(); inline void clear_has_referrer(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* url_; ::std::string* remote_ip_; ::std::string* referrer_; int type_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_Resource* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_CertificateChain_Element : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_CertificateChain_Element(); virtual ~ClientDownloadRequest_CertificateChain_Element(); ClientDownloadRequest_CertificateChain_Element(const ClientDownloadRequest_CertificateChain_Element& from); inline ClientDownloadRequest_CertificateChain_Element& operator=(const ClientDownloadRequest_CertificateChain_Element& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_CertificateChain_Element& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_CertificateChain_Element* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_CertificateChain_Element* other); // implements Message ---------------------------------------------- ClientDownloadRequest_CertificateChain_Element* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_CertificateChain_Element& from); void MergeFrom(const ClientDownloadRequest_CertificateChain_Element& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional bytes certificate = 1; inline bool has_certificate() const; inline void clear_certificate(); static const int kCertificateFieldNumber = 1; inline const ::std::string& certificate() const; inline void set_certificate(const ::std::string& value); inline void set_certificate(const char* value); inline void set_certificate(const void* value, size_t size); inline ::std::string* mutable_certificate(); inline ::std::string* release_certificate(); inline void set_allocated_certificate(::std::string* certificate); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain.Element) private: inline void set_has_certificate(); inline void clear_has_certificate(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* certificate_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_CertificateChain_Element* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_CertificateChain : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_CertificateChain(); virtual ~ClientDownloadRequest_CertificateChain(); ClientDownloadRequest_CertificateChain(const ClientDownloadRequest_CertificateChain& from); inline ClientDownloadRequest_CertificateChain& operator=(const ClientDownloadRequest_CertificateChain& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_CertificateChain& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_CertificateChain* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_CertificateChain* other); // implements Message ---------------------------------------------- ClientDownloadRequest_CertificateChain* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_CertificateChain& from); void MergeFrom(const ClientDownloadRequest_CertificateChain& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_CertificateChain_Element Element; // accessors ------------------------------------------------------- // repeated .safe_browsing.ClientDownloadRequest.CertificateChain.Element element = 1; inline int element_size() const; inline void clear_element(); static const int kElementFieldNumber = 1; inline const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& element(int index) const; inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* mutable_element(int index); inline ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* add_element(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >& element() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >* mutable_element(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.CertificateChain) private: ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element > element_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_CertificateChain* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_ExtendedAttr : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_ExtendedAttr(); virtual ~ClientDownloadRequest_ExtendedAttr(); ClientDownloadRequest_ExtendedAttr(const ClientDownloadRequest_ExtendedAttr& from); inline ClientDownloadRequest_ExtendedAttr& operator=(const ClientDownloadRequest_ExtendedAttr& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_ExtendedAttr& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_ExtendedAttr* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_ExtendedAttr* other); // implements Message ---------------------------------------------- ClientDownloadRequest_ExtendedAttr* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_ExtendedAttr& from); void MergeFrom(const ClientDownloadRequest_ExtendedAttr& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required string key = 1; inline bool has_key() const; inline void clear_key(); static const int kKeyFieldNumber = 1; inline const ::std::string& key() const; inline void set_key(const ::std::string& value); inline void set_key(const char* value); inline void set_key(const char* value, size_t size); inline ::std::string* mutable_key(); inline ::std::string* release_key(); inline void set_allocated_key(::std::string* key); // optional bytes value = 2; inline bool has_value() const; inline void clear_value(); static const int kValueFieldNumber = 2; inline const ::std::string& value() const; inline void set_value(const ::std::string& value); inline void set_value(const char* value); inline void set_value(const void* value, size_t size); inline ::std::string* mutable_value(); inline ::std::string* release_value(); inline void set_allocated_value(::std::string* value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ExtendedAttr) private: inline void set_has_key(); inline void clear_has_key(); inline void set_has_value(); inline void clear_has_value(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* key_; ::std::string* value_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_ExtendedAttr* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_SignatureInfo : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_SignatureInfo(); virtual ~ClientDownloadRequest_SignatureInfo(); ClientDownloadRequest_SignatureInfo(const ClientDownloadRequest_SignatureInfo& from); inline ClientDownloadRequest_SignatureInfo& operator=(const ClientDownloadRequest_SignatureInfo& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_SignatureInfo& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_SignatureInfo* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_SignatureInfo* other); // implements Message ---------------------------------------------- ClientDownloadRequest_SignatureInfo* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_SignatureInfo& from); void MergeFrom(const ClientDownloadRequest_SignatureInfo& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // repeated .safe_browsing.ClientDownloadRequest.CertificateChain certificate_chain = 1; inline int certificate_chain_size() const; inline void clear_certificate_chain(); static const int kCertificateChainFieldNumber = 1; inline const ::safe_browsing::ClientDownloadRequest_CertificateChain& certificate_chain(int index) const; inline ::safe_browsing::ClientDownloadRequest_CertificateChain* mutable_certificate_chain(int index); inline ::safe_browsing::ClientDownloadRequest_CertificateChain* add_certificate_chain(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >& certificate_chain() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >* mutable_certificate_chain(); // optional bool trusted = 2; inline bool has_trusted() const; inline void clear_trusted(); static const int kTrustedFieldNumber = 2; inline bool trusted() const; inline void set_trusted(bool value); // repeated bytes signed_data = 3; inline int signed_data_size() const; inline void clear_signed_data(); static const int kSignedDataFieldNumber = 3; inline const ::std::string& signed_data(int index) const; inline ::std::string* mutable_signed_data(int index); inline void set_signed_data(int index, const ::std::string& value); inline void set_signed_data(int index, const char* value); inline void set_signed_data(int index, const void* value, size_t size); inline ::std::string* add_signed_data(); inline void add_signed_data(const ::std::string& value); inline void add_signed_data(const char* value); inline void add_signed_data(const void* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& signed_data() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_signed_data(); // repeated .safe_browsing.ClientDownloadRequest.ExtendedAttr xattr = 4; inline int xattr_size() const; inline void clear_xattr(); static const int kXattrFieldNumber = 4; inline const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& xattr(int index) const; inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* mutable_xattr(int index); inline ::safe_browsing::ClientDownloadRequest_ExtendedAttr* add_xattr(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >& xattr() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >* mutable_xattr(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.SignatureInfo) private: inline void set_has_trusted(); inline void clear_has_trusted(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain > certificate_chain_; ::google::protobuf::RepeatedPtrField< ::std::string> signed_data_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr > xattr_; bool trusted_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_SignatureInfo* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_PEImageHeaders_DebugData : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_PEImageHeaders_DebugData(); virtual ~ClientDownloadRequest_PEImageHeaders_DebugData(); ClientDownloadRequest_PEImageHeaders_DebugData(const ClientDownloadRequest_PEImageHeaders_DebugData& from); inline ClientDownloadRequest_PEImageHeaders_DebugData& operator=(const ClientDownloadRequest_PEImageHeaders_DebugData& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_PEImageHeaders_DebugData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_PEImageHeaders_DebugData* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_PEImageHeaders_DebugData* other); // implements Message ---------------------------------------------- ClientDownloadRequest_PEImageHeaders_DebugData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from); void MergeFrom(const ClientDownloadRequest_PEImageHeaders_DebugData& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional bytes directory_entry = 1; inline bool has_directory_entry() const; inline void clear_directory_entry(); static const int kDirectoryEntryFieldNumber = 1; inline const ::std::string& directory_entry() const; inline void set_directory_entry(const ::std::string& value); inline void set_directory_entry(const char* value); inline void set_directory_entry(const void* value, size_t size); inline ::std::string* mutable_directory_entry(); inline ::std::string* release_directory_entry(); inline void set_allocated_directory_entry(::std::string* directory_entry); // optional bytes raw_data = 2; inline bool has_raw_data() const; inline void clear_raw_data(); static const int kRawDataFieldNumber = 2; inline const ::std::string& raw_data() const; inline void set_raw_data(const ::std::string& value); inline void set_raw_data(const char* value); inline void set_raw_data(const void* value, size_t size); inline ::std::string* mutable_raw_data(); inline ::std::string* release_raw_data(); inline void set_allocated_raw_data(::std::string* raw_data); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData) private: inline void set_has_directory_entry(); inline void clear_has_directory_entry(); inline void set_has_raw_data(); inline void clear_has_raw_data(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* directory_entry_; ::std::string* raw_data_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_PEImageHeaders_DebugData* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_PEImageHeaders : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_PEImageHeaders(); virtual ~ClientDownloadRequest_PEImageHeaders(); ClientDownloadRequest_PEImageHeaders(const ClientDownloadRequest_PEImageHeaders& from); inline ClientDownloadRequest_PEImageHeaders& operator=(const ClientDownloadRequest_PEImageHeaders& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_PEImageHeaders& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_PEImageHeaders* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_PEImageHeaders* other); // implements Message ---------------------------------------------- ClientDownloadRequest_PEImageHeaders* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_PEImageHeaders& from); void MergeFrom(const ClientDownloadRequest_PEImageHeaders& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_PEImageHeaders_DebugData DebugData; // accessors ------------------------------------------------------- // optional bytes dos_header = 1; inline bool has_dos_header() const; inline void clear_dos_header(); static const int kDosHeaderFieldNumber = 1; inline const ::std::string& dos_header() const; inline void set_dos_header(const ::std::string& value); inline void set_dos_header(const char* value); inline void set_dos_header(const void* value, size_t size); inline ::std::string* mutable_dos_header(); inline ::std::string* release_dos_header(); inline void set_allocated_dos_header(::std::string* dos_header); // optional bytes file_header = 2; inline bool has_file_header() const; inline void clear_file_header(); static const int kFileHeaderFieldNumber = 2; inline const ::std::string& file_header() const; inline void set_file_header(const ::std::string& value); inline void set_file_header(const char* value); inline void set_file_header(const void* value, size_t size); inline ::std::string* mutable_file_header(); inline ::std::string* release_file_header(); inline void set_allocated_file_header(::std::string* file_header); // optional bytes optional_headers32 = 3; inline bool has_optional_headers32() const; inline void clear_optional_headers32(); static const int kOptionalHeaders32FieldNumber = 3; inline const ::std::string& optional_headers32() const; inline void set_optional_headers32(const ::std::string& value); inline void set_optional_headers32(const char* value); inline void set_optional_headers32(const void* value, size_t size); inline ::std::string* mutable_optional_headers32(); inline ::std::string* release_optional_headers32(); inline void set_allocated_optional_headers32(::std::string* optional_headers32); // optional bytes optional_headers64 = 4; inline bool has_optional_headers64() const; inline void clear_optional_headers64(); static const int kOptionalHeaders64FieldNumber = 4; inline const ::std::string& optional_headers64() const; inline void set_optional_headers64(const ::std::string& value); inline void set_optional_headers64(const char* value); inline void set_optional_headers64(const void* value, size_t size); inline ::std::string* mutable_optional_headers64(); inline ::std::string* release_optional_headers64(); inline void set_allocated_optional_headers64(::std::string* optional_headers64); // repeated bytes section_header = 5; inline int section_header_size() const; inline void clear_section_header(); static const int kSectionHeaderFieldNumber = 5; inline const ::std::string& section_header(int index) const; inline ::std::string* mutable_section_header(int index); inline void set_section_header(int index, const ::std::string& value); inline void set_section_header(int index, const char* value); inline void set_section_header(int index, const void* value, size_t size); inline ::std::string* add_section_header(); inline void add_section_header(const ::std::string& value); inline void add_section_header(const char* value); inline void add_section_header(const void* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& section_header() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_section_header(); // optional bytes export_section_data = 6; inline bool has_export_section_data() const; inline void clear_export_section_data(); static const int kExportSectionDataFieldNumber = 6; inline const ::std::string& export_section_data() const; inline void set_export_section_data(const ::std::string& value); inline void set_export_section_data(const char* value); inline void set_export_section_data(const void* value, size_t size); inline ::std::string* mutable_export_section_data(); inline ::std::string* release_export_section_data(); inline void set_allocated_export_section_data(::std::string* export_section_data); // repeated .safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData debug_data = 7; inline int debug_data_size() const; inline void clear_debug_data(); static const int kDebugDataFieldNumber = 7; inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData& debug_data(int index) const; inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* mutable_debug_data(int index); inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* add_debug_data(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >& debug_data() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData >* mutable_debug_data(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.PEImageHeaders) private: inline void set_has_dos_header(); inline void clear_has_dos_header(); inline void set_has_file_header(); inline void clear_has_file_header(); inline void set_has_optional_headers32(); inline void clear_has_optional_headers32(); inline void set_has_optional_headers64(); inline void clear_has_optional_headers64(); inline void set_has_export_section_data(); inline void clear_has_export_section_data(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* dos_header_; ::std::string* file_header_; ::std::string* optional_headers32_; ::std::string* optional_headers64_; ::google::protobuf::RepeatedPtrField< ::std::string> section_header_; ::std::string* export_section_data_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData > debug_data_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_PEImageHeaders* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_MachOHeaders_LoadCommand : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_MachOHeaders_LoadCommand(); virtual ~ClientDownloadRequest_MachOHeaders_LoadCommand(); ClientDownloadRequest_MachOHeaders_LoadCommand(const ClientDownloadRequest_MachOHeaders_LoadCommand& from); inline ClientDownloadRequest_MachOHeaders_LoadCommand& operator=(const ClientDownloadRequest_MachOHeaders_LoadCommand& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_MachOHeaders_LoadCommand& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_MachOHeaders_LoadCommand* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_MachOHeaders_LoadCommand* other); // implements Message ---------------------------------------------- ClientDownloadRequest_MachOHeaders_LoadCommand* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from); void MergeFrom(const ClientDownloadRequest_MachOHeaders_LoadCommand& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required uint32 command_id = 1; inline bool has_command_id() const; inline void clear_command_id(); static const int kCommandIdFieldNumber = 1; inline ::google::protobuf::uint32 command_id() const; inline void set_command_id(::google::protobuf::uint32 value); // required bytes command = 2; inline bool has_command() const; inline void clear_command(); static const int kCommandFieldNumber = 2; inline const ::std::string& command() const; inline void set_command(const ::std::string& value); inline void set_command(const char* value); inline void set_command(const void* value, size_t size); inline ::std::string* mutable_command(); inline ::std::string* release_command(); inline void set_allocated_command(::std::string* command); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand) private: inline void set_has_command_id(); inline void clear_has_command_id(); inline void set_has_command(); inline void clear_has_command(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* command_; ::google::protobuf::uint32 command_id_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_MachOHeaders_LoadCommand* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_MachOHeaders : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_MachOHeaders(); virtual ~ClientDownloadRequest_MachOHeaders(); ClientDownloadRequest_MachOHeaders(const ClientDownloadRequest_MachOHeaders& from); inline ClientDownloadRequest_MachOHeaders& operator=(const ClientDownloadRequest_MachOHeaders& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_MachOHeaders& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_MachOHeaders* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_MachOHeaders* other); // implements Message ---------------------------------------------- ClientDownloadRequest_MachOHeaders* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_MachOHeaders& from); void MergeFrom(const ClientDownloadRequest_MachOHeaders& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_MachOHeaders_LoadCommand LoadCommand; // accessors ------------------------------------------------------- // required bytes mach_header = 1; inline bool has_mach_header() const; inline void clear_mach_header(); static const int kMachHeaderFieldNumber = 1; inline const ::std::string& mach_header() const; inline void set_mach_header(const ::std::string& value); inline void set_mach_header(const char* value); inline void set_mach_header(const void* value, size_t size); inline ::std::string* mutable_mach_header(); inline ::std::string* release_mach_header(); inline void set_allocated_mach_header(::std::string* mach_header); // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand load_commands = 2; inline int load_commands_size() const; inline void clear_load_commands(); static const int kLoadCommandsFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand& load_commands(int index) const; inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* mutable_load_commands(int index); inline ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* add_load_commands(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >& load_commands() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand >* mutable_load_commands(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.MachOHeaders) private: inline void set_has_mach_header(); inline void clear_has_mach_header(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* mach_header_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand > load_commands_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_MachOHeaders* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_ImageHeaders : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_ImageHeaders(); virtual ~ClientDownloadRequest_ImageHeaders(); ClientDownloadRequest_ImageHeaders(const ClientDownloadRequest_ImageHeaders& from); inline ClientDownloadRequest_ImageHeaders& operator=(const ClientDownloadRequest_ImageHeaders& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_ImageHeaders& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_ImageHeaders* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_ImageHeaders* other); // implements Message ---------------------------------------------- ClientDownloadRequest_ImageHeaders* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_ImageHeaders& from); void MergeFrom(const ClientDownloadRequest_ImageHeaders& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional .safe_browsing.ClientDownloadRequest.PEImageHeaders pe_headers = 1; inline bool has_pe_headers() const; inline void clear_pe_headers(); static const int kPeHeadersFieldNumber = 1; inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& pe_headers() const; inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* mutable_pe_headers(); inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* release_pe_headers(); inline void set_allocated_pe_headers(::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers); // repeated .safe_browsing.ClientDownloadRequest.MachOHeaders mach_o_headers = 2; inline int mach_o_headers_size() const; inline void clear_mach_o_headers(); static const int kMachOHeadersFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest_MachOHeaders& mach_o_headers(int index) const; inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* mutable_mach_o_headers(int index); inline ::safe_browsing::ClientDownloadRequest_MachOHeaders* add_mach_o_headers(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >& mach_o_headers() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders >* mutable_mach_o_headers(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ImageHeaders) private: inline void set_has_pe_headers(); inline void clear_has_pe_headers(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_MachOHeaders > mach_o_headers_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_ImageHeaders* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_ArchivedBinary : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_ArchivedBinary(); virtual ~ClientDownloadRequest_ArchivedBinary(); ClientDownloadRequest_ArchivedBinary(const ClientDownloadRequest_ArchivedBinary& from); inline ClientDownloadRequest_ArchivedBinary& operator=(const ClientDownloadRequest_ArchivedBinary& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_ArchivedBinary& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_ArchivedBinary* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_ArchivedBinary* other); // implements Message ---------------------------------------------- ClientDownloadRequest_ArchivedBinary* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_ArchivedBinary& from); void MergeFrom(const ClientDownloadRequest_ArchivedBinary& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string file_basename = 1; inline bool has_file_basename() const; inline void clear_file_basename(); static const int kFileBasenameFieldNumber = 1; inline const ::std::string& file_basename() const; inline void set_file_basename(const ::std::string& value); inline void set_file_basename(const char* value); inline void set_file_basename(const char* value, size_t size); inline ::std::string* mutable_file_basename(); inline ::std::string* release_file_basename(); inline void set_allocated_file_basename(::std::string* file_basename); // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 2; inline bool has_download_type() const; inline void clear_download_type(); static const int kDownloadTypeFieldNumber = 2; inline ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const; inline void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value); // optional .safe_browsing.ClientDownloadRequest.Digests digests = 3; inline bool has_digests() const; inline void clear_digests(); static const int kDigestsFieldNumber = 3; inline const ::safe_browsing::ClientDownloadRequest_Digests& digests() const; inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests(); inline ::safe_browsing::ClientDownloadRequest_Digests* release_digests(); inline void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests); // optional int64 length = 4; inline bool has_length() const; inline void clear_length(); static const int kLengthFieldNumber = 4; inline ::google::protobuf::int64 length() const; inline void set_length(::google::protobuf::int64 value); // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool has_signature() const; inline void clear_signature(); static const int kSignatureFieldNumber = 5; inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6; inline bool has_image_headers() const; inline void clear_image_headers(); static const int kImageHeadersFieldNumber = 6; inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.ArchivedBinary) private: inline void set_has_file_basename(); inline void clear_has_file_basename(); inline void set_has_download_type(); inline void clear_has_download_type(); inline void set_has_digests(); inline void clear_has_digests(); inline void set_has_length(); inline void clear_has_length(); inline void set_has_signature(); inline void clear_has_signature(); inline void set_has_image_headers(); inline void clear_has_image_headers(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* file_basename_; ::safe_browsing::ClientDownloadRequest_Digests* digests_; ::google::protobuf::int64 length_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; int download_type_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_ArchivedBinary* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest_URLChainEntry : public ::google::protobuf::MessageLite { public: ClientDownloadRequest_URLChainEntry(); virtual ~ClientDownloadRequest_URLChainEntry(); ClientDownloadRequest_URLChainEntry(const ClientDownloadRequest_URLChainEntry& from); inline ClientDownloadRequest_URLChainEntry& operator=(const ClientDownloadRequest_URLChainEntry& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest_URLChainEntry& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest_URLChainEntry* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest_URLChainEntry* other); // implements Message ---------------------------------------------- ClientDownloadRequest_URLChainEntry* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest_URLChainEntry& from); void MergeFrom(const ClientDownloadRequest_URLChainEntry& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientDownloadRequest_URLChainEntry_URLType URLType; static const URLType DOWNLOAD_URL = ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_URL; static const URLType DOWNLOAD_REFERRER = ClientDownloadRequest_URLChainEntry_URLType_DOWNLOAD_REFERRER; static const URLType LANDING_PAGE = ClientDownloadRequest_URLChainEntry_URLType_LANDING_PAGE; static const URLType LANDING_REFERRER = ClientDownloadRequest_URLChainEntry_URLType_LANDING_REFERRER; static const URLType CLIENT_REDIRECT = ClientDownloadRequest_URLChainEntry_URLType_CLIENT_REDIRECT; static const URLType SERVER_REDIRECT = ClientDownloadRequest_URLChainEntry_URLType_SERVER_REDIRECT; static inline bool URLType_IsValid(int value) { return ClientDownloadRequest_URLChainEntry_URLType_IsValid(value); } static const URLType URLType_MIN = ClientDownloadRequest_URLChainEntry_URLType_URLType_MIN; static const URLType URLType_MAX = ClientDownloadRequest_URLChainEntry_URLType_URLType_MAX; static const int URLType_ARRAYSIZE = ClientDownloadRequest_URLChainEntry_URLType_URLType_ARRAYSIZE; // accessors ------------------------------------------------------- // optional string url = 1; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 1; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // optional .safe_browsing.ClientDownloadRequest.URLChainEntry.URLType type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType type() const; inline void set_type(::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType value); // optional string ip_address = 3; inline bool has_ip_address() const; inline void clear_ip_address(); static const int kIpAddressFieldNumber = 3; inline const ::std::string& ip_address() const; inline void set_ip_address(const ::std::string& value); inline void set_ip_address(const char* value); inline void set_ip_address(const char* value, size_t size); inline ::std::string* mutable_ip_address(); inline ::std::string* release_ip_address(); inline void set_allocated_ip_address(::std::string* ip_address); // optional string referrer = 4; inline bool has_referrer() const; inline void clear_referrer(); static const int kReferrerFieldNumber = 4; inline const ::std::string& referrer() const; inline void set_referrer(const ::std::string& value); inline void set_referrer(const char* value); inline void set_referrer(const char* value, size_t size); inline ::std::string* mutable_referrer(); inline ::std::string* release_referrer(); inline void set_allocated_referrer(::std::string* referrer); // optional string main_frame_referrer = 5; inline bool has_main_frame_referrer() const; inline void clear_main_frame_referrer(); static const int kMainFrameReferrerFieldNumber = 5; inline const ::std::string& main_frame_referrer() const; inline void set_main_frame_referrer(const ::std::string& value); inline void set_main_frame_referrer(const char* value); inline void set_main_frame_referrer(const char* value, size_t size); inline ::std::string* mutable_main_frame_referrer(); inline ::std::string* release_main_frame_referrer(); inline void set_allocated_main_frame_referrer(::std::string* main_frame_referrer); // optional bool is_retargeting = 6; inline bool has_is_retargeting() const; inline void clear_is_retargeting(); static const int kIsRetargetingFieldNumber = 6; inline bool is_retargeting() const; inline void set_is_retargeting(bool value); // optional bool is_user_initiated = 7; inline bool has_is_user_initiated() const; inline void clear_is_user_initiated(); static const int kIsUserInitiatedFieldNumber = 7; inline bool is_user_initiated() const; inline void set_is_user_initiated(bool value); // optional double timestamp_in_millisec = 8; inline bool has_timestamp_in_millisec() const; inline void clear_timestamp_in_millisec(); static const int kTimestampInMillisecFieldNumber = 8; inline double timestamp_in_millisec() const; inline void set_timestamp_in_millisec(double value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest.URLChainEntry) private: inline void set_has_url(); inline void clear_has_url(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_ip_address(); inline void clear_has_ip_address(); inline void set_has_referrer(); inline void clear_has_referrer(); inline void set_has_main_frame_referrer(); inline void clear_has_main_frame_referrer(); inline void set_has_is_retargeting(); inline void clear_has_is_retargeting(); inline void set_has_is_user_initiated(); inline void clear_has_is_user_initiated(); inline void set_has_timestamp_in_millisec(); inline void clear_has_timestamp_in_millisec(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* url_; ::std::string* ip_address_; ::std::string* referrer_; ::std::string* main_frame_referrer_; int type_; bool is_retargeting_; bool is_user_initiated_; double timestamp_in_millisec_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest_URLChainEntry* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadRequest : public ::google::protobuf::MessageLite { public: ClientDownloadRequest(); virtual ~ClientDownloadRequest(); ClientDownloadRequest(const ClientDownloadRequest& from); inline ClientDownloadRequest& operator=(const ClientDownloadRequest& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadRequest& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadRequest* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadRequest* other); // implements Message ---------------------------------------------- ClientDownloadRequest* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadRequest& from); void MergeFrom(const ClientDownloadRequest& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // 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_URLChainEntry URLChainEntry; typedef ClientDownloadRequest_ResourceType ResourceType; static const ResourceType DOWNLOAD_URL = ClientDownloadRequest_ResourceType_DOWNLOAD_URL; static const ResourceType DOWNLOAD_REDIRECT = ClientDownloadRequest_ResourceType_DOWNLOAD_REDIRECT; static const ResourceType TAB_URL = ClientDownloadRequest_ResourceType_TAB_URL; static const ResourceType TAB_REDIRECT = ClientDownloadRequest_ResourceType_TAB_REDIRECT; static const ResourceType PPAPI_DOCUMENT = ClientDownloadRequest_ResourceType_PPAPI_DOCUMENT; static const ResourceType PPAPI_PLUGIN = ClientDownloadRequest_ResourceType_PPAPI_PLUGIN; static inline bool ResourceType_IsValid(int value) { return ClientDownloadRequest_ResourceType_IsValid(value); } static const ResourceType ResourceType_MIN = ClientDownloadRequest_ResourceType_ResourceType_MIN; static const ResourceType ResourceType_MAX = ClientDownloadRequest_ResourceType_ResourceType_MAX; static const int ResourceType_ARRAYSIZE = ClientDownloadRequest_ResourceType_ResourceType_ARRAYSIZE; typedef ClientDownloadRequest_DownloadType DownloadType; static const DownloadType WIN_EXECUTABLE = ClientDownloadRequest_DownloadType_WIN_EXECUTABLE; static const DownloadType CHROME_EXTENSION = ClientDownloadRequest_DownloadType_CHROME_EXTENSION; static const DownloadType ANDROID_APK = ClientDownloadRequest_DownloadType_ANDROID_APK; static const DownloadType ZIPPED_EXECUTABLE = ClientDownloadRequest_DownloadType_ZIPPED_EXECUTABLE; static const DownloadType MAC_EXECUTABLE = ClientDownloadRequest_DownloadType_MAC_EXECUTABLE; static const DownloadType ZIPPED_ARCHIVE = ClientDownloadRequest_DownloadType_ZIPPED_ARCHIVE; static const DownloadType ARCHIVE = ClientDownloadRequest_DownloadType_ARCHIVE; static const DownloadType INVALID_ZIP = ClientDownloadRequest_DownloadType_INVALID_ZIP; static const DownloadType INVALID_MAC_ARCHIVE = ClientDownloadRequest_DownloadType_INVALID_MAC_ARCHIVE; static const DownloadType PPAPI_SAVE_REQUEST = ClientDownloadRequest_DownloadType_PPAPI_SAVE_REQUEST; static const DownloadType SAMPLED_UNSUPPORTED_FILE = ClientDownloadRequest_DownloadType_SAMPLED_UNSUPPORTED_FILE; static inline bool DownloadType_IsValid(int value) { return ClientDownloadRequest_DownloadType_IsValid(value); } static const DownloadType DownloadType_MIN = ClientDownloadRequest_DownloadType_DownloadType_MIN; static const DownloadType DownloadType_MAX = ClientDownloadRequest_DownloadType_DownloadType_MAX; static const int DownloadType_ARRAYSIZE = ClientDownloadRequest_DownloadType_DownloadType_ARRAYSIZE; // accessors ------------------------------------------------------- // required string url = 1; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 1; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // required .safe_browsing.ClientDownloadRequest.Digests digests = 2; inline bool has_digests() const; inline void clear_digests(); static const int kDigestsFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest_Digests& digests() const; inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digests(); inline ::safe_browsing::ClientDownloadRequest_Digests* release_digests(); inline void set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests); // required int64 length = 3; inline bool has_length() const; inline void clear_length(); static const int kLengthFieldNumber = 3; inline ::google::protobuf::int64 length() const; inline void set_length(::google::protobuf::int64 value); // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4; inline int resources_size() const; inline void clear_resources(); static const int kResourcesFieldNumber = 4; inline const ::safe_browsing::ClientDownloadRequest_Resource& resources(int index) const; inline ::safe_browsing::ClientDownloadRequest_Resource* mutable_resources(int index); inline ::safe_browsing::ClientDownloadRequest_Resource* add_resources(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >& resources() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >* mutable_resources(); // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool has_signature() const; inline void clear_signature(); static const int kSignatureFieldNumber = 5; inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); // optional bool user_initiated = 6; inline bool has_user_initiated() const; inline void clear_user_initiated(); static const int kUserInitiatedFieldNumber = 6; inline bool user_initiated() const; inline void set_user_initiated(bool value); // optional string file_basename = 9; inline bool has_file_basename() const; inline void clear_file_basename(); static const int kFileBasenameFieldNumber = 9; inline const ::std::string& file_basename() const; inline void set_file_basename(const ::std::string& value); inline void set_file_basename(const char* value); inline void set_file_basename(const char* value, size_t size); inline ::std::string* mutable_file_basename(); inline ::std::string* release_file_basename(); inline void set_allocated_file_basename(::std::string* file_basename); // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 10 [default = WIN_EXECUTABLE]; inline bool has_download_type() const; inline void clear_download_type(); static const int kDownloadTypeFieldNumber = 10; inline ::safe_browsing::ClientDownloadRequest_DownloadType download_type() const; inline void set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value); // optional string locale = 11; inline bool has_locale() const; inline void clear_locale(); static const int kLocaleFieldNumber = 11; inline const ::std::string& locale() const; inline void set_locale(const ::std::string& value); inline void set_locale(const char* value); inline void set_locale(const char* value, size_t size); inline ::std::string* mutable_locale(); inline ::std::string* release_locale(); inline void set_allocated_locale(::std::string* locale); // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 18; inline bool has_image_headers() const; inline void clear_image_headers(); static const int kImageHeadersFieldNumber = 18; inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); // repeated .safe_browsing.ClientDownloadRequest.ArchivedBinary archived_binary = 22; inline int archived_binary_size() const; inline void clear_archived_binary(); static const int kArchivedBinaryFieldNumber = 22; inline const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& archived_binary(int index) const; inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* mutable_archived_binary(int index); inline ::safe_browsing::ClientDownloadRequest_ArchivedBinary* add_archived_binary(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >& archived_binary() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >* mutable_archived_binary(); // optional .safe_browsing.ChromeUserPopulation population = 24; inline bool has_population() const; inline void clear_population(); static const int kPopulationFieldNumber = 24; inline const ::safe_browsing::ChromeUserPopulation& population() const; inline ::safe_browsing::ChromeUserPopulation* mutable_population(); inline ::safe_browsing::ChromeUserPopulation* release_population(); inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); // optional bool archive_valid = 26; inline bool has_archive_valid() const; inline void clear_archive_valid(); static const int kArchiveValidFieldNumber = 26; inline bool archive_valid() const; inline void set_archive_valid(bool value); // optional bool skipped_url_whitelist = 28; inline bool has_skipped_url_whitelist() const; inline void clear_skipped_url_whitelist(); static const int kSkippedUrlWhitelistFieldNumber = 28; inline bool skipped_url_whitelist() const; inline void set_skipped_url_whitelist(bool value); // optional bool skipped_certificate_whitelist = 31; inline bool has_skipped_certificate_whitelist() const; inline void clear_skipped_certificate_whitelist(); static const int kSkippedCertificateWhitelistFieldNumber = 31; inline bool skipped_certificate_whitelist() const; inline void set_skipped_certificate_whitelist(bool value); // repeated string alternate_extensions = 35; inline int alternate_extensions_size() const; inline void clear_alternate_extensions(); static const int kAlternateExtensionsFieldNumber = 35; inline const ::std::string& alternate_extensions(int index) const; inline ::std::string* mutable_alternate_extensions(int index); inline void set_alternate_extensions(int index, const ::std::string& value); inline void set_alternate_extensions(int index, const char* value); inline void set_alternate_extensions(int index, const char* value, size_t size); inline ::std::string* add_alternate_extensions(); inline void add_alternate_extensions(const ::std::string& value); inline void add_alternate_extensions(const char* value); inline void add_alternate_extensions(const char* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& alternate_extensions() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_alternate_extensions(); // repeated .safe_browsing.ClientDownloadRequest.URLChainEntry url_chain = 36; inline int url_chain_size() const; inline void clear_url_chain(); static const int kUrlChainFieldNumber = 36; inline const ::safe_browsing::ClientDownloadRequest_URLChainEntry& url_chain(int index) const; inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* mutable_url_chain(int index); inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* add_url_chain(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >& url_chain() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >* mutable_url_chain(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadRequest) private: inline void set_has_url(); inline void clear_has_url(); inline void set_has_digests(); inline void clear_has_digests(); inline void set_has_length(); inline void clear_has_length(); inline void set_has_signature(); inline void clear_has_signature(); inline void set_has_user_initiated(); inline void clear_has_user_initiated(); inline void set_has_file_basename(); inline void clear_has_file_basename(); inline void set_has_download_type(); inline void clear_has_download_type(); inline void set_has_locale(); inline void clear_has_locale(); inline void set_has_image_headers(); inline void clear_has_image_headers(); inline void set_has_population(); inline void clear_has_population(); inline void set_has_archive_valid(); inline void clear_has_archive_valid(); inline void set_has_skipped_url_whitelist(); inline void clear_has_skipped_url_whitelist(); inline void set_has_skipped_certificate_whitelist(); inline void clear_has_skipped_certificate_whitelist(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* url_; ::safe_browsing::ClientDownloadRequest_Digests* digests_; ::google::protobuf::int64 length_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource > resources_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::std::string* file_basename_; ::std::string* locale_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary > archived_binary_; int download_type_; bool user_initiated_; bool archive_valid_; bool skipped_url_whitelist_; bool skipped_certificate_whitelist_; ::safe_browsing::ChromeUserPopulation* population_; ::google::protobuf::RepeatedPtrField< ::std::string> alternate_extensions_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry > url_chain_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadRequest* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadResponse_MoreInfo : public ::google::protobuf::MessageLite { public: ClientDownloadResponse_MoreInfo(); virtual ~ClientDownloadResponse_MoreInfo(); ClientDownloadResponse_MoreInfo(const ClientDownloadResponse_MoreInfo& from); inline ClientDownloadResponse_MoreInfo& operator=(const ClientDownloadResponse_MoreInfo& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadResponse_MoreInfo& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadResponse_MoreInfo* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadResponse_MoreInfo* other); // implements Message ---------------------------------------------- ClientDownloadResponse_MoreInfo* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadResponse_MoreInfo& from); void MergeFrom(const ClientDownloadResponse_MoreInfo& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string description = 1; inline bool has_description() const; inline void clear_description(); static const int kDescriptionFieldNumber = 1; inline const ::std::string& description() const; inline void set_description(const ::std::string& value); inline void set_description(const char* value); inline void set_description(const char* value, size_t size); inline ::std::string* mutable_description(); inline ::std::string* release_description(); inline void set_allocated_description(::std::string* description); // optional string url = 2; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 2; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse.MoreInfo) private: inline void set_has_description(); inline void clear_has_description(); inline void set_has_url(); inline void clear_has_url(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* description_; ::std::string* url_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadResponse_MoreInfo* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadResponse : public ::google::protobuf::MessageLite { public: ClientDownloadResponse(); virtual ~ClientDownloadResponse(); ClientDownloadResponse(const ClientDownloadResponse& from); inline ClientDownloadResponse& operator=(const ClientDownloadResponse& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadResponse& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadResponse* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadResponse* other); // implements Message ---------------------------------------------- ClientDownloadResponse* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadResponse& from); void MergeFrom(const ClientDownloadResponse& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientDownloadResponse_MoreInfo MoreInfo; typedef ClientDownloadResponse_Verdict Verdict; static const Verdict SAFE = ClientDownloadResponse_Verdict_SAFE; static const Verdict DANGEROUS = ClientDownloadResponse_Verdict_DANGEROUS; static const Verdict UNCOMMON = ClientDownloadResponse_Verdict_UNCOMMON; static const Verdict POTENTIALLY_UNWANTED = ClientDownloadResponse_Verdict_POTENTIALLY_UNWANTED; static const Verdict DANGEROUS_HOST = ClientDownloadResponse_Verdict_DANGEROUS_HOST; static const Verdict UNKNOWN = ClientDownloadResponse_Verdict_UNKNOWN; static inline bool Verdict_IsValid(int value) { return ClientDownloadResponse_Verdict_IsValid(value); } static const Verdict Verdict_MIN = ClientDownloadResponse_Verdict_Verdict_MIN; static const Verdict Verdict_MAX = ClientDownloadResponse_Verdict_Verdict_MAX; static const int Verdict_ARRAYSIZE = ClientDownloadResponse_Verdict_Verdict_ARRAYSIZE; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientDownloadResponse.Verdict verdict = 1 [default = SAFE]; inline bool has_verdict() const; inline void clear_verdict(); static const int kVerdictFieldNumber = 1; inline ::safe_browsing::ClientDownloadResponse_Verdict verdict() const; inline void set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value); // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2; inline bool has_more_info() const; inline void clear_more_info(); static const int kMoreInfoFieldNumber = 2; inline const ::safe_browsing::ClientDownloadResponse_MoreInfo& more_info() const; inline ::safe_browsing::ClientDownloadResponse_MoreInfo* mutable_more_info(); inline ::safe_browsing::ClientDownloadResponse_MoreInfo* release_more_info(); inline void set_allocated_more_info(::safe_browsing::ClientDownloadResponse_MoreInfo* more_info); // optional bytes token = 3; inline bool has_token() const; inline void clear_token(); static const int kTokenFieldNumber = 3; inline const ::std::string& token() const; inline void set_token(const ::std::string& value); inline void set_token(const char* value); inline void set_token(const void* value, size_t size); inline ::std::string* mutable_token(); inline ::std::string* release_token(); inline void set_allocated_token(::std::string* token); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadResponse) private: inline void set_has_verdict(); inline void clear_has_verdict(); inline void set_has_more_info(); inline void clear_has_more_info(); inline void set_has_token(); inline void clear_has_token(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientDownloadResponse_MoreInfo* more_info_; ::std::string* token_; int verdict_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadResponse* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadReport_UserInformation : public ::google::protobuf::MessageLite { public: ClientDownloadReport_UserInformation(); virtual ~ClientDownloadReport_UserInformation(); ClientDownloadReport_UserInformation(const ClientDownloadReport_UserInformation& from); inline ClientDownloadReport_UserInformation& operator=(const ClientDownloadReport_UserInformation& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadReport_UserInformation& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadReport_UserInformation* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadReport_UserInformation* other); // implements Message ---------------------------------------------- ClientDownloadReport_UserInformation* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadReport_UserInformation& from); void MergeFrom(const ClientDownloadReport_UserInformation& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string email = 1; inline bool has_email() const; inline void clear_email(); static const int kEmailFieldNumber = 1; inline const ::std::string& email() const; inline void set_email(const ::std::string& value); inline void set_email(const char* value); inline void set_email(const char* value, size_t size); inline ::std::string* mutable_email(); inline ::std::string* release_email(); inline void set_allocated_email(::std::string* email); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport.UserInformation) private: inline void set_has_email(); inline void clear_has_email(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* email_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadReport_UserInformation* default_instance_; }; // ------------------------------------------------------------------- class ClientDownloadReport : public ::google::protobuf::MessageLite { public: ClientDownloadReport(); virtual ~ClientDownloadReport(); ClientDownloadReport(const ClientDownloadReport& from); inline ClientDownloadReport& operator=(const ClientDownloadReport& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientDownloadReport& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientDownloadReport* internal_default_instance() { return default_instance_; } #endif void Swap(ClientDownloadReport* other); // implements Message ---------------------------------------------- ClientDownloadReport* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientDownloadReport& from); void MergeFrom(const ClientDownloadReport& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientDownloadReport_UserInformation UserInformation; typedef ClientDownloadReport_Reason Reason; static const Reason SHARE = ClientDownloadReport_Reason_SHARE; static const Reason FALSE_POSITIVE = ClientDownloadReport_Reason_FALSE_POSITIVE; static const Reason APPEAL = ClientDownloadReport_Reason_APPEAL; static inline bool Reason_IsValid(int value) { return ClientDownloadReport_Reason_IsValid(value); } static const Reason Reason_MIN = ClientDownloadReport_Reason_Reason_MIN; static const Reason Reason_MAX = ClientDownloadReport_Reason_Reason_MAX; static const int Reason_ARRAYSIZE = ClientDownloadReport_Reason_Reason_ARRAYSIZE; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientDownloadReport.Reason reason = 1; inline bool has_reason() const; inline void clear_reason(); static const int kReasonFieldNumber = 1; inline ::safe_browsing::ClientDownloadReport_Reason reason() const; inline void set_reason(::safe_browsing::ClientDownloadReport_Reason value); // optional .safe_browsing.ClientDownloadRequest download_request = 2; inline bool has_download_request() const; inline void clear_download_request(); static const int kDownloadRequestFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest& download_request() const; inline ::safe_browsing::ClientDownloadRequest* mutable_download_request(); inline ::safe_browsing::ClientDownloadRequest* release_download_request(); inline void set_allocated_download_request(::safe_browsing::ClientDownloadRequest* download_request); // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3; inline bool has_user_information() const; inline void clear_user_information(); static const int kUserInformationFieldNumber = 3; inline const ::safe_browsing::ClientDownloadReport_UserInformation& user_information() const; inline ::safe_browsing::ClientDownloadReport_UserInformation* mutable_user_information(); inline ::safe_browsing::ClientDownloadReport_UserInformation* release_user_information(); inline void set_allocated_user_information(::safe_browsing::ClientDownloadReport_UserInformation* user_information); // optional bytes comment = 4; inline bool has_comment() const; inline void clear_comment(); static const int kCommentFieldNumber = 4; inline const ::std::string& comment() const; inline void set_comment(const ::std::string& value); inline void set_comment(const char* value); inline void set_comment(const void* value, size_t size); inline ::std::string* mutable_comment(); inline ::std::string* release_comment(); inline void set_allocated_comment(::std::string* comment); // optional .safe_browsing.ClientDownloadResponse download_response = 5; inline bool has_download_response() const; inline void clear_download_response(); static const int kDownloadResponseFieldNumber = 5; inline const ::safe_browsing::ClientDownloadResponse& download_response() const; inline ::safe_browsing::ClientDownloadResponse* mutable_download_response(); inline ::safe_browsing::ClientDownloadResponse* release_download_response(); inline void set_allocated_download_response(::safe_browsing::ClientDownloadResponse* download_response); // @@protoc_insertion_point(class_scope:safe_browsing.ClientDownloadReport) private: inline void set_has_reason(); inline void clear_has_reason(); inline void set_has_download_request(); inline void clear_has_download_request(); inline void set_has_user_information(); inline void clear_has_user_information(); inline void set_has_comment(); inline void clear_has_comment(); inline void set_has_download_response(); inline void clear_has_download_response(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientDownloadRequest* download_request_; ::safe_browsing::ClientDownloadReport_UserInformation* user_information_; ::std::string* comment_; ::safe_browsing::ClientDownloadResponse* download_response_; int reason_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientDownloadReport* default_instance_; }; // ------------------------------------------------------------------- class ClientUploadResponse : public ::google::protobuf::MessageLite { public: ClientUploadResponse(); virtual ~ClientUploadResponse(); ClientUploadResponse(const ClientUploadResponse& from); inline ClientUploadResponse& operator=(const ClientUploadResponse& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientUploadResponse& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientUploadResponse* internal_default_instance() { return default_instance_; } #endif void Swap(ClientUploadResponse* other); // implements Message ---------------------------------------------- ClientUploadResponse* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientUploadResponse& from); void MergeFrom(const ClientUploadResponse& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientUploadResponse_UploadStatus UploadStatus; static const UploadStatus SUCCESS = ClientUploadResponse_UploadStatus_SUCCESS; static const UploadStatus UPLOAD_FAILURE = ClientUploadResponse_UploadStatus_UPLOAD_FAILURE; static inline bool UploadStatus_IsValid(int value) { return ClientUploadResponse_UploadStatus_IsValid(value); } static const UploadStatus UploadStatus_MIN = ClientUploadResponse_UploadStatus_UploadStatus_MIN; static const UploadStatus UploadStatus_MAX = ClientUploadResponse_UploadStatus_UploadStatus_MAX; static const int UploadStatus_ARRAYSIZE = ClientUploadResponse_UploadStatus_UploadStatus_ARRAYSIZE; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1; inline bool has_status() const; inline void clear_status(); static const int kStatusFieldNumber = 1; inline ::safe_browsing::ClientUploadResponse_UploadStatus status() const; inline void set_status(::safe_browsing::ClientUploadResponse_UploadStatus value); // optional string permalink = 2; inline bool has_permalink() const; inline void clear_permalink(); static const int kPermalinkFieldNumber = 2; inline const ::std::string& permalink() const; inline void set_permalink(const ::std::string& value); inline void set_permalink(const char* value); inline void set_permalink(const char* value, size_t size); inline ::std::string* mutable_permalink(); inline ::std::string* release_permalink(); inline void set_allocated_permalink(::std::string* permalink); // @@protoc_insertion_point(class_scope:safe_browsing.ClientUploadResponse) private: inline void set_has_status(); inline void clear_has_status(); inline void set_has_permalink(); inline void clear_has_permalink(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* permalink_; int status_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientUploadResponse* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_TrackedPreferenceIncident : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData_TrackedPreferenceIncident(); virtual ~ClientIncidentReport_IncidentData_TrackedPreferenceIncident(); ClientIncidentReport_IncidentData_TrackedPreferenceIncident(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from); inline ClientIncidentReport_IncidentData_TrackedPreferenceIncident& operator=(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData_TrackedPreferenceIncident* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData_TrackedPreferenceIncident* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData_TrackedPreferenceIncident* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_TrackedPreferenceIncident& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState ValueState; static const ValueState UNKNOWN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNKNOWN; static const ValueState CLEARED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CLEARED; static const ValueState WEAK_LEGACY_OBSOLETE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_WEAK_LEGACY_OBSOLETE; static const ValueState CHANGED = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_CHANGED; static const ValueState UNTRUSTED_UNKNOWN_VALUE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_UNTRUSTED_UNKNOWN_VALUE; static inline bool ValueState_IsValid(int value) { return ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(value); } static const ValueState ValueState_MIN = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MIN; static const ValueState ValueState_MAX = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_MAX; static const int ValueState_ARRAYSIZE = ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_ValueState_ARRAYSIZE; // accessors ------------------------------------------------------- // optional string path = 1; inline bool has_path() const; inline void clear_path(); static const int kPathFieldNumber = 1; inline const ::std::string& path() const; inline void set_path(const ::std::string& value); inline void set_path(const char* value); inline void set_path(const char* value, size_t size); inline ::std::string* mutable_path(); inline ::std::string* release_path(); inline void set_allocated_path(::std::string* path); // optional string atomic_value = 2; inline bool has_atomic_value() const; inline void clear_atomic_value(); static const int kAtomicValueFieldNumber = 2; inline const ::std::string& atomic_value() const; inline void set_atomic_value(const ::std::string& value); inline void set_atomic_value(const char* value); inline void set_atomic_value(const char* value, size_t size); inline ::std::string* mutable_atomic_value(); inline ::std::string* release_atomic_value(); inline void set_allocated_atomic_value(::std::string* atomic_value); // repeated string split_key = 3; inline int split_key_size() const; inline void clear_split_key(); static const int kSplitKeyFieldNumber = 3; inline const ::std::string& split_key(int index) const; inline ::std::string* mutable_split_key(int index); inline void set_split_key(int index, const ::std::string& value); inline void set_split_key(int index, const char* value); inline void set_split_key(int index, const char* value, size_t size); inline ::std::string* add_split_key(); inline void add_split_key(const ::std::string& value); inline void add_split_key(const char* value); inline void add_split_key(const char* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& split_key() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_split_key(); // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.ValueState value_state = 4; inline bool has_value_state() const; inline void clear_value_state(); static const int kValueStateFieldNumber = 4; inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value_state() const; inline void set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident) private: inline void set_has_path(); inline void clear_has_path(); inline void set_has_atomic_value(); inline void clear_has_atomic_value(); inline void set_has_value_state(); inline void clear_has_value_state(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* path_; ::std::string* atomic_value_; ::google::protobuf::RepeatedPtrField< ::std::string> split_key_; int value_state_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData_TrackedPreferenceIncident* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(); virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(); ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from); inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from); void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string relative_path = 1; inline bool has_relative_path() const; inline void clear_relative_path(); static const int kRelativePathFieldNumber = 1; inline const ::std::string& relative_path() const; inline void set_relative_path(const ::std::string& value); inline void set_relative_path(const char* value); inline void set_relative_path(const char* value, size_t size); inline ::std::string* mutable_relative_path(); inline ::std::string* release_relative_path(); inline void set_allocated_relative_path(::std::string* relative_path); // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2; inline bool has_signature() const; inline void clear_signature(); static const int kSignatureFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3; inline bool has_image_headers() const; inline void clear_image_headers(); static const int kImageHeadersFieldNumber = 3; inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile) private: inline void set_has_relative_path(); inline void clear_has_relative_path(); inline void set_has_signature(); inline void clear_has_signature(); inline void set_has_image_headers(); inline void clear_has_image_headers(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* relative_path_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_BinaryIntegrityIncident : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData_BinaryIntegrityIncident(); virtual ~ClientIncidentReport_IncidentData_BinaryIntegrityIncident(); ClientIncidentReport_IncidentData_BinaryIntegrityIncident(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from); inline ClientIncidentReport_IncidentData_BinaryIntegrityIncident& operator=(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData_BinaryIntegrityIncident* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData_BinaryIntegrityIncident* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData_BinaryIntegrityIncident* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_BinaryIntegrityIncident& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile ContainedFile; // accessors ------------------------------------------------------- // optional string file_basename = 1; inline bool has_file_basename() const; inline void clear_file_basename(); static const int kFileBasenameFieldNumber = 1; inline const ::std::string& file_basename() const; inline void set_file_basename(const ::std::string& value); inline void set_file_basename(const char* value); inline void set_file_basename(const char* value, size_t size); inline ::std::string* mutable_file_basename(); inline ::std::string* release_file_basename(); inline void set_allocated_file_basename(::std::string* file_basename); // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 2; inline bool has_signature() const; inline void clear_signature(); static const int kSignatureFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 3; inline bool has_image_headers() const; inline void clear_image_headers(); static const int kImageHeadersFieldNumber = 3; inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); // optional int32 sec_error = 4; inline bool has_sec_error() const; inline void clear_sec_error(); static const int kSecErrorFieldNumber = 4; inline ::google::protobuf::int32 sec_error() const; inline void set_sec_error(::google::protobuf::int32 value); // repeated .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile contained_file = 5; inline int contained_file_size() const; inline void clear_contained_file(); static const int kContainedFileFieldNumber = 5; inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile& contained_file(int index) const; inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* mutable_contained_file(int index); inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile* add_contained_file(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >& contained_file() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile >* mutable_contained_file(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident) private: inline void set_has_file_basename(); inline void clear_has_file_basename(); inline void set_has_signature(); inline void clear_has_signature(); inline void set_has_image_headers(); inline void clear_has_image_headers(); inline void set_has_sec_error(); inline void clear_has_sec_error(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* file_basename_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile > contained_file_; ::google::protobuf::int32 sec_error_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData_BinaryIntegrityIncident* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_BlacklistLoadIncident : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData_BlacklistLoadIncident(); virtual ~ClientIncidentReport_IncidentData_BlacklistLoadIncident(); ClientIncidentReport_IncidentData_BlacklistLoadIncident(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from); inline ClientIncidentReport_IncidentData_BlacklistLoadIncident& operator=(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData_BlacklistLoadIncident& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData_BlacklistLoadIncident* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData_BlacklistLoadIncident* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData_BlacklistLoadIncident* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_BlacklistLoadIncident& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string path = 1; inline bool has_path() const; inline void clear_path(); static const int kPathFieldNumber = 1; inline const ::std::string& path() const; inline void set_path(const ::std::string& value); inline void set_path(const char* value); inline void set_path(const char* value, size_t size); inline ::std::string* mutable_path(); inline ::std::string* release_path(); inline void set_allocated_path(::std::string* path); // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2; inline bool has_digest() const; inline void clear_digest(); static const int kDigestFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest_Digests& digest() const; inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digest(); inline ::safe_browsing::ClientDownloadRequest_Digests* release_digest(); inline void set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest); // optional string version = 3; inline bool has_version() const; inline void clear_version(); static const int kVersionFieldNumber = 3; inline const ::std::string& version() const; inline void set_version(const ::std::string& value); inline void set_version(const char* value); inline void set_version(const char* value, size_t size); inline ::std::string* mutable_version(); inline ::std::string* release_version(); inline void set_allocated_version(::std::string* version); // optional bool blacklist_initialized = 4; inline bool has_blacklist_initialized() const; inline void clear_blacklist_initialized(); static const int kBlacklistInitializedFieldNumber = 4; inline bool blacklist_initialized() const; inline void set_blacklist_initialized(bool value); // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool has_signature() const; inline void clear_signature(); static const int kSignatureFieldNumber = 5; inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6; inline bool has_image_headers() const; inline void clear_image_headers(); static const int kImageHeadersFieldNumber = 6; inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident) private: inline void set_has_path(); inline void clear_has_path(); inline void set_has_digest(); inline void clear_has_digest(); inline void set_has_version(); inline void clear_has_version(); inline void set_has_blacklist_initialized(); inline void clear_has_blacklist_initialized(); inline void set_has_signature(); inline void clear_has_signature(); inline void set_has_image_headers(); inline void clear_has_image_headers(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* path_; ::safe_browsing::ClientDownloadRequest_Digests* digest_; ::std::string* version_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; bool blacklist_initialized_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData_BlacklistLoadIncident* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident(); virtual ~ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident(); ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from); inline ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& operator=(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string variations_seed_signature = 1; inline bool has_variations_seed_signature() const; inline void clear_variations_seed_signature(); static const int kVariationsSeedSignatureFieldNumber = 1; inline const ::std::string& variations_seed_signature() const; inline void set_variations_seed_signature(const ::std::string& value); inline void set_variations_seed_signature(const char* value); inline void set_variations_seed_signature(const char* value, size_t size); inline ::std::string* mutable_variations_seed_signature(); inline ::std::string* release_variations_seed_signature(); inline void set_allocated_variations_seed_signature(::std::string* variations_seed_signature); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident) private: inline void set_has_variations_seed_signature(); inline void clear_has_variations_seed_signature(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* variations_seed_signature_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_ResourceRequestIncident : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData_ResourceRequestIncident(); virtual ~ClientIncidentReport_IncidentData_ResourceRequestIncident(); ClientIncidentReport_IncidentData_ResourceRequestIncident(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from); inline ClientIncidentReport_IncidentData_ResourceRequestIncident& operator=(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData_ResourceRequestIncident& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData_ResourceRequestIncident* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData_ResourceRequestIncident* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData_ResourceRequestIncident* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_ResourceRequestIncident& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_ResourceRequestIncident_Type Type; static const Type UNKNOWN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_UNKNOWN; static const Type TYPE_PATTERN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_TYPE_PATTERN; static inline bool Type_IsValid(int value) { return ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(value); } static const Type Type_MIN = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MIN; static const Type Type_MAX = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_MAX; static const int Type_ARRAYSIZE = ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_Type_ARRAYSIZE; // accessors ------------------------------------------------------- // optional bytes digest = 1; inline bool has_digest() const; inline void clear_digest(); static const int kDigestFieldNumber = 1; inline const ::std::string& digest() const; inline void set_digest(const ::std::string& value); inline void set_digest(const char* value); inline void set_digest(const void* value, size_t size); inline ::std::string* mutable_digest(); inline ::std::string* release_digest(); inline void set_allocated_digest(::std::string* digest); // optional string origin = 2; inline bool has_origin() const; inline void clear_origin(); static const int kOriginFieldNumber = 2; inline const ::std::string& origin() const; inline void set_origin(const ::std::string& value); inline void set_origin(const char* value); inline void set_origin(const char* value, size_t size); inline ::std::string* mutable_origin(); inline ::std::string* release_origin(); inline void set_allocated_origin(::std::string* origin); // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.Type type = 3 [default = UNKNOWN]; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 3; inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type type() const; inline void set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident) private: inline void set_has_digest(); inline void clear_has_digest(); inline void set_has_origin(); inline void clear_has_origin(); inline void set_has_type(); inline void clear_has_type(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* digest_; ::std::string* origin_; int type_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData_ResourceRequestIncident* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData_SuspiciousModuleIncident : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData_SuspiciousModuleIncident(); virtual ~ClientIncidentReport_IncidentData_SuspiciousModuleIncident(); ClientIncidentReport_IncidentData_SuspiciousModuleIncident(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from); inline ClientIncidentReport_IncidentData_SuspiciousModuleIncident& operator=(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData_SuspiciousModuleIncident* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData_SuspiciousModuleIncident* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData_SuspiciousModuleIncident* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from); void MergeFrom(const ClientIncidentReport_IncidentData_SuspiciousModuleIncident& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string path = 1; inline bool has_path() const; inline void clear_path(); static const int kPathFieldNumber = 1; inline const ::std::string& path() const; inline void set_path(const ::std::string& value); inline void set_path(const char* value); inline void set_path(const char* value, size_t size); inline ::std::string* mutable_path(); inline ::std::string* release_path(); inline void set_allocated_path(::std::string* path); // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2; inline bool has_digest() const; inline void clear_digest(); static const int kDigestFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest_Digests& digest() const; inline ::safe_browsing::ClientDownloadRequest_Digests* mutable_digest(); inline ::safe_browsing::ClientDownloadRequest_Digests* release_digest(); inline void set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest); // optional string version = 3; inline bool has_version() const; inline void clear_version(); static const int kVersionFieldNumber = 3; inline const ::std::string& version() const; inline void set_version(const ::std::string& value); inline void set_version(const char* value); inline void set_version(const char* value, size_t size); inline ::std::string* mutable_version(); inline ::std::string* release_version(); inline void set_allocated_version(::std::string* version); // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 4; inline bool has_signature() const; inline void clear_signature(); static const int kSignatureFieldNumber = 4; inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& signature() const; inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* mutable_signature(); inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* release_signature(); inline void set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature); // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5; inline bool has_image_headers() const; inline void clear_image_headers(); static const int kImageHeadersFieldNumber = 5; inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident) private: inline void set_has_path(); inline void clear_has_path(); inline void set_has_digest(); inline void clear_has_digest(); inline void set_has_version(); inline void clear_has_version(); inline void set_has_signature(); inline void clear_has_signature(); inline void set_has_image_headers(); inline void clear_has_image_headers(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* path_; ::safe_browsing::ClientDownloadRequest_Digests* digest_; ::std::string* version_; ::safe_browsing::ClientDownloadRequest_SignatureInfo* signature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData_SuspiciousModuleIncident* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_IncidentData : public ::google::protobuf::MessageLite { public: ClientIncidentReport_IncidentData(); virtual ~ClientIncidentReport_IncidentData(); ClientIncidentReport_IncidentData(const ClientIncidentReport_IncidentData& from); inline ClientIncidentReport_IncidentData& operator=(const ClientIncidentReport_IncidentData& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_IncidentData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_IncidentData* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_IncidentData* other); // implements Message ---------------------------------------------- ClientIncidentReport_IncidentData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_IncidentData& from); void MergeFrom(const ClientIncidentReport_IncidentData& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData_TrackedPreferenceIncident TrackedPreferenceIncident; typedef ClientIncidentReport_IncidentData_BinaryIntegrityIncident BinaryIntegrityIncident; typedef ClientIncidentReport_IncidentData_BlacklistLoadIncident BlacklistLoadIncident; typedef ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident VariationsSeedSignatureIncident; typedef ClientIncidentReport_IncidentData_ResourceRequestIncident ResourceRequestIncident; typedef ClientIncidentReport_IncidentData_SuspiciousModuleIncident SuspiciousModuleIncident; // accessors ------------------------------------------------------- // optional int64 incident_time_msec = 1; inline bool has_incident_time_msec() const; inline void clear_incident_time_msec(); static const int kIncidentTimeMsecFieldNumber = 1; inline ::google::protobuf::int64 incident_time_msec() const; inline void set_incident_time_msec(::google::protobuf::int64 value); // optional .safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident tracked_preference = 2; inline bool has_tracked_preference() const; inline void clear_tracked_preference(); static const int kTrackedPreferenceFieldNumber = 2; inline const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& tracked_preference() const; inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* mutable_tracked_preference(); inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* release_tracked_preference(); inline void set_allocated_tracked_preference(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference); // optional .safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident binary_integrity = 3; inline bool has_binary_integrity() const; inline void clear_binary_integrity(); static const int kBinaryIntegrityFieldNumber = 3; inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& binary_integrity() const; inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* mutable_binary_integrity(); inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* release_binary_integrity(); inline void set_allocated_binary_integrity(::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity); // optional .safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident blacklist_load = 4; inline bool has_blacklist_load() const; inline void clear_blacklist_load(); static const int kBlacklistLoadFieldNumber = 4; inline const ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident& blacklist_load() const; inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* mutable_blacklist_load(); inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* release_blacklist_load(); inline void set_allocated_blacklist_load(::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* blacklist_load); // optional .safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident variations_seed_signature = 6; inline bool has_variations_seed_signature() const; inline void clear_variations_seed_signature(); static const int kVariationsSeedSignatureFieldNumber = 6; inline const ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& variations_seed_signature() const; inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* mutable_variations_seed_signature(); inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* release_variations_seed_signature(); inline void set_allocated_variations_seed_signature(::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* variations_seed_signature); // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident resource_request = 7; inline bool has_resource_request() const; inline void clear_resource_request(); static const int kResourceRequestFieldNumber = 7; inline const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& resource_request() const; inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* mutable_resource_request(); inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* release_resource_request(); inline void set_allocated_resource_request(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request); // optional .safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident suspicious_module = 8; inline bool has_suspicious_module() const; inline void clear_suspicious_module(); static const int kSuspiciousModuleFieldNumber = 8; inline const ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident& suspicious_module() const; inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* mutable_suspicious_module(); inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* release_suspicious_module(); inline void set_allocated_suspicious_module(::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* suspicious_module); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.IncidentData) private: inline void set_has_incident_time_msec(); inline void clear_has_incident_time_msec(); inline void set_has_tracked_preference(); inline void clear_has_tracked_preference(); inline void set_has_binary_integrity(); inline void clear_has_binary_integrity(); inline void set_has_blacklist_load(); inline void clear_has_blacklist_load(); inline void set_has_variations_seed_signature(); inline void clear_has_variations_seed_signature(); inline void set_has_resource_request(); inline void clear_has_resource_request(); inline void set_has_suspicious_module(); inline void clear_has_suspicious_module(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::int64 incident_time_msec_; ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference_; ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity_; ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* blacklist_load_; ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* variations_seed_signature_; ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request_; ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* suspicious_module_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_IncidentData* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_DownloadDetails : public ::google::protobuf::MessageLite { public: ClientIncidentReport_DownloadDetails(); virtual ~ClientIncidentReport_DownloadDetails(); ClientIncidentReport_DownloadDetails(const ClientIncidentReport_DownloadDetails& from); inline ClientIncidentReport_DownloadDetails& operator=(const ClientIncidentReport_DownloadDetails& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_DownloadDetails& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_DownloadDetails* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_DownloadDetails* other); // implements Message ---------------------------------------------- ClientIncidentReport_DownloadDetails* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_DownloadDetails& from); void MergeFrom(const ClientIncidentReport_DownloadDetails& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional bytes token = 1; inline bool has_token() const; inline void clear_token(); static const int kTokenFieldNumber = 1; inline const ::std::string& token() const; inline void set_token(const ::std::string& value); inline void set_token(const char* value); inline void set_token(const void* value, size_t size); inline ::std::string* mutable_token(); inline ::std::string* release_token(); inline void set_allocated_token(::std::string* token); // optional .safe_browsing.ClientDownloadRequest download = 2; inline bool has_download() const; inline void clear_download(); static const int kDownloadFieldNumber = 2; inline const ::safe_browsing::ClientDownloadRequest& download() const; inline ::safe_browsing::ClientDownloadRequest* mutable_download(); inline ::safe_browsing::ClientDownloadRequest* release_download(); inline void set_allocated_download(::safe_browsing::ClientDownloadRequest* download); // optional int64 download_time_msec = 3; inline bool has_download_time_msec() const; inline void clear_download_time_msec(); static const int kDownloadTimeMsecFieldNumber = 3; inline ::google::protobuf::int64 download_time_msec() const; inline void set_download_time_msec(::google::protobuf::int64 value); // optional int64 open_time_msec = 4; inline bool has_open_time_msec() const; inline void clear_open_time_msec(); static const int kOpenTimeMsecFieldNumber = 4; inline ::google::protobuf::int64 open_time_msec() const; inline void set_open_time_msec(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.DownloadDetails) private: inline void set_has_token(); inline void clear_has_token(); inline void set_has_download(); inline void clear_has_download(); inline void set_has_download_time_msec(); inline void clear_has_download_time_msec(); inline void set_has_open_time_msec(); inline void clear_has_open_time_msec(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* token_; ::safe_browsing::ClientDownloadRequest* download_; ::google::protobuf::int64 download_time_msec_; ::google::protobuf::int64 open_time_msec_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_DownloadDetails* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_OS_RegistryValue : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_OS_RegistryValue(); virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryValue(); ClientIncidentReport_EnvironmentData_OS_RegistryValue(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from); inline ClientIncidentReport_EnvironmentData_OS_RegistryValue& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_OS_RegistryValue& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_OS_RegistryValue* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryValue* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_OS_RegistryValue* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryValue& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string name = 1; inline bool has_name() const; inline void clear_name(); static const int kNameFieldNumber = 1; inline const ::std::string& name() const; inline void set_name(const ::std::string& value); inline void set_name(const char* value); inline void set_name(const char* value, size_t size); inline ::std::string* mutable_name(); inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); // optional uint32 type = 2; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 2; inline ::google::protobuf::uint32 type() const; inline void set_type(::google::protobuf::uint32 value); // optional bytes data = 3; inline bool has_data() const; inline void clear_data(); static const int kDataFieldNumber = 3; inline const ::std::string& data() const; inline void set_data(const ::std::string& value); inline void set_data(const char* value); inline void set_data(const void* value, size_t size); inline ::std::string* mutable_data(); inline ::std::string* release_data(); inline void set_allocated_data(::std::string* data); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue) private: inline void set_has_name(); inline void clear_has_name(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_data(); inline void clear_has_data(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* name_; ::std::string* data_; ::google::protobuf::uint32 type_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_OS_RegistryValue* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_OS_RegistryKey : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_OS_RegistryKey(); virtual ~ClientIncidentReport_EnvironmentData_OS_RegistryKey(); ClientIncidentReport_EnvironmentData_OS_RegistryKey(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from); inline ClientIncidentReport_EnvironmentData_OS_RegistryKey& operator=(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_OS_RegistryKey& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_OS_RegistryKey* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_OS_RegistryKey* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_OS_RegistryKey* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_OS_RegistryKey& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string name = 1; inline bool has_name() const; inline void clear_name(); static const int kNameFieldNumber = 1; inline const ::std::string& name() const; inline void set_name(const ::std::string& value); inline void set_name(const char* value); inline void set_name(const char* value, size_t size); inline ::std::string* mutable_name(); inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue value = 2; inline int value_size() const; inline void clear_value(); static const int kValueFieldNumber = 2; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue& value(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* mutable_value(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue* add_value(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >& value() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue >* mutable_value(); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey key = 3; inline int key_size() const; inline void clear_key(); static const int kKeyFieldNumber = 3; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& key(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_key(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_key(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >& key() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >* mutable_key(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey) private: inline void set_has_name(); inline void clear_has_name(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* name_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryValue > value_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > key_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_OS_RegistryKey* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_OS : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_OS(); virtual ~ClientIncidentReport_EnvironmentData_OS(); ClientIncidentReport_EnvironmentData_OS(const ClientIncidentReport_EnvironmentData_OS& from); inline ClientIncidentReport_EnvironmentData_OS& operator=(const ClientIncidentReport_EnvironmentData_OS& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_OS& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_OS* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_OS* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_OS* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_OS& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_OS& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_OS_RegistryValue RegistryValue; typedef ClientIncidentReport_EnvironmentData_OS_RegistryKey RegistryKey; // accessors ------------------------------------------------------- // optional string os_name = 1; inline bool has_os_name() const; inline void clear_os_name(); static const int kOsNameFieldNumber = 1; inline const ::std::string& os_name() const; inline void set_os_name(const ::std::string& value); inline void set_os_name(const char* value); inline void set_os_name(const char* value, size_t size); inline ::std::string* mutable_os_name(); inline ::std::string* release_os_name(); inline void set_allocated_os_name(::std::string* os_name); // optional string os_version = 2; inline bool has_os_version() const; inline void clear_os_version(); static const int kOsVersionFieldNumber = 2; inline const ::std::string& os_version() const; inline void set_os_version(const ::std::string& value); inline void set_os_version(const char* value); inline void set_os_version(const char* value, size_t size); inline ::std::string* mutable_os_version(); inline ::std::string* release_os_version(); inline void set_allocated_os_version(::std::string* os_version); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey registry_key = 3; inline int registry_key_size() const; inline void clear_registry_key(); static const int kRegistryKeyFieldNumber = 3; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey& registry_key(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* mutable_registry_key(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey* add_registry_key(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >& registry_key() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey >* mutable_registry_key(); // optional bool is_enrolled_to_domain = 4; inline bool has_is_enrolled_to_domain() const; inline void clear_is_enrolled_to_domain(); static const int kIsEnrolledToDomainFieldNumber = 4; inline bool is_enrolled_to_domain() const; inline void set_is_enrolled_to_domain(bool value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.OS) private: inline void set_has_os_name(); inline void clear_has_os_name(); inline void set_has_os_version(); inline void clear_has_os_version(); inline void set_has_is_enrolled_to_domain(); inline void clear_has_is_enrolled_to_domain(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* os_name_; ::std::string* os_version_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_OS_RegistryKey > registry_key_; bool is_enrolled_to_domain_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_OS* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Machine : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_Machine(); virtual ~ClientIncidentReport_EnvironmentData_Machine(); ClientIncidentReport_EnvironmentData_Machine(const ClientIncidentReport_EnvironmentData_Machine& from); inline ClientIncidentReport_EnvironmentData_Machine& operator=(const ClientIncidentReport_EnvironmentData_Machine& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_Machine& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_Machine* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_Machine* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_Machine* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_Machine& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Machine& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string cpu_architecture = 1; inline bool has_cpu_architecture() const; inline void clear_cpu_architecture(); static const int kCpuArchitectureFieldNumber = 1; inline const ::std::string& cpu_architecture() const; inline void set_cpu_architecture(const ::std::string& value); inline void set_cpu_architecture(const char* value); inline void set_cpu_architecture(const char* value, size_t size); inline ::std::string* mutable_cpu_architecture(); inline ::std::string* release_cpu_architecture(); inline void set_allocated_cpu_architecture(::std::string* cpu_architecture); // optional string cpu_vendor = 2; inline bool has_cpu_vendor() const; inline void clear_cpu_vendor(); static const int kCpuVendorFieldNumber = 2; inline const ::std::string& cpu_vendor() const; inline void set_cpu_vendor(const ::std::string& value); inline void set_cpu_vendor(const char* value); inline void set_cpu_vendor(const char* value, size_t size); inline ::std::string* mutable_cpu_vendor(); inline ::std::string* release_cpu_vendor(); inline void set_allocated_cpu_vendor(::std::string* cpu_vendor); // optional uint32 cpuid = 3; inline bool has_cpuid() const; inline void clear_cpuid(); static const int kCpuidFieldNumber = 3; inline ::google::protobuf::uint32 cpuid() const; inline void set_cpuid(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Machine) private: inline void set_has_cpu_architecture(); inline void clear_has_cpu_architecture(); inline void set_has_cpu_vendor(); inline void clear_has_cpu_vendor(); inline void set_has_cpuid(); inline void clear_has_cpuid(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* cpu_architecture_; ::std::string* cpu_vendor_; ::google::protobuf::uint32 cpuid_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_Machine* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_Patch : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_Process_Patch(); virtual ~ClientIncidentReport_EnvironmentData_Process_Patch(); ClientIncidentReport_EnvironmentData_Process_Patch(const ClientIncidentReport_EnvironmentData_Process_Patch& from); inline ClientIncidentReport_EnvironmentData_Process_Patch& operator=(const ClientIncidentReport_EnvironmentData_Process_Patch& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_Process_Patch& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_Process_Patch* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_Process_Patch* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_Process_Patch* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Patch& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string function = 1; inline bool has_function() const; inline void clear_function(); static const int kFunctionFieldNumber = 1; inline const ::std::string& function() const; inline void set_function(const ::std::string& value); inline void set_function(const char* value); inline void set_function(const char* value, size_t size); inline ::std::string* mutable_function(); inline ::std::string* release_function(); inline void set_allocated_function(::std::string* function); // optional string target_dll = 2; inline bool has_target_dll() const; inline void clear_target_dll(); static const int kTargetDllFieldNumber = 2; inline const ::std::string& target_dll() const; inline void set_target_dll(const ::std::string& value); inline void set_target_dll(const char* value); inline void set_target_dll(const char* value, size_t size); inline ::std::string* mutable_target_dll(); inline ::std::string* release_target_dll(); inline void set_allocated_target_dll(::std::string* target_dll); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch) private: inline void set_has_function(); inline void clear_has_function(); inline void set_has_target_dll(); inline void clear_has_target_dll(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* function_; ::std::string* target_dll_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_Process_Patch* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_NetworkProvider : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_Process_NetworkProvider(); virtual ~ClientIncidentReport_EnvironmentData_Process_NetworkProvider(); ClientIncidentReport_EnvironmentData_Process_NetworkProvider(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from); inline ClientIncidentReport_EnvironmentData_Process_NetworkProvider& operator=(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_Process_NetworkProvider* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_Process_NetworkProvider* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_Process_NetworkProvider* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_NetworkProvider& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider) private: ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_Process_NetworkProvider* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_Dll : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_Process_Dll(); virtual ~ClientIncidentReport_EnvironmentData_Process_Dll(); ClientIncidentReport_EnvironmentData_Process_Dll(const ClientIncidentReport_EnvironmentData_Process_Dll& from); inline ClientIncidentReport_EnvironmentData_Process_Dll& operator=(const ClientIncidentReport_EnvironmentData_Process_Dll& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_Process_Dll& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_Process_Dll* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_Process_Dll* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_Process_Dll* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_Dll& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_Process_Dll_Feature Feature; static const Feature UNKNOWN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_UNKNOWN; static const Feature LSP = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP; static inline bool Feature_IsValid(int value) { return ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value); } static const Feature Feature_MIN = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MIN; static const Feature Feature_MAX = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_MAX; static const int Feature_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Dll_Feature_Feature_ARRAYSIZE; // accessors ------------------------------------------------------- // optional string path = 1; inline bool has_path() const; inline void clear_path(); static const int kPathFieldNumber = 1; inline const ::std::string& path() const; inline void set_path(const ::std::string& value); inline void set_path(const char* value); inline void set_path(const char* value, size_t size); inline ::std::string* mutable_path(); inline ::std::string* release_path(); inline void set_allocated_path(::std::string* path); // optional uint64 base_address = 2; inline bool has_base_address() const; inline void clear_base_address(); static const int kBaseAddressFieldNumber = 2; inline ::google::protobuf::uint64 base_address() const; inline void set_base_address(::google::protobuf::uint64 value); // optional uint32 length = 3; inline bool has_length() const; inline void clear_length(); static const int kLengthFieldNumber = 3; inline ::google::protobuf::uint32 length() const; inline void set_length(::google::protobuf::uint32 value); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.Feature feature = 4; inline int feature_size() const; inline void clear_feature(); static const int kFeatureFieldNumber = 4; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature feature(int index) const; inline void set_feature(int index, ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value); inline void add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value); inline const ::google::protobuf::RepeatedField& feature() const; inline ::google::protobuf::RepeatedField* mutable_feature(); // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5; inline bool has_image_headers() const; inline void clear_image_headers(); static const int kImageHeadersFieldNumber = 5; inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& image_headers() const; inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* mutable_image_headers(); inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* release_image_headers(); inline void set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll) private: inline void set_has_path(); inline void clear_has_path(); inline void set_has_base_address(); inline void clear_has_base_address(); inline void set_has_length(); inline void clear_has_length(); inline void set_has_image_headers(); inline void clear_has_image_headers(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* path_; ::google::protobuf::uint64 base_address_; ::google::protobuf::RepeatedField feature_; ::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers_; ::google::protobuf::uint32 length_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_Process_Dll* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(); virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(); ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from); inline ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional uint32 file_offset = 1; inline bool has_file_offset() const; inline void clear_file_offset(); static const int kFileOffsetFieldNumber = 1; inline ::google::protobuf::uint32 file_offset() const; inline void set_file_offset(::google::protobuf::uint32 value); // optional int32 byte_count = 2; inline bool has_byte_count() const; inline void clear_byte_count(); static const int kByteCountFieldNumber = 2; inline ::google::protobuf::int32 byte_count() const; inline void set_byte_count(::google::protobuf::int32 value); // optional bytes modified_bytes = 3; inline bool has_modified_bytes() const; inline void clear_modified_bytes(); static const int kModifiedBytesFieldNumber = 3; inline const ::std::string& modified_bytes() const; inline void set_modified_bytes(const ::std::string& value); inline void set_modified_bytes(const char* value); inline void set_modified_bytes(const void* value, size_t size); inline ::std::string* mutable_modified_bytes(); inline ::std::string* release_modified_bytes(); inline void set_allocated_modified_bytes(::std::string* modified_bytes); // optional string export_name = 4; inline bool has_export_name() const; inline void clear_export_name(); static const int kExportNameFieldNumber = 4; inline const ::std::string& export_name() const; inline void set_export_name(const ::std::string& value); inline void set_export_name(const char* value); inline void set_export_name(const char* value, size_t size); inline ::std::string* mutable_export_name(); inline ::std::string* release_export_name(); inline void set_allocated_export_name(::std::string* export_name); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification) private: inline void set_has_file_offset(); inline void clear_has_file_offset(); inline void set_has_byte_count(); inline void clear_has_byte_count(); inline void set_has_modified_bytes(); inline void clear_has_modified_bytes(); inline void set_has_export_name(); inline void clear_has_export_name(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::uint32 file_offset_; ::google::protobuf::int32 byte_count_; ::std::string* modified_bytes_; ::std::string* export_name_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process_ModuleState : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_Process_ModuleState(); virtual ~ClientIncidentReport_EnvironmentData_Process_ModuleState(); ClientIncidentReport_EnvironmentData_Process_ModuleState(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from); inline ClientIncidentReport_EnvironmentData_Process_ModuleState& operator=(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_Process_ModuleState& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_Process_ModuleState* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_Process_ModuleState* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_Process_ModuleState* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process_ModuleState& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification Modification; typedef ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState ModifiedState; static const ModifiedState UNKNOWN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_UNKNOWN; static const ModifiedState MODULE_STATE_UNKNOWN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNKNOWN; static const ModifiedState MODULE_STATE_UNMODIFIED = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_MODULE_STATE_UNMODIFIED; static const 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 const ModifiedState ModifiedState_MIN = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MIN; static const ModifiedState ModifiedState_MAX = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_MAX; static const int ModifiedState_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_ModifiedState_ARRAYSIZE; // accessors ------------------------------------------------------- // optional string name = 1; inline bool has_name() const; inline void clear_name(); static const int kNameFieldNumber = 1; inline const ::std::string& name() const; inline void set_name(const ::std::string& value); inline void set_name(const char* value); inline void set_name(const char* value, size_t size); inline ::std::string* mutable_name(); inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.ModifiedState modified_state = 2; inline bool has_modified_state() const; inline void clear_modified_state(); static const int kModifiedStateFieldNumber = 2; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState modified_state() const; inline void set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value); // repeated string OBSOLETE_modified_export = 3; inline int obsolete_modified_export_size() const; inline void clear_obsolete_modified_export(); static const int kOBSOLETEModifiedExportFieldNumber = 3; inline const ::std::string& obsolete_modified_export(int index) const; inline ::std::string* mutable_obsolete_modified_export(int index); inline void set_obsolete_modified_export(int index, const ::std::string& value); inline void set_obsolete_modified_export(int index, const char* value); inline void set_obsolete_modified_export(int index, const char* value, size_t size); inline ::std::string* add_obsolete_modified_export(); inline void add_obsolete_modified_export(const ::std::string& value); inline void add_obsolete_modified_export(const char* value); inline void add_obsolete_modified_export(const char* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& obsolete_modified_export() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_obsolete_modified_export(); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification modification = 4; inline int modification_size() const; inline void clear_modification(); static const int kModificationFieldNumber = 4; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification& modification(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* mutable_modification(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification* add_modification(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >& modification() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification >* mutable_modification(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState) private: inline void set_has_name(); inline void clear_has_name(); inline void set_has_modified_state(); inline void clear_has_modified_state(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* name_; ::google::protobuf::RepeatedPtrField< ::std::string> obsolete_modified_export_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification > modification_; int modified_state_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_Process_ModuleState* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData_Process : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData_Process(); virtual ~ClientIncidentReport_EnvironmentData_Process(); ClientIncidentReport_EnvironmentData_Process(const ClientIncidentReport_EnvironmentData_Process& from); inline ClientIncidentReport_EnvironmentData_Process& operator=(const ClientIncidentReport_EnvironmentData_Process& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData_Process& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData_Process* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData_Process* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData_Process* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData_Process& from); void MergeFrom(const ClientIncidentReport_EnvironmentData_Process& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // 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 const Channel CHANNEL_UNKNOWN = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_UNKNOWN; static const Channel CHANNEL_CANARY = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_CANARY; static const Channel CHANNEL_DEV = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_DEV; static const Channel CHANNEL_BETA = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_BETA; static const Channel CHANNEL_STABLE = ClientIncidentReport_EnvironmentData_Process_Channel_CHANNEL_STABLE; static inline bool Channel_IsValid(int value) { return ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(value); } static const Channel Channel_MIN = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MIN; static const Channel Channel_MAX = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_MAX; static const int Channel_ARRAYSIZE = ClientIncidentReport_EnvironmentData_Process_Channel_Channel_ARRAYSIZE; // accessors ------------------------------------------------------- // optional string version = 1; inline bool has_version() const; inline void clear_version(); static const int kVersionFieldNumber = 1; inline const ::std::string& version() const; inline void set_version(const ::std::string& value); inline void set_version(const char* value); inline void set_version(const char* value, size_t size); inline ::std::string* mutable_version(); inline ::std::string* release_version(); inline void set_allocated_version(::std::string* version); // repeated string OBSOLETE_dlls = 2; inline int obsolete_dlls_size() const; inline void clear_obsolete_dlls(); static const int kOBSOLETEDllsFieldNumber = 2; inline const ::std::string& obsolete_dlls(int index) const; inline ::std::string* mutable_obsolete_dlls(int index); inline void set_obsolete_dlls(int index, const ::std::string& value); inline void set_obsolete_dlls(int index, const char* value); inline void set_obsolete_dlls(int index, const char* value, size_t size); inline ::std::string* add_obsolete_dlls(); inline void add_obsolete_dlls(const ::std::string& value); inline void add_obsolete_dlls(const char* value); inline void add_obsolete_dlls(const char* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& obsolete_dlls() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_obsolete_dlls(); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch patches = 3; inline int patches_size() const; inline void clear_patches(); static const int kPatchesFieldNumber = 3; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch& patches(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* mutable_patches(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* add_patches(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >& patches() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch >* mutable_patches(); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider network_providers = 4; inline int network_providers_size() const; inline void clear_network_providers(); static const int kNetworkProvidersFieldNumber = 4; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider& network_providers(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* mutable_network_providers(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider* add_network_providers(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >& network_providers() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider >* mutable_network_providers(); // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Channel chrome_update_channel = 5; inline bool has_chrome_update_channel() const; inline void clear_chrome_update_channel(); static const int kChromeUpdateChannelFieldNumber = 5; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel chrome_update_channel() const; inline void set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value); // optional int64 uptime_msec = 6; inline bool has_uptime_msec() const; inline void clear_uptime_msec(); static const int kUptimeMsecFieldNumber = 6; inline ::google::protobuf::int64 uptime_msec() const; inline void set_uptime_msec(::google::protobuf::int64 value); // optional bool metrics_consent = 7; inline bool has_metrics_consent() const; inline void clear_metrics_consent(); static const int kMetricsConsentFieldNumber = 7; inline bool metrics_consent() const; inline void set_metrics_consent(bool value); // optional bool extended_consent = 8; inline bool has_extended_consent() const; inline void clear_extended_consent(); static const int kExtendedConsentFieldNumber = 8; inline bool extended_consent() const; inline void set_extended_consent(bool value); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll dll = 9; inline int dll_size() const; inline void clear_dll(); static const int kDllFieldNumber = 9; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll& dll(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* mutable_dll(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* add_dll(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >& dll() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll >* mutable_dll(); // repeated string blacklisted_dll = 10; inline int blacklisted_dll_size() const; inline void clear_blacklisted_dll(); static const int kBlacklistedDllFieldNumber = 10; inline const ::std::string& blacklisted_dll(int index) const; inline ::std::string* mutable_blacklisted_dll(int index); inline void set_blacklisted_dll(int index, const ::std::string& value); inline void set_blacklisted_dll(int index, const char* value); inline void set_blacklisted_dll(int index, const char* value, size_t size); inline ::std::string* add_blacklisted_dll(); inline void add_blacklisted_dll(const ::std::string& value); inline void add_blacklisted_dll(const char* value); inline void add_blacklisted_dll(const char* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& blacklisted_dll() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_blacklisted_dll(); // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState module_state = 11; inline int module_state_size() const; inline void clear_module_state(); static const int kModuleStateFieldNumber = 11; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState& module_state(int index) const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* mutable_module_state(int index); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState* add_module_state(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >& module_state() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState >* mutable_module_state(); // optional bool field_trial_participant = 12; inline bool has_field_trial_participant() const; inline void clear_field_trial_participant(); static const int kFieldTrialParticipantFieldNumber = 12; inline bool field_trial_participant() const; inline void set_field_trial_participant(bool value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData.Process) private: inline void set_has_version(); inline void clear_has_version(); inline void set_has_chrome_update_channel(); inline void clear_has_chrome_update_channel(); inline void set_has_uptime_msec(); inline void clear_has_uptime_msec(); inline void set_has_metrics_consent(); inline void clear_has_metrics_consent(); inline void set_has_extended_consent(); inline void clear_has_extended_consent(); inline void set_has_field_trial_participant(); inline void clear_has_field_trial_participant(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* version_; ::google::protobuf::RepeatedPtrField< ::std::string> obsolete_dlls_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch > patches_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_NetworkProvider > network_providers_; ::google::protobuf::int64 uptime_msec_; int chrome_update_channel_; bool metrics_consent_; bool extended_consent_; bool field_trial_participant_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll > dll_; ::google::protobuf::RepeatedPtrField< ::std::string> blacklisted_dll_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState > module_state_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData_Process* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_EnvironmentData : public ::google::protobuf::MessageLite { public: ClientIncidentReport_EnvironmentData(); virtual ~ClientIncidentReport_EnvironmentData(); ClientIncidentReport_EnvironmentData(const ClientIncidentReport_EnvironmentData& from); inline ClientIncidentReport_EnvironmentData& operator=(const ClientIncidentReport_EnvironmentData& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_EnvironmentData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_EnvironmentData* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_EnvironmentData* other); // implements Message ---------------------------------------------- ClientIncidentReport_EnvironmentData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_EnvironmentData& from); void MergeFrom(const ClientIncidentReport_EnvironmentData& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_EnvironmentData_OS OS; typedef ClientIncidentReport_EnvironmentData_Machine Machine; typedef ClientIncidentReport_EnvironmentData_Process Process; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientIncidentReport.EnvironmentData.OS os = 1; inline bool has_os() const; inline void clear_os(); static const int kOsFieldNumber = 1; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& os() const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* mutable_os(); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* release_os(); inline void set_allocated_os(::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os); // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Machine machine = 2; inline bool has_machine() const; inline void clear_machine(); static const int kMachineFieldNumber = 2; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& machine() const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* mutable_machine(); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* release_machine(); inline void set_allocated_machine(::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine); // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process process = 3; inline bool has_process() const; inline void clear_process(); static const int kProcessFieldNumber = 3; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& process() const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* mutable_process(); inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* release_process(); inline void set_allocated_process(::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.EnvironmentData) private: inline void set_has_os(); inline void clear_has_os(); inline void set_has_machine(); inline void clear_has_machine(); inline void set_has_process(); inline void clear_has_process(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os_; ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine_; ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_EnvironmentData* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_ExtensionData_ExtensionInfo : public ::google::protobuf::MessageLite { public: ClientIncidentReport_ExtensionData_ExtensionInfo(); virtual ~ClientIncidentReport_ExtensionData_ExtensionInfo(); ClientIncidentReport_ExtensionData_ExtensionInfo(const ClientIncidentReport_ExtensionData_ExtensionInfo& from); inline ClientIncidentReport_ExtensionData_ExtensionInfo& operator=(const ClientIncidentReport_ExtensionData_ExtensionInfo& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_ExtensionData_ExtensionInfo& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_ExtensionData_ExtensionInfo* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_ExtensionData_ExtensionInfo* other); // implements Message ---------------------------------------------- ClientIncidentReport_ExtensionData_ExtensionInfo* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from); void MergeFrom(const ClientIncidentReport_ExtensionData_ExtensionInfo& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState ExtensionState; static const ExtensionState STATE_UNKNOWN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_UNKNOWN; static const ExtensionState STATE_ENABLED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_ENABLED; static const ExtensionState STATE_DISABLED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_DISABLED; static const ExtensionState STATE_BLACKLISTED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLACKLISTED; static const ExtensionState STATE_BLOCKED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_BLOCKED; static const ExtensionState STATE_TERMINATED = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_STATE_TERMINATED; static inline bool ExtensionState_IsValid(int value) { return ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(value); } static const ExtensionState ExtensionState_MIN = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MIN; static const ExtensionState ExtensionState_MAX = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_MAX; static const int ExtensionState_ARRAYSIZE = ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_ExtensionState_ARRAYSIZE; // accessors ------------------------------------------------------- // optional string id = 1; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 1; inline const ::std::string& id() const; inline void set_id(const ::std::string& value); inline void set_id(const char* value); inline void set_id(const char* value, size_t size); inline ::std::string* mutable_id(); inline ::std::string* release_id(); inline void set_allocated_id(::std::string* id); // optional string version = 2; inline bool has_version() const; inline void clear_version(); static const int kVersionFieldNumber = 2; inline const ::std::string& version() const; inline void set_version(const ::std::string& value); inline void set_version(const char* value); inline void set_version(const char* value, size_t size); inline ::std::string* mutable_version(); inline ::std::string* release_version(); inline void set_allocated_version(::std::string* version); // optional string name = 3; inline bool has_name() const; inline void clear_name(); static const int kNameFieldNumber = 3; inline const ::std::string& name() const; inline void set_name(const ::std::string& value); inline void set_name(const char* value); inline void set_name(const char* value, size_t size); inline ::std::string* mutable_name(); inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); // optional string description = 4; inline bool has_description() const; inline void clear_description(); static const int kDescriptionFieldNumber = 4; inline const ::std::string& description() const; inline void set_description(const ::std::string& value); inline void set_description(const char* value); inline void set_description(const char* value, size_t size); inline ::std::string* mutable_description(); inline ::std::string* release_description(); inline void set_allocated_description(::std::string* description); // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.ExtensionState state = 5 [default = STATE_UNKNOWN]; inline bool has_state() const; inline void clear_state(); static const int kStateFieldNumber = 5; inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState state() const; inline void set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value); // optional int32 type = 6; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 6; inline ::google::protobuf::int32 type() const; inline void set_type(::google::protobuf::int32 value); // optional string update_url = 7; inline bool has_update_url() const; inline void clear_update_url(); static const int kUpdateUrlFieldNumber = 7; inline const ::std::string& update_url() const; inline void set_update_url(const ::std::string& value); inline void set_update_url(const char* value); inline void set_update_url(const char* value, size_t size); inline ::std::string* mutable_update_url(); inline ::std::string* release_update_url(); inline void set_allocated_update_url(::std::string* update_url); // optional bool has_signature_validation = 8; inline bool has_has_signature_validation() const; inline void clear_has_signature_validation(); static const int kHasSignatureValidationFieldNumber = 8; inline bool has_signature_validation() const; inline void set_has_signature_validation(bool value); // optional bool signature_is_valid = 9; inline bool has_signature_is_valid() const; inline void clear_signature_is_valid(); static const int kSignatureIsValidFieldNumber = 9; inline bool signature_is_valid() const; inline void set_signature_is_valid(bool value); // optional bool installed_by_custodian = 10; inline bool has_installed_by_custodian() const; inline void clear_installed_by_custodian(); static const int kInstalledByCustodianFieldNumber = 10; inline bool installed_by_custodian() const; inline void set_installed_by_custodian(bool value); // optional bool installed_by_default = 11; inline bool has_installed_by_default() const; inline void clear_installed_by_default(); static const int kInstalledByDefaultFieldNumber = 11; inline bool installed_by_default() const; inline void set_installed_by_default(bool value); // optional bool installed_by_oem = 12; inline bool has_installed_by_oem() const; inline void clear_installed_by_oem(); static const int kInstalledByOemFieldNumber = 12; inline bool installed_by_oem() const; inline void set_installed_by_oem(bool value); // optional bool from_bookmark = 13; inline bool has_from_bookmark() const; inline void clear_from_bookmark(); static const int kFromBookmarkFieldNumber = 13; inline bool from_bookmark() const; inline void set_from_bookmark(bool value); // optional bool from_webstore = 14; inline bool has_from_webstore() const; inline void clear_from_webstore(); static const int kFromWebstoreFieldNumber = 14; inline bool from_webstore() const; inline void set_from_webstore(bool value); // optional bool converted_from_user_script = 15; inline bool has_converted_from_user_script() const; inline void clear_converted_from_user_script(); static const int kConvertedFromUserScriptFieldNumber = 15; inline bool converted_from_user_script() const; inline void set_converted_from_user_script(bool value); // optional bool may_be_untrusted = 16; inline bool has_may_be_untrusted() const; inline void clear_may_be_untrusted(); static const int kMayBeUntrustedFieldNumber = 16; inline bool may_be_untrusted() const; inline void set_may_be_untrusted(bool value); // optional int64 install_time_msec = 17; inline bool has_install_time_msec() const; inline void clear_install_time_msec(); static const int kInstallTimeMsecFieldNumber = 17; inline ::google::protobuf::int64 install_time_msec() const; inline void set_install_time_msec(::google::protobuf::int64 value); // optional int32 manifest_location_type = 18; inline bool has_manifest_location_type() const; inline void clear_manifest_location_type(); static const int kManifestLocationTypeFieldNumber = 18; inline ::google::protobuf::int32 manifest_location_type() const; inline void set_manifest_location_type(::google::protobuf::int32 value); // optional string manifest = 19; inline bool has_manifest() const; inline void clear_manifest(); static const int kManifestFieldNumber = 19; inline const ::std::string& manifest() const; inline void set_manifest(const ::std::string& value); inline void set_manifest(const char* value); inline void set_manifest(const char* value, size_t size); inline ::std::string* mutable_manifest(); inline ::std::string* release_manifest(); inline void set_allocated_manifest(::std::string* manifest); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo) private: inline void set_has_id(); inline void clear_has_id(); inline void set_has_version(); inline void clear_has_version(); inline void set_has_name(); inline void clear_has_name(); inline void set_has_description(); inline void clear_has_description(); inline void set_has_state(); inline void clear_has_state(); inline void set_has_type(); inline void clear_has_type(); inline void set_has_update_url(); inline void clear_has_update_url(); inline void set_has_has_signature_validation(); inline void clear_has_has_signature_validation(); inline void set_has_signature_is_valid(); inline void clear_has_signature_is_valid(); inline void set_has_installed_by_custodian(); inline void clear_has_installed_by_custodian(); inline void set_has_installed_by_default(); inline void clear_has_installed_by_default(); inline void set_has_installed_by_oem(); inline void clear_has_installed_by_oem(); inline void set_has_from_bookmark(); inline void clear_has_from_bookmark(); inline void set_has_from_webstore(); inline void clear_has_from_webstore(); inline void set_has_converted_from_user_script(); inline void clear_has_converted_from_user_script(); inline void set_has_may_be_untrusted(); inline void clear_has_may_be_untrusted(); inline void set_has_install_time_msec(); inline void clear_has_install_time_msec(); inline void set_has_manifest_location_type(); inline void clear_has_manifest_location_type(); inline void set_has_manifest(); inline void clear_has_manifest(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* id_; ::std::string* version_; ::std::string* name_; ::std::string* description_; int state_; ::google::protobuf::int32 type_; ::std::string* update_url_; 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_; ::google::protobuf::int64 install_time_msec_; bool may_be_untrusted_; ::google::protobuf::int32 manifest_location_type_; ::std::string* manifest_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_ExtensionData_ExtensionInfo* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_ExtensionData : public ::google::protobuf::MessageLite { public: ClientIncidentReport_ExtensionData(); virtual ~ClientIncidentReport_ExtensionData(); ClientIncidentReport_ExtensionData(const ClientIncidentReport_ExtensionData& from); inline ClientIncidentReport_ExtensionData& operator=(const ClientIncidentReport_ExtensionData& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_ExtensionData& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_ExtensionData* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_ExtensionData* other); // implements Message ---------------------------------------------- ClientIncidentReport_ExtensionData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_ExtensionData& from); void MergeFrom(const ClientIncidentReport_ExtensionData& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_ExtensionData_ExtensionInfo ExtensionInfo; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo last_installed_extension = 1; inline bool has_last_installed_extension() const; inline void clear_last_installed_extension(); static const int kLastInstalledExtensionFieldNumber = 1; inline const ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo& last_installed_extension() const; inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* mutable_last_installed_extension(); inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* release_last_installed_extension(); inline void set_allocated_last_installed_extension(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.ExtensionData) private: inline void set_has_last_installed_extension(); inline void clear_has_last_installed_extension(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_ExtensionData* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport_NonBinaryDownloadDetails : public ::google::protobuf::MessageLite { public: ClientIncidentReport_NonBinaryDownloadDetails(); virtual ~ClientIncidentReport_NonBinaryDownloadDetails(); ClientIncidentReport_NonBinaryDownloadDetails(const ClientIncidentReport_NonBinaryDownloadDetails& from); inline ClientIncidentReport_NonBinaryDownloadDetails& operator=(const ClientIncidentReport_NonBinaryDownloadDetails& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport_NonBinaryDownloadDetails& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport_NonBinaryDownloadDetails* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport_NonBinaryDownloadDetails* other); // implements Message ---------------------------------------------- ClientIncidentReport_NonBinaryDownloadDetails* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from); void MergeFrom(const ClientIncidentReport_NonBinaryDownloadDetails& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional string file_type = 1; inline bool has_file_type() const; inline void clear_file_type(); static const int kFileTypeFieldNumber = 1; inline const ::std::string& file_type() const; inline void set_file_type(const ::std::string& value); inline void set_file_type(const char* value); inline void set_file_type(const char* value, size_t size); inline ::std::string* mutable_file_type(); inline ::std::string* release_file_type(); inline void set_allocated_file_type(::std::string* file_type); // optional bytes url_spec_sha256 = 2; inline bool has_url_spec_sha256() const; inline void clear_url_spec_sha256(); static const int kUrlSpecSha256FieldNumber = 2; inline const ::std::string& url_spec_sha256() const; inline void set_url_spec_sha256(const ::std::string& value); inline void set_url_spec_sha256(const char* value); inline void set_url_spec_sha256(const void* value, size_t size); inline ::std::string* mutable_url_spec_sha256(); inline ::std::string* release_url_spec_sha256(); inline void set_allocated_url_spec_sha256(::std::string* url_spec_sha256); // optional string host = 3; inline bool has_host() const; inline void clear_host(); static const int kHostFieldNumber = 3; inline const ::std::string& host() const; inline void set_host(const ::std::string& value); inline void set_host(const char* value); inline void set_host(const char* value, size_t size); inline ::std::string* mutable_host(); inline ::std::string* release_host(); inline void set_allocated_host(::std::string* host); // optional int64 length = 4; inline bool has_length() const; inline void clear_length(); static const int kLengthFieldNumber = 4; inline ::google::protobuf::int64 length() const; inline void set_length(::google::protobuf::int64 value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails) private: inline void set_has_file_type(); inline void clear_has_file_type(); inline void set_has_url_spec_sha256(); inline void clear_has_url_spec_sha256(); inline void set_has_host(); inline void clear_has_host(); inline void set_has_length(); inline void clear_has_length(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* file_type_; ::std::string* url_spec_sha256_; ::std::string* host_; ::google::protobuf::int64 length_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport_NonBinaryDownloadDetails* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentReport : public ::google::protobuf::MessageLite { public: ClientIncidentReport(); virtual ~ClientIncidentReport(); ClientIncidentReport(const ClientIncidentReport& from); inline ClientIncidentReport& operator=(const ClientIncidentReport& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentReport& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentReport* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentReport* other); // implements Message ---------------------------------------------- ClientIncidentReport* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentReport& from); void MergeFrom(const ClientIncidentReport& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentReport_IncidentData IncidentData; typedef ClientIncidentReport_DownloadDetails DownloadDetails; typedef ClientIncidentReport_EnvironmentData EnvironmentData; typedef ClientIncidentReport_ExtensionData ExtensionData; typedef ClientIncidentReport_NonBinaryDownloadDetails NonBinaryDownloadDetails; // accessors ------------------------------------------------------- // repeated .safe_browsing.ClientIncidentReport.IncidentData incident = 1; inline int incident_size() const; inline void clear_incident(); static const int kIncidentFieldNumber = 1; inline const ::safe_browsing::ClientIncidentReport_IncidentData& incident(int index) const; inline ::safe_browsing::ClientIncidentReport_IncidentData* mutable_incident(int index); inline ::safe_browsing::ClientIncidentReport_IncidentData* add_incident(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >& incident() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >* mutable_incident(); // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; inline bool has_download() const; inline void clear_download(); static const int kDownloadFieldNumber = 2; inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const; inline ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download(); inline ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download(); inline void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download); // optional .safe_browsing.ClientIncidentReport.EnvironmentData environment = 3; inline bool has_environment() const; inline void clear_environment(); static const int kEnvironmentFieldNumber = 3; inline const ::safe_browsing::ClientIncidentReport_EnvironmentData& environment() const; inline ::safe_browsing::ClientIncidentReport_EnvironmentData* mutable_environment(); inline ::safe_browsing::ClientIncidentReport_EnvironmentData* release_environment(); inline void set_allocated_environment(::safe_browsing::ClientIncidentReport_EnvironmentData* environment); // optional .safe_browsing.ChromeUserPopulation population = 7; inline bool has_population() const; inline void clear_population(); static const int kPopulationFieldNumber = 7; inline const ::safe_browsing::ChromeUserPopulation& population() const; inline ::safe_browsing::ChromeUserPopulation* mutable_population(); inline ::safe_browsing::ChromeUserPopulation* release_population(); inline void set_allocated_population(::safe_browsing::ChromeUserPopulation* population); // optional .safe_browsing.ClientIncidentReport.ExtensionData extension_data = 8; inline bool has_extension_data() const; inline void clear_extension_data(); static const int kExtensionDataFieldNumber = 8; inline const ::safe_browsing::ClientIncidentReport_ExtensionData& extension_data() const; inline ::safe_browsing::ClientIncidentReport_ExtensionData* mutable_extension_data(); inline ::safe_browsing::ClientIncidentReport_ExtensionData* release_extension_data(); inline void set_allocated_extension_data(::safe_browsing::ClientIncidentReport_ExtensionData* extension_data); // optional .safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails non_binary_download = 9; inline bool has_non_binary_download() const; inline void clear_non_binary_download(); static const int kNonBinaryDownloadFieldNumber = 9; inline const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& non_binary_download() const; inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* mutable_non_binary_download(); inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* release_non_binary_download(); inline void set_allocated_non_binary_download(::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentReport) private: inline void set_has_download(); inline void clear_has_download(); inline void set_has_environment(); inline void clear_has_environment(); inline void set_has_population(); inline void clear_has_population(); inline void set_has_extension_data(); inline void clear_has_extension_data(); inline void set_has_non_binary_download(); inline void clear_has_non_binary_download(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::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_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentReport* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentResponse_EnvironmentRequest : public ::google::protobuf::MessageLite { public: ClientIncidentResponse_EnvironmentRequest(); virtual ~ClientIncidentResponse_EnvironmentRequest(); ClientIncidentResponse_EnvironmentRequest(const ClientIncidentResponse_EnvironmentRequest& from); inline ClientIncidentResponse_EnvironmentRequest& operator=(const ClientIncidentResponse_EnvironmentRequest& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentResponse_EnvironmentRequest& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentResponse_EnvironmentRequest* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentResponse_EnvironmentRequest* other); // implements Message ---------------------------------------------- ClientIncidentResponse_EnvironmentRequest* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentResponse_EnvironmentRequest& from); void MergeFrom(const ClientIncidentResponse_EnvironmentRequest& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional int32 dll_index = 1; inline bool has_dll_index() const; inline void clear_dll_index(); static const int kDllIndexFieldNumber = 1; inline ::google::protobuf::int32 dll_index() const; inline void set_dll_index(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse.EnvironmentRequest) private: inline void set_has_dll_index(); inline void clear_has_dll_index(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::int32 dll_index_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentResponse_EnvironmentRequest* default_instance_; }; // ------------------------------------------------------------------- class ClientIncidentResponse : public ::google::protobuf::MessageLite { public: ClientIncidentResponse(); virtual ~ClientIncidentResponse(); ClientIncidentResponse(const ClientIncidentResponse& from); inline ClientIncidentResponse& operator=(const ClientIncidentResponse& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientIncidentResponse& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientIncidentResponse* internal_default_instance() { return default_instance_; } #endif void Swap(ClientIncidentResponse* other); // implements Message ---------------------------------------------- ClientIncidentResponse* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientIncidentResponse& from); void MergeFrom(const ClientIncidentResponse& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientIncidentResponse_EnvironmentRequest EnvironmentRequest; // accessors ------------------------------------------------------- // optional bytes token = 1; inline bool has_token() const; inline void clear_token(); static const int kTokenFieldNumber = 1; inline const ::std::string& token() const; inline void set_token(const ::std::string& value); inline void set_token(const char* value); inline void set_token(const void* value, size_t size); inline ::std::string* mutable_token(); inline ::std::string* release_token(); inline void set_allocated_token(::std::string* token); // optional bool download_requested = 2; inline bool has_download_requested() const; inline void clear_download_requested(); static const int kDownloadRequestedFieldNumber = 2; inline bool download_requested() const; inline void set_download_requested(bool value); // repeated .safe_browsing.ClientIncidentResponse.EnvironmentRequest environment_requests = 3; inline int environment_requests_size() const; inline void clear_environment_requests(); static const int kEnvironmentRequestsFieldNumber = 3; inline const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& environment_requests(int index) const; inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* mutable_environment_requests(int index); inline ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* add_environment_requests(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >& environment_requests() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >* mutable_environment_requests(); // @@protoc_insertion_point(class_scope:safe_browsing.ClientIncidentResponse) private: inline void set_has_token(); inline void clear_has_token(); inline void set_has_download_requested(); inline void clear_has_download_requested(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* token_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest > environment_requests_; bool download_requested_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientIncidentResponse* default_instance_; }; // ------------------------------------------------------------------- class DownloadMetadata : public ::google::protobuf::MessageLite { public: DownloadMetadata(); virtual ~DownloadMetadata(); DownloadMetadata(const DownloadMetadata& from); inline DownloadMetadata& operator=(const DownloadMetadata& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const DownloadMetadata& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const DownloadMetadata* internal_default_instance() { return default_instance_; } #endif void Swap(DownloadMetadata* other); // implements Message ---------------------------------------------- DownloadMetadata* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const DownloadMetadata& from); void MergeFrom(const DownloadMetadata& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional uint32 download_id = 1; inline bool has_download_id() const; inline void clear_download_id(); static const int kDownloadIdFieldNumber = 1; inline ::google::protobuf::uint32 download_id() const; inline void set_download_id(::google::protobuf::uint32 value); // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; inline bool has_download() const; inline void clear_download(); static const int kDownloadFieldNumber = 2; inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& download() const; inline ::safe_browsing::ClientIncidentReport_DownloadDetails* mutable_download(); inline ::safe_browsing::ClientIncidentReport_DownloadDetails* release_download(); inline void set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download); // @@protoc_insertion_point(class_scope:safe_browsing.DownloadMetadata) private: inline void set_has_download_id(); inline void clear_has_download_id(); inline void set_has_download(); inline void clear_has_download(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientIncidentReport_DownloadDetails* download_; ::google::protobuf::uint32 download_id_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static DownloadMetadata* default_instance_; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPHeader : public ::google::protobuf::MessageLite { public: ClientSafeBrowsingReportRequest_HTTPHeader(); virtual ~ClientSafeBrowsingReportRequest_HTTPHeader(); ClientSafeBrowsingReportRequest_HTTPHeader(const ClientSafeBrowsingReportRequest_HTTPHeader& from); inline ClientSafeBrowsingReportRequest_HTTPHeader& operator=(const ClientSafeBrowsingReportRequest_HTTPHeader& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientSafeBrowsingReportRequest_HTTPHeader& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientSafeBrowsingReportRequest_HTTPHeader* internal_default_instance() { return default_instance_; } #endif void Swap(ClientSafeBrowsingReportRequest_HTTPHeader* other); // implements Message ---------------------------------------------- ClientSafeBrowsingReportRequest_HTTPHeader* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPHeader& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required bytes name = 1; inline bool has_name() const; inline void clear_name(); static const int kNameFieldNumber = 1; inline const ::std::string& name() const; inline void set_name(const ::std::string& value); inline void set_name(const char* value); inline void set_name(const void* value, size_t size); inline ::std::string* mutable_name(); inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); // optional bytes value = 2; inline bool has_value() const; inline void clear_value(); static const int kValueFieldNumber = 2; inline const ::std::string& value() const; inline void set_value(const ::std::string& value); inline void set_value(const char* value); inline void set_value(const void* value, size_t size); inline ::std::string* mutable_value(); inline ::std::string* release_value(); inline void set_allocated_value(::std::string* value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader) private: inline void set_has_name(); inline void clear_has_name(); inline void set_has_value(); inline void clear_has_value(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* name_; ::std::string* value_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientSafeBrowsingReportRequest_HTTPHeader* default_instance_; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine : public ::google::protobuf::MessageLite { public: ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(); virtual ~ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(); ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from); inline ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* internal_default_instance() { return default_instance_; } #endif void Swap(ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* other); // implements Message ---------------------------------------------- ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional bytes verb = 1; inline bool has_verb() const; inline void clear_verb(); static const int kVerbFieldNumber = 1; inline const ::std::string& verb() const; inline void set_verb(const ::std::string& value); inline void set_verb(const char* value); inline void set_verb(const void* value, size_t size); inline ::std::string* mutable_verb(); inline ::std::string* release_verb(); inline void set_allocated_verb(::std::string* verb); // optional bytes uri = 2; inline bool has_uri() const; inline void clear_uri(); static const int kUriFieldNumber = 2; inline const ::std::string& uri() const; inline void set_uri(const ::std::string& value); inline void set_uri(const char* value); inline void set_uri(const void* value, size_t size); inline ::std::string* mutable_uri(); inline ::std::string* release_uri(); inline void set_allocated_uri(::std::string* uri); // optional bytes version = 3; inline bool has_version() const; inline void clear_version(); static const int kVersionFieldNumber = 3; inline const ::std::string& version() const; inline void set_version(const ::std::string& value); inline void set_version(const char* value); inline void set_version(const void* value, size_t size); inline ::std::string* mutable_version(); inline ::std::string* release_version(); inline void set_allocated_version(::std::string* version); // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine) private: inline void set_has_verb(); inline void clear_has_verb(); inline void set_has_uri(); inline void clear_has_uri(); inline void set_has_version(); inline void clear_has_version(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* verb_; ::std::string* uri_; ::std::string* version_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* default_instance_; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPRequest : public ::google::protobuf::MessageLite { public: ClientSafeBrowsingReportRequest_HTTPRequest(); virtual ~ClientSafeBrowsingReportRequest_HTTPRequest(); ClientSafeBrowsingReportRequest_HTTPRequest(const ClientSafeBrowsingReportRequest_HTTPRequest& from); inline ClientSafeBrowsingReportRequest_HTTPRequest& operator=(const ClientSafeBrowsingReportRequest_HTTPRequest& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientSafeBrowsingReportRequest_HTTPRequest& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientSafeBrowsingReportRequest_HTTPRequest* internal_default_instance() { return default_instance_; } #endif void Swap(ClientSafeBrowsingReportRequest_HTTPRequest* other); // implements Message ---------------------------------------------- ClientSafeBrowsingReportRequest_HTTPRequest* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPRequest& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine FirstLine; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine firstline = 1; inline bool has_firstline() const; inline void clear_firstline(); static const int kFirstlineFieldNumber = 1; inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& firstline() const; inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* mutable_firstline(); inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* release_firstline(); inline void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline); // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; inline int headers_size() const; inline void clear_headers(); static const int kHeadersFieldNumber = 2; inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const; inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index); inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& headers() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* mutable_headers(); // optional bytes body = 3; inline bool has_body() const; inline void clear_body(); static const int kBodyFieldNumber = 3; inline const ::std::string& body() const; inline void set_body(const ::std::string& value); inline void set_body(const char* value); inline void set_body(const void* value, size_t size); inline ::std::string* mutable_body(); inline ::std::string* release_body(); inline void set_allocated_body(::std::string* body); // optional bytes bodydigest = 4; inline bool has_bodydigest() const; inline void clear_bodydigest(); static const int kBodydigestFieldNumber = 4; inline const ::std::string& bodydigest() const; inline void set_bodydigest(const ::std::string& value); inline void set_bodydigest(const char* value); inline void set_bodydigest(const void* value, size_t size); inline ::std::string* mutable_bodydigest(); inline ::std::string* release_bodydigest(); inline void set_allocated_bodydigest(::std::string* bodydigest); // optional int32 bodylength = 5; inline bool has_bodylength() const; inline void clear_bodylength(); static const int kBodylengthFieldNumber = 5; inline ::google::protobuf::int32 bodylength() const; inline void set_bodylength(::google::protobuf::int32 value); // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest) private: inline void set_has_firstline(); inline void clear_has_firstline(); inline void set_has_body(); inline void clear_has_body(); inline void set_has_bodydigest(); inline void clear_has_bodydigest(); inline void set_has_bodylength(); inline void clear_has_bodylength(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_; ::std::string* body_; ::std::string* bodydigest_; ::google::protobuf::int32 bodylength_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientSafeBrowsingReportRequest_HTTPRequest* default_instance_; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine : public ::google::protobuf::MessageLite { public: ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(); virtual ~ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(); ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from); inline ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* internal_default_instance() { return default_instance_; } #endif void Swap(ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* other); // implements Message ---------------------------------------------- ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // optional int32 code = 1; inline bool has_code() const; inline void clear_code(); static const int kCodeFieldNumber = 1; inline ::google::protobuf::int32 code() const; inline void set_code(::google::protobuf::int32 value); // optional bytes reason = 2; inline bool has_reason() const; inline void clear_reason(); static const int kReasonFieldNumber = 2; inline const ::std::string& reason() const; inline void set_reason(const ::std::string& value); inline void set_reason(const char* value); inline void set_reason(const void* value, size_t size); inline ::std::string* mutable_reason(); inline ::std::string* release_reason(); inline void set_allocated_reason(::std::string* reason); // optional bytes version = 3; inline bool has_version() const; inline void clear_version(); static const int kVersionFieldNumber = 3; inline const ::std::string& version() const; inline void set_version(const ::std::string& value); inline void set_version(const char* value); inline void set_version(const void* value, size_t size); inline ::std::string* mutable_version(); inline ::std::string* release_version(); inline void set_allocated_version(::std::string* version); // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine) private: inline void set_has_code(); inline void clear_has_code(); inline void set_has_reason(); inline void clear_has_reason(); inline void set_has_version(); inline void clear_has_version(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* reason_; ::std::string* version_; ::google::protobuf::int32 code_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* default_instance_; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_HTTPResponse : public ::google::protobuf::MessageLite { public: ClientSafeBrowsingReportRequest_HTTPResponse(); virtual ~ClientSafeBrowsingReportRequest_HTTPResponse(); ClientSafeBrowsingReportRequest_HTTPResponse(const ClientSafeBrowsingReportRequest_HTTPResponse& from); inline ClientSafeBrowsingReportRequest_HTTPResponse& operator=(const ClientSafeBrowsingReportRequest_HTTPResponse& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientSafeBrowsingReportRequest_HTTPResponse& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientSafeBrowsingReportRequest_HTTPResponse* internal_default_instance() { return default_instance_; } #endif void Swap(ClientSafeBrowsingReportRequest_HTTPResponse* other); // implements Message ---------------------------------------------- ClientSafeBrowsingReportRequest_HTTPResponse* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from); void MergeFrom(const ClientSafeBrowsingReportRequest_HTTPResponse& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine FirstLine; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine firstline = 1; inline bool has_firstline() const; inline void clear_firstline(); static const int kFirstlineFieldNumber = 1; inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& firstline() const; inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* mutable_firstline(); inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* release_firstline(); inline void set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline); // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; inline int headers_size() const; inline void clear_headers(); static const int kHeadersFieldNumber = 2; inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& headers(int index) const; inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* mutable_headers(int index); inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* add_headers(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& headers() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* mutable_headers(); // optional bytes body = 3; inline bool has_body() const; inline void clear_body(); static const int kBodyFieldNumber = 3; inline const ::std::string& body() const; inline void set_body(const ::std::string& value); inline void set_body(const char* value); inline void set_body(const void* value, size_t size); inline ::std::string* mutable_body(); inline ::std::string* release_body(); inline void set_allocated_body(::std::string* body); // optional bytes bodydigest = 4; inline bool has_bodydigest() const; inline void clear_bodydigest(); static const int kBodydigestFieldNumber = 4; inline const ::std::string& bodydigest() const; inline void set_bodydigest(const ::std::string& value); inline void set_bodydigest(const char* value); inline void set_bodydigest(const void* value, size_t size); inline ::std::string* mutable_bodydigest(); inline ::std::string* release_bodydigest(); inline void set_allocated_bodydigest(::std::string* bodydigest); // optional int32 bodylength = 5; inline bool has_bodylength() const; inline void clear_bodylength(); static const int kBodylengthFieldNumber = 5; inline ::google::protobuf::int32 bodylength() const; inline void set_bodylength(::google::protobuf::int32 value); // optional bytes remote_ip = 6; inline bool has_remote_ip() const; inline void clear_remote_ip(); static const int kRemoteIpFieldNumber = 6; inline const ::std::string& remote_ip() const; inline void set_remote_ip(const ::std::string& value); inline void set_remote_ip(const char* value); inline void set_remote_ip(const void* value, size_t size); inline ::std::string* mutable_remote_ip(); inline ::std::string* release_remote_ip(); inline void set_allocated_remote_ip(::std::string* remote_ip); // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse) private: inline void set_has_firstline(); inline void clear_has_firstline(); inline void set_has_body(); inline void clear_has_body(); inline void set_has_bodydigest(); inline void clear_has_bodydigest(); inline void set_has_bodylength(); inline void clear_has_bodylength(); inline void set_has_remote_ip(); inline void clear_has_remote_ip(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader > headers_; ::std::string* body_; ::std::string* bodydigest_; ::std::string* remote_ip_; ::google::protobuf::int32 bodylength_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientSafeBrowsingReportRequest_HTTPResponse* default_instance_; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest_Resource : public ::google::protobuf::MessageLite { public: ClientSafeBrowsingReportRequest_Resource(); virtual ~ClientSafeBrowsingReportRequest_Resource(); ClientSafeBrowsingReportRequest_Resource(const ClientSafeBrowsingReportRequest_Resource& from); inline ClientSafeBrowsingReportRequest_Resource& operator=(const ClientSafeBrowsingReportRequest_Resource& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientSafeBrowsingReportRequest_Resource& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientSafeBrowsingReportRequest_Resource* internal_default_instance() { return default_instance_; } #endif void Swap(ClientSafeBrowsingReportRequest_Resource* other); // implements Message ---------------------------------------------- ClientSafeBrowsingReportRequest_Resource* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientSafeBrowsingReportRequest_Resource& from); void MergeFrom(const ClientSafeBrowsingReportRequest_Resource& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- // required int32 id = 1; inline bool has_id() const; inline void clear_id(); static const int kIdFieldNumber = 1; inline ::google::protobuf::int32 id() const; inline void set_id(::google::protobuf::int32 value); // optional string url = 2; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 2; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest request = 3; inline bool has_request() const; inline void clear_request(); static const int kRequestFieldNumber = 3; inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& request() const; inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* mutable_request(); inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* release_request(); inline void set_allocated_request(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request); // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse response = 4; inline bool has_response() const; inline void clear_response(); static const int kResponseFieldNumber = 4; inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& response() const; inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* mutable_response(); inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* release_response(); inline void set_allocated_response(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response); // optional int32 parent_id = 5; inline bool has_parent_id() const; inline void clear_parent_id(); static const int kParentIdFieldNumber = 5; inline ::google::protobuf::int32 parent_id() const; inline void set_parent_id(::google::protobuf::int32 value); // repeated int32 child_ids = 6; inline int child_ids_size() const; inline void clear_child_ids(); static const int kChildIdsFieldNumber = 6; inline ::google::protobuf::int32 child_ids(int index) const; inline void set_child_ids(int index, ::google::protobuf::int32 value); inline void add_child_ids(::google::protobuf::int32 value); inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& child_ids() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* mutable_child_ids(); // optional string tag_name = 7; inline bool has_tag_name() const; inline void clear_tag_name(); static const int kTagNameFieldNumber = 7; inline const ::std::string& tag_name() const; inline void set_tag_name(const ::std::string& value); inline void set_tag_name(const char* value); inline void set_tag_name(const char* value, size_t size); inline ::std::string* mutable_tag_name(); inline ::std::string* release_tag_name(); inline void set_allocated_tag_name(::std::string* tag_name); // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest.Resource) private: inline void set_has_id(); inline void clear_has_id(); inline void set_has_url(); inline void clear_has_url(); inline void set_has_request(); inline void clear_has_request(); inline void set_has_response(); inline void clear_has_response(); inline void set_has_parent_id(); inline void clear_has_parent_id(); inline void set_has_tag_name(); inline void clear_has_tag_name(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* url_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request_; ::google::protobuf::int32 id_; ::google::protobuf::int32 parent_id_; ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response_; ::google::protobuf::RepeatedField< ::google::protobuf::int32 > child_ids_; ::std::string* tag_name_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientSafeBrowsingReportRequest_Resource* default_instance_; }; // ------------------------------------------------------------------- class ClientSafeBrowsingReportRequest : public ::google::protobuf::MessageLite { public: ClientSafeBrowsingReportRequest(); virtual ~ClientSafeBrowsingReportRequest(); ClientSafeBrowsingReportRequest(const ClientSafeBrowsingReportRequest& from); inline ClientSafeBrowsingReportRequest& operator=(const ClientSafeBrowsingReportRequest& from) { CopyFrom(from); return *this; } inline const ::std::string& unknown_fields() const { return _unknown_fields_; } inline ::std::string* mutable_unknown_fields() { return &_unknown_fields_; } static const ClientSafeBrowsingReportRequest& default_instance(); #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER // Returns the internal default instance pointer. This function can // return NULL thus should not be used by the user. This is intended // for Protobuf internal code. Please use default_instance() declared // above instead. static inline const ClientSafeBrowsingReportRequest* internal_default_instance() { return default_instance_; } #endif void Swap(ClientSafeBrowsingReportRequest* other); // implements Message ---------------------------------------------- ClientSafeBrowsingReportRequest* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ClientSafeBrowsingReportRequest& from); void MergeFrom(const ClientSafeBrowsingReportRequest& from); void Clear(); bool IsInitialized() const; int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); void SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const; void DiscardUnknownFields(); int GetCachedSize() const { return _cached_size_; } private: void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; public: ::std::string GetTypeName() const; // nested types ---------------------------------------------------- typedef ClientSafeBrowsingReportRequest_HTTPHeader HTTPHeader; typedef ClientSafeBrowsingReportRequest_HTTPRequest HTTPRequest; typedef ClientSafeBrowsingReportRequest_HTTPResponse HTTPResponse; typedef ClientSafeBrowsingReportRequest_Resource Resource; typedef ClientSafeBrowsingReportRequest_ReportType ReportType; static const ReportType UNKNOWN = ClientSafeBrowsingReportRequest_ReportType_UNKNOWN; static const ReportType URL_PHISHING = ClientSafeBrowsingReportRequest_ReportType_URL_PHISHING; static const ReportType URL_MALWARE = ClientSafeBrowsingReportRequest_ReportType_URL_MALWARE; static const ReportType URL_UNWANTED = ClientSafeBrowsingReportRequest_ReportType_URL_UNWANTED; static const ReportType CLIENT_SIDE_PHISHING_URL = ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_PHISHING_URL; static const ReportType CLIENT_SIDE_MALWARE_URL = ClientSafeBrowsingReportRequest_ReportType_CLIENT_SIDE_MALWARE_URL; static const ReportType DANGEROUS_DOWNLOAD_RECOVERY = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_RECOVERY; static const ReportType DANGEROUS_DOWNLOAD_WARNING = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_WARNING; static const ReportType DANGEROUS_DOWNLOAD_BY_API = ClientSafeBrowsingReportRequest_ReportType_DANGEROUS_DOWNLOAD_BY_API; static inline bool ReportType_IsValid(int value) { return ClientSafeBrowsingReportRequest_ReportType_IsValid(value); } static const ReportType ReportType_MIN = ClientSafeBrowsingReportRequest_ReportType_ReportType_MIN; static const ReportType ReportType_MAX = ClientSafeBrowsingReportRequest_ReportType_ReportType_MAX; static const int ReportType_ARRAYSIZE = ClientSafeBrowsingReportRequest_ReportType_ReportType_ARRAYSIZE; // accessors ------------------------------------------------------- // optional .safe_browsing.ClientSafeBrowsingReportRequest.ReportType type = 10; inline bool has_type() const; inline void clear_type(); static const int kTypeFieldNumber = 10; inline ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType type() const; inline void set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value); // optional .safe_browsing.ClientDownloadResponse.Verdict download_verdict = 11; inline bool has_download_verdict() const; inline void clear_download_verdict(); static const int kDownloadVerdictFieldNumber = 11; inline ::safe_browsing::ClientDownloadResponse_Verdict download_verdict() const; inline void set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value); // optional string url = 1; inline bool has_url() const; inline void clear_url(); static const int kUrlFieldNumber = 1; inline const ::std::string& url() const; inline void set_url(const ::std::string& value); inline void set_url(const char* value); inline void set_url(const char* value, size_t size); inline ::std::string* mutable_url(); inline ::std::string* release_url(); inline void set_allocated_url(::std::string* url); // optional string page_url = 2; inline bool has_page_url() const; inline void clear_page_url(); static const int kPageUrlFieldNumber = 2; inline const ::std::string& page_url() const; inline void set_page_url(const ::std::string& value); inline void set_page_url(const char* value); inline void set_page_url(const char* value, size_t size); inline ::std::string* mutable_page_url(); inline ::std::string* release_page_url(); inline void set_allocated_page_url(::std::string* page_url); // optional string referrer_url = 3; inline bool has_referrer_url() const; inline void clear_referrer_url(); static const int kReferrerUrlFieldNumber = 3; inline const ::std::string& referrer_url() const; inline void set_referrer_url(const ::std::string& value); inline void set_referrer_url(const char* value); inline void set_referrer_url(const char* value, size_t size); inline ::std::string* mutable_referrer_url(); inline ::std::string* release_referrer_url(); inline void set_allocated_referrer_url(::std::string* referrer_url); // repeated .safe_browsing.ClientSafeBrowsingReportRequest.Resource resources = 4; inline int resources_size() const; inline void clear_resources(); static const int kResourcesFieldNumber = 4; inline const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& resources(int index) const; inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* mutable_resources(int index); inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* add_resources(); inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >& resources() const; inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >* mutable_resources(); // optional bool complete = 5; inline bool has_complete() const; inline void clear_complete(); static const int kCompleteFieldNumber = 5; inline bool complete() const; inline void set_complete(bool value); // repeated string client_asn = 6; inline int client_asn_size() const; inline void clear_client_asn(); static const int kClientAsnFieldNumber = 6; inline const ::std::string& client_asn(int index) const; inline ::std::string* mutable_client_asn(int index); inline void set_client_asn(int index, const ::std::string& value); inline void set_client_asn(int index, const char* value); inline void set_client_asn(int index, const char* value, size_t size); inline ::std::string* add_client_asn(); inline void add_client_asn(const ::std::string& value); inline void add_client_asn(const char* value); inline void add_client_asn(const char* value, size_t size); inline const ::google::protobuf::RepeatedPtrField< ::std::string>& client_asn() const; inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_client_asn(); // optional string client_country = 7; inline bool has_client_country() const; inline void clear_client_country(); static const int kClientCountryFieldNumber = 7; inline const ::std::string& client_country() const; inline void set_client_country(const ::std::string& value); inline void set_client_country(const char* value); inline void set_client_country(const char* value, size_t size); inline ::std::string* mutable_client_country(); inline ::std::string* release_client_country(); inline void set_allocated_client_country(::std::string* client_country); // optional bool did_proceed = 8; inline bool has_did_proceed() const; inline void clear_did_proceed(); static const int kDidProceedFieldNumber = 8; inline bool did_proceed() const; inline void set_did_proceed(bool value); // optional bool repeat_visit = 9; inline bool has_repeat_visit() const; inline void clear_repeat_visit(); static const int kRepeatVisitFieldNumber = 9; inline bool repeat_visit() const; inline void set_repeat_visit(bool value); // optional bytes token = 15; inline bool has_token() const; inline void clear_token(); static const int kTokenFieldNumber = 15; inline const ::std::string& token() const; inline void set_token(const ::std::string& value); inline void set_token(const char* value); inline void set_token(const void* value, size_t size); inline ::std::string* mutable_token(); inline ::std::string* release_token(); inline void set_allocated_token(::std::string* token); // @@protoc_insertion_point(class_scope:safe_browsing.ClientSafeBrowsingReportRequest) private: inline void set_has_type(); inline void clear_has_type(); inline void set_has_download_verdict(); inline void clear_has_download_verdict(); inline void set_has_url(); inline void clear_has_url(); inline void set_has_page_url(); inline void clear_has_page_url(); inline void set_has_referrer_url(); inline void clear_has_referrer_url(); inline void set_has_complete(); inline void clear_has_complete(); inline void set_has_client_country(); inline void clear_has_client_country(); inline void set_has_did_proceed(); inline void clear_has_did_proceed(); inline void set_has_repeat_visit(); inline void clear_has_repeat_visit(); inline void set_has_token(); inline void clear_has_token(); ::std::string _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; int type_; int download_verdict_; ::std::string* url_; ::std::string* page_url_; ::std::string* referrer_url_; ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource > resources_; ::google::protobuf::RepeatedPtrField< ::std::string> client_asn_; ::std::string* client_country_; ::std::string* token_; bool complete_; bool did_proceed_; bool repeat_visit_; #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto_impl(); #else friend void protobuf_AddDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); #endif friend void protobuf_AssignDesc_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); friend void protobuf_ShutdownFile_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto(); void InitAsDefaultInstance(); static ClientSafeBrowsingReportRequest* default_instance_; }; // =================================================================== // =================================================================== // ChromeUserPopulation // optional .safe_browsing.ChromeUserPopulation.UserPopulation user_population = 1; inline bool ChromeUserPopulation::has_user_population() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ChromeUserPopulation::set_has_user_population() { _has_bits_[0] |= 0x00000001u; } inline void ChromeUserPopulation::clear_has_user_population() { _has_bits_[0] &= ~0x00000001u; } inline void ChromeUserPopulation::clear_user_population() { user_population_ = 0; clear_has_user_population(); } inline ::safe_browsing::ChromeUserPopulation_UserPopulation ChromeUserPopulation::user_population() const { // @@protoc_insertion_point(field_get:safe_browsing.ChromeUserPopulation.user_population) return static_cast< ::safe_browsing::ChromeUserPopulation_UserPopulation >(user_population_); } inline void ChromeUserPopulation::set_user_population(::safe_browsing::ChromeUserPopulation_UserPopulation value) { assert(::safe_browsing::ChromeUserPopulation_UserPopulation_IsValid(value)); set_has_user_population(); user_population_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ChromeUserPopulation.user_population) } // ------------------------------------------------------------------- // ClientPhishingRequest_Feature // required string name = 1; inline bool ClientPhishingRequest_Feature::has_name() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientPhishingRequest_Feature::set_has_name() { _has_bits_[0] |= 0x00000001u; } inline void ClientPhishingRequest_Feature::clear_has_name() { _has_bits_[0] &= ~0x00000001u; } inline void ClientPhishingRequest_Feature::clear_name() { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); } clear_has_name(); } inline const ::std::string& ClientPhishingRequest_Feature::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.Feature.name) return *name_; } inline void ClientPhishingRequest_Feature::set_name(const ::std::string& value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.Feature.name) } inline void ClientPhishingRequest_Feature::set_name(const char* value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.Feature.name) } inline void ClientPhishingRequest_Feature::set_name(const char* value, size_t size) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.Feature.name) } inline ::std::string* ClientPhishingRequest_Feature::mutable_name() { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.Feature.name) return name_; } inline ::std::string* ClientPhishingRequest_Feature::release_name() { clear_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = name_; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientPhishingRequest_Feature::set_allocated_name(::std::string* name) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete name_; } if (name) { set_has_name(); name_ = name; } else { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.Feature.name) } // required double value = 2; inline bool ClientPhishingRequest_Feature::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientPhishingRequest_Feature::set_has_value() { _has_bits_[0] |= 0x00000002u; } inline void ClientPhishingRequest_Feature::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } inline void ClientPhishingRequest_Feature::clear_value() { value_ = 0; clear_has_value(); } inline double ClientPhishingRequest_Feature::value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.Feature.value) return value_; } inline void ClientPhishingRequest_Feature::set_value(double value) { set_has_value(); value_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.Feature.value) } // ------------------------------------------------------------------- // ClientPhishingRequest // optional string url = 1; inline bool ClientPhishingRequest::has_url() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientPhishingRequest::set_has_url() { _has_bits_[0] |= 0x00000001u; } inline void ClientPhishingRequest::clear_has_url() { _has_bits_[0] &= ~0x00000001u; } inline void ClientPhishingRequest::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientPhishingRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.url) return *url_; } inline void ClientPhishingRequest::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.url) } inline void ClientPhishingRequest::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.url) } inline void ClientPhishingRequest::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.url) } inline ::std::string* ClientPhishingRequest::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.url) return url_; } inline ::std::string* ClientPhishingRequest::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientPhishingRequest::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.url) } // optional bytes OBSOLETE_hash_prefix = 10; inline bool ClientPhishingRequest::has_obsolete_hash_prefix() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientPhishingRequest::set_has_obsolete_hash_prefix() { _has_bits_[0] |= 0x00000002u; } inline void ClientPhishingRequest::clear_has_obsolete_hash_prefix() { _has_bits_[0] &= ~0x00000002u; } inline void ClientPhishingRequest::clear_obsolete_hash_prefix() { if (obsolete_hash_prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_hash_prefix_->clear(); } clear_has_obsolete_hash_prefix(); } inline const ::std::string& ClientPhishingRequest::obsolete_hash_prefix() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) return *obsolete_hash_prefix_; } inline void ClientPhishingRequest::set_obsolete_hash_prefix(const ::std::string& value) { set_has_obsolete_hash_prefix(); if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_hash_prefix_ = new ::std::string; } obsolete_hash_prefix_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } inline void ClientPhishingRequest::set_obsolete_hash_prefix(const char* value) { set_has_obsolete_hash_prefix(); if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_hash_prefix_ = new ::std::string; } obsolete_hash_prefix_->assign(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) { set_has_obsolete_hash_prefix(); if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_hash_prefix_ = new ::std::string; } obsolete_hash_prefix_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } inline ::std::string* ClientPhishingRequest::mutable_obsolete_hash_prefix() { set_has_obsolete_hash_prefix(); if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_hash_prefix_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) return obsolete_hash_prefix_; } inline ::std::string* ClientPhishingRequest::release_obsolete_hash_prefix() { clear_has_obsolete_hash_prefix(); if (obsolete_hash_prefix_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = obsolete_hash_prefix_; obsolete_hash_prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientPhishingRequest::set_allocated_obsolete_hash_prefix(::std::string* obsolete_hash_prefix) { if (obsolete_hash_prefix_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete obsolete_hash_prefix_; } if (obsolete_hash_prefix) { set_has_obsolete_hash_prefix(); obsolete_hash_prefix_ = obsolete_hash_prefix; } else { clear_has_obsolete_hash_prefix(); obsolete_hash_prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.OBSOLETE_hash_prefix) } // required float client_score = 2; inline bool ClientPhishingRequest::has_client_score() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientPhishingRequest::set_has_client_score() { _has_bits_[0] |= 0x00000004u; } inline void ClientPhishingRequest::clear_has_client_score() { _has_bits_[0] &= ~0x00000004u; } inline void ClientPhishingRequest::clear_client_score() { client_score_ = 0; clear_has_client_score(); } inline float ClientPhishingRequest::client_score() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.client_score) return client_score_; } inline void ClientPhishingRequest::set_client_score(float value) { set_has_client_score(); client_score_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.client_score) } // optional bool is_phishing = 4; inline bool ClientPhishingRequest::has_is_phishing() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientPhishingRequest::set_has_is_phishing() { _has_bits_[0] |= 0x00000008u; } inline void ClientPhishingRequest::clear_has_is_phishing() { _has_bits_[0] &= ~0x00000008u; } inline void ClientPhishingRequest::clear_is_phishing() { is_phishing_ = false; clear_has_is_phishing(); } inline bool ClientPhishingRequest::is_phishing() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.is_phishing) return is_phishing_; } inline void ClientPhishingRequest::set_is_phishing(bool value) { set_has_is_phishing(); is_phishing_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.is_phishing) } // repeated .safe_browsing.ClientPhishingRequest.Feature feature_map = 5; inline int ClientPhishingRequest::feature_map_size() const { return feature_map_.size(); } inline void ClientPhishingRequest::clear_feature_map() { feature_map_.Clear(); } inline const ::safe_browsing::ClientPhishingRequest_Feature& ClientPhishingRequest::feature_map(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.feature_map) return feature_map_.Get(index); } 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 ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::add_feature_map() { // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.feature_map) return feature_map_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >& ClientPhishingRequest::feature_map() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.feature_map) return feature_map_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientPhishingRequest_Feature >* ClientPhishingRequest::mutable_feature_map() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.feature_map) return &feature_map_; } // optional int32 model_version = 6; inline bool ClientPhishingRequest::has_model_version() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientPhishingRequest::set_has_model_version() { _has_bits_[0] |= 0x00000020u; } inline void ClientPhishingRequest::clear_has_model_version() { _has_bits_[0] &= ~0x00000020u; } inline void ClientPhishingRequest::clear_model_version() { model_version_ = 0; clear_has_model_version(); } inline ::google::protobuf::int32 ClientPhishingRequest::model_version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.model_version) return model_version_; } inline void ClientPhishingRequest::set_model_version(::google::protobuf::int32 value) { set_has_model_version(); 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::non_model_feature_map_size() const { return non_model_feature_map_.size(); } inline void ClientPhishingRequest::clear_non_model_feature_map() { non_model_feature_map_.Clear(); } 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 non_model_feature_map_.Get(index); } 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 ::safe_browsing::ClientPhishingRequest_Feature* ClientPhishingRequest::add_non_model_feature_map() { // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.non_model_feature_map) return non_model_feature_map_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // optional string OBSOLETE_referrer_url = 9; inline bool ClientPhishingRequest::has_obsolete_referrer_url() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void ClientPhishingRequest::set_has_obsolete_referrer_url() { _has_bits_[0] |= 0x00000080u; } inline void ClientPhishingRequest::clear_has_obsolete_referrer_url() { _has_bits_[0] &= ~0x00000080u; } inline void ClientPhishingRequest::clear_obsolete_referrer_url() { if (obsolete_referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_referrer_url_->clear(); } clear_has_obsolete_referrer_url(); } inline const ::std::string& ClientPhishingRequest::obsolete_referrer_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) return *obsolete_referrer_url_; } inline void ClientPhishingRequest::set_obsolete_referrer_url(const ::std::string& value) { set_has_obsolete_referrer_url(); if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_referrer_url_ = new ::std::string; } obsolete_referrer_url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } inline void ClientPhishingRequest::set_obsolete_referrer_url(const char* value) { set_has_obsolete_referrer_url(); if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_referrer_url_ = new ::std::string; } obsolete_referrer_url_->assign(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) { set_has_obsolete_referrer_url(); if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_referrer_url_ = new ::std::string; } obsolete_referrer_url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } inline ::std::string* ClientPhishingRequest::mutable_obsolete_referrer_url() { set_has_obsolete_referrer_url(); if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { obsolete_referrer_url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) return obsolete_referrer_url_; } inline ::std::string* ClientPhishingRequest::release_obsolete_referrer_url() { clear_has_obsolete_referrer_url(); if (obsolete_referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = obsolete_referrer_url_; obsolete_referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientPhishingRequest::set_allocated_obsolete_referrer_url(::std::string* obsolete_referrer_url) { if (obsolete_referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete obsolete_referrer_url_; } if (obsolete_referrer_url) { set_has_obsolete_referrer_url(); obsolete_referrer_url_ = obsolete_referrer_url; } else { clear_has_obsolete_referrer_url(); obsolete_referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.OBSOLETE_referrer_url) } // repeated uint32 shingle_hashes = 12 [packed = true]; inline int ClientPhishingRequest::shingle_hashes_size() const { return shingle_hashes_.size(); } inline void ClientPhishingRequest::clear_shingle_hashes() { shingle_hashes_.Clear(); } inline ::google::protobuf::uint32 ClientPhishingRequest::shingle_hashes(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.shingle_hashes) return shingle_hashes_.Get(index); } inline void ClientPhishingRequest::set_shingle_hashes(int index, ::google::protobuf::uint32 value) { shingle_hashes_.Set(index, value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.shingle_hashes) } inline void ClientPhishingRequest::add_shingle_hashes(::google::protobuf::uint32 value) { shingle_hashes_.Add(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientPhishingRequest.shingle_hashes) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& ClientPhishingRequest::shingle_hashes() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingRequest.shingle_hashes) return shingle_hashes_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* ClientPhishingRequest::mutable_shingle_hashes() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientPhishingRequest.shingle_hashes) return &shingle_hashes_; } // optional string model_filename = 13; inline bool ClientPhishingRequest::has_model_filename() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void ClientPhishingRequest::set_has_model_filename() { _has_bits_[0] |= 0x00000200u; } inline void ClientPhishingRequest::clear_has_model_filename() { _has_bits_[0] &= ~0x00000200u; } inline void ClientPhishingRequest::clear_model_filename() { if (model_filename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { model_filename_->clear(); } clear_has_model_filename(); } inline const ::std::string& ClientPhishingRequest::model_filename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.model_filename) return *model_filename_; } inline void ClientPhishingRequest::set_model_filename(const ::std::string& value) { set_has_model_filename(); if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { model_filename_ = new ::std::string; } model_filename_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingRequest.model_filename) } inline void ClientPhishingRequest::set_model_filename(const char* value) { set_has_model_filename(); if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { model_filename_ = new ::std::string; } model_filename_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientPhishingRequest.model_filename) } inline void ClientPhishingRequest::set_model_filename(const char* value, size_t size) { set_has_model_filename(); if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { model_filename_ = new ::std::string; } model_filename_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientPhishingRequest.model_filename) } inline ::std::string* ClientPhishingRequest::mutable_model_filename() { set_has_model_filename(); if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { model_filename_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.model_filename) return model_filename_; } inline ::std::string* ClientPhishingRequest::release_model_filename() { clear_has_model_filename(); if (model_filename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = model_filename_; model_filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientPhishingRequest::set_allocated_model_filename(::std::string* model_filename) { if (model_filename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete model_filename_; } if (model_filename) { set_has_model_filename(); model_filename_ = model_filename; } else { clear_has_model_filename(); model_filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.model_filename) } // optional .safe_browsing.ChromeUserPopulation population = 14; inline bool ClientPhishingRequest::has_population() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void ClientPhishingRequest::set_has_population() { _has_bits_[0] |= 0x00000400u; } inline void ClientPhishingRequest::clear_has_population() { _has_bits_[0] &= ~0x00000400u; } inline void ClientPhishingRequest::clear_population() { if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear(); clear_has_population(); } inline const ::safe_browsing::ChromeUserPopulation& ClientPhishingRequest::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingRequest.population) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return population_ != NULL ? *population_ : *default_instance().population_; #else return population_ != NULL ? *population_ : *default_instance_->population_; #endif } inline ::safe_browsing::ChromeUserPopulation* ClientPhishingRequest::mutable_population() { set_has_population(); if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientPhishingRequest.population) return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientPhishingRequest::release_population() { clear_has_population(); ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = NULL; return temp; } inline void ClientPhishingRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { delete population_; population_ = population; if (population) { set_has_population(); } else { clear_has_population(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientPhishingRequest.population) } // ------------------------------------------------------------------- // ClientPhishingResponse // required bool phishy = 1; inline bool ClientPhishingResponse::has_phishy() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientPhishingResponse::set_has_phishy() { _has_bits_[0] |= 0x00000001u; } inline void ClientPhishingResponse::clear_has_phishy() { _has_bits_[0] &= ~0x00000001u; } inline void ClientPhishingResponse::clear_phishy() { phishy_ = false; clear_has_phishy(); } inline bool ClientPhishingResponse::phishy() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingResponse.phishy) return phishy_; } inline void ClientPhishingResponse::set_phishy(bool value) { set_has_phishy(); phishy_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientPhishingResponse.phishy) } // repeated string OBSOLETE_whitelist_expression = 2; inline int ClientPhishingResponse::obsolete_whitelist_expression_size() const { return obsolete_whitelist_expression_.size(); } inline void ClientPhishingResponse::clear_obsolete_whitelist_expression() { obsolete_whitelist_expression_.Clear(); } inline const ::std::string& ClientPhishingResponse::obsolete_whitelist_expression(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) return obsolete_whitelist_expression_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientPhishingResponse::obsolete_whitelist_expression() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientPhishingResponse.OBSOLETE_whitelist_expression) return obsolete_whitelist_expression_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* 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::has_ip() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientMalwareRequest_UrlInfo::set_has_ip() { _has_bits_[0] |= 0x00000001u; } inline void ClientMalwareRequest_UrlInfo::clear_has_ip() { _has_bits_[0] &= ~0x00000001u; } inline void ClientMalwareRequest_UrlInfo::clear_ip() { if (ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_->clear(); } clear_has_ip(); } inline const ::std::string& ClientMalwareRequest_UrlInfo::ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.ip) return *ip_; } inline void ClientMalwareRequest_UrlInfo::set_ip(const ::std::string& value) { set_has_ip(); if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_ = new ::std::string; } ip_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } inline void ClientMalwareRequest_UrlInfo::set_ip(const char* value) { set_has_ip(); if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_ = new ::std::string; } ip_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } inline void ClientMalwareRequest_UrlInfo::set_ip(const char* value, size_t size) { set_has_ip(); if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_ = new ::std::string; } ip_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_ip() { set_has_ip(); if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.ip) return ip_; } inline ::std::string* ClientMalwareRequest_UrlInfo::release_ip() { clear_has_ip(); if (ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = ip_; ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareRequest_UrlInfo::set_allocated_ip(::std::string* ip) { if (ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete ip_; } if (ip) { set_has_ip(); ip_ = ip; } else { clear_has_ip(); ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.ip) } // required string url = 2; inline bool ClientMalwareRequest_UrlInfo::has_url() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientMalwareRequest_UrlInfo::set_has_url() { _has_bits_[0] |= 0x00000002u; } inline void ClientMalwareRequest_UrlInfo::clear_has_url() { _has_bits_[0] &= ~0x00000002u; } inline void ClientMalwareRequest_UrlInfo::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientMalwareRequest_UrlInfo::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.url) return *url_; } inline void ClientMalwareRequest_UrlInfo::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.url) } inline void ClientMalwareRequest_UrlInfo::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.url) } inline void ClientMalwareRequest_UrlInfo::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.url) } inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.url) return url_; } inline ::std::string* ClientMalwareRequest_UrlInfo::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareRequest_UrlInfo::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.url) } // optional string method = 3; inline bool ClientMalwareRequest_UrlInfo::has_method() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientMalwareRequest_UrlInfo::set_has_method() { _has_bits_[0] |= 0x00000004u; } inline void ClientMalwareRequest_UrlInfo::clear_has_method() { _has_bits_[0] &= ~0x00000004u; } inline void ClientMalwareRequest_UrlInfo::clear_method() { if (method_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { method_->clear(); } clear_has_method(); } inline const ::std::string& ClientMalwareRequest_UrlInfo::method() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.method) return *method_; } inline void ClientMalwareRequest_UrlInfo::set_method(const ::std::string& value) { set_has_method(); if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { method_ = new ::std::string; } method_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.method) } inline void ClientMalwareRequest_UrlInfo::set_method(const char* value) { set_has_method(); if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { method_ = new ::std::string; } method_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.method) } inline void ClientMalwareRequest_UrlInfo::set_method(const char* value, size_t size) { set_has_method(); if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { method_ = new ::std::string; } method_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.method) } inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_method() { set_has_method(); if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { method_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.method) return method_; } inline ::std::string* ClientMalwareRequest_UrlInfo::release_method() { clear_has_method(); if (method_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = method_; method_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareRequest_UrlInfo::set_allocated_method(::std::string* method) { if (method_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete method_; } if (method) { set_has_method(); method_ = method; } else { clear_has_method(); method_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.method) } // optional string referrer = 4; inline bool ClientMalwareRequest_UrlInfo::has_referrer() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientMalwareRequest_UrlInfo::set_has_referrer() { _has_bits_[0] |= 0x00000008u; } inline void ClientMalwareRequest_UrlInfo::clear_has_referrer() { _has_bits_[0] &= ~0x00000008u; } inline void ClientMalwareRequest_UrlInfo::clear_referrer() { if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_->clear(); } clear_has_referrer(); } inline const ::std::string& ClientMalwareRequest_UrlInfo::referrer() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) return *referrer_; } inline void ClientMalwareRequest_UrlInfo::set_referrer(const ::std::string& value) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } inline void ClientMalwareRequest_UrlInfo::set_referrer(const char* value) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } inline void ClientMalwareRequest_UrlInfo::set_referrer(const char* value, size_t size) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } inline ::std::string* ClientMalwareRequest_UrlInfo::mutable_referrer() { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) return referrer_; } inline ::std::string* ClientMalwareRequest_UrlInfo::release_referrer() { clear_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = referrer_; referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareRequest_UrlInfo::set_allocated_referrer(::std::string* referrer) { if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete referrer_; } if (referrer) { set_has_referrer(); referrer_ = referrer; } else { clear_has_referrer(); referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.UrlInfo.referrer) } // optional int32 resource_type = 5; inline bool ClientMalwareRequest_UrlInfo::has_resource_type() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientMalwareRequest_UrlInfo::set_has_resource_type() { _has_bits_[0] |= 0x00000010u; } inline void ClientMalwareRequest_UrlInfo::clear_has_resource_type() { _has_bits_[0] &= ~0x00000010u; } inline void ClientMalwareRequest_UrlInfo::clear_resource_type() { resource_type_ = 0; clear_has_resource_type(); } inline ::google::protobuf::int32 ClientMalwareRequest_UrlInfo::resource_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.UrlInfo.resource_type) return resource_type_; } inline void ClientMalwareRequest_UrlInfo::set_resource_type(::google::protobuf::int32 value) { set_has_resource_type(); resource_type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.UrlInfo.resource_type) } // ------------------------------------------------------------------- // ClientMalwareRequest // required string url = 1; inline bool ClientMalwareRequest::has_url() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientMalwareRequest::set_has_url() { _has_bits_[0] |= 0x00000001u; } inline void ClientMalwareRequest::clear_has_url() { _has_bits_[0] &= ~0x00000001u; } inline void ClientMalwareRequest::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientMalwareRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.url) return *url_; } inline void ClientMalwareRequest::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.url) } inline void ClientMalwareRequest::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.url) } inline void ClientMalwareRequest::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.url) } inline ::std::string* ClientMalwareRequest::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.url) return url_; } inline ::std::string* ClientMalwareRequest::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareRequest::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.url) } // optional string referrer_url = 4; inline bool ClientMalwareRequest::has_referrer_url() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientMalwareRequest::set_has_referrer_url() { _has_bits_[0] |= 0x00000002u; } inline void ClientMalwareRequest::clear_has_referrer_url() { _has_bits_[0] &= ~0x00000002u; } inline void ClientMalwareRequest::clear_referrer_url() { if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_->clear(); } clear_has_referrer_url(); } inline const ::std::string& ClientMalwareRequest::referrer_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.referrer_url) return *referrer_url_; } inline void ClientMalwareRequest::set_referrer_url(const ::std::string& value) { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } referrer_url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareRequest.referrer_url) } inline void ClientMalwareRequest::set_referrer_url(const char* value) { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } referrer_url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareRequest.referrer_url) } inline void ClientMalwareRequest::set_referrer_url(const char* value, size_t size) { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } referrer_url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareRequest.referrer_url) } inline ::std::string* ClientMalwareRequest::mutable_referrer_url() { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.referrer_url) return referrer_url_; } inline ::std::string* ClientMalwareRequest::release_referrer_url() { clear_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = referrer_url_; referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareRequest::set_allocated_referrer_url(::std::string* referrer_url) { if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete referrer_url_; } if (referrer_url) { set_has_referrer_url(); referrer_url_ = referrer_url; } else { clear_has_referrer_url(); referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.referrer_url) } // repeated .safe_browsing.ClientMalwareRequest.UrlInfo bad_ip_url_info = 7; inline int ClientMalwareRequest::bad_ip_url_info_size() const { return bad_ip_url_info_.size(); } inline void ClientMalwareRequest::clear_bad_ip_url_info() { bad_ip_url_info_.Clear(); } 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 bad_ip_url_info_.Get(index); } 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 ::safe_browsing::ClientMalwareRequest_UrlInfo* ClientMalwareRequest::add_bad_ip_url_info() { // @@protoc_insertion_point(field_add:safe_browsing.ClientMalwareRequest.bad_ip_url_info) return bad_ip_url_info_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // optional .safe_browsing.ChromeUserPopulation population = 9; inline bool ClientMalwareRequest::has_population() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientMalwareRequest::set_has_population() { _has_bits_[0] |= 0x00000008u; } inline void ClientMalwareRequest::clear_has_population() { _has_bits_[0] &= ~0x00000008u; } inline void ClientMalwareRequest::clear_population() { if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear(); clear_has_population(); } inline const ::safe_browsing::ChromeUserPopulation& ClientMalwareRequest::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareRequest.population) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return population_ != NULL ? *population_ : *default_instance().population_; #else return population_ != NULL ? *population_ : *default_instance_->population_; #endif } inline ::safe_browsing::ChromeUserPopulation* ClientMalwareRequest::mutable_population() { set_has_population(); if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareRequest.population) return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientMalwareRequest::release_population() { clear_has_population(); ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = NULL; return temp; } inline void ClientMalwareRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { delete population_; population_ = population; if (population) { set_has_population(); } else { clear_has_population(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareRequest.population) } // ------------------------------------------------------------------- // ClientMalwareResponse // required bool blacklist = 1; inline bool ClientMalwareResponse::has_blacklist() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientMalwareResponse::set_has_blacklist() { _has_bits_[0] |= 0x00000001u; } inline void ClientMalwareResponse::clear_has_blacklist() { _has_bits_[0] &= ~0x00000001u; } inline void ClientMalwareResponse::clear_blacklist() { blacklist_ = false; clear_has_blacklist(); } inline bool ClientMalwareResponse::blacklist() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.blacklist) return blacklist_; } inline void ClientMalwareResponse::set_blacklist(bool value) { set_has_blacklist(); blacklist_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.blacklist) } // optional string bad_ip = 2; inline bool ClientMalwareResponse::has_bad_ip() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientMalwareResponse::set_has_bad_ip() { _has_bits_[0] |= 0x00000002u; } inline void ClientMalwareResponse::clear_has_bad_ip() { _has_bits_[0] &= ~0x00000002u; } inline void ClientMalwareResponse::clear_bad_ip() { if (bad_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_ip_->clear(); } clear_has_bad_ip(); } inline const ::std::string& ClientMalwareResponse::bad_ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.bad_ip) return *bad_ip_; } inline void ClientMalwareResponse::set_bad_ip(const ::std::string& value) { set_has_bad_ip(); if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_ip_ = new ::std::string; } bad_ip_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.bad_ip) } inline void ClientMalwareResponse::set_bad_ip(const char* value) { set_has_bad_ip(); if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_ip_ = new ::std::string; } bad_ip_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareResponse.bad_ip) } inline void ClientMalwareResponse::set_bad_ip(const char* value, size_t size) { set_has_bad_ip(); if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_ip_ = new ::std::string; } bad_ip_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareResponse.bad_ip) } inline ::std::string* ClientMalwareResponse::mutable_bad_ip() { set_has_bad_ip(); if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_ip_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareResponse.bad_ip) return bad_ip_; } inline ::std::string* ClientMalwareResponse::release_bad_ip() { clear_has_bad_ip(); if (bad_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = bad_ip_; bad_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareResponse::set_allocated_bad_ip(::std::string* bad_ip) { if (bad_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete bad_ip_; } if (bad_ip) { set_has_bad_ip(); bad_ip_ = bad_ip; } else { clear_has_bad_ip(); bad_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareResponse.bad_ip) } // optional string bad_url = 3; inline bool ClientMalwareResponse::has_bad_url() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientMalwareResponse::set_has_bad_url() { _has_bits_[0] |= 0x00000004u; } inline void ClientMalwareResponse::clear_has_bad_url() { _has_bits_[0] &= ~0x00000004u; } inline void ClientMalwareResponse::clear_bad_url() { if (bad_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_url_->clear(); } clear_has_bad_url(); } inline const ::std::string& ClientMalwareResponse::bad_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientMalwareResponse.bad_url) return *bad_url_; } inline void ClientMalwareResponse::set_bad_url(const ::std::string& value) { set_has_bad_url(); if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_url_ = new ::std::string; } bad_url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientMalwareResponse.bad_url) } inline void ClientMalwareResponse::set_bad_url(const char* value) { set_has_bad_url(); if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_url_ = new ::std::string; } bad_url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientMalwareResponse.bad_url) } inline void ClientMalwareResponse::set_bad_url(const char* value, size_t size) { set_has_bad_url(); if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_url_ = new ::std::string; } bad_url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientMalwareResponse.bad_url) } inline ::std::string* ClientMalwareResponse::mutable_bad_url() { set_has_bad_url(); if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bad_url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientMalwareResponse.bad_url) return bad_url_; } inline ::std::string* ClientMalwareResponse::release_bad_url() { clear_has_bad_url(); if (bad_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = bad_url_; bad_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientMalwareResponse::set_allocated_bad_url(::std::string* bad_url) { if (bad_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete bad_url_; } if (bad_url) { set_has_bad_url(); bad_url_ = bad_url; } else { clear_has_bad_url(); bad_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientMalwareResponse.bad_url) } // ------------------------------------------------------------------- // ClientDownloadRequest_Digests // optional bytes sha256 = 1; inline bool ClientDownloadRequest_Digests::has_sha256() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_Digests::set_has_sha256() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_Digests::clear_has_sha256() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_Digests::clear_sha256() { if (sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha256_->clear(); } clear_has_sha256(); } inline const ::std::string& ClientDownloadRequest_Digests::sha256() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.sha256) return *sha256_; } inline void ClientDownloadRequest_Digests::set_sha256(const ::std::string& value) { set_has_sha256(); if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha256_ = new ::std::string; } sha256_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.sha256) } inline void ClientDownloadRequest_Digests::set_sha256(const char* value) { set_has_sha256(); if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha256_ = new ::std::string; } sha256_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.sha256) } inline void ClientDownloadRequest_Digests::set_sha256(const void* value, size_t size) { set_has_sha256(); if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha256_ = new ::std::string; } sha256_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.sha256) } inline ::std::string* ClientDownloadRequest_Digests::mutable_sha256() { set_has_sha256(); if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha256_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.sha256) return sha256_; } inline ::std::string* ClientDownloadRequest_Digests::release_sha256() { clear_has_sha256(); if (sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = sha256_; sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_Digests::set_allocated_sha256(::std::string* sha256) { if (sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete sha256_; } if (sha256) { set_has_sha256(); sha256_ = sha256; } else { clear_has_sha256(); sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.sha256) } // optional bytes sha1 = 2; inline bool ClientDownloadRequest_Digests::has_sha1() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_Digests::set_has_sha1() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_Digests::clear_has_sha1() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_Digests::clear_sha1() { if (sha1_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha1_->clear(); } clear_has_sha1(); } inline const ::std::string& ClientDownloadRequest_Digests::sha1() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.sha1) return *sha1_; } inline void ClientDownloadRequest_Digests::set_sha1(const ::std::string& value) { set_has_sha1(); if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha1_ = new ::std::string; } sha1_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.sha1) } inline void ClientDownloadRequest_Digests::set_sha1(const char* value) { set_has_sha1(); if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha1_ = new ::std::string; } sha1_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.sha1) } inline void ClientDownloadRequest_Digests::set_sha1(const void* value, size_t size) { set_has_sha1(); if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha1_ = new ::std::string; } sha1_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.sha1) } inline ::std::string* ClientDownloadRequest_Digests::mutable_sha1() { set_has_sha1(); if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { sha1_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.sha1) return sha1_; } inline ::std::string* ClientDownloadRequest_Digests::release_sha1() { clear_has_sha1(); if (sha1_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = sha1_; sha1_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_Digests::set_allocated_sha1(::std::string* sha1) { if (sha1_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete sha1_; } if (sha1) { set_has_sha1(); sha1_ = sha1; } else { clear_has_sha1(); sha1_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.sha1) } // optional bytes md5 = 3; inline bool ClientDownloadRequest_Digests::has_md5() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadRequest_Digests::set_has_md5() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadRequest_Digests::clear_has_md5() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadRequest_Digests::clear_md5() { if (md5_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { md5_->clear(); } clear_has_md5(); } inline const ::std::string& ClientDownloadRequest_Digests::md5() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Digests.md5) return *md5_; } inline void ClientDownloadRequest_Digests::set_md5(const ::std::string& value) { set_has_md5(); if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { md5_ = new ::std::string; } md5_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Digests.md5) } inline void ClientDownloadRequest_Digests::set_md5(const char* value) { set_has_md5(); if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { md5_ = new ::std::string; } md5_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Digests.md5) } inline void ClientDownloadRequest_Digests::set_md5(const void* value, size_t size) { set_has_md5(); if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { md5_ = new ::std::string; } md5_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Digests.md5) } inline ::std::string* ClientDownloadRequest_Digests::mutable_md5() { set_has_md5(); if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { md5_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Digests.md5) return md5_; } inline ::std::string* ClientDownloadRequest_Digests::release_md5() { clear_has_md5(); if (md5_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = md5_; md5_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_Digests::set_allocated_md5(::std::string* md5) { if (md5_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete md5_; } if (md5) { set_has_md5(); md5_ = md5; } else { clear_has_md5(); md5_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Digests.md5) } // ------------------------------------------------------------------- // ClientDownloadRequest_Resource // required string url = 1; inline bool ClientDownloadRequest_Resource::has_url() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_Resource::set_has_url() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_Resource::clear_has_url() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_Resource::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientDownloadRequest_Resource::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.url) return *url_; } inline void ClientDownloadRequest_Resource::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.url) } inline void ClientDownloadRequest_Resource::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.url) } inline void ClientDownloadRequest_Resource::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.url) } inline ::std::string* ClientDownloadRequest_Resource::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.url) return url_; } inline ::std::string* ClientDownloadRequest_Resource::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_Resource::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.url) } // required .safe_browsing.ClientDownloadRequest.ResourceType type = 2; inline bool ClientDownloadRequest_Resource::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_Resource::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_Resource::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_Resource::clear_type() { type_ = 0; clear_has_type(); } inline ::safe_browsing::ClientDownloadRequest_ResourceType ClientDownloadRequest_Resource::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.type) return static_cast< ::safe_browsing::ClientDownloadRequest_ResourceType >(type_); } inline void ClientDownloadRequest_Resource::set_type(::safe_browsing::ClientDownloadRequest_ResourceType value) { assert(::safe_browsing::ClientDownloadRequest_ResourceType_IsValid(value)); set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.type) } // optional bytes remote_ip = 3; inline bool ClientDownloadRequest_Resource::has_remote_ip() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadRequest_Resource::set_has_remote_ip() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadRequest_Resource::clear_has_remote_ip() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadRequest_Resource::clear_remote_ip() { if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_->clear(); } clear_has_remote_ip(); } inline const ::std::string& ClientDownloadRequest_Resource::remote_ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.remote_ip) return *remote_ip_; } inline void ClientDownloadRequest_Resource::set_remote_ip(const ::std::string& value) { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } remote_ip_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } inline void ClientDownloadRequest_Resource::set_remote_ip(const char* value) { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } remote_ip_->assign(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) { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } remote_ip_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } inline ::std::string* ClientDownloadRequest_Resource::mutable_remote_ip() { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.remote_ip) return remote_ip_; } inline ::std::string* ClientDownloadRequest_Resource::release_remote_ip() { clear_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = remote_ip_; remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_Resource::set_allocated_remote_ip(::std::string* remote_ip) { if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete remote_ip_; } if (remote_ip) { set_has_remote_ip(); remote_ip_ = remote_ip; } else { clear_has_remote_ip(); remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.remote_ip) } // optional string referrer = 4; inline bool ClientDownloadRequest_Resource::has_referrer() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientDownloadRequest_Resource::set_has_referrer() { _has_bits_[0] |= 0x00000008u; } inline void ClientDownloadRequest_Resource::clear_has_referrer() { _has_bits_[0] &= ~0x00000008u; } inline void ClientDownloadRequest_Resource::clear_referrer() { if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_->clear(); } clear_has_referrer(); } inline const ::std::string& ClientDownloadRequest_Resource::referrer() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.Resource.referrer) return *referrer_; } inline void ClientDownloadRequest_Resource::set_referrer(const ::std::string& value) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.Resource.referrer) } inline void ClientDownloadRequest_Resource::set_referrer(const char* value) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.Resource.referrer) } inline void ClientDownloadRequest_Resource::set_referrer(const char* value, size_t size) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.Resource.referrer) } inline ::std::string* ClientDownloadRequest_Resource::mutable_referrer() { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.Resource.referrer) return referrer_; } inline ::std::string* ClientDownloadRequest_Resource::release_referrer() { clear_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = referrer_; referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_Resource::set_allocated_referrer(::std::string* referrer) { if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete referrer_; } if (referrer) { set_has_referrer(); referrer_ = referrer; } else { clear_has_referrer(); referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.Resource.referrer) } // ------------------------------------------------------------------- // ClientDownloadRequest_CertificateChain_Element // optional bytes certificate = 1; inline bool ClientDownloadRequest_CertificateChain_Element::has_certificate() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_CertificateChain_Element::set_has_certificate() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_CertificateChain_Element::clear_has_certificate() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_CertificateChain_Element::clear_certificate() { if (certificate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { certificate_->clear(); } clear_has_certificate(); } inline const ::std::string& ClientDownloadRequest_CertificateChain_Element::certificate() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) return *certificate_; } inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const ::std::string& value) { set_has_certificate(); if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { certificate_ = new ::std::string; } certificate_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) } inline void ClientDownloadRequest_CertificateChain_Element::set_certificate(const char* value) { set_has_certificate(); if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { certificate_ = new ::std::string; } certificate_->assign(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) { set_has_certificate(); if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { certificate_ = new ::std::string; } certificate_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) } inline ::std::string* ClientDownloadRequest_CertificateChain_Element::mutable_certificate() { set_has_certificate(); if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { certificate_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.CertificateChain.Element.certificate) return certificate_; } inline ::std::string* ClientDownloadRequest_CertificateChain_Element::release_certificate() { clear_has_certificate(); if (certificate_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = certificate_; certificate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_CertificateChain_Element::set_allocated_certificate(::std::string* certificate) { if (certificate_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete certificate_; } if (certificate) { set_has_certificate(); certificate_ = certificate; } else { clear_has_certificate(); certificate_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::element_size() const { return element_.size(); } inline void ClientDownloadRequest_CertificateChain::clear_element() { element_.Clear(); } inline const ::safe_browsing::ClientDownloadRequest_CertificateChain_Element& ClientDownloadRequest_CertificateChain::element(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.CertificateChain.element) return element_.Get(index); } 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 ::safe_browsing::ClientDownloadRequest_CertificateChain_Element* ClientDownloadRequest_CertificateChain::add_element() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.CertificateChain.element) return element_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >& ClientDownloadRequest_CertificateChain::element() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.CertificateChain.element) return element_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain_Element >* ClientDownloadRequest_CertificateChain::mutable_element() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.CertificateChain.element) return &element_; } // ------------------------------------------------------------------- // ClientDownloadRequest_ExtendedAttr // required string key = 1; inline bool ClientDownloadRequest_ExtendedAttr::has_key() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_ExtendedAttr::set_has_key() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_ExtendedAttr::clear_has_key() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_ExtendedAttr::clear_key() { if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { key_->clear(); } clear_has_key(); } inline const ::std::string& ClientDownloadRequest_ExtendedAttr::key() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) return *key_; } inline void ClientDownloadRequest_ExtendedAttr::set_key(const ::std::string& value) { set_has_key(); if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { key_ = new ::std::string; } key_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } inline void ClientDownloadRequest_ExtendedAttr::set_key(const char* value) { set_has_key(); if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { key_ = new ::std::string; } key_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } inline void ClientDownloadRequest_ExtendedAttr::set_key(const char* value, size_t size) { set_has_key(); if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { key_ = new ::std::string; } key_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } inline ::std::string* ClientDownloadRequest_ExtendedAttr::mutable_key() { set_has_key(); if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { key_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) return key_; } inline ::std::string* ClientDownloadRequest_ExtendedAttr::release_key() { clear_has_key(); if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = key_; key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_ExtendedAttr::set_allocated_key(::std::string* key) { if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete key_; } if (key) { set_has_key(); key_ = key; } else { clear_has_key(); key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ExtendedAttr.key) } // optional bytes value = 2; inline bool ClientDownloadRequest_ExtendedAttr::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_ExtendedAttr::set_has_value() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_ExtendedAttr::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_ExtendedAttr::clear_value() { if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_->clear(); } clear_has_value(); } inline const ::std::string& ClientDownloadRequest_ExtendedAttr::value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) return *value_; } inline void ClientDownloadRequest_ExtendedAttr::set_value(const ::std::string& value) { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } value_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } inline void ClientDownloadRequest_ExtendedAttr::set_value(const char* value) { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } value_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } inline void ClientDownloadRequest_ExtendedAttr::set_value(const void* value, size_t size) { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } value_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) } inline ::std::string* ClientDownloadRequest_ExtendedAttr::mutable_value() { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ExtendedAttr.value) return value_; } inline ::std::string* ClientDownloadRequest_ExtendedAttr::release_value() { clear_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = value_; value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_ExtendedAttr::set_allocated_value(::std::string* value) { if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete value_; } if (value) { set_has_value(); value_ = value; } else { clear_has_value(); value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::certificate_chain_size() const { return certificate_chain_.size(); } inline void ClientDownloadRequest_SignatureInfo::clear_certificate_chain() { certificate_chain_.Clear(); } 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 certificate_chain_.Get(index); } 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 ::safe_browsing::ClientDownloadRequest_CertificateChain* ClientDownloadRequest_SignatureInfo::add_certificate_chain() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain) return certificate_chain_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_CertificateChain >& ClientDownloadRequest_SignatureInfo::certificate_chain() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.certificate_chain) return certificate_chain_; } inline ::google::protobuf::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_; } // optional bool trusted = 2; inline bool ClientDownloadRequest_SignatureInfo::has_trusted() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_SignatureInfo::set_has_trusted() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_SignatureInfo::clear_has_trusted() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_SignatureInfo::clear_trusted() { trusted_ = false; clear_has_trusted(); } inline bool ClientDownloadRequest_SignatureInfo::trusted() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.trusted) return trusted_; } inline void ClientDownloadRequest_SignatureInfo::set_trusted(bool value) { set_has_trusted(); trusted_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.SignatureInfo.trusted) } // repeated bytes signed_data = 3; inline int ClientDownloadRequest_SignatureInfo::signed_data_size() const { return signed_data_.size(); } inline void ClientDownloadRequest_SignatureInfo::clear_signed_data() { signed_data_.Clear(); } inline const ::std::string& ClientDownloadRequest_SignatureInfo::signed_data(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) return signed_data_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientDownloadRequest_SignatureInfo::signed_data() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.signed_data) return signed_data_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* 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::xattr_size() const { return xattr_.size(); } inline void ClientDownloadRequest_SignatureInfo::clear_xattr() { xattr_.Clear(); } inline const ::safe_browsing::ClientDownloadRequest_ExtendedAttr& ClientDownloadRequest_SignatureInfo::xattr(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return xattr_.Get(index); } 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 ::safe_browsing::ClientDownloadRequest_ExtendedAttr* ClientDownloadRequest_SignatureInfo::add_xattr() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return xattr_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >& ClientDownloadRequest_SignatureInfo::xattr() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return xattr_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ExtendedAttr >* ClientDownloadRequest_SignatureInfo::mutable_xattr() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.SignatureInfo.xattr) return &xattr_; } // ------------------------------------------------------------------- // ClientDownloadRequest_PEImageHeaders_DebugData // optional bytes directory_entry = 1; inline bool ClientDownloadRequest_PEImageHeaders_DebugData::has_directory_entry() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_has_directory_entry() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_has_directory_entry() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_directory_entry() { if (directory_entry_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { directory_entry_->clear(); } clear_has_directory_entry(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders_DebugData::directory_entry() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) return *directory_entry_; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const ::std::string& value) { set_has_directory_entry(); if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { directory_entry_ = new ::std::string; } directory_entry_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_directory_entry(const char* value) { set_has_directory_entry(); if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { directory_entry_ = new ::std::string; } directory_entry_->assign(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) { set_has_directory_entry(); if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { directory_entry_ = new ::std::string; } directory_entry_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::mutable_directory_entry() { set_has_directory_entry(); if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { directory_entry_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) return directory_entry_; } inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::release_directory_entry() { clear_has_directory_entry(); if (directory_entry_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = directory_entry_; directory_entry_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_allocated_directory_entry(::std::string* directory_entry) { if (directory_entry_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete directory_entry_; } if (directory_entry) { set_has_directory_entry(); directory_entry_ = directory_entry; } else { clear_has_directory_entry(); directory_entry_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.directory_entry) } // optional bytes raw_data = 2; inline bool ClientDownloadRequest_PEImageHeaders_DebugData::has_raw_data() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_has_raw_data() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_has_raw_data() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::clear_raw_data() { if (raw_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { raw_data_->clear(); } clear_has_raw_data(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders_DebugData::raw_data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) return *raw_data_; } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const ::std::string& value) { set_has_raw_data(); if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { raw_data_ = new ::std::string; } raw_data_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_raw_data(const char* value) { set_has_raw_data(); if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { raw_data_ = new ::std::string; } raw_data_->assign(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) { set_has_raw_data(); if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { raw_data_ = new ::std::string; } raw_data_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::mutable_raw_data() { set_has_raw_data(); if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { raw_data_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) return raw_data_; } inline ::std::string* ClientDownloadRequest_PEImageHeaders_DebugData::release_raw_data() { clear_has_raw_data(); if (raw_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = raw_data_; raw_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_PEImageHeaders_DebugData::set_allocated_raw_data(::std::string* raw_data) { if (raw_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete raw_data_; } if (raw_data) { set_has_raw_data(); raw_data_ = raw_data; } else { clear_has_raw_data(); raw_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.DebugData.raw_data) } // ------------------------------------------------------------------- // ClientDownloadRequest_PEImageHeaders // optional bytes dos_header = 1; inline bool ClientDownloadRequest_PEImageHeaders::has_dos_header() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_PEImageHeaders::set_has_dos_header() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_PEImageHeaders::clear_has_dos_header() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_PEImageHeaders::clear_dos_header() { if (dos_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { dos_header_->clear(); } clear_has_dos_header(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders::dos_header() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) return *dos_header_; } inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const ::std::string& value) { set_has_dos_header(); if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { dos_header_ = new ::std::string; } dos_header_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } inline void ClientDownloadRequest_PEImageHeaders::set_dos_header(const char* value) { set_has_dos_header(); if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { dos_header_ = new ::std::string; } dos_header_->assign(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) { set_has_dos_header(); if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { dos_header_ = new ::std::string; } dos_header_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_dos_header() { set_has_dos_header(); if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { dos_header_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) return dos_header_; } inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_dos_header() { clear_has_dos_header(); if (dos_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = dos_header_; dos_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_dos_header(::std::string* dos_header) { if (dos_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete dos_header_; } if (dos_header) { set_has_dos_header(); dos_header_ = dos_header; } else { clear_has_dos_header(); dos_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.dos_header) } // optional bytes file_header = 2; inline bool ClientDownloadRequest_PEImageHeaders::has_file_header() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_PEImageHeaders::set_has_file_header() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_PEImageHeaders::clear_has_file_header() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_PEImageHeaders::clear_file_header() { if (file_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_header_->clear(); } clear_has_file_header(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders::file_header() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) return *file_header_; } inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const ::std::string& value) { set_has_file_header(); if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_header_ = new ::std::string; } file_header_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } inline void ClientDownloadRequest_PEImageHeaders::set_file_header(const char* value) { set_has_file_header(); if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_header_ = new ::std::string; } file_header_->assign(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) { set_has_file_header(); if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_header_ = new ::std::string; } file_header_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_file_header() { set_has_file_header(); if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_header_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) return file_header_; } inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_file_header() { clear_has_file_header(); if (file_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = file_header_; file_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_file_header(::std::string* file_header) { if (file_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete file_header_; } if (file_header) { set_has_file_header(); file_header_ = file_header; } else { clear_has_file_header(); file_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.file_header) } // optional bytes optional_headers32 = 3; inline bool ClientDownloadRequest_PEImageHeaders::has_optional_headers32() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadRequest_PEImageHeaders::set_has_optional_headers32() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadRequest_PEImageHeaders::clear_has_optional_headers32() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadRequest_PEImageHeaders::clear_optional_headers32() { if (optional_headers32_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers32_->clear(); } clear_has_optional_headers32(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders::optional_headers32() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) return *optional_headers32_; } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const ::std::string& value) { set_has_optional_headers32(); if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers32_ = new ::std::string; } optional_headers32_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers32(const char* value) { set_has_optional_headers32(); if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers32_ = new ::std::string; } optional_headers32_->assign(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) { set_has_optional_headers32(); if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers32_ = new ::std::string; } optional_headers32_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_optional_headers32() { set_has_optional_headers32(); if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers32_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) return optional_headers32_; } inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_optional_headers32() { clear_has_optional_headers32(); if (optional_headers32_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = optional_headers32_; optional_headers32_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_optional_headers32(::std::string* optional_headers32) { if (optional_headers32_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete optional_headers32_; } if (optional_headers32) { set_has_optional_headers32(); optional_headers32_ = optional_headers32; } else { clear_has_optional_headers32(); optional_headers32_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers32) } // optional bytes optional_headers64 = 4; inline bool ClientDownloadRequest_PEImageHeaders::has_optional_headers64() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientDownloadRequest_PEImageHeaders::set_has_optional_headers64() { _has_bits_[0] |= 0x00000008u; } inline void ClientDownloadRequest_PEImageHeaders::clear_has_optional_headers64() { _has_bits_[0] &= ~0x00000008u; } inline void ClientDownloadRequest_PEImageHeaders::clear_optional_headers64() { if (optional_headers64_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers64_->clear(); } clear_has_optional_headers64(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders::optional_headers64() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) return *optional_headers64_; } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const ::std::string& value) { set_has_optional_headers64(); if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers64_ = new ::std::string; } optional_headers64_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } inline void ClientDownloadRequest_PEImageHeaders::set_optional_headers64(const char* value) { set_has_optional_headers64(); if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers64_ = new ::std::string; } optional_headers64_->assign(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) { set_has_optional_headers64(); if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers64_ = new ::std::string; } optional_headers64_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_optional_headers64() { set_has_optional_headers64(); if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { optional_headers64_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) return optional_headers64_; } inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_optional_headers64() { clear_has_optional_headers64(); if (optional_headers64_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = optional_headers64_; optional_headers64_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_optional_headers64(::std::string* optional_headers64) { if (optional_headers64_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete optional_headers64_; } if (optional_headers64) { set_has_optional_headers64(); optional_headers64_ = optional_headers64; } else { clear_has_optional_headers64(); optional_headers64_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.PEImageHeaders.optional_headers64) } // repeated bytes section_header = 5; inline int ClientDownloadRequest_PEImageHeaders::section_header_size() const { return section_header_.size(); } inline void ClientDownloadRequest_PEImageHeaders::clear_section_header() { section_header_.Clear(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders::section_header(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) return section_header_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientDownloadRequest_PEImageHeaders::section_header() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.PEImageHeaders.section_header) return section_header_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* 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::has_export_section_data() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientDownloadRequest_PEImageHeaders::set_has_export_section_data() { _has_bits_[0] |= 0x00000020u; } inline void ClientDownloadRequest_PEImageHeaders::clear_has_export_section_data() { _has_bits_[0] &= ~0x00000020u; } inline void ClientDownloadRequest_PEImageHeaders::clear_export_section_data() { if (export_section_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_section_data_->clear(); } clear_has_export_section_data(); } inline const ::std::string& ClientDownloadRequest_PEImageHeaders::export_section_data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) return *export_section_data_; } inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const ::std::string& value) { set_has_export_section_data(); if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_section_data_ = new ::std::string; } export_section_data_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) } inline void ClientDownloadRequest_PEImageHeaders::set_export_section_data(const char* value) { set_has_export_section_data(); if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_section_data_ = new ::std::string; } export_section_data_->assign(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) { set_has_export_section_data(); if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_section_data_ = new ::std::string; } export_section_data_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) } inline ::std::string* ClientDownloadRequest_PEImageHeaders::mutable_export_section_data() { set_has_export_section_data(); if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_section_data_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.PEImageHeaders.export_section_data) return export_section_data_; } inline ::std::string* ClientDownloadRequest_PEImageHeaders::release_export_section_data() { clear_has_export_section_data(); if (export_section_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = export_section_data_; export_section_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_PEImageHeaders::set_allocated_export_section_data(::std::string* export_section_data) { if (export_section_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete export_section_data_; } if (export_section_data) { set_has_export_section_data(); export_section_data_ = export_section_data; } else { clear_has_export_section_data(); export_section_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::debug_data_size() const { return debug_data_.size(); } inline void ClientDownloadRequest_PEImageHeaders::clear_debug_data() { debug_data_.Clear(); } 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 debug_data_.Get(index); } 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 ::safe_browsing::ClientDownloadRequest_PEImageHeaders_DebugData* ClientDownloadRequest_PEImageHeaders::add_debug_data() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.PEImageHeaders.debug_data) return debug_data_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // ------------------------------------------------------------------- // ClientDownloadRequest_MachOHeaders_LoadCommand // required uint32 command_id = 1; inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::has_command_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_has_command_id() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_has_command_id() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_command_id() { command_id_ = 0u; clear_has_command_id(); } inline ::google::protobuf::uint32 ClientDownloadRequest_MachOHeaders_LoadCommand::command_id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command_id) return command_id_; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command_id(::google::protobuf::uint32 value) { set_has_command_id(); command_id_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command_id) } // required bytes command = 2; inline bool ClientDownloadRequest_MachOHeaders_LoadCommand::has_command() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_has_command() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_has_command() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::clear_command() { if (command_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { command_->clear(); } clear_has_command(); } inline const ::std::string& ClientDownloadRequest_MachOHeaders_LoadCommand::command() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) return *command_; } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const ::std::string& value) { set_has_command(); if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { command_ = new ::std::string; } command_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_command(const char* value) { set_has_command(); if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { command_ = new ::std::string; } command_->assign(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) { set_has_command(); if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { command_ = new ::std::string; } command_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } inline ::std::string* ClientDownloadRequest_MachOHeaders_LoadCommand::mutable_command() { set_has_command(); if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { command_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) return command_; } inline ::std::string* ClientDownloadRequest_MachOHeaders_LoadCommand::release_command() { clear_has_command(); if (command_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = command_; command_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_MachOHeaders_LoadCommand::set_allocated_command(::std::string* command) { if (command_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete command_; } if (command) { set_has_command(); command_ = command; } else { clear_has_command(); command_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.MachOHeaders.LoadCommand.command) } // ------------------------------------------------------------------- // ClientDownloadRequest_MachOHeaders // required bytes mach_header = 1; inline bool ClientDownloadRequest_MachOHeaders::has_mach_header() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_MachOHeaders::set_has_mach_header() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_MachOHeaders::clear_has_mach_header() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_MachOHeaders::clear_mach_header() { if (mach_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mach_header_->clear(); } clear_has_mach_header(); } inline const ::std::string& ClientDownloadRequest_MachOHeaders::mach_header() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) return *mach_header_; } inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const ::std::string& value) { set_has_mach_header(); if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mach_header_ = new ::std::string; } mach_header_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) } inline void ClientDownloadRequest_MachOHeaders::set_mach_header(const char* value) { set_has_mach_header(); if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mach_header_ = new ::std::string; } mach_header_->assign(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) { set_has_mach_header(); if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mach_header_ = new ::std::string; } mach_header_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) } inline ::std::string* ClientDownloadRequest_MachOHeaders::mutable_mach_header() { set_has_mach_header(); if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { mach_header_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.MachOHeaders.mach_header) return mach_header_; } inline ::std::string* ClientDownloadRequest_MachOHeaders::release_mach_header() { clear_has_mach_header(); if (mach_header_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = mach_header_; mach_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_MachOHeaders::set_allocated_mach_header(::std::string* mach_header) { if (mach_header_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete mach_header_; } if (mach_header) { set_has_mach_header(); mach_header_ = mach_header; } else { clear_has_mach_header(); mach_header_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::load_commands_size() const { return load_commands_.size(); } inline void ClientDownloadRequest_MachOHeaders::clear_load_commands() { load_commands_.Clear(); } 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 load_commands_.Get(index); } 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 ::safe_browsing::ClientDownloadRequest_MachOHeaders_LoadCommand* ClientDownloadRequest_MachOHeaders::add_load_commands() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.MachOHeaders.load_commands) return load_commands_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // ------------------------------------------------------------------- // ClientDownloadRequest_ImageHeaders // optional .safe_browsing.ClientDownloadRequest.PEImageHeaders pe_headers = 1; inline bool ClientDownloadRequest_ImageHeaders::has_pe_headers() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_ImageHeaders::set_has_pe_headers() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_ImageHeaders::clear_has_pe_headers() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_ImageHeaders::clear_pe_headers() { if (pe_headers_ != NULL) pe_headers_->::safe_browsing::ClientDownloadRequest_PEImageHeaders::Clear(); clear_has_pe_headers(); } inline const ::safe_browsing::ClientDownloadRequest_PEImageHeaders& ClientDownloadRequest_ImageHeaders::pe_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return pe_headers_ != NULL ? *pe_headers_ : *default_instance().pe_headers_; #else return pe_headers_ != NULL ? *pe_headers_ : *default_instance_->pe_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* ClientDownloadRequest_ImageHeaders::mutable_pe_headers() { set_has_pe_headers(); if (pe_headers_ == NULL) pe_headers_ = new ::safe_browsing::ClientDownloadRequest_PEImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ImageHeaders.pe_headers) return pe_headers_; } inline ::safe_browsing::ClientDownloadRequest_PEImageHeaders* ClientDownloadRequest_ImageHeaders::release_pe_headers() { clear_has_pe_headers(); ::safe_browsing::ClientDownloadRequest_PEImageHeaders* temp = pe_headers_; pe_headers_ = NULL; return temp; } inline void ClientDownloadRequest_ImageHeaders::set_allocated_pe_headers(::safe_browsing::ClientDownloadRequest_PEImageHeaders* pe_headers) { delete pe_headers_; pe_headers_ = pe_headers; if (pe_headers) { set_has_pe_headers(); } else { clear_has_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::mach_o_headers_size() const { return mach_o_headers_.size(); } inline void ClientDownloadRequest_ImageHeaders::clear_mach_o_headers() { mach_o_headers_.Clear(); } 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 mach_o_headers_.Get(index); } 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 ::safe_browsing::ClientDownloadRequest_MachOHeaders* ClientDownloadRequest_ImageHeaders::add_mach_o_headers() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.ImageHeaders.mach_o_headers) return mach_o_headers_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // ------------------------------------------------------------------- // ClientDownloadRequest_ArchivedBinary // optional string file_basename = 1; inline bool ClientDownloadRequest_ArchivedBinary::has_file_basename() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_ArchivedBinary::set_has_file_basename() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_ArchivedBinary::clear_has_file_basename() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_ArchivedBinary::clear_file_basename() { if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_->clear(); } clear_has_file_basename(); } inline const ::std::string& ClientDownloadRequest_ArchivedBinary::file_basename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) return *file_basename_; } inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const ::std::string& value) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } inline void ClientDownloadRequest_ArchivedBinary::set_file_basename(const char* value) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(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) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } inline ::std::string* ClientDownloadRequest_ArchivedBinary::mutable_file_basename() { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) return file_basename_; } inline ::std::string* ClientDownloadRequest_ArchivedBinary::release_file_basename() { clear_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = file_basename_; file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_file_basename(::std::string* file_basename) { if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete file_basename_; } if (file_basename) { set_has_file_basename(); file_basename_ = file_basename; } else { clear_has_file_basename(); file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.file_basename) } // optional .safe_browsing.ClientDownloadRequest.DownloadType download_type = 2; inline bool ClientDownloadRequest_ArchivedBinary::has_download_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_ArchivedBinary::set_has_download_type() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_ArchivedBinary::clear_has_download_type() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_ArchivedBinary::clear_download_type() { download_type_ = 0; clear_has_download_type(); } inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest_ArchivedBinary::download_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.download_type) return static_cast< ::safe_browsing::ClientDownloadRequest_DownloadType >(download_type_); } inline void ClientDownloadRequest_ArchivedBinary::set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) { assert(::safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value)); set_has_download_type(); 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::has_digests() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadRequest_ArchivedBinary::set_has_digests() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadRequest_ArchivedBinary::clear_has_digests() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadRequest_ArchivedBinary::clear_digests() { if (digests_ != NULL) digests_->::safe_browsing::ClientDownloadRequest_Digests::Clear(); clear_has_digests(); } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest_ArchivedBinary::digests() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return digests_ != NULL ? *digests_ : *default_instance().digests_; #else return digests_ != NULL ? *digests_ : *default_instance_->digests_; #endif } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest_ArchivedBinary::mutable_digests() { set_has_digests(); if (digests_ == NULL) digests_ = new ::safe_browsing::ClientDownloadRequest_Digests; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests) return digests_; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest_ArchivedBinary::release_digests() { clear_has_digests(); ::safe_browsing::ClientDownloadRequest_Digests* temp = digests_; digests_ = NULL; return temp; } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests) { delete digests_; digests_ = digests; if (digests) { set_has_digests(); } else { clear_has_digests(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.digests) } // optional int64 length = 4; inline bool ClientDownloadRequest_ArchivedBinary::has_length() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientDownloadRequest_ArchivedBinary::set_has_length() { _has_bits_[0] |= 0x00000008u; } inline void ClientDownloadRequest_ArchivedBinary::clear_has_length() { _has_bits_[0] &= ~0x00000008u; } inline void ClientDownloadRequest_ArchivedBinary::clear_length() { length_ = GOOGLE_LONGLONG(0); clear_has_length(); } inline ::google::protobuf::int64 ClientDownloadRequest_ArchivedBinary::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.length) return length_; } inline void ClientDownloadRequest_ArchivedBinary::set_length(::google::protobuf::int64 value) { set_has_length(); length_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.ArchivedBinary.length) } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool ClientDownloadRequest_ArchivedBinary::has_signature() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientDownloadRequest_ArchivedBinary::set_has_signature() { _has_bits_[0] |= 0x00000010u; } inline void ClientDownloadRequest_ArchivedBinary::clear_has_signature() { _has_bits_[0] &= ~0x00000010u; } inline void ClientDownloadRequest_ArchivedBinary::clear_signature() { if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear(); clear_has_signature(); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest_ArchivedBinary::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return signature_ != NULL ? *signature_ : *default_instance().signature_; #else return signature_ != NULL ? *signature_ : *default_instance_->signature_; #endif } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_ArchivedBinary::mutable_signature() { set_has_signature(); if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature) return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest_ArchivedBinary::release_signature() { clear_has_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = NULL; return temp; } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { delete signature_; signature_ = signature; if (signature) { set_has_signature(); } else { clear_has_signature(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.signature) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6; inline bool ClientDownloadRequest_ArchivedBinary::has_image_headers() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientDownloadRequest_ArchivedBinary::set_has_image_headers() { _has_bits_[0] |= 0x00000020u; } inline void ClientDownloadRequest_ArchivedBinary::clear_has_image_headers() { _has_bits_[0] &= ~0x00000020u; } inline void ClientDownloadRequest_ArchivedBinary::clear_image_headers() { if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear(); clear_has_image_headers(); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest_ArchivedBinary::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_; #else return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest_ArchivedBinary::mutable_image_headers() { set_has_image_headers(); if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers) return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest_ArchivedBinary::release_image_headers() { clear_has_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = NULL; return temp; } inline void ClientDownloadRequest_ArchivedBinary::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { delete image_headers_; image_headers_ = image_headers; if (image_headers) { set_has_image_headers(); } else { clear_has_image_headers(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.ArchivedBinary.image_headers) } // ------------------------------------------------------------------- // ClientDownloadRequest_URLChainEntry // optional string url = 1; inline bool ClientDownloadRequest_URLChainEntry::has_url() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_url() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_url() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest_URLChainEntry::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientDownloadRequest_URLChainEntry::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.url) return *url_; } inline void ClientDownloadRequest_URLChainEntry::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.url) } inline void ClientDownloadRequest_URLChainEntry::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.url) } inline void ClientDownloadRequest_URLChainEntry::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.url) } inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.url) return url_; } inline ::std::string* ClientDownloadRequest_URLChainEntry::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_URLChainEntry::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.url) } // optional .safe_browsing.ClientDownloadRequest.URLChainEntry.URLType type = 2; inline bool ClientDownloadRequest_URLChainEntry::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest_URLChainEntry::clear_type() { type_ = 1; clear_has_type(); } inline ::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType ClientDownloadRequest_URLChainEntry::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.type) return static_cast< ::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType >(type_); } inline void ClientDownloadRequest_URLChainEntry::set_type(::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType value) { assert(::safe_browsing::ClientDownloadRequest_URLChainEntry_URLType_IsValid(value)); set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.type) } // optional string ip_address = 3; inline bool ClientDownloadRequest_URLChainEntry::has_ip_address() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_ip_address() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_ip_address() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadRequest_URLChainEntry::clear_ip_address() { if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_address_->clear(); } clear_has_ip_address(); } inline const ::std::string& ClientDownloadRequest_URLChainEntry::ip_address() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address) return *ip_address_; } inline void ClientDownloadRequest_URLChainEntry::set_ip_address(const ::std::string& value) { set_has_ip_address(); if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_address_ = new ::std::string; } ip_address_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address) } inline void ClientDownloadRequest_URLChainEntry::set_ip_address(const char* value) { set_has_ip_address(); if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_address_ = new ::std::string; } ip_address_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address) } inline void ClientDownloadRequest_URLChainEntry::set_ip_address(const char* value, size_t size) { set_has_ip_address(); if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_address_ = new ::std::string; } ip_address_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address) } inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_ip_address() { set_has_ip_address(); if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { ip_address_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address) return ip_address_; } inline ::std::string* ClientDownloadRequest_URLChainEntry::release_ip_address() { clear_has_ip_address(); if (ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = ip_address_; ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_URLChainEntry::set_allocated_ip_address(::std::string* ip_address) { if (ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete ip_address_; } if (ip_address) { set_has_ip_address(); ip_address_ = ip_address; } else { clear_has_ip_address(); ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.ip_address) } // optional string referrer = 4; inline bool ClientDownloadRequest_URLChainEntry::has_referrer() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_referrer() { _has_bits_[0] |= 0x00000008u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_referrer() { _has_bits_[0] &= ~0x00000008u; } inline void ClientDownloadRequest_URLChainEntry::clear_referrer() { if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_->clear(); } clear_has_referrer(); } inline const ::std::string& ClientDownloadRequest_URLChainEntry::referrer() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer) return *referrer_; } inline void ClientDownloadRequest_URLChainEntry::set_referrer(const ::std::string& value) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer) } inline void ClientDownloadRequest_URLChainEntry::set_referrer(const char* value) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer) } inline void ClientDownloadRequest_URLChainEntry::set_referrer(const char* value, size_t size) { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } referrer_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer) } inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_referrer() { set_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer) return referrer_; } inline ::std::string* ClientDownloadRequest_URLChainEntry::release_referrer() { clear_has_referrer(); if (referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = referrer_; referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_URLChainEntry::set_allocated_referrer(::std::string* referrer) { if (referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete referrer_; } if (referrer) { set_has_referrer(); referrer_ = referrer; } else { clear_has_referrer(); referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.referrer) } // optional string main_frame_referrer = 5; inline bool ClientDownloadRequest_URLChainEntry::has_main_frame_referrer() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_main_frame_referrer() { _has_bits_[0] |= 0x00000010u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_main_frame_referrer() { _has_bits_[0] &= ~0x00000010u; } inline void ClientDownloadRequest_URLChainEntry::clear_main_frame_referrer() { if (main_frame_referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { main_frame_referrer_->clear(); } clear_has_main_frame_referrer(); } inline const ::std::string& ClientDownloadRequest_URLChainEntry::main_frame_referrer() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer) return *main_frame_referrer_; } inline void ClientDownloadRequest_URLChainEntry::set_main_frame_referrer(const ::std::string& value) { set_has_main_frame_referrer(); if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { main_frame_referrer_ = new ::std::string; } main_frame_referrer_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer) } inline void ClientDownloadRequest_URLChainEntry::set_main_frame_referrer(const char* value) { set_has_main_frame_referrer(); if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { main_frame_referrer_ = new ::std::string; } main_frame_referrer_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer) } inline void ClientDownloadRequest_URLChainEntry::set_main_frame_referrer(const char* value, size_t size) { set_has_main_frame_referrer(); if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { main_frame_referrer_ = new ::std::string; } main_frame_referrer_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer) } inline ::std::string* ClientDownloadRequest_URLChainEntry::mutable_main_frame_referrer() { set_has_main_frame_referrer(); if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { main_frame_referrer_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer) return main_frame_referrer_; } inline ::std::string* ClientDownloadRequest_URLChainEntry::release_main_frame_referrer() { clear_has_main_frame_referrer(); if (main_frame_referrer_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = main_frame_referrer_; main_frame_referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest_URLChainEntry::set_allocated_main_frame_referrer(::std::string* main_frame_referrer) { if (main_frame_referrer_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete main_frame_referrer_; } if (main_frame_referrer) { set_has_main_frame_referrer(); main_frame_referrer_ = main_frame_referrer; } else { clear_has_main_frame_referrer(); main_frame_referrer_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.URLChainEntry.main_frame_referrer) } // optional bool is_retargeting = 6; inline bool ClientDownloadRequest_URLChainEntry::has_is_retargeting() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_is_retargeting() { _has_bits_[0] |= 0x00000020u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_is_retargeting() { _has_bits_[0] &= ~0x00000020u; } inline void ClientDownloadRequest_URLChainEntry::clear_is_retargeting() { is_retargeting_ = false; clear_has_is_retargeting(); } inline bool ClientDownloadRequest_URLChainEntry::is_retargeting() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.is_retargeting) return is_retargeting_; } inline void ClientDownloadRequest_URLChainEntry::set_is_retargeting(bool value) { set_has_is_retargeting(); is_retargeting_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.is_retargeting) } // optional bool is_user_initiated = 7; inline bool ClientDownloadRequest_URLChainEntry::has_is_user_initiated() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_is_user_initiated() { _has_bits_[0] |= 0x00000040u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_is_user_initiated() { _has_bits_[0] &= ~0x00000040u; } inline void ClientDownloadRequest_URLChainEntry::clear_is_user_initiated() { is_user_initiated_ = false; clear_has_is_user_initiated(); } inline bool ClientDownloadRequest_URLChainEntry::is_user_initiated() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.is_user_initiated) return is_user_initiated_; } inline void ClientDownloadRequest_URLChainEntry::set_is_user_initiated(bool value) { set_has_is_user_initiated(); is_user_initiated_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.is_user_initiated) } // optional double timestamp_in_millisec = 8; inline bool ClientDownloadRequest_URLChainEntry::has_timestamp_in_millisec() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void ClientDownloadRequest_URLChainEntry::set_has_timestamp_in_millisec() { _has_bits_[0] |= 0x00000080u; } inline void ClientDownloadRequest_URLChainEntry::clear_has_timestamp_in_millisec() { _has_bits_[0] &= ~0x00000080u; } inline void ClientDownloadRequest_URLChainEntry::clear_timestamp_in_millisec() { timestamp_in_millisec_ = 0; clear_has_timestamp_in_millisec(); } inline double ClientDownloadRequest_URLChainEntry::timestamp_in_millisec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.URLChainEntry.timestamp_in_millisec) return timestamp_in_millisec_; } inline void ClientDownloadRequest_URLChainEntry::set_timestamp_in_millisec(double value) { set_has_timestamp_in_millisec(); timestamp_in_millisec_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.URLChainEntry.timestamp_in_millisec) } // ------------------------------------------------------------------- // ClientDownloadRequest // required string url = 1; inline bool ClientDownloadRequest::has_url() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadRequest::set_has_url() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadRequest::clear_has_url() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadRequest::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientDownloadRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.url) return *url_; } inline void ClientDownloadRequest::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.url) } inline void ClientDownloadRequest::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.url) } inline void ClientDownloadRequest::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.url) } inline ::std::string* ClientDownloadRequest::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.url) return url_; } inline ::std::string* ClientDownloadRequest::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.url) } // required .safe_browsing.ClientDownloadRequest.Digests digests = 2; inline bool ClientDownloadRequest::has_digests() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadRequest::set_has_digests() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadRequest::clear_has_digests() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadRequest::clear_digests() { if (digests_ != NULL) digests_->::safe_browsing::ClientDownloadRequest_Digests::Clear(); clear_has_digests(); } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientDownloadRequest::digests() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.digests) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return digests_ != NULL ? *digests_ : *default_instance().digests_; #else return digests_ != NULL ? *digests_ : *default_instance_->digests_; #endif } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest::mutable_digests() { set_has_digests(); if (digests_ == NULL) digests_ = new ::safe_browsing::ClientDownloadRequest_Digests; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.digests) return digests_; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientDownloadRequest::release_digests() { clear_has_digests(); ::safe_browsing::ClientDownloadRequest_Digests* temp = digests_; digests_ = NULL; return temp; } inline void ClientDownloadRequest::set_allocated_digests(::safe_browsing::ClientDownloadRequest_Digests* digests) { delete digests_; digests_ = digests; if (digests) { set_has_digests(); } else { clear_has_digests(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.digests) } // required int64 length = 3; inline bool ClientDownloadRequest::has_length() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadRequest::set_has_length() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadRequest::clear_has_length() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadRequest::clear_length() { length_ = GOOGLE_LONGLONG(0); clear_has_length(); } inline ::google::protobuf::int64 ClientDownloadRequest::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.length) return length_; } inline void ClientDownloadRequest::set_length(::google::protobuf::int64 value) { set_has_length(); length_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.length) } // repeated .safe_browsing.ClientDownloadRequest.Resource resources = 4; inline int ClientDownloadRequest::resources_size() const { return resources_.size(); } inline void ClientDownloadRequest::clear_resources() { resources_.Clear(); } inline const ::safe_browsing::ClientDownloadRequest_Resource& ClientDownloadRequest::resources(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.resources) return resources_.Get(index); } inline ::safe_browsing::ClientDownloadRequest_Resource* ClientDownloadRequest::mutable_resources(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.resources) return resources_.Mutable(index); } inline ::safe_browsing::ClientDownloadRequest_Resource* ClientDownloadRequest::add_resources() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.resources) return resources_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >& ClientDownloadRequest::resources() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.resources) return resources_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_Resource >* ClientDownloadRequest::mutable_resources() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.resources) return &resources_; } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool ClientDownloadRequest::has_signature() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientDownloadRequest::set_has_signature() { _has_bits_[0] |= 0x00000010u; } inline void ClientDownloadRequest::clear_has_signature() { _has_bits_[0] &= ~0x00000010u; } inline void ClientDownloadRequest::clear_signature() { if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear(); clear_has_signature(); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientDownloadRequest::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.signature) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return signature_ != NULL ? *signature_ : *default_instance().signature_; #else return signature_ != NULL ? *signature_ : *default_instance_->signature_; #endif } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest::mutable_signature() { set_has_signature(); if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.signature) return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientDownloadRequest::release_signature() { clear_has_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = NULL; return temp; } inline void ClientDownloadRequest::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { delete signature_; signature_ = signature; if (signature) { set_has_signature(); } else { clear_has_signature(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.signature) } // optional bool user_initiated = 6; inline bool ClientDownloadRequest::has_user_initiated() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientDownloadRequest::set_has_user_initiated() { _has_bits_[0] |= 0x00000020u; } inline void ClientDownloadRequest::clear_has_user_initiated() { _has_bits_[0] &= ~0x00000020u; } inline void ClientDownloadRequest::clear_user_initiated() { user_initiated_ = false; clear_has_user_initiated(); } inline bool ClientDownloadRequest::user_initiated() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.user_initiated) return user_initiated_; } inline void ClientDownloadRequest::set_user_initiated(bool value) { set_has_user_initiated(); user_initiated_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.user_initiated) } // optional string file_basename = 9; inline bool ClientDownloadRequest::has_file_basename() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void ClientDownloadRequest::set_has_file_basename() { _has_bits_[0] |= 0x00000040u; } inline void ClientDownloadRequest::clear_has_file_basename() { _has_bits_[0] &= ~0x00000040u; } inline void ClientDownloadRequest::clear_file_basename() { if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_->clear(); } clear_has_file_basename(); } inline const ::std::string& ClientDownloadRequest::file_basename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.file_basename) return *file_basename_; } inline void ClientDownloadRequest::set_file_basename(const ::std::string& value) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.file_basename) } inline void ClientDownloadRequest::set_file_basename(const char* value) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.file_basename) } inline void ClientDownloadRequest::set_file_basename(const char* value, size_t size) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.file_basename) } inline ::std::string* ClientDownloadRequest::mutable_file_basename() { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.file_basename) return file_basename_; } inline ::std::string* ClientDownloadRequest::release_file_basename() { clear_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = file_basename_; file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest::set_allocated_file_basename(::std::string* file_basename) { if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete file_basename_; } if (file_basename) { set_has_file_basename(); file_basename_ = file_basename; } else { clear_has_file_basename(); file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_download_type() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void ClientDownloadRequest::set_has_download_type() { _has_bits_[0] |= 0x00000080u; } inline void ClientDownloadRequest::clear_has_download_type() { _has_bits_[0] &= ~0x00000080u; } inline void ClientDownloadRequest::clear_download_type() { download_type_ = 0; clear_has_download_type(); } inline ::safe_browsing::ClientDownloadRequest_DownloadType ClientDownloadRequest::download_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.download_type) return static_cast< ::safe_browsing::ClientDownloadRequest_DownloadType >(download_type_); } inline void ClientDownloadRequest::set_download_type(::safe_browsing::ClientDownloadRequest_DownloadType value) { assert(::safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value)); set_has_download_type(); download_type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.download_type) } // optional string locale = 11; inline bool ClientDownloadRequest::has_locale() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void ClientDownloadRequest::set_has_locale() { _has_bits_[0] |= 0x00000100u; } inline void ClientDownloadRequest::clear_has_locale() { _has_bits_[0] &= ~0x00000100u; } inline void ClientDownloadRequest::clear_locale() { if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_->clear(); } clear_has_locale(); } inline const ::std::string& ClientDownloadRequest::locale() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.locale) return *locale_; } inline void ClientDownloadRequest::set_locale(const ::std::string& value) { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } locale_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.locale) } inline void ClientDownloadRequest::set_locale(const char* value) { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } locale_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadRequest.locale) } inline void ClientDownloadRequest::set_locale(const char* value, size_t size) { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } locale_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadRequest.locale) } inline ::std::string* ClientDownloadRequest::mutable_locale() { set_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { locale_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.locale) return locale_; } inline ::std::string* ClientDownloadRequest::release_locale() { clear_has_locale(); if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = locale_; locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadRequest::set_allocated_locale(::std::string* locale) { if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete locale_; } if (locale) { set_has_locale(); locale_ = locale; } else { clear_has_locale(); locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.locale) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 18; inline bool ClientDownloadRequest::has_image_headers() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void ClientDownloadRequest::set_has_image_headers() { _has_bits_[0] |= 0x00000200u; } inline void ClientDownloadRequest::clear_has_image_headers() { _has_bits_[0] &= ~0x00000200u; } inline void ClientDownloadRequest::clear_image_headers() { if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear(); clear_has_image_headers(); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientDownloadRequest::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.image_headers) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_; #else return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest::mutable_image_headers() { set_has_image_headers(); if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.image_headers) return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientDownloadRequest::release_image_headers() { clear_has_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = NULL; return temp; } inline void ClientDownloadRequest::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { delete image_headers_; image_headers_ = image_headers; if (image_headers) { set_has_image_headers(); } else { clear_has_image_headers(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.image_headers) } // repeated .safe_browsing.ClientDownloadRequest.ArchivedBinary archived_binary = 22; inline int ClientDownloadRequest::archived_binary_size() const { return archived_binary_.size(); } inline void ClientDownloadRequest::clear_archived_binary() { archived_binary_.Clear(); } inline const ::safe_browsing::ClientDownloadRequest_ArchivedBinary& ClientDownloadRequest::archived_binary(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.archived_binary) return archived_binary_.Get(index); } 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 ::safe_browsing::ClientDownloadRequest_ArchivedBinary* ClientDownloadRequest::add_archived_binary() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.archived_binary) return archived_binary_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >& ClientDownloadRequest::archived_binary() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.archived_binary) return archived_binary_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_ArchivedBinary >* ClientDownloadRequest::mutable_archived_binary() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.archived_binary) return &archived_binary_; } // optional .safe_browsing.ChromeUserPopulation population = 24; inline bool ClientDownloadRequest::has_population() const { return (_has_bits_[0] & 0x00000800u) != 0; } inline void ClientDownloadRequest::set_has_population() { _has_bits_[0] |= 0x00000800u; } inline void ClientDownloadRequest::clear_has_population() { _has_bits_[0] &= ~0x00000800u; } inline void ClientDownloadRequest::clear_population() { if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear(); clear_has_population(); } inline const ::safe_browsing::ChromeUserPopulation& ClientDownloadRequest::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.population) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return population_ != NULL ? *population_ : *default_instance().population_; #else return population_ != NULL ? *population_ : *default_instance_->population_; #endif } inline ::safe_browsing::ChromeUserPopulation* ClientDownloadRequest::mutable_population() { set_has_population(); if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.population) return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientDownloadRequest::release_population() { clear_has_population(); ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = NULL; return temp; } inline void ClientDownloadRequest::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { delete population_; population_ = population; if (population) { set_has_population(); } else { clear_has_population(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadRequest.population) } // optional bool archive_valid = 26; inline bool ClientDownloadRequest::has_archive_valid() const { return (_has_bits_[0] & 0x00001000u) != 0; } inline void ClientDownloadRequest::set_has_archive_valid() { _has_bits_[0] |= 0x00001000u; } inline void ClientDownloadRequest::clear_has_archive_valid() { _has_bits_[0] &= ~0x00001000u; } inline void ClientDownloadRequest::clear_archive_valid() { archive_valid_ = false; clear_has_archive_valid(); } inline bool ClientDownloadRequest::archive_valid() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.archive_valid) return archive_valid_; } inline void ClientDownloadRequest::set_archive_valid(bool value) { set_has_archive_valid(); archive_valid_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.archive_valid) } // optional bool skipped_url_whitelist = 28; inline bool ClientDownloadRequest::has_skipped_url_whitelist() const { return (_has_bits_[0] & 0x00002000u) != 0; } inline void ClientDownloadRequest::set_has_skipped_url_whitelist() { _has_bits_[0] |= 0x00002000u; } inline void ClientDownloadRequest::clear_has_skipped_url_whitelist() { _has_bits_[0] &= ~0x00002000u; } inline void ClientDownloadRequest::clear_skipped_url_whitelist() { skipped_url_whitelist_ = false; clear_has_skipped_url_whitelist(); } inline bool ClientDownloadRequest::skipped_url_whitelist() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.skipped_url_whitelist) return skipped_url_whitelist_; } inline void ClientDownloadRequest::set_skipped_url_whitelist(bool value) { set_has_skipped_url_whitelist(); skipped_url_whitelist_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.skipped_url_whitelist) } // optional bool skipped_certificate_whitelist = 31; inline bool ClientDownloadRequest::has_skipped_certificate_whitelist() const { return (_has_bits_[0] & 0x00004000u) != 0; } inline void ClientDownloadRequest::set_has_skipped_certificate_whitelist() { _has_bits_[0] |= 0x00004000u; } inline void ClientDownloadRequest::clear_has_skipped_certificate_whitelist() { _has_bits_[0] &= ~0x00004000u; } inline void ClientDownloadRequest::clear_skipped_certificate_whitelist() { skipped_certificate_whitelist_ = false; clear_has_skipped_certificate_whitelist(); } inline bool ClientDownloadRequest::skipped_certificate_whitelist() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.skipped_certificate_whitelist) return skipped_certificate_whitelist_; } inline void ClientDownloadRequest::set_skipped_certificate_whitelist(bool value) { set_has_skipped_certificate_whitelist(); skipped_certificate_whitelist_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadRequest.skipped_certificate_whitelist) } // repeated string alternate_extensions = 35; inline int ClientDownloadRequest::alternate_extensions_size() const { return alternate_extensions_.size(); } inline void ClientDownloadRequest::clear_alternate_extensions() { alternate_extensions_.Clear(); } inline const ::std::string& ClientDownloadRequest::alternate_extensions(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.alternate_extensions) return alternate_extensions_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientDownloadRequest::alternate_extensions() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.alternate_extensions) return alternate_extensions_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* ClientDownloadRequest::mutable_alternate_extensions() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.alternate_extensions) return &alternate_extensions_; } // repeated .safe_browsing.ClientDownloadRequest.URLChainEntry url_chain = 36; inline int ClientDownloadRequest::url_chain_size() const { return url_chain_.size(); } inline void ClientDownloadRequest::clear_url_chain() { url_chain_.Clear(); } inline const ::safe_browsing::ClientDownloadRequest_URLChainEntry& ClientDownloadRequest::url_chain(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadRequest.url_chain) return url_chain_.Get(index); } inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* ClientDownloadRequest::mutable_url_chain(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadRequest.url_chain) return url_chain_.Mutable(index); } inline ::safe_browsing::ClientDownloadRequest_URLChainEntry* ClientDownloadRequest::add_url_chain() { // @@protoc_insertion_point(field_add:safe_browsing.ClientDownloadRequest.url_chain) return url_chain_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >& ClientDownloadRequest::url_chain() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientDownloadRequest.url_chain) return url_chain_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientDownloadRequest_URLChainEntry >* ClientDownloadRequest::mutable_url_chain() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientDownloadRequest.url_chain) return &url_chain_; } // ------------------------------------------------------------------- // ClientDownloadResponse_MoreInfo // optional string description = 1; inline bool ClientDownloadResponse_MoreInfo::has_description() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadResponse_MoreInfo::set_has_description() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadResponse_MoreInfo::clear_has_description() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadResponse_MoreInfo::clear_description() { if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_->clear(); } clear_has_description(); } inline const ::std::string& ClientDownloadResponse_MoreInfo::description() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.MoreInfo.description) return *description_; } inline void ClientDownloadResponse_MoreInfo::set_description(const ::std::string& value) { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } description_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.MoreInfo.description) } inline void ClientDownloadResponse_MoreInfo::set_description(const char* value) { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } description_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.MoreInfo.description) } inline void ClientDownloadResponse_MoreInfo::set_description(const char* value, size_t size) { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } description_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.MoreInfo.description) } inline ::std::string* ClientDownloadResponse_MoreInfo::mutable_description() { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.MoreInfo.description) return description_; } inline ::std::string* ClientDownloadResponse_MoreInfo::release_description() { clear_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = description_; description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadResponse_MoreInfo::set_allocated_description(::std::string* description) { if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete description_; } if (description) { set_has_description(); description_ = description; } else { clear_has_description(); description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.MoreInfo.description) } // optional string url = 2; inline bool ClientDownloadResponse_MoreInfo::has_url() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadResponse_MoreInfo::set_has_url() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadResponse_MoreInfo::clear_has_url() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadResponse_MoreInfo::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientDownloadResponse_MoreInfo::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.MoreInfo.url) return *url_; } inline void ClientDownloadResponse_MoreInfo::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.MoreInfo.url) } inline void ClientDownloadResponse_MoreInfo::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.MoreInfo.url) } inline void ClientDownloadResponse_MoreInfo::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.MoreInfo.url) } inline ::std::string* ClientDownloadResponse_MoreInfo::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.MoreInfo.url) return url_; } inline ::std::string* ClientDownloadResponse_MoreInfo::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadResponse_MoreInfo::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.MoreInfo.url) } // ------------------------------------------------------------------- // ClientDownloadResponse // optional .safe_browsing.ClientDownloadResponse.Verdict verdict = 1 [default = SAFE]; inline bool ClientDownloadResponse::has_verdict() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadResponse::set_has_verdict() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadResponse::clear_has_verdict() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadResponse::clear_verdict() { verdict_ = 0; clear_has_verdict(); } inline ::safe_browsing::ClientDownloadResponse_Verdict ClientDownloadResponse::verdict() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.verdict) return static_cast< ::safe_browsing::ClientDownloadResponse_Verdict >(verdict_); } inline void ClientDownloadResponse::set_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) { assert(::safe_browsing::ClientDownloadResponse_Verdict_IsValid(value)); set_has_verdict(); verdict_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.verdict) } // optional .safe_browsing.ClientDownloadResponse.MoreInfo more_info = 2; inline bool ClientDownloadResponse::has_more_info() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadResponse::set_has_more_info() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadResponse::clear_has_more_info() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadResponse::clear_more_info() { if (more_info_ != NULL) more_info_->::safe_browsing::ClientDownloadResponse_MoreInfo::Clear(); clear_has_more_info(); } inline const ::safe_browsing::ClientDownloadResponse_MoreInfo& ClientDownloadResponse::more_info() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.more_info) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return more_info_ != NULL ? *more_info_ : *default_instance().more_info_; #else return more_info_ != NULL ? *more_info_ : *default_instance_->more_info_; #endif } inline ::safe_browsing::ClientDownloadResponse_MoreInfo* ClientDownloadResponse::mutable_more_info() { set_has_more_info(); if (more_info_ == NULL) more_info_ = new ::safe_browsing::ClientDownloadResponse_MoreInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.more_info) return more_info_; } inline ::safe_browsing::ClientDownloadResponse_MoreInfo* ClientDownloadResponse::release_more_info() { clear_has_more_info(); ::safe_browsing::ClientDownloadResponse_MoreInfo* temp = more_info_; more_info_ = NULL; return temp; } inline void ClientDownloadResponse::set_allocated_more_info(::safe_browsing::ClientDownloadResponse_MoreInfo* more_info) { delete more_info_; more_info_ = more_info; if (more_info) { set_has_more_info(); } else { clear_has_more_info(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.more_info) } // optional bytes token = 3; inline bool ClientDownloadResponse::has_token() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadResponse::set_has_token() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadResponse::clear_has_token() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadResponse::clear_token() { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_->clear(); } clear_has_token(); } inline const ::std::string& ClientDownloadResponse::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadResponse.token) return *token_; } inline void ClientDownloadResponse::set_token(const ::std::string& value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadResponse.token) } inline void ClientDownloadResponse::set_token(const char* value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadResponse.token) } inline void ClientDownloadResponse::set_token(const void* value, size_t size) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadResponse.token) } inline ::std::string* ClientDownloadResponse::mutable_token() { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadResponse.token) return token_; } inline ::std::string* ClientDownloadResponse::release_token() { clear_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = token_; token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadResponse::set_allocated_token(::std::string* token) { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete token_; } if (token) { set_has_token(); token_ = token; } else { clear_has_token(); token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadResponse.token) } // ------------------------------------------------------------------- // ClientDownloadReport_UserInformation // optional string email = 1; inline bool ClientDownloadReport_UserInformation::has_email() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadReport_UserInformation::set_has_email() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadReport_UserInformation::clear_has_email() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadReport_UserInformation::clear_email() { if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_->clear(); } clear_has_email(); } inline const ::std::string& ClientDownloadReport_UserInformation::email() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.UserInformation.email) return *email_; } inline void ClientDownloadReport_UserInformation::set_email(const ::std::string& value) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.UserInformation.email) } inline void ClientDownloadReport_UserInformation::set_email(const char* value) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadReport.UserInformation.email) } inline void ClientDownloadReport_UserInformation::set_email(const char* value, size_t size) { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } email_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadReport.UserInformation.email) } inline ::std::string* ClientDownloadReport_UserInformation::mutable_email() { set_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { email_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.UserInformation.email) return email_; } inline ::std::string* ClientDownloadReport_UserInformation::release_email() { clear_has_email(); if (email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = email_; email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadReport_UserInformation::set_allocated_email(::std::string* email) { if (email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete email_; } if (email) { set_has_email(); email_ = email; } else { clear_has_email(); email_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.UserInformation.email) } // ------------------------------------------------------------------- // ClientDownloadReport // optional .safe_browsing.ClientDownloadReport.Reason reason = 1; inline bool ClientDownloadReport::has_reason() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientDownloadReport::set_has_reason() { _has_bits_[0] |= 0x00000001u; } inline void ClientDownloadReport::clear_has_reason() { _has_bits_[0] &= ~0x00000001u; } inline void ClientDownloadReport::clear_reason() { reason_ = 0; clear_has_reason(); } inline ::safe_browsing::ClientDownloadReport_Reason ClientDownloadReport::reason() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.reason) return static_cast< ::safe_browsing::ClientDownloadReport_Reason >(reason_); } inline void ClientDownloadReport::set_reason(::safe_browsing::ClientDownloadReport_Reason value) { assert(::safe_browsing::ClientDownloadReport_Reason_IsValid(value)); set_has_reason(); reason_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.reason) } // optional .safe_browsing.ClientDownloadRequest download_request = 2; inline bool ClientDownloadReport::has_download_request() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientDownloadReport::set_has_download_request() { _has_bits_[0] |= 0x00000002u; } inline void ClientDownloadReport::clear_has_download_request() { _has_bits_[0] &= ~0x00000002u; } inline void ClientDownloadReport::clear_download_request() { if (download_request_ != NULL) download_request_->::safe_browsing::ClientDownloadRequest::Clear(); clear_has_download_request(); } inline const ::safe_browsing::ClientDownloadRequest& ClientDownloadReport::download_request() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.download_request) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return download_request_ != NULL ? *download_request_ : *default_instance().download_request_; #else return download_request_ != NULL ? *download_request_ : *default_instance_->download_request_; #endif } inline ::safe_browsing::ClientDownloadRequest* ClientDownloadReport::mutable_download_request() { set_has_download_request(); if (download_request_ == NULL) download_request_ = new ::safe_browsing::ClientDownloadRequest; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.download_request) return download_request_; } inline ::safe_browsing::ClientDownloadRequest* ClientDownloadReport::release_download_request() { clear_has_download_request(); ::safe_browsing::ClientDownloadRequest* temp = download_request_; download_request_ = NULL; return temp; } inline void ClientDownloadReport::set_allocated_download_request(::safe_browsing::ClientDownloadRequest* download_request) { delete download_request_; download_request_ = download_request; if (download_request) { set_has_download_request(); } else { clear_has_download_request(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.download_request) } // optional .safe_browsing.ClientDownloadReport.UserInformation user_information = 3; inline bool ClientDownloadReport::has_user_information() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientDownloadReport::set_has_user_information() { _has_bits_[0] |= 0x00000004u; } inline void ClientDownloadReport::clear_has_user_information() { _has_bits_[0] &= ~0x00000004u; } inline void ClientDownloadReport::clear_user_information() { if (user_information_ != NULL) user_information_->::safe_browsing::ClientDownloadReport_UserInformation::Clear(); clear_has_user_information(); } inline const ::safe_browsing::ClientDownloadReport_UserInformation& ClientDownloadReport::user_information() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.user_information) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return user_information_ != NULL ? *user_information_ : *default_instance().user_information_; #else return user_information_ != NULL ? *user_information_ : *default_instance_->user_information_; #endif } inline ::safe_browsing::ClientDownloadReport_UserInformation* ClientDownloadReport::mutable_user_information() { set_has_user_information(); if (user_information_ == NULL) user_information_ = new ::safe_browsing::ClientDownloadReport_UserInformation; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.user_information) return user_information_; } inline ::safe_browsing::ClientDownloadReport_UserInformation* ClientDownloadReport::release_user_information() { clear_has_user_information(); ::safe_browsing::ClientDownloadReport_UserInformation* temp = user_information_; user_information_ = NULL; return temp; } inline void ClientDownloadReport::set_allocated_user_information(::safe_browsing::ClientDownloadReport_UserInformation* user_information) { delete user_information_; user_information_ = user_information; if (user_information) { set_has_user_information(); } else { clear_has_user_information(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.user_information) } // optional bytes comment = 4; inline bool ClientDownloadReport::has_comment() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientDownloadReport::set_has_comment() { _has_bits_[0] |= 0x00000008u; } inline void ClientDownloadReport::clear_has_comment() { _has_bits_[0] &= ~0x00000008u; } inline void ClientDownloadReport::clear_comment() { if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { comment_->clear(); } clear_has_comment(); } inline const ::std::string& ClientDownloadReport::comment() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.comment) return *comment_; } inline void ClientDownloadReport::set_comment(const ::std::string& value) { set_has_comment(); if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { comment_ = new ::std::string; } comment_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientDownloadReport.comment) } inline void ClientDownloadReport::set_comment(const char* value) { set_has_comment(); if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { comment_ = new ::std::string; } comment_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientDownloadReport.comment) } inline void ClientDownloadReport::set_comment(const void* value, size_t size) { set_has_comment(); if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { comment_ = new ::std::string; } comment_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientDownloadReport.comment) } inline ::std::string* ClientDownloadReport::mutable_comment() { set_has_comment(); if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { comment_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.comment) return comment_; } inline ::std::string* ClientDownloadReport::release_comment() { clear_has_comment(); if (comment_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = comment_; comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientDownloadReport::set_allocated_comment(::std::string* comment) { if (comment_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete comment_; } if (comment) { set_has_comment(); comment_ = comment; } else { clear_has_comment(); comment_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.comment) } // optional .safe_browsing.ClientDownloadResponse download_response = 5; inline bool ClientDownloadReport::has_download_response() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientDownloadReport::set_has_download_response() { _has_bits_[0] |= 0x00000010u; } inline void ClientDownloadReport::clear_has_download_response() { _has_bits_[0] &= ~0x00000010u; } inline void ClientDownloadReport::clear_download_response() { if (download_response_ != NULL) download_response_->::safe_browsing::ClientDownloadResponse::Clear(); clear_has_download_response(); } inline const ::safe_browsing::ClientDownloadResponse& ClientDownloadReport::download_response() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientDownloadReport.download_response) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return download_response_ != NULL ? *download_response_ : *default_instance().download_response_; #else return download_response_ != NULL ? *download_response_ : *default_instance_->download_response_; #endif } inline ::safe_browsing::ClientDownloadResponse* ClientDownloadReport::mutable_download_response() { set_has_download_response(); if (download_response_ == NULL) download_response_ = new ::safe_browsing::ClientDownloadResponse; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientDownloadReport.download_response) return download_response_; } inline ::safe_browsing::ClientDownloadResponse* ClientDownloadReport::release_download_response() { clear_has_download_response(); ::safe_browsing::ClientDownloadResponse* temp = download_response_; download_response_ = NULL; return temp; } inline void ClientDownloadReport::set_allocated_download_response(::safe_browsing::ClientDownloadResponse* download_response) { delete download_response_; download_response_ = download_response; if (download_response) { set_has_download_response(); } else { clear_has_download_response(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientDownloadReport.download_response) } // ------------------------------------------------------------------- // ClientUploadResponse // optional .safe_browsing.ClientUploadResponse.UploadStatus status = 1; inline bool ClientUploadResponse::has_status() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientUploadResponse::set_has_status() { _has_bits_[0] |= 0x00000001u; } inline void ClientUploadResponse::clear_has_status() { _has_bits_[0] &= ~0x00000001u; } inline void ClientUploadResponse::clear_status() { status_ = 0; clear_has_status(); } inline ::safe_browsing::ClientUploadResponse_UploadStatus ClientUploadResponse::status() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientUploadResponse.status) return static_cast< ::safe_browsing::ClientUploadResponse_UploadStatus >(status_); } inline void ClientUploadResponse::set_status(::safe_browsing::ClientUploadResponse_UploadStatus value) { assert(::safe_browsing::ClientUploadResponse_UploadStatus_IsValid(value)); set_has_status(); status_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientUploadResponse.status) } // optional string permalink = 2; inline bool ClientUploadResponse::has_permalink() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientUploadResponse::set_has_permalink() { _has_bits_[0] |= 0x00000002u; } inline void ClientUploadResponse::clear_has_permalink() { _has_bits_[0] &= ~0x00000002u; } inline void ClientUploadResponse::clear_permalink() { if (permalink_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { permalink_->clear(); } clear_has_permalink(); } inline const ::std::string& ClientUploadResponse::permalink() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientUploadResponse.permalink) return *permalink_; } inline void ClientUploadResponse::set_permalink(const ::std::string& value) { set_has_permalink(); if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { permalink_ = new ::std::string; } permalink_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientUploadResponse.permalink) } inline void ClientUploadResponse::set_permalink(const char* value) { set_has_permalink(); if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { permalink_ = new ::std::string; } permalink_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientUploadResponse.permalink) } inline void ClientUploadResponse::set_permalink(const char* value, size_t size) { set_has_permalink(); if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { permalink_ = new ::std::string; } permalink_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientUploadResponse.permalink) } inline ::std::string* ClientUploadResponse::mutable_permalink() { set_has_permalink(); if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { permalink_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientUploadResponse.permalink) return permalink_; } inline ::std::string* ClientUploadResponse::release_permalink() { clear_has_permalink(); if (permalink_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = permalink_; permalink_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientUploadResponse::set_allocated_permalink(::std::string* permalink) { if (permalink_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete permalink_; } if (permalink) { set_has_permalink(); permalink_ = permalink; } else { clear_has_permalink(); permalink_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientUploadResponse.permalink) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_TrackedPreferenceIncident // optional string path = 1; inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_path() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_has_path() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_has_path() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_path() { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_->clear(); } clear_has_path(); } inline const ::std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::path() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) return *path_; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const ::std::string& value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_path(const char* value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(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) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_path() { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) return path_; } inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::release_path() { clear_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = path_; path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_allocated_path(::std::string* path) { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete path_; } if (path) { set_has_path(); path_ = path; } else { clear_has_path(); path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.path) } // optional string atomic_value = 2; inline bool ClientIncidentReport_IncidentData_TrackedPreferenceIncident::has_atomic_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_has_atomic_value() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_has_atomic_value() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_atomic_value() { if (atomic_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { atomic_value_->clear(); } clear_has_atomic_value(); } inline const ::std::string& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::atomic_value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) return *atomic_value_; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const ::std::string& value) { set_has_atomic_value(); if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { atomic_value_ = new ::std::string; } atomic_value_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_atomic_value(const char* value) { set_has_atomic_value(); if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { atomic_value_ = new ::std::string; } atomic_value_->assign(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) { set_has_atomic_value(); if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { atomic_value_ = new ::std::string; } atomic_value_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::mutable_atomic_value() { set_has_atomic_value(); if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { atomic_value_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) return atomic_value_; } inline ::std::string* ClientIncidentReport_IncidentData_TrackedPreferenceIncident::release_atomic_value() { clear_has_atomic_value(); if (atomic_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = atomic_value_; atomic_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_allocated_atomic_value(::std::string* atomic_value) { if (atomic_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete atomic_value_; } if (atomic_value) { set_has_atomic_value(); atomic_value_ = atomic_value; } else { clear_has_atomic_value(); atomic_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.atomic_value) } // repeated string split_key = 3; inline int ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key_size() const { return split_key_.size(); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_split_key() { split_key_.Clear(); } 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 split_key_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientIncidentReport_IncidentData_TrackedPreferenceIncident::split_key() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.IncidentData.TrackedPreferenceIncident.split_key) return split_key_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* 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::has_value_state() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_has_value_state() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_has_value_state() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::clear_value_state() { value_state_ = 0; clear_has_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 static_cast< ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState >(value_state_); } inline void ClientIncidentReport_IncidentData_TrackedPreferenceIncident::set_value_state(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState value) { assert(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident_ValueState_IsValid(value)); set_has_value_state(); 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::has_relative_path() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_has_relative_path() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_has_relative_path() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_relative_path() { if (relative_path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { relative_path_->clear(); } clear_has_relative_path(); } 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 *relative_path_; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const ::std::string& value) { set_has_relative_path(); if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { relative_path_ = new ::std::string; } relative_path_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_relative_path(const char* value) { set_has_relative_path(); if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { relative_path_ = new ::std::string; } relative_path_->assign(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) { set_has_relative_path(); if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { relative_path_ = new ::std::string; } relative_path_->assign(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::mutable_relative_path() { set_has_relative_path(); if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { relative_path_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.relative_path) return relative_path_; } inline ::std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_relative_path() { clear_has_relative_path(); if (relative_path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = relative_path_; relative_path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_relative_path(::std::string* relative_path) { if (relative_path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete relative_path_; } if (relative_path) { set_has_relative_path(); relative_path_ = relative_path; } else { clear_has_relative_path(); relative_path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_signature() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_has_signature() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_has_signature() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_signature() { if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear(); clear_has_signature(); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return signature_ != NULL ? *signature_ : *default_instance().signature_; #else return signature_ != NULL ? *signature_ : *default_instance_->signature_; #endif } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_signature() { set_has_signature(); if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.signature) return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_signature() { clear_has_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { delete signature_; signature_ = signature; if (signature) { set_has_signature(); } else { clear_has_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::has_image_headers() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_has_image_headers() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_has_image_headers() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::clear_image_headers() { if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear(); clear_has_image_headers(); } 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) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_; #else return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::mutable_image_headers() { set_has_image_headers(); if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.ContainedFile.image_headers) return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::release_image_headers() { clear_has_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident_ContainedFile::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { delete image_headers_; image_headers_ = image_headers; if (image_headers) { set_has_image_headers(); } else { clear_has_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::has_file_basename() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_file_basename() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_file_basename() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_file_basename() { if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_->clear(); } clear_has_file_basename(); } inline const ::std::string& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::file_basename() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) return *file_basename_; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const ::std::string& value) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_file_basename(const char* value) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(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) { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } file_basename_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) } inline ::std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_file_basename() { set_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_basename_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.file_basename) return file_basename_; } inline ::std::string* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_file_basename() { clear_has_file_basename(); if (file_basename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = file_basename_; file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_file_basename(::std::string* file_basename) { if (file_basename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete file_basename_; } if (file_basename) { set_has_file_basename(); file_basename_ = file_basename; } else { clear_has_file_basename(); file_basename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_signature() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_signature() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_signature() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_signature() { if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear(); clear_has_signature(); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return signature_ != NULL ? *signature_ : *default_instance().signature_; #else return signature_ != NULL ? *signature_ : *default_instance_->signature_; #endif } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_signature() { set_has_signature(); if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.signature) return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_signature() { clear_has_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { delete signature_; signature_ = signature; if (signature) { set_has_signature(); } else { clear_has_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::has_image_headers() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_image_headers() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_image_headers() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_image_headers() { if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear(); clear_has_image_headers(); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BinaryIntegrityIncident::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_; #else return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::mutable_image_headers() { set_has_image_headers(); if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.image_headers) return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BinaryIntegrityIncident::release_image_headers() { clear_has_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { delete image_headers_; image_headers_ = image_headers; if (image_headers) { set_has_image_headers(); } else { clear_has_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::has_sec_error() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_has_sec_error() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_has_sec_error() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_sec_error() { sec_error_ = 0; clear_has_sec_error(); } inline ::google::protobuf::int32 ClientIncidentReport_IncidentData_BinaryIntegrityIncident::sec_error() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BinaryIntegrityIncident.sec_error) return sec_error_; } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::set_sec_error(::google::protobuf::int32 value) { set_has_sec_error(); 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::contained_file_size() const { return contained_file_.size(); } inline void ClientIncidentReport_IncidentData_BinaryIntegrityIncident::clear_contained_file() { contained_file_.Clear(); } 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 contained_file_.Get(index); } 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 ::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 contained_file_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_BlacklistLoadIncident // optional string path = 1; inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_path() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_path() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_path() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_path() { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_->clear(); } clear_has_path(); } inline const ::std::string& ClientIncidentReport_IncidentData_BlacklistLoadIncident::path() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path) return *path_; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_path(const ::std::string& value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path) } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_path(const char* value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path) } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_path(const char* value, size_t size) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path) } inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_path() { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path) return path_; } inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_path() { clear_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = path_; path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_path(::std::string* path) { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete path_; } if (path) { set_has_path(); path_ = path; } else { clear_has_path(); path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.path) } // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2; inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_digest() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_digest() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_digest() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_digest() { if (digest_ != NULL) digest_->::safe_browsing::ClientDownloadRequest_Digests::Clear(); clear_has_digest(); } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientIncidentReport_IncidentData_BlacklistLoadIncident::digest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.digest) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return digest_ != NULL ? *digest_ : *default_instance().digest_; #else return digest_ != NULL ? *digest_ : *default_instance_->digest_; #endif } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_digest() { set_has_digest(); if (digest_ == NULL) digest_ = new ::safe_browsing::ClientDownloadRequest_Digests; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.digest) return digest_; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_digest() { clear_has_digest(); ::safe_browsing::ClientDownloadRequest_Digests* temp = digest_; digest_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest) { delete digest_; digest_ = digest; if (digest) { set_has_digest(); } else { clear_has_digest(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.digest) } // optional string version = 3; inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_version() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_version() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_version() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_version() { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_->clear(); } clear_has_version(); } inline const ::std::string& ClientIncidentReport_IncidentData_BlacklistLoadIncident::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version) return *version_; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_version(const ::std::string& value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version) } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_version(const char* value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version) } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_version(const char* value, size_t size) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version) } inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_version() { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version) return version_; } inline ::std::string* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_version() { clear_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = version_; version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_version(::std::string* version) { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete version_; } if (version) { set_has_version(); version_ = version; } else { clear_has_version(); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.version) } // optional bool blacklist_initialized = 4; inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_blacklist_initialized() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_blacklist_initialized() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_blacklist_initialized() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_blacklist_initialized() { blacklist_initialized_ = false; clear_has_blacklist_initialized(); } inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::blacklist_initialized() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.blacklist_initialized) return blacklist_initialized_; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_blacklist_initialized(bool value) { set_has_blacklist_initialized(); blacklist_initialized_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.blacklist_initialized) } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 5; inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_signature() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_signature() { _has_bits_[0] |= 0x00000010u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_signature() { _has_bits_[0] &= ~0x00000010u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_signature() { if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear(); clear_has_signature(); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_BlacklistLoadIncident::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.signature) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return signature_ != NULL ? *signature_ : *default_instance().signature_; #else return signature_ != NULL ? *signature_ : *default_instance_->signature_; #endif } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_signature() { set_has_signature(); if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.signature) return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_signature() { clear_has_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { delete signature_; signature_ = signature; if (signature) { set_has_signature(); } else { clear_has_signature(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.signature) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 6; inline bool ClientIncidentReport_IncidentData_BlacklistLoadIncident::has_image_headers() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_has_image_headers() { _has_bits_[0] |= 0x00000020u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_has_image_headers() { _has_bits_[0] &= ~0x00000020u; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::clear_image_headers() { if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear(); clear_has_image_headers(); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_BlacklistLoadIncident::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.image_headers) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_; #else return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BlacklistLoadIncident::mutable_image_headers() { set_has_image_headers(); if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.image_headers) return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_BlacklistLoadIncident::release_image_headers() { clear_has_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_BlacklistLoadIncident::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { delete image_headers_; image_headers_ = image_headers; if (image_headers) { set_has_image_headers(); } else { clear_has_image_headers(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident.image_headers) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident // optional string variations_seed_signature = 1; inline bool ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::has_variations_seed_signature() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_has_variations_seed_signature() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::clear_has_variations_seed_signature() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::clear_variations_seed_signature() { if (variations_seed_signature_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { variations_seed_signature_->clear(); } clear_has_variations_seed_signature(); } inline const ::std::string& ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::variations_seed_signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature) return *variations_seed_signature_; } inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_variations_seed_signature(const ::std::string& value) { set_has_variations_seed_signature(); if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { variations_seed_signature_ = new ::std::string; } variations_seed_signature_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature) } inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_variations_seed_signature(const char* value) { set_has_variations_seed_signature(); if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { variations_seed_signature_ = new ::std::string; } variations_seed_signature_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature) } inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_variations_seed_signature(const char* value, size_t size) { set_has_variations_seed_signature(); if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { variations_seed_signature_ = new ::std::string; } variations_seed_signature_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature) } inline ::std::string* ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::mutable_variations_seed_signature() { set_has_variations_seed_signature(); if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { variations_seed_signature_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature) return variations_seed_signature_; } inline ::std::string* ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::release_variations_seed_signature() { clear_has_variations_seed_signature(); if (variations_seed_signature_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = variations_seed_signature_; variations_seed_signature_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::set_allocated_variations_seed_signature(::std::string* variations_seed_signature) { if (variations_seed_signature_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete variations_seed_signature_; } if (variations_seed_signature) { set_has_variations_seed_signature(); variations_seed_signature_ = variations_seed_signature; } else { clear_has_variations_seed_signature(); variations_seed_signature_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident.variations_seed_signature) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_ResourceRequestIncident // optional bytes digest = 1; inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_digest() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_has_digest() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_has_digest() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_digest() { if (digest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { digest_->clear(); } clear_has_digest(); } inline const ::std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::digest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) return *digest_; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const ::std::string& value) { set_has_digest(); if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { digest_ = new ::std::string; } digest_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_digest(const char* value) { set_has_digest(); if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { digest_ = new ::std::string; } digest_->assign(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) { set_has_digest(); if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { digest_ = new ::std::string; } digest_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::mutable_digest() { set_has_digest(); if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { digest_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) return digest_; } inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::release_digest() { clear_has_digest(); if (digest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = digest_; digest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_allocated_digest(::std::string* digest) { if (digest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete digest_; } if (digest) { set_has_digest(); digest_ = digest; } else { clear_has_digest(); digest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.digest) } // optional string origin = 2; inline bool ClientIncidentReport_IncidentData_ResourceRequestIncident::has_origin() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_has_origin() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_has_origin() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_origin() { if (origin_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { origin_->clear(); } clear_has_origin(); } inline const ::std::string& ClientIncidentReport_IncidentData_ResourceRequestIncident::origin() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) return *origin_; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const ::std::string& value) { set_has_origin(); if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { origin_ = new ::std::string; } origin_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_origin(const char* value) { set_has_origin(); if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { origin_ = new ::std::string; } origin_->assign(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) { set_has_origin(); if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { origin_ = new ::std::string; } origin_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) } inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::mutable_origin() { set_has_origin(); if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { origin_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.origin) return origin_; } inline ::std::string* ClientIncidentReport_IncidentData_ResourceRequestIncident::release_origin() { clear_has_origin(); if (origin_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = origin_; origin_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_allocated_origin(::std::string* origin) { if (origin_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete origin_; } if (origin) { set_has_origin(); origin_ = origin; } else { clear_has_origin(); origin_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_type() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_has_type() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_has_type() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::clear_type() { type_ = 0; clear_has_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 static_cast< ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type >(type_); } inline void ClientIncidentReport_IncidentData_ResourceRequestIncident::set_type(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type value) { assert(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident_Type_IsValid(value)); set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident.type) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData_SuspiciousModuleIncident // optional string path = 1; inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_path() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_path() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_path() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_path() { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_->clear(); } clear_has_path(); } inline const ::std::string& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::path() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path) return *path_; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_path(const ::std::string& value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path) } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_path(const char* value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path) } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_path(const char* value, size_t size) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path) } inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_path() { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path) return path_; } inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_path() { clear_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = path_; path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_path(::std::string* path) { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete path_; } if (path) { set_has_path(); path_ = path; } else { clear_has_path(); path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.path) } // optional .safe_browsing.ClientDownloadRequest.Digests digest = 2; inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_digest() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_digest() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_digest() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_digest() { if (digest_ != NULL) digest_->::safe_browsing::ClientDownloadRequest_Digests::Clear(); clear_has_digest(); } inline const ::safe_browsing::ClientDownloadRequest_Digests& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::digest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.digest) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return digest_ != NULL ? *digest_ : *default_instance().digest_; #else return digest_ != NULL ? *digest_ : *default_instance_->digest_; #endif } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_digest() { set_has_digest(); if (digest_ == NULL) digest_ = new ::safe_browsing::ClientDownloadRequest_Digests; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.digest) return digest_; } inline ::safe_browsing::ClientDownloadRequest_Digests* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_digest() { clear_has_digest(); ::safe_browsing::ClientDownloadRequest_Digests* temp = digest_; digest_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_digest(::safe_browsing::ClientDownloadRequest_Digests* digest) { delete digest_; digest_ = digest; if (digest) { set_has_digest(); } else { clear_has_digest(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.digest) } // optional string version = 3; inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_version() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_version() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_version() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_version() { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_->clear(); } clear_has_version(); } inline const ::std::string& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version) return *version_; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_version(const ::std::string& value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version) } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_version(const char* value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version) } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_version(const char* value, size_t size) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version) } inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_version() { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version) return version_; } inline ::std::string* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_version() { clear_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = version_; version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_version(::std::string* version) { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete version_; } if (version) { set_has_version(); version_ = version; } else { clear_has_version(); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.version) } // optional .safe_browsing.ClientDownloadRequest.SignatureInfo signature = 4; inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_signature() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_signature() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_signature() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_signature() { if (signature_ != NULL) signature_->::safe_browsing::ClientDownloadRequest_SignatureInfo::Clear(); clear_has_signature(); } inline const ::safe_browsing::ClientDownloadRequest_SignatureInfo& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.signature) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return signature_ != NULL ? *signature_ : *default_instance().signature_; #else return signature_ != NULL ? *signature_ : *default_instance_->signature_; #endif } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_signature() { set_has_signature(); if (signature_ == NULL) signature_ = new ::safe_browsing::ClientDownloadRequest_SignatureInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.signature) return signature_; } inline ::safe_browsing::ClientDownloadRequest_SignatureInfo* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_signature() { clear_has_signature(); ::safe_browsing::ClientDownloadRequest_SignatureInfo* temp = signature_; signature_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_signature(::safe_browsing::ClientDownloadRequest_SignatureInfo* signature) { delete signature_; signature_ = signature; if (signature) { set_has_signature(); } else { clear_has_signature(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.signature) } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5; inline bool ClientIncidentReport_IncidentData_SuspiciousModuleIncident::has_image_headers() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_has_image_headers() { _has_bits_[0] |= 0x00000010u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_has_image_headers() { _has_bits_[0] &= ~0x00000010u; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::clear_image_headers() { if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear(); clear_has_image_headers(); } inline const ::safe_browsing::ClientDownloadRequest_ImageHeaders& ClientIncidentReport_IncidentData_SuspiciousModuleIncident::image_headers() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.image_headers) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_; #else return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::mutable_image_headers() { set_has_image_headers(); if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.image_headers) return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_IncidentData_SuspiciousModuleIncident::release_image_headers() { clear_has_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData_SuspiciousModuleIncident::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { delete image_headers_; image_headers_ = image_headers; if (image_headers) { set_has_image_headers(); } else { clear_has_image_headers(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident.image_headers) } // ------------------------------------------------------------------- // ClientIncidentReport_IncidentData // optional int64 incident_time_msec = 1; inline bool ClientIncidentReport_IncidentData::has_incident_time_msec() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_IncidentData::set_has_incident_time_msec() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_IncidentData::clear_has_incident_time_msec() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_IncidentData::clear_incident_time_msec() { incident_time_msec_ = GOOGLE_LONGLONG(0); clear_has_incident_time_msec(); } inline ::google::protobuf::int64 ClientIncidentReport_IncidentData::incident_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.incident_time_msec) return incident_time_msec_; } inline void ClientIncidentReport_IncidentData::set_incident_time_msec(::google::protobuf::int64 value) { set_has_incident_time_msec(); 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::has_tracked_preference() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_IncidentData::set_has_tracked_preference() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_IncidentData::clear_has_tracked_preference() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_IncidentData::clear_tracked_preference() { if (tracked_preference_ != NULL) tracked_preference_->::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident::Clear(); clear_has_tracked_preference(); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident& ClientIncidentReport_IncidentData::tracked_preference() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return tracked_preference_ != NULL ? *tracked_preference_ : *default_instance().tracked_preference_; #else return tracked_preference_ != NULL ? *tracked_preference_ : *default_instance_->tracked_preference_; #endif } inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* ClientIncidentReport_IncidentData::mutable_tracked_preference() { set_has_tracked_preference(); if (tracked_preference_ == NULL) tracked_preference_ = new ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.tracked_preference) return tracked_preference_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* ClientIncidentReport_IncidentData::release_tracked_preference() { clear_has_tracked_preference(); ::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* temp = tracked_preference_; tracked_preference_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData::set_allocated_tracked_preference(::safe_browsing::ClientIncidentReport_IncidentData_TrackedPreferenceIncident* tracked_preference) { delete tracked_preference_; tracked_preference_ = tracked_preference; if (tracked_preference) { set_has_tracked_preference(); } else { clear_has_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::has_binary_integrity() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_IncidentData::set_has_binary_integrity() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_IncidentData::clear_has_binary_integrity() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_IncidentData::clear_binary_integrity() { if (binary_integrity_ != NULL) binary_integrity_->::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident::Clear(); clear_has_binary_integrity(); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident& ClientIncidentReport_IncidentData::binary_integrity() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return binary_integrity_ != NULL ? *binary_integrity_ : *default_instance().binary_integrity_; #else return binary_integrity_ != NULL ? *binary_integrity_ : *default_instance_->binary_integrity_; #endif } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* ClientIncidentReport_IncidentData::mutable_binary_integrity() { set_has_binary_integrity(); if (binary_integrity_ == NULL) binary_integrity_ = new ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity) return binary_integrity_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* ClientIncidentReport_IncidentData::release_binary_integrity() { clear_has_binary_integrity(); ::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* temp = binary_integrity_; binary_integrity_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData::set_allocated_binary_integrity(::safe_browsing::ClientIncidentReport_IncidentData_BinaryIntegrityIncident* binary_integrity) { delete binary_integrity_; binary_integrity_ = binary_integrity; if (binary_integrity) { set_has_binary_integrity(); } else { clear_has_binary_integrity(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.binary_integrity) } // optional .safe_browsing.ClientIncidentReport.IncidentData.BlacklistLoadIncident blacklist_load = 4; inline bool ClientIncidentReport_IncidentData::has_blacklist_load() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_IncidentData::set_has_blacklist_load() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_IncidentData::clear_has_blacklist_load() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_IncidentData::clear_blacklist_load() { if (blacklist_load_ != NULL) blacklist_load_->::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident::Clear(); clear_has_blacklist_load(); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident& ClientIncidentReport_IncidentData::blacklist_load() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.blacklist_load) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return blacklist_load_ != NULL ? *blacklist_load_ : *default_instance().blacklist_load_; #else return blacklist_load_ != NULL ? *blacklist_load_ : *default_instance_->blacklist_load_; #endif } inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* ClientIncidentReport_IncidentData::mutable_blacklist_load() { set_has_blacklist_load(); if (blacklist_load_ == NULL) blacklist_load_ = new ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.blacklist_load) return blacklist_load_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* ClientIncidentReport_IncidentData::release_blacklist_load() { clear_has_blacklist_load(); ::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* temp = blacklist_load_; blacklist_load_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData::set_allocated_blacklist_load(::safe_browsing::ClientIncidentReport_IncidentData_BlacklistLoadIncident* blacklist_load) { delete blacklist_load_; blacklist_load_ = blacklist_load; if (blacklist_load) { set_has_blacklist_load(); } else { clear_has_blacklist_load(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.blacklist_load) } // optional .safe_browsing.ClientIncidentReport.IncidentData.VariationsSeedSignatureIncident variations_seed_signature = 6; inline bool ClientIncidentReport_IncidentData::has_variations_seed_signature() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientIncidentReport_IncidentData::set_has_variations_seed_signature() { _has_bits_[0] |= 0x00000010u; } inline void ClientIncidentReport_IncidentData::clear_has_variations_seed_signature() { _has_bits_[0] &= ~0x00000010u; } inline void ClientIncidentReport_IncidentData::clear_variations_seed_signature() { if (variations_seed_signature_ != NULL) variations_seed_signature_->::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident::Clear(); clear_has_variations_seed_signature(); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident& ClientIncidentReport_IncidentData::variations_seed_signature() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.variations_seed_signature) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return variations_seed_signature_ != NULL ? *variations_seed_signature_ : *default_instance().variations_seed_signature_; #else return variations_seed_signature_ != NULL ? *variations_seed_signature_ : *default_instance_->variations_seed_signature_; #endif } inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* ClientIncidentReport_IncidentData::mutable_variations_seed_signature() { set_has_variations_seed_signature(); if (variations_seed_signature_ == NULL) variations_seed_signature_ = new ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.variations_seed_signature) return variations_seed_signature_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* ClientIncidentReport_IncidentData::release_variations_seed_signature() { clear_has_variations_seed_signature(); ::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* temp = variations_seed_signature_; variations_seed_signature_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData::set_allocated_variations_seed_signature(::safe_browsing::ClientIncidentReport_IncidentData_VariationsSeedSignatureIncident* variations_seed_signature) { delete variations_seed_signature_; variations_seed_signature_ = variations_seed_signature; if (variations_seed_signature) { set_has_variations_seed_signature(); } else { clear_has_variations_seed_signature(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.variations_seed_signature) } // optional .safe_browsing.ClientIncidentReport.IncidentData.ResourceRequestIncident resource_request = 7; inline bool ClientIncidentReport_IncidentData::has_resource_request() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientIncidentReport_IncidentData::set_has_resource_request() { _has_bits_[0] |= 0x00000020u; } inline void ClientIncidentReport_IncidentData::clear_has_resource_request() { _has_bits_[0] &= ~0x00000020u; } inline void ClientIncidentReport_IncidentData::clear_resource_request() { if (resource_request_ != NULL) resource_request_->::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident::Clear(); clear_has_resource_request(); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident& ClientIncidentReport_IncidentData::resource_request() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.resource_request) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return resource_request_ != NULL ? *resource_request_ : *default_instance().resource_request_; #else return resource_request_ != NULL ? *resource_request_ : *default_instance_->resource_request_; #endif } inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* ClientIncidentReport_IncidentData::mutable_resource_request() { set_has_resource_request(); if (resource_request_ == NULL) resource_request_ = new ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.resource_request) return resource_request_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* ClientIncidentReport_IncidentData::release_resource_request() { clear_has_resource_request(); ::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* temp = resource_request_; resource_request_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData::set_allocated_resource_request(::safe_browsing::ClientIncidentReport_IncidentData_ResourceRequestIncident* resource_request) { delete resource_request_; resource_request_ = resource_request; if (resource_request) { set_has_resource_request(); } else { clear_has_resource_request(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.resource_request) } // optional .safe_browsing.ClientIncidentReport.IncidentData.SuspiciousModuleIncident suspicious_module = 8; inline bool ClientIncidentReport_IncidentData::has_suspicious_module() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void ClientIncidentReport_IncidentData::set_has_suspicious_module() { _has_bits_[0] |= 0x00000040u; } inline void ClientIncidentReport_IncidentData::clear_has_suspicious_module() { _has_bits_[0] &= ~0x00000040u; } inline void ClientIncidentReport_IncidentData::clear_suspicious_module() { if (suspicious_module_ != NULL) suspicious_module_->::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident::Clear(); clear_has_suspicious_module(); } inline const ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident& ClientIncidentReport_IncidentData::suspicious_module() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.IncidentData.suspicious_module) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return suspicious_module_ != NULL ? *suspicious_module_ : *default_instance().suspicious_module_; #else return suspicious_module_ != NULL ? *suspicious_module_ : *default_instance_->suspicious_module_; #endif } inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* ClientIncidentReport_IncidentData::mutable_suspicious_module() { set_has_suspicious_module(); if (suspicious_module_ == NULL) suspicious_module_ = new ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.IncidentData.suspicious_module) return suspicious_module_; } inline ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* ClientIncidentReport_IncidentData::release_suspicious_module() { clear_has_suspicious_module(); ::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* temp = suspicious_module_; suspicious_module_ = NULL; return temp; } inline void ClientIncidentReport_IncidentData::set_allocated_suspicious_module(::safe_browsing::ClientIncidentReport_IncidentData_SuspiciousModuleIncident* suspicious_module) { delete suspicious_module_; suspicious_module_ = suspicious_module; if (suspicious_module) { set_has_suspicious_module(); } else { clear_has_suspicious_module(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.IncidentData.suspicious_module) } // ------------------------------------------------------------------- // ClientIncidentReport_DownloadDetails // optional bytes token = 1; inline bool ClientIncidentReport_DownloadDetails::has_token() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_DownloadDetails::set_has_token() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_DownloadDetails::clear_has_token() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_DownloadDetails::clear_token() { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_->clear(); } clear_has_token(); } inline const ::std::string& ClientIncidentReport_DownloadDetails::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.token) return *token_; } inline void ClientIncidentReport_DownloadDetails::set_token(const ::std::string& value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.DownloadDetails.token) } inline void ClientIncidentReport_DownloadDetails::set_token(const char* value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.DownloadDetails.token) } inline void ClientIncidentReport_DownloadDetails::set_token(const void* value, size_t size) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.DownloadDetails.token) } inline ::std::string* ClientIncidentReport_DownloadDetails::mutable_token() { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.DownloadDetails.token) return token_; } inline ::std::string* ClientIncidentReport_DownloadDetails::release_token() { clear_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = token_; token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_DownloadDetails::set_allocated_token(::std::string* token) { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete token_; } if (token) { set_has_token(); token_ = token; } else { clear_has_token(); token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.DownloadDetails.token) } // optional .safe_browsing.ClientDownloadRequest download = 2; inline bool ClientIncidentReport_DownloadDetails::has_download() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_DownloadDetails::set_has_download() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_DownloadDetails::clear_has_download() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_DownloadDetails::clear_download() { if (download_ != NULL) download_->::safe_browsing::ClientDownloadRequest::Clear(); clear_has_download(); } inline const ::safe_browsing::ClientDownloadRequest& ClientIncidentReport_DownloadDetails::download() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.download) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return download_ != NULL ? *download_ : *default_instance().download_; #else return download_ != NULL ? *download_ : *default_instance_->download_; #endif } inline ::safe_browsing::ClientDownloadRequest* ClientIncidentReport_DownloadDetails::mutable_download() { set_has_download(); if (download_ == NULL) download_ = new ::safe_browsing::ClientDownloadRequest; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.DownloadDetails.download) return download_; } inline ::safe_browsing::ClientDownloadRequest* ClientIncidentReport_DownloadDetails::release_download() { clear_has_download(); ::safe_browsing::ClientDownloadRequest* temp = download_; download_ = NULL; return temp; } inline void ClientIncidentReport_DownloadDetails::set_allocated_download(::safe_browsing::ClientDownloadRequest* download) { delete download_; download_ = download; if (download) { set_has_download(); } else { clear_has_download(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.DownloadDetails.download) } // optional int64 download_time_msec = 3; inline bool ClientIncidentReport_DownloadDetails::has_download_time_msec() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_DownloadDetails::set_has_download_time_msec() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_DownloadDetails::clear_has_download_time_msec() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_DownloadDetails::clear_download_time_msec() { download_time_msec_ = GOOGLE_LONGLONG(0); clear_has_download_time_msec(); } inline ::google::protobuf::int64 ClientIncidentReport_DownloadDetails::download_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.download_time_msec) return download_time_msec_; } inline void ClientIncidentReport_DownloadDetails::set_download_time_msec(::google::protobuf::int64 value) { set_has_download_time_msec(); 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::has_open_time_msec() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_DownloadDetails::set_has_open_time_msec() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_DownloadDetails::clear_has_open_time_msec() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_DownloadDetails::clear_open_time_msec() { open_time_msec_ = GOOGLE_LONGLONG(0); clear_has_open_time_msec(); } inline ::google::protobuf::int64 ClientIncidentReport_DownloadDetails::open_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.DownloadDetails.open_time_msec) return open_time_msec_; } inline void ClientIncidentReport_DownloadDetails::set_open_time_msec(::google::protobuf::int64 value) { set_has_open_time_msec(); 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::has_name() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_has_name() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_has_name() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_name() { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); } clear_has_name(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) return *name_; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const ::std::string& value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_name(const char* value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(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) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::mutable_name() { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) return name_; } inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::release_name() { clear_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = name_; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_allocated_name(::std::string* name) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete name_; } if (name) { set_has_name(); name_ = name; } else { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.name) } // optional uint32 type = 2; inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_type() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_has_type() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_has_type() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_type() { type_ = 0u; clear_has_type(); } inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_OS_RegistryValue::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.type) return type_; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_type(::google::protobuf::uint32 value) { set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.type) } // optional bytes data = 3; inline bool ClientIncidentReport_EnvironmentData_OS_RegistryValue::has_data() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_has_data() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_has_data() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::clear_data() { if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { data_->clear(); } clear_has_data(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_OS_RegistryValue::data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) return *data_; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const ::std::string& value) { set_has_data(); if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { data_ = new ::std::string; } data_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_data(const char* value) { set_has_data(); if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { data_ = new ::std::string; } data_->assign(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) { set_has_data(); if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { data_ = new ::std::string; } data_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) } inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::mutable_data() { set_has_data(); if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { data_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryValue.data) return data_; } inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryValue::release_data() { clear_has_data(); if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = data_; data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_OS_RegistryValue::set_allocated_data(::std::string* data) { if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete data_; } if (data) { set_has_data(); data_ = data; } else { clear_has_data(); data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_name() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_has_name() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_has_name() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_name() { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); } clear_has_name(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_OS_RegistryKey::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) return *name_; } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const ::std::string& value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_name(const char* value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(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) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) } inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryKey::mutable_name() { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey.name) return name_; } inline ::std::string* ClientIncidentReport_EnvironmentData_OS_RegistryKey::release_name() { clear_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = name_; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::set_allocated_name(::std::string* name) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete name_; } if (name) { set_has_name(); name_ = name; } else { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::value_size() const { return value_.size(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_value() { value_.Clear(); } 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 value_.Get(index); } 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 ::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 value_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.OS.RegistryKey key = 3; inline int ClientIncidentReport_EnvironmentData_OS_RegistryKey::key_size() const { return key_.size(); } inline void ClientIncidentReport_EnvironmentData_OS_RegistryKey::clear_key() { key_.Clear(); } 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 key_.Get(index); } 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 ::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 key_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_OS // optional string os_name = 1; inline bool ClientIncidentReport_EnvironmentData_OS::has_os_name() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_OS::set_has_os_name() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_OS::clear_has_os_name() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_OS::clear_os_name() { if (os_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_name_->clear(); } clear_has_os_name(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_OS::os_name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) return *os_name_; } inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const ::std::string& value) { set_has_os_name(); if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_name_ = new ::std::string; } os_name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } inline void ClientIncidentReport_EnvironmentData_OS::set_os_name(const char* value) { set_has_os_name(); if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_name_ = new ::std::string; } os_name_->assign(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) { set_has_os_name(); if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_name_ = new ::std::string; } os_name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } inline ::std::string* ClientIncidentReport_EnvironmentData_OS::mutable_os_name() { set_has_os_name(); if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) return os_name_; } inline ::std::string* ClientIncidentReport_EnvironmentData_OS::release_os_name() { clear_has_os_name(); if (os_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = os_name_; os_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_OS::set_allocated_os_name(::std::string* os_name) { if (os_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete os_name_; } if (os_name) { set_has_os_name(); os_name_ = os_name; } else { clear_has_os_name(); os_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_name) } // optional string os_version = 2; inline bool ClientIncidentReport_EnvironmentData_OS::has_os_version() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData_OS::set_has_os_version() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData_OS::clear_has_os_version() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData_OS::clear_os_version() { if (os_version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_version_->clear(); } clear_has_os_version(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_OS::os_version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) return *os_version_; } inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const ::std::string& value) { set_has_os_version(); if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_version_ = new ::std::string; } os_version_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) } inline void ClientIncidentReport_EnvironmentData_OS::set_os_version(const char* value) { set_has_os_version(); if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_version_ = new ::std::string; } os_version_->assign(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) { set_has_os_version(); if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_version_ = new ::std::string; } os_version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) } inline ::std::string* ClientIncidentReport_EnvironmentData_OS::mutable_os_version() { set_has_os_version(); if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { os_version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.OS.os_version) return os_version_; } inline ::std::string* ClientIncidentReport_EnvironmentData_OS::release_os_version() { clear_has_os_version(); if (os_version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = os_version_; os_version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_OS::set_allocated_os_version(::std::string* os_version) { if (os_version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete os_version_; } if (os_version) { set_has_os_version(); os_version_ = os_version; } else { clear_has_os_version(); os_version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::registry_key_size() const { return registry_key_.size(); } inline void ClientIncidentReport_EnvironmentData_OS::clear_registry_key() { registry_key_.Clear(); } 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 registry_key_.Get(index); } 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 ::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 registry_key_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // optional bool is_enrolled_to_domain = 4; inline bool ClientIncidentReport_EnvironmentData_OS::has_is_enrolled_to_domain() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_EnvironmentData_OS::set_has_is_enrolled_to_domain() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_EnvironmentData_OS::clear_has_is_enrolled_to_domain() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_EnvironmentData_OS::clear_is_enrolled_to_domain() { is_enrolled_to_domain_ = false; clear_has_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 is_enrolled_to_domain_; } inline void ClientIncidentReport_EnvironmentData_OS::set_is_enrolled_to_domain(bool value) { set_has_is_enrolled_to_domain(); 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::has_cpu_architecture() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_Machine::set_has_cpu_architecture() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Machine::clear_has_cpu_architecture() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpu_architecture() { if (cpu_architecture_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_architecture_->clear(); } clear_has_cpu_architecture(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_Machine::cpu_architecture() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) return *cpu_architecture_; } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const ::std::string& value) { set_has_cpu_architecture(); if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_architecture_ = new ::std::string; } cpu_architecture_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_architecture(const char* value) { set_has_cpu_architecture(); if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_architecture_ = new ::std::string; } cpu_architecture_->assign(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) { set_has_cpu_architecture(); if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_architecture_ = new ::std::string; } cpu_architecture_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::mutable_cpu_architecture() { set_has_cpu_architecture(); if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_architecture_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) return cpu_architecture_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::release_cpu_architecture() { clear_has_cpu_architecture(); if (cpu_architecture_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = cpu_architecture_; cpu_architecture_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Machine::set_allocated_cpu_architecture(::std::string* cpu_architecture) { if (cpu_architecture_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete cpu_architecture_; } if (cpu_architecture) { set_has_cpu_architecture(); cpu_architecture_ = cpu_architecture; } else { clear_has_cpu_architecture(); cpu_architecture_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_architecture) } // optional string cpu_vendor = 2; inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpu_vendor() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData_Machine::set_has_cpu_vendor() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Machine::clear_has_cpu_vendor() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpu_vendor() { if (cpu_vendor_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_vendor_->clear(); } clear_has_cpu_vendor(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_Machine::cpu_vendor() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) return *cpu_vendor_; } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const ::std::string& value) { set_has_cpu_vendor(); if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_vendor_ = new ::std::string; } cpu_vendor_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpu_vendor(const char* value) { set_has_cpu_vendor(); if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_vendor_ = new ::std::string; } cpu_vendor_->assign(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) { set_has_cpu_vendor(); if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_vendor_ = new ::std::string; } cpu_vendor_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::mutable_cpu_vendor() { set_has_cpu_vendor(); if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { cpu_vendor_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) return cpu_vendor_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Machine::release_cpu_vendor() { clear_has_cpu_vendor(); if (cpu_vendor_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = cpu_vendor_; cpu_vendor_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Machine::set_allocated_cpu_vendor(::std::string* cpu_vendor) { if (cpu_vendor_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete cpu_vendor_; } if (cpu_vendor) { set_has_cpu_vendor(); cpu_vendor_ = cpu_vendor; } else { clear_has_cpu_vendor(); cpu_vendor_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpu_vendor) } // optional uint32 cpuid = 3; inline bool ClientIncidentReport_EnvironmentData_Machine::has_cpuid() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_EnvironmentData_Machine::set_has_cpuid() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_EnvironmentData_Machine::clear_has_cpuid() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_EnvironmentData_Machine::clear_cpuid() { cpuid_ = 0u; clear_has_cpuid(); } inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_Machine::cpuid() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Machine.cpuid) return cpuid_; } inline void ClientIncidentReport_EnvironmentData_Machine::set_cpuid(::google::protobuf::uint32 value) { set_has_cpuid(); 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::has_function() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_has_function() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_has_function() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_function() { if (function_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { function_->clear(); } clear_has_function(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_Patch::function() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) return *function_; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const ::std::string& value) { set_has_function(); if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { function_ = new ::std::string; } function_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_function(const char* value) { set_has_function(); if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { function_ = new ::std::string; } function_->assign(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) { set_has_function(); if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { function_ = new ::std::string; } function_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Patch::mutable_function() { set_has_function(); if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { function_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) return function_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Patch::release_function() { clear_has_function(); if (function_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = function_; function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_allocated_function(::std::string* function) { if (function_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete function_; } if (function) { set_has_function(); function_ = function; } else { clear_has_function(); function_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.function) } // optional string target_dll = 2; inline bool ClientIncidentReport_EnvironmentData_Process_Patch::has_target_dll() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_has_target_dll() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_has_target_dll() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::clear_target_dll() { if (target_dll_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { target_dll_->clear(); } clear_has_target_dll(); } 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 *target_dll_; } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const ::std::string& value) { set_has_target_dll(); if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { target_dll_ = new ::std::string; } target_dll_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_target_dll(const char* value) { set_has_target_dll(); if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { target_dll_ = new ::std::string; } target_dll_->assign(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) { set_has_target_dll(); if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { target_dll_ = new ::std::string; } target_dll_->assign(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::mutable_target_dll() { set_has_target_dll(); if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { target_dll_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Patch.target_dll) return target_dll_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Patch::release_target_dll() { clear_has_target_dll(); if (target_dll_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = target_dll_; target_dll_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Process_Patch::set_allocated_target_dll(::std::string* target_dll) { if (target_dll_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete target_dll_; } if (target_dll) { set_has_target_dll(); target_dll_ = target_dll; } else { clear_has_target_dll(); target_dll_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_path() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_path() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_path() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_path() { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_->clear(); } clear_has_path(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_Dll::path() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) return *path_; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const ::std::string& value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_path(const char* value) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(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) { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } path_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_path() { set_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { path_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) return path_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_Dll::release_path() { clear_has_path(); if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = path_; path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_allocated_path(::std::string* path) { if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete path_; } if (path) { set_has_path(); path_ = path; } else { clear_has_path(); path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.path) } // optional uint64 base_address = 2; inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_base_address() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_base_address() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_base_address() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_base_address() { base_address_ = GOOGLE_ULONGLONG(0); clear_has_base_address(); } inline ::google::protobuf::uint64 ClientIncidentReport_EnvironmentData_Process_Dll::base_address() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.base_address) return base_address_; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_base_address(::google::protobuf::uint64 value) { set_has_base_address(); 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::has_length() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_length() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_length() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_length() { length_ = 0u; clear_has_length(); } inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_Process_Dll::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.length) return length_; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_length(::google::protobuf::uint32 value) { set_has_length(); 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::feature_size() const { return feature_.size(); } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_feature() { feature_.Clear(); } 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 static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature >(feature_.Get(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::add_feature(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature value) { assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll_Feature_IsValid(value)); feature_.Add(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) } inline const ::google::protobuf::RepeatedField& ClientIncidentReport_EnvironmentData_Process_Dll::feature() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) return feature_; } inline ::google::protobuf::RepeatedField* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_feature() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.feature) return &feature_; } // optional .safe_browsing.ClientDownloadRequest.ImageHeaders image_headers = 5; inline bool ClientIncidentReport_EnvironmentData_Process_Dll::has_image_headers() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_has_image_headers() { _has_bits_[0] |= 0x00000010u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_has_image_headers() { _has_bits_[0] &= ~0x00000010u; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::clear_image_headers() { if (image_headers_ != NULL) image_headers_->::safe_browsing::ClientDownloadRequest_ImageHeaders::Clear(); clear_has_image_headers(); } 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) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return image_headers_ != NULL ? *image_headers_ : *default_instance().image_headers_; #else return image_headers_ != NULL ? *image_headers_ : *default_instance_->image_headers_; #endif } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_EnvironmentData_Process_Dll::mutable_image_headers() { set_has_image_headers(); if (image_headers_ == NULL) image_headers_ = new ::safe_browsing::ClientDownloadRequest_ImageHeaders; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll.image_headers) return image_headers_; } inline ::safe_browsing::ClientDownloadRequest_ImageHeaders* ClientIncidentReport_EnvironmentData_Process_Dll::release_image_headers() { clear_has_image_headers(); ::safe_browsing::ClientDownloadRequest_ImageHeaders* temp = image_headers_; image_headers_ = NULL; return temp; } inline void ClientIncidentReport_EnvironmentData_Process_Dll::set_allocated_image_headers(::safe_browsing::ClientDownloadRequest_ImageHeaders* image_headers) { delete image_headers_; image_headers_ = image_headers; if (image_headers) { set_has_image_headers(); } else { clear_has_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::has_file_offset() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_file_offset() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_file_offset() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_file_offset() { file_offset_ = 0u; clear_has_file_offset(); } inline ::google::protobuf::uint32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::file_offset() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.file_offset) return file_offset_; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_file_offset(::google::protobuf::uint32 value) { set_has_file_offset(); 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::has_byte_count() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_byte_count() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_byte_count() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_byte_count() { byte_count_ = 0; clear_has_byte_count(); } inline ::google::protobuf::int32 ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::byte_count() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.byte_count) return byte_count_; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_byte_count(::google::protobuf::int32 value) { set_has_byte_count(); 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::has_modified_bytes() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_modified_bytes() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_modified_bytes() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_modified_bytes() { if (modified_bytes_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { modified_bytes_->clear(); } clear_has_modified_bytes(); } 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 *modified_bytes_; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const ::std::string& value) { set_has_modified_bytes(); if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { modified_bytes_ = new ::std::string; } modified_bytes_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_modified_bytes(const char* value) { set_has_modified_bytes(); if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { modified_bytes_ = new ::std::string; } modified_bytes_->assign(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) { set_has_modified_bytes(); if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { modified_bytes_ = new ::std::string; } modified_bytes_->assign(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::mutable_modified_bytes() { set_has_modified_bytes(); if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { modified_bytes_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.modified_bytes) return modified_bytes_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::release_modified_bytes() { clear_has_modified_bytes(); if (modified_bytes_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = modified_bytes_; modified_bytes_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_allocated_modified_bytes(::std::string* modified_bytes) { if (modified_bytes_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete modified_bytes_; } if (modified_bytes) { set_has_modified_bytes(); modified_bytes_ = modified_bytes; } else { clear_has_modified_bytes(); modified_bytes_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_export_name() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_has_export_name() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_has_export_name() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::clear_export_name() { if (export_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_name_->clear(); } clear_has_export_name(); } 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 *export_name_; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const ::std::string& value) { set_has_export_name(); if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_name_ = new ::std::string; } export_name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_export_name(const char* value) { set_has_export_name(); if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_name_ = new ::std::string; } export_name_->assign(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) { set_has_export_name(); if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_name_ = new ::std::string; } export_name_->assign(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::mutable_export_name() { set_has_export_name(); if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { export_name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.Modification.export_name) return export_name_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::release_export_name() { clear_has_export_name(); if (export_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = export_name_; export_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState_Modification::set_allocated_export_name(::std::string* export_name) { if (export_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete export_name_; } if (export_name) { set_has_export_name(); export_name_ = export_name; } else { clear_has_export_name(); export_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_name() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_has_name() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_has_name() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_name() { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); } clear_has_name(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_Process_ModuleState::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) return *name_; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const ::std::string& value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_name(const char* value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(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) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::mutable_name() { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.ModuleState.name) return name_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Process_ModuleState::release_name() { clear_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = name_; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_allocated_name(::std::string* name) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete name_; } if (name) { set_has_name(); name_ = name; } else { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_modified_state() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_has_modified_state() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_has_modified_state() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_modified_state() { modified_state_ = 0; clear_has_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 static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState >(modified_state_); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::set_modified_state(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState value) { assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_ModuleState_ModifiedState_IsValid(value)); set_has_modified_state(); 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::obsolete_modified_export_size() const { return obsolete_modified_export_.size(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_obsolete_modified_export() { obsolete_modified_export_.Clear(); } 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 obsolete_modified_export_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& 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 ::google::protobuf::RepeatedPtrField< ::std::string>* 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::modification_size() const { return modification_.size(); } inline void ClientIncidentReport_EnvironmentData_Process_ModuleState::clear_modification() { modification_.Clear(); } 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 modification_.Get(index); } 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 ::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 modification_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData_Process // optional string version = 1; inline bool ClientIncidentReport_EnvironmentData_Process::has_version() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process::set_has_version() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_has_version() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_version() { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_->clear(); } clear_has_version(); } inline const ::std::string& ClientIncidentReport_EnvironmentData_Process::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) return *version_; } inline void ClientIncidentReport_EnvironmentData_Process::set_version(const ::std::string& value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } inline void ClientIncidentReport_EnvironmentData_Process::set_version(const char* value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(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) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } inline ::std::string* ClientIncidentReport_EnvironmentData_Process::mutable_version() { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) return version_; } inline ::std::string* ClientIncidentReport_EnvironmentData_Process::release_version() { clear_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = version_; version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_EnvironmentData_Process::set_allocated_version(::std::string* version) { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete version_; } if (version) { set_has_version(); version_ = version; } else { clear_has_version(); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.Process.version) } // repeated string OBSOLETE_dlls = 2; inline int ClientIncidentReport_EnvironmentData_Process::obsolete_dlls_size() const { return obsolete_dlls_.size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_obsolete_dlls() { obsolete_dlls_.Clear(); } 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 obsolete_dlls_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientIncidentReport_EnvironmentData_Process::obsolete_dlls() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.OBSOLETE_dlls) return obsolete_dlls_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* 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::patches_size() const { return patches_.size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_patches() { patches_.Clear(); } 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 patches_.Get(index); } 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 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Patch* ClientIncidentReport_EnvironmentData_Process::add_patches() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.patches) return patches_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.NetworkProvider network_providers = 4; inline int ClientIncidentReport_EnvironmentData_Process::network_providers_size() const { return network_providers_.size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_network_providers() { network_providers_.Clear(); } 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 network_providers_.Get(index); } 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 ::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 network_providers_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Channel chrome_update_channel = 5; inline bool ClientIncidentReport_EnvironmentData_Process::has_chrome_update_channel() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process::set_has_chrome_update_channel() { _has_bits_[0] |= 0x00000010u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_has_chrome_update_channel() { _has_bits_[0] &= ~0x00000010u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_chrome_update_channel() { chrome_update_channel_ = 0; clear_has_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 static_cast< ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel >(chrome_update_channel_); } inline void ClientIncidentReport_EnvironmentData_Process::set_chrome_update_channel(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel value) { assert(::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Channel_IsValid(value)); set_has_chrome_update_channel(); 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::has_uptime_msec() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process::set_has_uptime_msec() { _has_bits_[0] |= 0x00000020u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_has_uptime_msec() { _has_bits_[0] &= ~0x00000020u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_uptime_msec() { uptime_msec_ = GOOGLE_LONGLONG(0); clear_has_uptime_msec(); } inline ::google::protobuf::int64 ClientIncidentReport_EnvironmentData_Process::uptime_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.uptime_msec) return uptime_msec_; } inline void ClientIncidentReport_EnvironmentData_Process::set_uptime_msec(::google::protobuf::int64 value) { set_has_uptime_msec(); 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::has_metrics_consent() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process::set_has_metrics_consent() { _has_bits_[0] |= 0x00000040u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_has_metrics_consent() { _has_bits_[0] &= ~0x00000040u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_metrics_consent() { metrics_consent_ = false; clear_has_metrics_consent(); } inline bool ClientIncidentReport_EnvironmentData_Process::metrics_consent() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.metrics_consent) return metrics_consent_; } inline void ClientIncidentReport_EnvironmentData_Process::set_metrics_consent(bool value) { set_has_metrics_consent(); metrics_consent_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.metrics_consent) } // optional bool extended_consent = 8; inline bool ClientIncidentReport_EnvironmentData_Process::has_extended_consent() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process::set_has_extended_consent() { _has_bits_[0] |= 0x00000080u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_has_extended_consent() { _has_bits_[0] &= ~0x00000080u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_extended_consent() { extended_consent_ = false; clear_has_extended_consent(); } inline bool ClientIncidentReport_EnvironmentData_Process::extended_consent() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.extended_consent) return extended_consent_; } inline void ClientIncidentReport_EnvironmentData_Process::set_extended_consent(bool value) { set_has_extended_consent(); extended_consent_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.extended_consent) } // repeated .safe_browsing.ClientIncidentReport.EnvironmentData.Process.Dll dll = 9; inline int ClientIncidentReport_EnvironmentData_Process::dll_size() const { return dll_.size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_dll() { dll_.Clear(); } 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 dll_.Get(index); } 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 ::safe_browsing::ClientIncidentReport_EnvironmentData_Process_Dll* ClientIncidentReport_EnvironmentData_Process::add_dll() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.EnvironmentData.Process.dll) return dll_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // repeated string blacklisted_dll = 10; inline int ClientIncidentReport_EnvironmentData_Process::blacklisted_dll_size() const { return blacklisted_dll_.size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_blacklisted_dll() { blacklisted_dll_.Clear(); } 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 blacklisted_dll_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientIncidentReport_EnvironmentData_Process::blacklisted_dll() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.EnvironmentData.Process.blacklisted_dll) return blacklisted_dll_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* 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::module_state_size() const { return module_state_.size(); } inline void ClientIncidentReport_EnvironmentData_Process::clear_module_state() { module_state_.Clear(); } 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 module_state_.Get(index); } 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 ::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 module_state_.Add(); } inline const ::google::protobuf::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_; } inline ::google::protobuf::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_; } // optional bool field_trial_participant = 12; inline bool ClientIncidentReport_EnvironmentData_Process::has_field_trial_participant() const { return (_has_bits_[0] & 0x00000800u) != 0; } inline void ClientIncidentReport_EnvironmentData_Process::set_has_field_trial_participant() { _has_bits_[0] |= 0x00000800u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_has_field_trial_participant() { _has_bits_[0] &= ~0x00000800u; } inline void ClientIncidentReport_EnvironmentData_Process::clear_field_trial_participant() { field_trial_participant_ = false; clear_has_field_trial_participant(); } inline bool ClientIncidentReport_EnvironmentData_Process::field_trial_participant() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.Process.field_trial_participant) return field_trial_participant_; } inline void ClientIncidentReport_EnvironmentData_Process::set_field_trial_participant(bool value) { set_has_field_trial_participant(); field_trial_participant_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.EnvironmentData.Process.field_trial_participant) } // ------------------------------------------------------------------- // ClientIncidentReport_EnvironmentData // optional .safe_browsing.ClientIncidentReport.EnvironmentData.OS os = 1; inline bool ClientIncidentReport_EnvironmentData::has_os() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_EnvironmentData::set_has_os() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_EnvironmentData::clear_has_os() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_EnvironmentData::clear_os() { if (os_ != NULL) os_->::safe_browsing::ClientIncidentReport_EnvironmentData_OS::Clear(); clear_has_os(); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_OS& ClientIncidentReport_EnvironmentData::os() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.os) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return os_ != NULL ? *os_ : *default_instance().os_; #else return os_ != NULL ? *os_ : *default_instance_->os_; #endif } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* ClientIncidentReport_EnvironmentData::mutable_os() { set_has_os(); if (os_ == NULL) os_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData_OS; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.os) return os_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* ClientIncidentReport_EnvironmentData::release_os() { clear_has_os(); ::safe_browsing::ClientIncidentReport_EnvironmentData_OS* temp = os_; os_ = NULL; return temp; } inline void ClientIncidentReport_EnvironmentData::set_allocated_os(::safe_browsing::ClientIncidentReport_EnvironmentData_OS* os) { delete os_; os_ = os; if (os) { set_has_os(); } else { clear_has_os(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.os) } // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Machine machine = 2; inline bool ClientIncidentReport_EnvironmentData::has_machine() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_EnvironmentData::set_has_machine() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_EnvironmentData::clear_has_machine() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_EnvironmentData::clear_machine() { if (machine_ != NULL) machine_->::safe_browsing::ClientIncidentReport_EnvironmentData_Machine::Clear(); clear_has_machine(); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine& ClientIncidentReport_EnvironmentData::machine() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.machine) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return machine_ != NULL ? *machine_ : *default_instance().machine_; #else return machine_ != NULL ? *machine_ : *default_instance_->machine_; #endif } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* ClientIncidentReport_EnvironmentData::mutable_machine() { set_has_machine(); if (machine_ == NULL) machine_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.machine) return machine_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* ClientIncidentReport_EnvironmentData::release_machine() { clear_has_machine(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* temp = machine_; machine_ = NULL; return temp; } inline void ClientIncidentReport_EnvironmentData::set_allocated_machine(::safe_browsing::ClientIncidentReport_EnvironmentData_Machine* machine) { delete machine_; machine_ = machine; if (machine) { set_has_machine(); } else { clear_has_machine(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.machine) } // optional .safe_browsing.ClientIncidentReport.EnvironmentData.Process process = 3; inline bool ClientIncidentReport_EnvironmentData::has_process() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_EnvironmentData::set_has_process() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_EnvironmentData::clear_has_process() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_EnvironmentData::clear_process() { if (process_ != NULL) process_->::safe_browsing::ClientIncidentReport_EnvironmentData_Process::Clear(); clear_has_process(); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData_Process& ClientIncidentReport_EnvironmentData::process() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.EnvironmentData.process) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return process_ != NULL ? *process_ : *default_instance().process_; #else return process_ != NULL ? *process_ : *default_instance_->process_; #endif } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* ClientIncidentReport_EnvironmentData::mutable_process() { set_has_process(); if (process_ == NULL) process_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData_Process; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.EnvironmentData.process) return process_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* ClientIncidentReport_EnvironmentData::release_process() { clear_has_process(); ::safe_browsing::ClientIncidentReport_EnvironmentData_Process* temp = process_; process_ = NULL; return temp; } inline void ClientIncidentReport_EnvironmentData::set_allocated_process(::safe_browsing::ClientIncidentReport_EnvironmentData_Process* process) { delete process_; process_ = process; if (process) { set_has_process(); } else { clear_has_process(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.EnvironmentData.process) } // ------------------------------------------------------------------- // ClientIncidentReport_ExtensionData_ExtensionInfo // optional string id = 1; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_id() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_id() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_id() { if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { id_->clear(); } clear_has_id(); } inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) return *id_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const ::std::string& value) { set_has_id(); if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { id_ = new ::std::string; } id_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_id(const char* value) { set_has_id(); if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { id_ = new ::std::string; } id_->assign(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) { set_has_id(); if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { id_ = new ::std::string; } id_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_id() { set_has_id(); if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { id_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) return id_; } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_id() { clear_has_id(); if (id_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = id_; id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_id(::std::string* id) { if (id_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete id_; } if (id) { set_has_id(); id_ = id; } else { clear_has_id(); id_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.id) } // optional string version = 2; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_version() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_version() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_version() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_version() { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_->clear(); } clear_has_version(); } inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) return *version_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const ::std::string& value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_version(const char* value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(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) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_version() { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) return version_; } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_version() { clear_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = version_; version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_version(::std::string* version) { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete version_; } if (version) { set_has_version(); version_ = version; } else { clear_has_version(); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.version) } // optional string name = 3; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_name() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_name() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_name() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_name() { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); } clear_has_name(); } inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) return *name_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const ::std::string& value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_name(const char* value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(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) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_name() { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) return name_; } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_name() { clear_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = name_; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_name(::std::string* name) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete name_; } if (name) { set_has_name(); name_ = name; } else { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.name) } // optional string description = 4; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_description() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_description() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_description() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_description() { if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_->clear(); } clear_has_description(); } inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::description() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) return *description_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const ::std::string& value) { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } description_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_description(const char* value) { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } description_->assign(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) { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } description_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_description() { set_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { description_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.description) return description_; } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_description() { clear_has_description(); if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = description_; description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_description(::std::string* description) { if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete description_; } if (description) { set_has_description(); description_ = description; } else { clear_has_description(); description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_state() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_state() { _has_bits_[0] |= 0x00000010u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_state() { _has_bits_[0] &= ~0x00000010u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_state() { state_ = 0; clear_has_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 static_cast< ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState >(state_); } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_state(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState value) { assert(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo_ExtensionState_IsValid(value)); set_has_state(); state_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.state) } // optional int32 type = 6; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_type() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_type() { _has_bits_[0] |= 0x00000020u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_type() { _has_bits_[0] &= ~0x00000020u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_type() { type_ = 0; clear_has_type(); } inline ::google::protobuf::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.type) return type_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_type(::google::protobuf::int32 value) { set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.type) } // optional string update_url = 7; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_update_url() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_update_url() { _has_bits_[0] |= 0x00000040u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_update_url() { _has_bits_[0] &= ~0x00000040u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_update_url() { if (update_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { update_url_->clear(); } clear_has_update_url(); } inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::update_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) return *update_url_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const ::std::string& value) { set_has_update_url(); if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { update_url_ = new ::std::string; } update_url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_update_url(const char* value) { set_has_update_url(); if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { update_url_ = new ::std::string; } update_url_->assign(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) { set_has_update_url(); if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { update_url_ = new ::std::string; } update_url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_update_url() { set_has_update_url(); if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { update_url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) return update_url_; } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_update_url() { clear_has_update_url(); if (update_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = update_url_; update_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_update_url(::std::string* update_url) { if (update_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete update_url_; } if (update_url) { set_has_update_url(); update_url_ = update_url; } else { clear_has_update_url(); update_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.update_url) } // optional bool has_signature_validation = 8; inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::has_has_signature_validation() const { return (_has_bits_[0] & 0x00000080u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_has_signature_validation() { _has_bits_[0] |= 0x00000080u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_has_signature_validation() { _has_bits_[0] &= ~0x00000080u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_signature_validation() { has_signature_validation_ = false; clear_has_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 has_signature_validation_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_signature_validation(bool value) { set_has_has_signature_validation(); 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::has_signature_is_valid() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_signature_is_valid() { _has_bits_[0] |= 0x00000100u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_signature_is_valid() { _has_bits_[0] &= ~0x00000100u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_signature_is_valid() { signature_is_valid_ = false; clear_has_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 signature_is_valid_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_signature_is_valid(bool value) { set_has_signature_is_valid(); 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::has_installed_by_custodian() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_installed_by_custodian() { _has_bits_[0] |= 0x00000200u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_installed_by_custodian() { _has_bits_[0] &= ~0x00000200u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_custodian() { installed_by_custodian_ = false; clear_has_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 installed_by_custodian_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_custodian(bool value) { set_has_installed_by_custodian(); 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::has_installed_by_default() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_installed_by_default() { _has_bits_[0] |= 0x00000400u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_installed_by_default() { _has_bits_[0] &= ~0x00000400u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_default() { installed_by_default_ = false; clear_has_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 installed_by_default_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_default(bool value) { set_has_installed_by_default(); 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::has_installed_by_oem() const { return (_has_bits_[0] & 0x00000800u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_installed_by_oem() { _has_bits_[0] |= 0x00000800u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_installed_by_oem() { _has_bits_[0] &= ~0x00000800u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_installed_by_oem() { installed_by_oem_ = false; clear_has_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 installed_by_oem_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_installed_by_oem(bool value) { set_has_installed_by_oem(); 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::has_from_bookmark() const { return (_has_bits_[0] & 0x00001000u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_from_bookmark() { _has_bits_[0] |= 0x00001000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_from_bookmark() { _has_bits_[0] &= ~0x00001000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_from_bookmark() { from_bookmark_ = false; clear_has_from_bookmark(); } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::from_bookmark() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_bookmark) return from_bookmark_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_from_bookmark(bool value) { set_has_from_bookmark(); 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::has_from_webstore() const { return (_has_bits_[0] & 0x00002000u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_from_webstore() { _has_bits_[0] |= 0x00002000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_from_webstore() { _has_bits_[0] &= ~0x00002000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_from_webstore() { from_webstore_ = false; clear_has_from_webstore(); } inline bool ClientIncidentReport_ExtensionData_ExtensionInfo::from_webstore() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.from_webstore) return from_webstore_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_from_webstore(bool value) { set_has_from_webstore(); 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::has_converted_from_user_script() const { return (_has_bits_[0] & 0x00004000u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_converted_from_user_script() { _has_bits_[0] |= 0x00004000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_converted_from_user_script() { _has_bits_[0] &= ~0x00004000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_converted_from_user_script() { converted_from_user_script_ = false; clear_has_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 converted_from_user_script_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_converted_from_user_script(bool value) { set_has_converted_from_user_script(); 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::has_may_be_untrusted() const { return (_has_bits_[0] & 0x00008000u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_may_be_untrusted() { _has_bits_[0] |= 0x00008000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_may_be_untrusted() { _has_bits_[0] &= ~0x00008000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_may_be_untrusted() { may_be_untrusted_ = false; clear_has_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 may_be_untrusted_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_may_be_untrusted(bool value) { set_has_may_be_untrusted(); 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::has_install_time_msec() const { return (_has_bits_[0] & 0x00010000u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_install_time_msec() { _has_bits_[0] |= 0x00010000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_install_time_msec() { _has_bits_[0] &= ~0x00010000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_install_time_msec() { install_time_msec_ = GOOGLE_LONGLONG(0); clear_has_install_time_msec(); } inline ::google::protobuf::int64 ClientIncidentReport_ExtensionData_ExtensionInfo::install_time_msec() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.install_time_msec) return install_time_msec_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_install_time_msec(::google::protobuf::int64 value) { set_has_install_time_msec(); 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::has_manifest_location_type() const { return (_has_bits_[0] & 0x00020000u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_manifest_location_type() { _has_bits_[0] |= 0x00020000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_manifest_location_type() { _has_bits_[0] &= ~0x00020000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_manifest_location_type() { manifest_location_type_ = 0; clear_has_manifest_location_type(); } inline ::google::protobuf::int32 ClientIncidentReport_ExtensionData_ExtensionInfo::manifest_location_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest_location_type) return manifest_location_type_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest_location_type(::google::protobuf::int32 value) { set_has_manifest_location_type(); 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::has_manifest() const { return (_has_bits_[0] & 0x00040000u) != 0; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_has_manifest() { _has_bits_[0] |= 0x00040000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_has_manifest() { _has_bits_[0] &= ~0x00040000u; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::clear_manifest() { if (manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { manifest_->clear(); } clear_has_manifest(); } inline const ::std::string& ClientIncidentReport_ExtensionData_ExtensionInfo::manifest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) return *manifest_; } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const ::std::string& value) { set_has_manifest(); if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { manifest_ = new ::std::string; } manifest_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_manifest(const char* value) { set_has_manifest(); if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { manifest_ = new ::std::string; } manifest_->assign(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) { set_has_manifest(); if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { manifest_ = new ::std::string; } manifest_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::mutable_manifest() { set_has_manifest(); if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { manifest_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.ExtensionInfo.manifest) return manifest_; } inline ::std::string* ClientIncidentReport_ExtensionData_ExtensionInfo::release_manifest() { clear_has_manifest(); if (manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = manifest_; manifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_ExtensionData_ExtensionInfo::set_allocated_manifest(::std::string* manifest) { if (manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete manifest_; } if (manifest) { set_has_manifest(); manifest_ = manifest; } else { clear_has_manifest(); manifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_last_installed_extension() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_ExtensionData::set_has_last_installed_extension() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_ExtensionData::clear_has_last_installed_extension() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_ExtensionData::clear_last_installed_extension() { if (last_installed_extension_ != NULL) last_installed_extension_->::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo::Clear(); clear_has_last_installed_extension(); } 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) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return last_installed_extension_ != NULL ? *last_installed_extension_ : *default_instance().last_installed_extension_; #else return last_installed_extension_ != NULL ? *last_installed_extension_ : *default_instance_->last_installed_extension_; #endif } inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* ClientIncidentReport_ExtensionData::mutable_last_installed_extension() { set_has_last_installed_extension(); if (last_installed_extension_ == NULL) last_installed_extension_ = new ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.ExtensionData.last_installed_extension) return last_installed_extension_; } inline ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* ClientIncidentReport_ExtensionData::release_last_installed_extension() { clear_has_last_installed_extension(); ::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* temp = last_installed_extension_; last_installed_extension_ = NULL; return temp; } inline void ClientIncidentReport_ExtensionData::set_allocated_last_installed_extension(::safe_browsing::ClientIncidentReport_ExtensionData_ExtensionInfo* last_installed_extension) { delete last_installed_extension_; last_installed_extension_ = last_installed_extension; if (last_installed_extension) { set_has_last_installed_extension(); } else { clear_has_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::has_file_type() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_file_type() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_file_type() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_file_type() { if (file_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_type_->clear(); } clear_has_file_type(); } inline const ::std::string& ClientIncidentReport_NonBinaryDownloadDetails::file_type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) return *file_type_; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const ::std::string& value) { set_has_file_type(); if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_type_ = new ::std::string; } file_type_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_file_type(const char* value) { set_has_file_type(); if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_type_ = new ::std::string; } file_type_->assign(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) { set_has_file_type(); if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_type_ = new ::std::string; } file_type_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_file_type() { set_has_file_type(); if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { file_type_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) return file_type_; } inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_file_type() { clear_has_file_type(); if (file_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = file_type_; file_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_file_type(::std::string* file_type) { if (file_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete file_type_; } if (file_type) { set_has_file_type(); file_type_ = file_type; } else { clear_has_file_type(); file_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.file_type) } // optional bytes url_spec_sha256 = 2; inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_url_spec_sha256() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_url_spec_sha256() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_url_spec_sha256() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_url_spec_sha256() { if (url_spec_sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_spec_sha256_->clear(); } clear_has_url_spec_sha256(); } inline const ::std::string& ClientIncidentReport_NonBinaryDownloadDetails::url_spec_sha256() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) return *url_spec_sha256_; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const ::std::string& value) { set_has_url_spec_sha256(); if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_spec_sha256_ = new ::std::string; } url_spec_sha256_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_url_spec_sha256(const char* value) { set_has_url_spec_sha256(); if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_spec_sha256_ = new ::std::string; } url_spec_sha256_->assign(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) { set_has_url_spec_sha256(); if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_spec_sha256_ = new ::std::string; } url_spec_sha256_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_url_spec_sha256() { set_has_url_spec_sha256(); if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_spec_sha256_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) return url_spec_sha256_; } inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_url_spec_sha256() { clear_has_url_spec_sha256(); if (url_spec_sha256_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_spec_sha256_; url_spec_sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_url_spec_sha256(::std::string* url_spec_sha256) { if (url_spec_sha256_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_spec_sha256_; } if (url_spec_sha256) { set_has_url_spec_sha256(); url_spec_sha256_ = url_spec_sha256; } else { clear_has_url_spec_sha256(); url_spec_sha256_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.url_spec_sha256) } // optional string host = 3; inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_host() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_host() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_host() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_host() { if (host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { host_->clear(); } clear_has_host(); } inline const ::std::string& ClientIncidentReport_NonBinaryDownloadDetails::host() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) return *host_; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const ::std::string& value) { set_has_host(); if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { host_ = new ::std::string; } host_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const char* value) { set_has_host(); if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { host_ = new ::std::string; } host_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_host(const char* value, size_t size) { set_has_host(); if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { host_ = new ::std::string; } host_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::mutable_host() { set_has_host(); if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { host_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) return host_; } inline ::std::string* ClientIncidentReport_NonBinaryDownloadDetails::release_host() { clear_has_host(); if (host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = host_; host_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_allocated_host(::std::string* host) { if (host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete host_; } if (host) { set_has_host(); host_ = host; } else { clear_has_host(); host_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.host) } // optional int64 length = 4; inline bool ClientIncidentReport_NonBinaryDownloadDetails::has_length() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_has_length() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_has_length() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport_NonBinaryDownloadDetails::clear_length() { length_ = GOOGLE_LONGLONG(0); clear_has_length(); } inline ::google::protobuf::int64 ClientIncidentReport_NonBinaryDownloadDetails::length() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.length) return length_; } inline void ClientIncidentReport_NonBinaryDownloadDetails::set_length(::google::protobuf::int64 value) { set_has_length(); length_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentReport.NonBinaryDownloadDetails.length) } // ------------------------------------------------------------------- // ClientIncidentReport // repeated .safe_browsing.ClientIncidentReport.IncidentData incident = 1; inline int ClientIncidentReport::incident_size() const { return incident_.size(); } inline void ClientIncidentReport::clear_incident() { incident_.Clear(); } inline const ::safe_browsing::ClientIncidentReport_IncidentData& ClientIncidentReport::incident(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.incident) return incident_.Get(index); } inline ::safe_browsing::ClientIncidentReport_IncidentData* ClientIncidentReport::mutable_incident(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.incident) return incident_.Mutable(index); } inline ::safe_browsing::ClientIncidentReport_IncidentData* ClientIncidentReport::add_incident() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentReport.incident) return incident_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >& ClientIncidentReport::incident() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentReport.incident) return incident_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentReport_IncidentData >* ClientIncidentReport::mutable_incident() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentReport.incident) return &incident_; } // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; inline bool ClientIncidentReport::has_download() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentReport::set_has_download() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentReport::clear_has_download() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentReport::clear_download() { if (download_ != NULL) download_->::safe_browsing::ClientIncidentReport_DownloadDetails::Clear(); clear_has_download(); } inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& ClientIncidentReport::download() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.download) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return download_ != NULL ? *download_ : *default_instance().download_; #else return download_ != NULL ? *download_ : *default_instance_->download_; #endif } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* ClientIncidentReport::mutable_download() { set_has_download(); if (download_ == NULL) download_ = new ::safe_browsing::ClientIncidentReport_DownloadDetails; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.download) return download_; } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* ClientIncidentReport::release_download() { clear_has_download(); ::safe_browsing::ClientIncidentReport_DownloadDetails* temp = download_; download_ = NULL; return temp; } inline void ClientIncidentReport::set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download) { delete download_; download_ = download; if (download) { set_has_download(); } else { clear_has_download(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.download) } // optional .safe_browsing.ClientIncidentReport.EnvironmentData environment = 3; inline bool ClientIncidentReport::has_environment() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientIncidentReport::set_has_environment() { _has_bits_[0] |= 0x00000004u; } inline void ClientIncidentReport::clear_has_environment() { _has_bits_[0] &= ~0x00000004u; } inline void ClientIncidentReport::clear_environment() { if (environment_ != NULL) environment_->::safe_browsing::ClientIncidentReport_EnvironmentData::Clear(); clear_has_environment(); } inline const ::safe_browsing::ClientIncidentReport_EnvironmentData& ClientIncidentReport::environment() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.environment) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return environment_ != NULL ? *environment_ : *default_instance().environment_; #else return environment_ != NULL ? *environment_ : *default_instance_->environment_; #endif } inline ::safe_browsing::ClientIncidentReport_EnvironmentData* ClientIncidentReport::mutable_environment() { set_has_environment(); if (environment_ == NULL) environment_ = new ::safe_browsing::ClientIncidentReport_EnvironmentData; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.environment) return environment_; } inline ::safe_browsing::ClientIncidentReport_EnvironmentData* ClientIncidentReport::release_environment() { clear_has_environment(); ::safe_browsing::ClientIncidentReport_EnvironmentData* temp = environment_; environment_ = NULL; return temp; } inline void ClientIncidentReport::set_allocated_environment(::safe_browsing::ClientIncidentReport_EnvironmentData* environment) { delete environment_; environment_ = environment; if (environment) { set_has_environment(); } else { clear_has_environment(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.environment) } // optional .safe_browsing.ChromeUserPopulation population = 7; inline bool ClientIncidentReport::has_population() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientIncidentReport::set_has_population() { _has_bits_[0] |= 0x00000008u; } inline void ClientIncidentReport::clear_has_population() { _has_bits_[0] &= ~0x00000008u; } inline void ClientIncidentReport::clear_population() { if (population_ != NULL) population_->::safe_browsing::ChromeUserPopulation::Clear(); clear_has_population(); } inline const ::safe_browsing::ChromeUserPopulation& ClientIncidentReport::population() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.population) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return population_ != NULL ? *population_ : *default_instance().population_; #else return population_ != NULL ? *population_ : *default_instance_->population_; #endif } inline ::safe_browsing::ChromeUserPopulation* ClientIncidentReport::mutable_population() { set_has_population(); if (population_ == NULL) population_ = new ::safe_browsing::ChromeUserPopulation; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.population) return population_; } inline ::safe_browsing::ChromeUserPopulation* ClientIncidentReport::release_population() { clear_has_population(); ::safe_browsing::ChromeUserPopulation* temp = population_; population_ = NULL; return temp; } inline void ClientIncidentReport::set_allocated_population(::safe_browsing::ChromeUserPopulation* population) { delete population_; population_ = population; if (population) { set_has_population(); } else { clear_has_population(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentReport.population) } // optional .safe_browsing.ClientIncidentReport.ExtensionData extension_data = 8; inline bool ClientIncidentReport::has_extension_data() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientIncidentReport::set_has_extension_data() { _has_bits_[0] |= 0x00000010u; } inline void ClientIncidentReport::clear_has_extension_data() { _has_bits_[0] &= ~0x00000010u; } inline void ClientIncidentReport::clear_extension_data() { if (extension_data_ != NULL) extension_data_->::safe_browsing::ClientIncidentReport_ExtensionData::Clear(); clear_has_extension_data(); } inline const ::safe_browsing::ClientIncidentReport_ExtensionData& ClientIncidentReport::extension_data() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.extension_data) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return extension_data_ != NULL ? *extension_data_ : *default_instance().extension_data_; #else return extension_data_ != NULL ? *extension_data_ : *default_instance_->extension_data_; #endif } inline ::safe_browsing::ClientIncidentReport_ExtensionData* ClientIncidentReport::mutable_extension_data() { set_has_extension_data(); if (extension_data_ == NULL) extension_data_ = new ::safe_browsing::ClientIncidentReport_ExtensionData; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.extension_data) return extension_data_; } inline ::safe_browsing::ClientIncidentReport_ExtensionData* ClientIncidentReport::release_extension_data() { clear_has_extension_data(); ::safe_browsing::ClientIncidentReport_ExtensionData* temp = extension_data_; extension_data_ = NULL; return temp; } inline void ClientIncidentReport::set_allocated_extension_data(::safe_browsing::ClientIncidentReport_ExtensionData* extension_data) { delete extension_data_; extension_data_ = extension_data; if (extension_data) { set_has_extension_data(); } else { clear_has_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::has_non_binary_download() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientIncidentReport::set_has_non_binary_download() { _has_bits_[0] |= 0x00000020u; } inline void ClientIncidentReport::clear_has_non_binary_download() { _has_bits_[0] &= ~0x00000020u; } inline void ClientIncidentReport::clear_non_binary_download() { if (non_binary_download_ != NULL) non_binary_download_->::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails::Clear(); clear_has_non_binary_download(); } inline const ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails& ClientIncidentReport::non_binary_download() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentReport.non_binary_download) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return non_binary_download_ != NULL ? *non_binary_download_ : *default_instance().non_binary_download_; #else return non_binary_download_ != NULL ? *non_binary_download_ : *default_instance_->non_binary_download_; #endif } inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* ClientIncidentReport::mutable_non_binary_download() { set_has_non_binary_download(); if (non_binary_download_ == NULL) non_binary_download_ = new ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentReport.non_binary_download) return non_binary_download_; } inline ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* ClientIncidentReport::release_non_binary_download() { clear_has_non_binary_download(); ::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* temp = non_binary_download_; non_binary_download_ = NULL; return temp; } inline void ClientIncidentReport::set_allocated_non_binary_download(::safe_browsing::ClientIncidentReport_NonBinaryDownloadDetails* non_binary_download) { delete non_binary_download_; non_binary_download_ = non_binary_download; if (non_binary_download) { set_has_non_binary_download(); } else { clear_has_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::has_dll_index() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentResponse_EnvironmentRequest::set_has_dll_index() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentResponse_EnvironmentRequest::clear_has_dll_index() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentResponse_EnvironmentRequest::clear_dll_index() { dll_index_ = 0; clear_has_dll_index(); } inline ::google::protobuf::int32 ClientIncidentResponse_EnvironmentRequest::dll_index() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.EnvironmentRequest.dll_index) return dll_index_; } inline void ClientIncidentResponse_EnvironmentRequest::set_dll_index(::google::protobuf::int32 value) { set_has_dll_index(); dll_index_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.EnvironmentRequest.dll_index) } // ------------------------------------------------------------------- // ClientIncidentResponse // optional bytes token = 1; inline bool ClientIncidentResponse::has_token() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientIncidentResponse::set_has_token() { _has_bits_[0] |= 0x00000001u; } inline void ClientIncidentResponse::clear_has_token() { _has_bits_[0] &= ~0x00000001u; } inline void ClientIncidentResponse::clear_token() { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_->clear(); } clear_has_token(); } inline const ::std::string& ClientIncidentResponse::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.token) return *token_; } inline void ClientIncidentResponse::set_token(const ::std::string& value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.token) } inline void ClientIncidentResponse::set_token(const char* value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientIncidentResponse.token) } inline void ClientIncidentResponse::set_token(const void* value, size_t size) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientIncidentResponse.token) } inline ::std::string* ClientIncidentResponse::mutable_token() { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientIncidentResponse.token) return token_; } inline ::std::string* ClientIncidentResponse::release_token() { clear_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = token_; token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientIncidentResponse::set_allocated_token(::std::string* token) { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete token_; } if (token) { set_has_token(); token_ = token; } else { clear_has_token(); token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientIncidentResponse.token) } // optional bool download_requested = 2; inline bool ClientIncidentResponse::has_download_requested() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientIncidentResponse::set_has_download_requested() { _has_bits_[0] |= 0x00000002u; } inline void ClientIncidentResponse::clear_has_download_requested() { _has_bits_[0] &= ~0x00000002u; } inline void ClientIncidentResponse::clear_download_requested() { download_requested_ = false; clear_has_download_requested(); } inline bool ClientIncidentResponse::download_requested() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.download_requested) return download_requested_; } inline void ClientIncidentResponse::set_download_requested(bool value) { set_has_download_requested(); download_requested_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientIncidentResponse.download_requested) } // repeated .safe_browsing.ClientIncidentResponse.EnvironmentRequest environment_requests = 3; inline int ClientIncidentResponse::environment_requests_size() const { return environment_requests_.size(); } inline void ClientIncidentResponse::clear_environment_requests() { environment_requests_.Clear(); } inline const ::safe_browsing::ClientIncidentResponse_EnvironmentRequest& ClientIncidentResponse::environment_requests(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientIncidentResponse.environment_requests) return environment_requests_.Get(index); } 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 ::safe_browsing::ClientIncidentResponse_EnvironmentRequest* ClientIncidentResponse::add_environment_requests() { // @@protoc_insertion_point(field_add:safe_browsing.ClientIncidentResponse.environment_requests) return environment_requests_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >& ClientIncidentResponse::environment_requests() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientIncidentResponse.environment_requests) return environment_requests_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientIncidentResponse_EnvironmentRequest >* ClientIncidentResponse::mutable_environment_requests() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientIncidentResponse.environment_requests) return &environment_requests_; } // ------------------------------------------------------------------- // DownloadMetadata // optional uint32 download_id = 1; inline bool DownloadMetadata::has_download_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void DownloadMetadata::set_has_download_id() { _has_bits_[0] |= 0x00000001u; } inline void DownloadMetadata::clear_has_download_id() { _has_bits_[0] &= ~0x00000001u; } inline void DownloadMetadata::clear_download_id() { download_id_ = 0u; clear_has_download_id(); } inline ::google::protobuf::uint32 DownloadMetadata::download_id() const { // @@protoc_insertion_point(field_get:safe_browsing.DownloadMetadata.download_id) return download_id_; } inline void DownloadMetadata::set_download_id(::google::protobuf::uint32 value) { set_has_download_id(); download_id_ = value; // @@protoc_insertion_point(field_set:safe_browsing.DownloadMetadata.download_id) } // optional .safe_browsing.ClientIncidentReport.DownloadDetails download = 2; inline bool DownloadMetadata::has_download() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void DownloadMetadata::set_has_download() { _has_bits_[0] |= 0x00000002u; } inline void DownloadMetadata::clear_has_download() { _has_bits_[0] &= ~0x00000002u; } inline void DownloadMetadata::clear_download() { if (download_ != NULL) download_->::safe_browsing::ClientIncidentReport_DownloadDetails::Clear(); clear_has_download(); } inline const ::safe_browsing::ClientIncidentReport_DownloadDetails& DownloadMetadata::download() const { // @@protoc_insertion_point(field_get:safe_browsing.DownloadMetadata.download) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return download_ != NULL ? *download_ : *default_instance().download_; #else return download_ != NULL ? *download_ : *default_instance_->download_; #endif } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* DownloadMetadata::mutable_download() { set_has_download(); if (download_ == NULL) download_ = new ::safe_browsing::ClientIncidentReport_DownloadDetails; // @@protoc_insertion_point(field_mutable:safe_browsing.DownloadMetadata.download) return download_; } inline ::safe_browsing::ClientIncidentReport_DownloadDetails* DownloadMetadata::release_download() { clear_has_download(); ::safe_browsing::ClientIncidentReport_DownloadDetails* temp = download_; download_ = NULL; return temp; } inline void DownloadMetadata::set_allocated_download(::safe_browsing::ClientIncidentReport_DownloadDetails* download) { delete download_; download_ = download; if (download) { set_has_download(); } else { clear_has_download(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.DownloadMetadata.download) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPHeader // required bytes name = 1; inline bool ClientSafeBrowsingReportRequest_HTTPHeader::has_name() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_has_name() { _has_bits_[0] |= 0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_has_name() { _has_bits_[0] &= ~0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_name() { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); } clear_has_name(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPHeader::name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) return *name_; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const ::std::string& value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const char* value) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_name(const void* value, size_t size) { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::mutable_name() { set_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) return name_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::release_name() { clear_has_name(); if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = name_; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_allocated_name(::std::string* name) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete name_; } if (name) { set_has_name(); name_ = name; } else { clear_has_name(); name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.name) } // optional bytes value = 2; inline bool ClientSafeBrowsingReportRequest_HTTPHeader::has_value() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_has_value() { _has_bits_[0] |= 0x00000002u; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_has_value() { _has_bits_[0] &= ~0x00000002u; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::clear_value() { if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_->clear(); } clear_has_value(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPHeader::value() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) return *value_; } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const ::std::string& value) { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } value_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const char* value) { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } value_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_value(const void* value, size_t size) { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } value_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::mutable_value() { set_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { value_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) return value_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPHeader::release_value() { clear_has_value(); if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = value_; value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPHeader::set_allocated_value(::std::string* value) { if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete value_; } if (value) { set_has_value(); value_ = value; } else { clear_has_value(); value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader.value) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine // optional bytes verb = 1; inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_verb() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_has_verb() { _has_bits_[0] |= 0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_has_verb() { _has_bits_[0] &= ~0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_verb() { if (verb_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { verb_->clear(); } clear_has_verb(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::verb() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) return *verb_; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const ::std::string& value) { set_has_verb(); if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { verb_ = new ::std::string; } verb_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_verb(const char* value) { set_has_verb(); if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { verb_ = new ::std::string; } verb_->assign(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) { set_has_verb(); if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { verb_ = new ::std::string; } verb_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_verb() { set_has_verb(); if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { verb_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) return verb_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_verb() { clear_has_verb(); if (verb_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = verb_; verb_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_verb(::std::string* verb) { if (verb_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete verb_; } if (verb) { set_has_verb(); verb_ = verb; } else { clear_has_verb(); verb_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.verb) } // optional bytes uri = 2; inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_uri() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_has_uri() { _has_bits_[0] |= 0x00000002u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_has_uri() { _has_bits_[0] &= ~0x00000002u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_uri() { if (uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { uri_->clear(); } clear_has_uri(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::uri() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) return *uri_; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const ::std::string& value) { set_has_uri(); if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { uri_ = new ::std::string; } uri_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_uri(const char* value) { set_has_uri(); if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { uri_ = new ::std::string; } uri_->assign(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) { set_has_uri(); if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { uri_ = new ::std::string; } uri_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_uri() { set_has_uri(); if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { uri_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) return uri_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_uri() { clear_has_uri(); if (uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = uri_; uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_uri(::std::string* uri) { if (uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete uri_; } if (uri) { set_has_uri(); uri_ = uri; } else { clear_has_uri(); uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.uri) } // optional bytes version = 3; inline bool ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::has_version() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_has_version() { _has_bits_[0] |= 0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_has_version() { _has_bits_[0] &= ~0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::clear_version() { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_->clear(); } clear_has_version(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) return *version_; } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const ::std::string& value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_version(const char* value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(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) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::mutable_version() { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.FirstLine.version) return version_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::release_version() { clear_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = version_; version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::set_allocated_version(::std::string* version) { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete version_; } if (version) { set_has_version(); version_ = version; } else { clear_has_version(); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_firstline() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_firstline() { _has_bits_[0] |= 0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_firstline() { _has_bits_[0] &= ~0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_firstline() { if (firstline_ != NULL) firstline_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine::Clear(); clear_has_firstline(); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine& ClientSafeBrowsingReportRequest_HTTPRequest::firstline() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return firstline_ != NULL ? *firstline_ : *default_instance().firstline_; #else return firstline_ != NULL ? *firstline_ : *default_instance_->firstline_; #endif } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_firstline() { set_has_firstline(); if (firstline_ == NULL) firstline_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline) return firstline_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* ClientSafeBrowsingReportRequest_HTTPRequest::release_firstline() { clear_has_firstline(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* temp = firstline_; firstline_ = NULL; return temp; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest_FirstLine* firstline) { delete firstline_; firstline_ = firstline; if (firstline) { set_has_firstline(); } else { clear_has_firstline(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.firstline) } // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; inline int ClientSafeBrowsingReportRequest_HTTPRequest::headers_size() const { return headers_.size(); } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_headers() { headers_.Clear(); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPRequest::headers(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return headers_.Get(index); } 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 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPRequest::add_headers() { // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return headers_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& ClientSafeBrowsingReportRequest_HTTPRequest::headers() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return headers_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_headers() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.headers) return &headers_; } // optional bytes body = 3; inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_body() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_body() { _has_bits_[0] |= 0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_body() { _has_bits_[0] &= ~0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_body() { if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_->clear(); } clear_has_body(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest::body() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) return *body_; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const ::std::string& value) { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } body_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const char* value) { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } body_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_body(const void* value, size_t size) { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } body_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_body() { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) return body_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::release_body() { clear_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = body_; body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_body(::std::string* body) { if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete body_; } if (body) { set_has_body(); body_ = body; } else { clear_has_body(); body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.body) } // optional bytes bodydigest = 4; inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_bodydigest() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_bodydigest() { _has_bits_[0] |= 0x00000008u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_bodydigest() { _has_bits_[0] &= ~0x00000008u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_bodydigest() { if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_->clear(); } clear_has_bodydigest(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPRequest::bodydigest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) return *bodydigest_; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const ::std::string& value) { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } bodydigest_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const char* value) { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } bodydigest_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodydigest(const void* value, size_t size) { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } bodydigest_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::mutable_bodydigest() { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) return bodydigest_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPRequest::release_bodydigest() { clear_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = bodydigest_; bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_allocated_bodydigest(::std::string* bodydigest) { if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete bodydigest_; } if (bodydigest) { set_has_bodydigest(); bodydigest_ = bodydigest; } else { clear_has_bodydigest(); bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodydigest) } // optional int32 bodylength = 5; inline bool ClientSafeBrowsingReportRequest_HTTPRequest::has_bodylength() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_has_bodylength() { _has_bits_[0] |= 0x00000010u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_has_bodylength() { _has_bits_[0] &= ~0x00000010u; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::clear_bodylength() { bodylength_ = 0; clear_has_bodylength(); } inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_HTTPRequest::bodylength() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodylength) return bodylength_; } inline void ClientSafeBrowsingReportRequest_HTTPRequest::set_bodylength(::google::protobuf::int32 value) { set_has_bodylength(); bodylength_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest.bodylength) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine // optional int32 code = 1; inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_code() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_has_code() { _has_bits_[0] |= 0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_has_code() { _has_bits_[0] &= ~0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_code() { code_ = 0; clear_has_code(); } inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::code() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.code) return code_; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_code(::google::protobuf::int32 value) { set_has_code(); code_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.code) } // optional bytes reason = 2; inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_reason() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_has_reason() { _has_bits_[0] |= 0x00000002u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_has_reason() { _has_bits_[0] &= ~0x00000002u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_reason() { if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reason_->clear(); } clear_has_reason(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::reason() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason) return *reason_; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_reason(const ::std::string& value) { set_has_reason(); if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reason_ = new ::std::string; } reason_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason) } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_reason(const char* value) { set_has_reason(); if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reason_ = new ::std::string; } reason_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason) } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_reason(const void* value, size_t size) { set_has_reason(); if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reason_ = new ::std::string; } reason_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::mutable_reason() { set_has_reason(); if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { reason_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason) return reason_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::release_reason() { clear_has_reason(); if (reason_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = reason_; reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_allocated_reason(::std::string* reason) { if (reason_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete reason_; } if (reason) { set_has_reason(); reason_ = reason; } else { clear_has_reason(); reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.reason) } // optional bytes version = 3; inline bool ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::has_version() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_has_version() { _has_bits_[0] |= 0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_has_version() { _has_bits_[0] &= ~0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::clear_version() { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_->clear(); } clear_has_version(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::version() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) return *version_; } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const ::std::string& value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_version(const char* value) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(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) { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } version_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::mutable_version() { set_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { version_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.FirstLine.version) return version_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::release_version() { clear_has_version(); if (version_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = version_; version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::set_allocated_version(::std::string* version) { if (version_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete version_; } if (version) { set_has_version(); version_ = version; } else { clear_has_version(); version_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@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::has_firstline() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_firstline() { _has_bits_[0] |= 0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_firstline() { _has_bits_[0] &= ~0x00000001u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_firstline() { if (firstline_ != NULL) firstline_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine::Clear(); clear_has_firstline(); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine& ClientSafeBrowsingReportRequest_HTTPResponse::firstline() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return firstline_ != NULL ? *firstline_ : *default_instance().firstline_; #else return firstline_ != NULL ? *firstline_ : *default_instance_->firstline_; #endif } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_firstline() { set_has_firstline(); if (firstline_ == NULL) firstline_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline) return firstline_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* ClientSafeBrowsingReportRequest_HTTPResponse::release_firstline() { clear_has_firstline(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* temp = firstline_; firstline_ = NULL; return temp; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_firstline(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse_FirstLine* firstline) { delete firstline_; firstline_ = firstline; if (firstline) { set_has_firstline(); } else { clear_has_firstline(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.firstline) } // repeated .safe_browsing.ClientSafeBrowsingReportRequest.HTTPHeader headers = 2; inline int ClientSafeBrowsingReportRequest_HTTPResponse::headers_size() const { return headers_.size(); } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_headers() { headers_.Clear(); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader& ClientSafeBrowsingReportRequest_HTTPResponse::headers(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return headers_.Get(index); } 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 ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader* ClientSafeBrowsingReportRequest_HTTPResponse::add_headers() { // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return headers_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >& ClientSafeBrowsingReportRequest_HTTPResponse::headers() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return headers_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPHeader >* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_headers() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.headers) return &headers_; } // optional bytes body = 3; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_body() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_body() { _has_bits_[0] |= 0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_body() { _has_bits_[0] &= ~0x00000004u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_body() { if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_->clear(); } clear_has_body(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse::body() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) return *body_; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const ::std::string& value) { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } body_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const char* value) { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } body_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_body(const void* value, size_t size) { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } body_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_body() { set_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { body_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) return body_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_body() { clear_has_body(); if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = body_; body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_body(::std::string* body) { if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete body_; } if (body) { set_has_body(); body_ = body; } else { clear_has_body(); body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.body) } // optional bytes bodydigest = 4; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_bodydigest() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_bodydigest() { _has_bits_[0] |= 0x00000008u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_bodydigest() { _has_bits_[0] &= ~0x00000008u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_bodydigest() { if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_->clear(); } clear_has_bodydigest(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse::bodydigest() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) return *bodydigest_; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const ::std::string& value) { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } bodydigest_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const char* value) { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } bodydigest_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodydigest(const void* value, size_t size) { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } bodydigest_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_bodydigest() { set_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { bodydigest_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) return bodydigest_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_bodydigest() { clear_has_bodydigest(); if (bodydigest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = bodydigest_; bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_bodydigest(::std::string* bodydigest) { if (bodydigest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete bodydigest_; } if (bodydigest) { set_has_bodydigest(); bodydigest_ = bodydigest; } else { clear_has_bodydigest(); bodydigest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodydigest) } // optional int32 bodylength = 5; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_bodylength() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_bodylength() { _has_bits_[0] |= 0x00000010u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_bodylength() { _has_bits_[0] &= ~0x00000010u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_bodylength() { bodylength_ = 0; clear_has_bodylength(); } inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_HTTPResponse::bodylength() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodylength) return bodylength_; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_bodylength(::google::protobuf::int32 value) { set_has_bodylength(); bodylength_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.bodylength) } // optional bytes remote_ip = 6; inline bool ClientSafeBrowsingReportRequest_HTTPResponse::has_remote_ip() const { return (_has_bits_[0] & 0x00000020u) != 0; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_has_remote_ip() { _has_bits_[0] |= 0x00000020u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_has_remote_ip() { _has_bits_[0] &= ~0x00000020u; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::clear_remote_ip() { if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_->clear(); } clear_has_remote_ip(); } inline const ::std::string& ClientSafeBrowsingReportRequest_HTTPResponse::remote_ip() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) return *remote_ip_; } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const ::std::string& value) { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } remote_ip_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_remote_ip(const char* value) { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } remote_ip_->assign(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) { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } remote_ip_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::mutable_remote_ip() { set_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { remote_ip_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) return remote_ip_; } inline ::std::string* ClientSafeBrowsingReportRequest_HTTPResponse::release_remote_ip() { clear_has_remote_ip(); if (remote_ip_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = remote_ip_; remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_HTTPResponse::set_allocated_remote_ip(::std::string* remote_ip) { if (remote_ip_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete remote_ip_; } if (remote_ip) { set_has_remote_ip(); remote_ip_ = remote_ip; } else { clear_has_remote_ip(); remote_ip_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse.remote_ip) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest_Resource // required int32 id = 1; inline bool ClientSafeBrowsingReportRequest_Resource::has_id() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientSafeBrowsingReportRequest_Resource::set_has_id() { _has_bits_[0] |= 0x00000001u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_has_id() { _has_bits_[0] &= ~0x00000001u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_id() { id_ = 0; clear_has_id(); } inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_Resource::id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.id) return id_; } inline void ClientSafeBrowsingReportRequest_Resource::set_id(::google::protobuf::int32 value) { set_has_id(); id_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.id) } // optional string url = 2; inline bool ClientSafeBrowsingReportRequest_Resource::has_url() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientSafeBrowsingReportRequest_Resource::set_has_url() { _has_bits_[0] |= 0x00000002u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_has_url() { _has_bits_[0] &= ~0x00000002u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientSafeBrowsingReportRequest_Resource::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) return *url_; } inline void ClientSafeBrowsingReportRequest_Resource::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } inline void ClientSafeBrowsingReportRequest_Resource::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } inline void ClientSafeBrowsingReportRequest_Resource::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } inline ::std::string* ClientSafeBrowsingReportRequest_Resource::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) return url_; } inline ::std::string* ClientSafeBrowsingReportRequest_Resource::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.url) } // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPRequest request = 3; inline bool ClientSafeBrowsingReportRequest_Resource::has_request() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientSafeBrowsingReportRequest_Resource::set_has_request() { _has_bits_[0] |= 0x00000004u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_has_request() { _has_bits_[0] &= ~0x00000004u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_request() { if (request_ != NULL) request_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest::Clear(); clear_has_request(); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest& ClientSafeBrowsingReportRequest_Resource::request() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return request_ != NULL ? *request_ : *default_instance().request_; #else return request_ != NULL ? *request_ : *default_instance_->request_; #endif } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* ClientSafeBrowsingReportRequest_Resource::mutable_request() { set_has_request(); if (request_ == NULL) request_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request) return request_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* ClientSafeBrowsingReportRequest_Resource::release_request() { clear_has_request(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* temp = request_; request_ = NULL; return temp; } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_request(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPRequest* request) { delete request_; request_ = request; if (request) { set_has_request(); } else { clear_has_request(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.request) } // optional .safe_browsing.ClientSafeBrowsingReportRequest.HTTPResponse response = 4; inline bool ClientSafeBrowsingReportRequest_Resource::has_response() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientSafeBrowsingReportRequest_Resource::set_has_response() { _has_bits_[0] |= 0x00000008u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_has_response() { _has_bits_[0] &= ~0x00000008u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_response() { if (response_ != NULL) response_->::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse::Clear(); clear_has_response(); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse& ClientSafeBrowsingReportRequest_Resource::response() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response) #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER return response_ != NULL ? *response_ : *default_instance().response_; #else return response_ != NULL ? *response_ : *default_instance_->response_; #endif } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* ClientSafeBrowsingReportRequest_Resource::mutable_response() { set_has_response(); if (response_ == NULL) response_ = new ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse; // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response) return response_; } inline ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* ClientSafeBrowsingReportRequest_Resource::release_response() { clear_has_response(); ::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* temp = response_; response_ = NULL; return temp; } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_response(::safe_browsing::ClientSafeBrowsingReportRequest_HTTPResponse* response) { delete response_; response_ = response; if (response) { set_has_response(); } else { clear_has_response(); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.response) } // optional int32 parent_id = 5; inline bool ClientSafeBrowsingReportRequest_Resource::has_parent_id() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientSafeBrowsingReportRequest_Resource::set_has_parent_id() { _has_bits_[0] |= 0x00000010u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_has_parent_id() { _has_bits_[0] &= ~0x00000010u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_parent_id() { parent_id_ = 0; clear_has_parent_id(); } inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_Resource::parent_id() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.parent_id) return parent_id_; } inline void ClientSafeBrowsingReportRequest_Resource::set_parent_id(::google::protobuf::int32 value) { set_has_parent_id(); parent_id_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.parent_id) } // repeated int32 child_ids = 6; inline int ClientSafeBrowsingReportRequest_Resource::child_ids_size() const { return child_ids_.size(); } inline void ClientSafeBrowsingReportRequest_Resource::clear_child_ids() { child_ids_.Clear(); } inline ::google::protobuf::int32 ClientSafeBrowsingReportRequest_Resource::child_ids(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) return child_ids_.Get(index); } inline void ClientSafeBrowsingReportRequest_Resource::set_child_ids(int index, ::google::protobuf::int32 value) { child_ids_.Set(index, value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) } inline void ClientSafeBrowsingReportRequest_Resource::add_child_ids(::google::protobuf::int32 value) { child_ids_.Add(value); // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) } inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& ClientSafeBrowsingReportRequest_Resource::child_ids() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) return child_ids_; } inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* ClientSafeBrowsingReportRequest_Resource::mutable_child_ids() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.Resource.child_ids) return &child_ids_; } // optional string tag_name = 7; inline bool ClientSafeBrowsingReportRequest_Resource::has_tag_name() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void ClientSafeBrowsingReportRequest_Resource::set_has_tag_name() { _has_bits_[0] |= 0x00000040u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_has_tag_name() { _has_bits_[0] &= ~0x00000040u; } inline void ClientSafeBrowsingReportRequest_Resource::clear_tag_name() { if (tag_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { tag_name_->clear(); } clear_has_tag_name(); } inline const ::std::string& ClientSafeBrowsingReportRequest_Resource::tag_name() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) return *tag_name_; } inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const ::std::string& value) { set_has_tag_name(); if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { tag_name_ = new ::std::string; } tag_name_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } inline void ClientSafeBrowsingReportRequest_Resource::set_tag_name(const char* value) { set_has_tag_name(); if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { tag_name_ = new ::std::string; } tag_name_->assign(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) { set_has_tag_name(); if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { tag_name_ = new ::std::string; } tag_name_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } inline ::std::string* ClientSafeBrowsingReportRequest_Resource::mutable_tag_name() { set_has_tag_name(); if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { tag_name_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) return tag_name_; } inline ::std::string* ClientSafeBrowsingReportRequest_Resource::release_tag_name() { clear_has_tag_name(); if (tag_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = tag_name_; tag_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest_Resource::set_allocated_tag_name(::std::string* tag_name) { if (tag_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete tag_name_; } if (tag_name) { set_has_tag_name(); tag_name_ = tag_name; } else { clear_has_tag_name(); tag_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.Resource.tag_name) } // ------------------------------------------------------------------- // ClientSafeBrowsingReportRequest // optional .safe_browsing.ClientSafeBrowsingReportRequest.ReportType type = 10; inline bool ClientSafeBrowsingReportRequest::has_type() const { return (_has_bits_[0] & 0x00000001u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_type() { _has_bits_[0] |= 0x00000001u; } inline void ClientSafeBrowsingReportRequest::clear_has_type() { _has_bits_[0] &= ~0x00000001u; } inline void ClientSafeBrowsingReportRequest::clear_type() { type_ = 0; clear_has_type(); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType ClientSafeBrowsingReportRequest::type() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.type) return static_cast< ::safe_browsing::ClientSafeBrowsingReportRequest_ReportType >(type_); } inline void ClientSafeBrowsingReportRequest::set_type(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType value) { assert(::safe_browsing::ClientSafeBrowsingReportRequest_ReportType_IsValid(value)); set_has_type(); type_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.type) } // optional .safe_browsing.ClientDownloadResponse.Verdict download_verdict = 11; inline bool ClientSafeBrowsingReportRequest::has_download_verdict() const { return (_has_bits_[0] & 0x00000002u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_download_verdict() { _has_bits_[0] |= 0x00000002u; } inline void ClientSafeBrowsingReportRequest::clear_has_download_verdict() { _has_bits_[0] &= ~0x00000002u; } inline void ClientSafeBrowsingReportRequest::clear_download_verdict() { download_verdict_ = 0; clear_has_download_verdict(); } inline ::safe_browsing::ClientDownloadResponse_Verdict ClientSafeBrowsingReportRequest::download_verdict() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.download_verdict) return static_cast< ::safe_browsing::ClientDownloadResponse_Verdict >(download_verdict_); } inline void ClientSafeBrowsingReportRequest::set_download_verdict(::safe_browsing::ClientDownloadResponse_Verdict value) { assert(::safe_browsing::ClientDownloadResponse_Verdict_IsValid(value)); set_has_download_verdict(); download_verdict_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.download_verdict) } // optional string url = 1; inline bool ClientSafeBrowsingReportRequest::has_url() const { return (_has_bits_[0] & 0x00000004u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_url() { _has_bits_[0] |= 0x00000004u; } inline void ClientSafeBrowsingReportRequest::clear_has_url() { _has_bits_[0] &= ~0x00000004u; } inline void ClientSafeBrowsingReportRequest::clear_url() { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_->clear(); } clear_has_url(); } inline const ::std::string& ClientSafeBrowsingReportRequest::url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.url) return *url_; } inline void ClientSafeBrowsingReportRequest::set_url(const ::std::string& value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.url) } inline void ClientSafeBrowsingReportRequest::set_url(const char* value) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.url) } inline void ClientSafeBrowsingReportRequest::set_url(const char* value, size_t size) { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.url) } inline ::std::string* ClientSafeBrowsingReportRequest::mutable_url() { set_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.url) return url_; } inline ::std::string* ClientSafeBrowsingReportRequest::release_url() { clear_has_url(); if (url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = url_; url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest::set_allocated_url(::std::string* url) { if (url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete url_; } if (url) { set_has_url(); url_ = url; } else { clear_has_url(); url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.url) } // optional string page_url = 2; inline bool ClientSafeBrowsingReportRequest::has_page_url() const { return (_has_bits_[0] & 0x00000008u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_page_url() { _has_bits_[0] |= 0x00000008u; } inline void ClientSafeBrowsingReportRequest::clear_has_page_url() { _has_bits_[0] &= ~0x00000008u; } inline void ClientSafeBrowsingReportRequest::clear_page_url() { if (page_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { page_url_->clear(); } clear_has_page_url(); } inline const ::std::string& ClientSafeBrowsingReportRequest::page_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.page_url) return *page_url_; } inline void ClientSafeBrowsingReportRequest::set_page_url(const ::std::string& value) { set_has_page_url(); if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { page_url_ = new ::std::string; } page_url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } inline void ClientSafeBrowsingReportRequest::set_page_url(const char* value) { set_has_page_url(); if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { page_url_ = new ::std::string; } page_url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } inline void ClientSafeBrowsingReportRequest::set_page_url(const char* value, size_t size) { set_has_page_url(); if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { page_url_ = new ::std::string; } page_url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } inline ::std::string* ClientSafeBrowsingReportRequest::mutable_page_url() { set_has_page_url(); if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { page_url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.page_url) return page_url_; } inline ::std::string* ClientSafeBrowsingReportRequest::release_page_url() { clear_has_page_url(); if (page_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = page_url_; page_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest::set_allocated_page_url(::std::string* page_url) { if (page_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete page_url_; } if (page_url) { set_has_page_url(); page_url_ = page_url; } else { clear_has_page_url(); page_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.page_url) } // optional string referrer_url = 3; inline bool ClientSafeBrowsingReportRequest::has_referrer_url() const { return (_has_bits_[0] & 0x00000010u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_referrer_url() { _has_bits_[0] |= 0x00000010u; } inline void ClientSafeBrowsingReportRequest::clear_has_referrer_url() { _has_bits_[0] &= ~0x00000010u; } inline void ClientSafeBrowsingReportRequest::clear_referrer_url() { if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_->clear(); } clear_has_referrer_url(); } inline const ::std::string& ClientSafeBrowsingReportRequest::referrer_url() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) return *referrer_url_; } inline void ClientSafeBrowsingReportRequest::set_referrer_url(const ::std::string& value) { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } referrer_url_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } inline void ClientSafeBrowsingReportRequest::set_referrer_url(const char* value) { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } referrer_url_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } inline void ClientSafeBrowsingReportRequest::set_referrer_url(const char* value, size_t size) { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } referrer_url_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } inline ::std::string* ClientSafeBrowsingReportRequest::mutable_referrer_url() { set_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { referrer_url_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) return referrer_url_; } inline ::std::string* ClientSafeBrowsingReportRequest::release_referrer_url() { clear_has_referrer_url(); if (referrer_url_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = referrer_url_; referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest::set_allocated_referrer_url(::std::string* referrer_url) { if (referrer_url_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete referrer_url_; } if (referrer_url) { set_has_referrer_url(); referrer_url_ = referrer_url; } else { clear_has_referrer_url(); referrer_url_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.referrer_url) } // repeated .safe_browsing.ClientSafeBrowsingReportRequest.Resource resources = 4; inline int ClientSafeBrowsingReportRequest::resources_size() const { return resources_.size(); } inline void ClientSafeBrowsingReportRequest::clear_resources() { resources_.Clear(); } inline const ::safe_browsing::ClientSafeBrowsingReportRequest_Resource& ClientSafeBrowsingReportRequest::resources(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.resources) return resources_.Get(index); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* ClientSafeBrowsingReportRequest::mutable_resources(int index) { // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.resources) return resources_.Mutable(index); } inline ::safe_browsing::ClientSafeBrowsingReportRequest_Resource* ClientSafeBrowsingReportRequest::add_resources() { // @@protoc_insertion_point(field_add:safe_browsing.ClientSafeBrowsingReportRequest.resources) return resources_.Add(); } inline const ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >& ClientSafeBrowsingReportRequest::resources() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.resources) return resources_; } inline ::google::protobuf::RepeatedPtrField< ::safe_browsing::ClientSafeBrowsingReportRequest_Resource >* ClientSafeBrowsingReportRequest::mutable_resources() { // @@protoc_insertion_point(field_mutable_list:safe_browsing.ClientSafeBrowsingReportRequest.resources) return &resources_; } // optional bool complete = 5; inline bool ClientSafeBrowsingReportRequest::has_complete() const { return (_has_bits_[0] & 0x00000040u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_complete() { _has_bits_[0] |= 0x00000040u; } inline void ClientSafeBrowsingReportRequest::clear_has_complete() { _has_bits_[0] &= ~0x00000040u; } inline void ClientSafeBrowsingReportRequest::clear_complete() { complete_ = false; clear_has_complete(); } inline bool ClientSafeBrowsingReportRequest::complete() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.complete) return complete_; } inline void ClientSafeBrowsingReportRequest::set_complete(bool value) { set_has_complete(); complete_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.complete) } // repeated string client_asn = 6; inline int ClientSafeBrowsingReportRequest::client_asn_size() const { return client_asn_.size(); } inline void ClientSafeBrowsingReportRequest::clear_client_asn() { client_asn_.Clear(); } inline const ::std::string& ClientSafeBrowsingReportRequest::client_asn(int index) const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) return client_asn_.Get(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, const char* value) { 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::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(const char* value) { 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 ::google::protobuf::RepeatedPtrField< ::std::string>& ClientSafeBrowsingReportRequest::client_asn() const { // @@protoc_insertion_point(field_list:safe_browsing.ClientSafeBrowsingReportRequest.client_asn) return client_asn_; } inline ::google::protobuf::RepeatedPtrField< ::std::string>* 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::has_client_country() const { return (_has_bits_[0] & 0x00000100u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_client_country() { _has_bits_[0] |= 0x00000100u; } inline void ClientSafeBrowsingReportRequest::clear_has_client_country() { _has_bits_[0] &= ~0x00000100u; } inline void ClientSafeBrowsingReportRequest::clear_client_country() { if (client_country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_country_->clear(); } clear_has_client_country(); } inline const ::std::string& ClientSafeBrowsingReportRequest::client_country() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.client_country) return *client_country_; } inline void ClientSafeBrowsingReportRequest::set_client_country(const ::std::string& value) { set_has_client_country(); if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_country_ = new ::std::string; } client_country_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } inline void ClientSafeBrowsingReportRequest::set_client_country(const char* value) { set_has_client_country(); if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_country_ = new ::std::string; } client_country_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } inline void ClientSafeBrowsingReportRequest::set_client_country(const char* value, size_t size) { set_has_client_country(); if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_country_ = new ::std::string; } client_country_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } inline ::std::string* ClientSafeBrowsingReportRequest::mutable_client_country() { set_has_client_country(); if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { client_country_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.client_country) return client_country_; } inline ::std::string* ClientSafeBrowsingReportRequest::release_client_country() { clear_has_client_country(); if (client_country_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = client_country_; client_country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest::set_allocated_client_country(::std::string* client_country) { if (client_country_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete client_country_; } if (client_country) { set_has_client_country(); client_country_ = client_country; } else { clear_has_client_country(); client_country_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.client_country) } // optional bool did_proceed = 8; inline bool ClientSafeBrowsingReportRequest::has_did_proceed() const { return (_has_bits_[0] & 0x00000200u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_did_proceed() { _has_bits_[0] |= 0x00000200u; } inline void ClientSafeBrowsingReportRequest::clear_has_did_proceed() { _has_bits_[0] &= ~0x00000200u; } inline void ClientSafeBrowsingReportRequest::clear_did_proceed() { did_proceed_ = false; clear_has_did_proceed(); } inline bool ClientSafeBrowsingReportRequest::did_proceed() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.did_proceed) return did_proceed_; } inline void ClientSafeBrowsingReportRequest::set_did_proceed(bool value) { set_has_did_proceed(); did_proceed_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.did_proceed) } // optional bool repeat_visit = 9; inline bool ClientSafeBrowsingReportRequest::has_repeat_visit() const { return (_has_bits_[0] & 0x00000400u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_repeat_visit() { _has_bits_[0] |= 0x00000400u; } inline void ClientSafeBrowsingReportRequest::clear_has_repeat_visit() { _has_bits_[0] &= ~0x00000400u; } inline void ClientSafeBrowsingReportRequest::clear_repeat_visit() { repeat_visit_ = false; clear_has_repeat_visit(); } inline bool ClientSafeBrowsingReportRequest::repeat_visit() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.repeat_visit) return repeat_visit_; } inline void ClientSafeBrowsingReportRequest::set_repeat_visit(bool value) { set_has_repeat_visit(); repeat_visit_ = value; // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.repeat_visit) } // optional bytes token = 15; inline bool ClientSafeBrowsingReportRequest::has_token() const { return (_has_bits_[0] & 0x00000800u) != 0; } inline void ClientSafeBrowsingReportRequest::set_has_token() { _has_bits_[0] |= 0x00000800u; } inline void ClientSafeBrowsingReportRequest::clear_has_token() { _has_bits_[0] &= ~0x00000800u; } inline void ClientSafeBrowsingReportRequest::clear_token() { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_->clear(); } clear_has_token(); } inline const ::std::string& ClientSafeBrowsingReportRequest::token() const { // @@protoc_insertion_point(field_get:safe_browsing.ClientSafeBrowsingReportRequest.token) return *token_; } inline void ClientSafeBrowsingReportRequest::set_token(const ::std::string& value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set:safe_browsing.ClientSafeBrowsingReportRequest.token) } inline void ClientSafeBrowsingReportRequest::set_token(const char* value) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(value); // @@protoc_insertion_point(field_set_char:safe_browsing.ClientSafeBrowsingReportRequest.token) } inline void ClientSafeBrowsingReportRequest::set_token(const void* value, size_t size) { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } token_->assign(reinterpret_cast(value), size); // @@protoc_insertion_point(field_set_pointer:safe_browsing.ClientSafeBrowsingReportRequest.token) } inline ::std::string* ClientSafeBrowsingReportRequest::mutable_token() { set_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { token_ = new ::std::string; } // @@protoc_insertion_point(field_mutable:safe_browsing.ClientSafeBrowsingReportRequest.token) return token_; } inline ::std::string* ClientSafeBrowsingReportRequest::release_token() { clear_has_token(); if (token_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { ::std::string* temp = token_; token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } inline void ClientSafeBrowsingReportRequest::set_allocated_token(::std::string* token) { if (token_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete token_; } if (token) { set_has_token(); token_ = token; } else { clear_has_token(); token_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } // @@protoc_insertion_point(field_set_allocated:safe_browsing.ClientSafeBrowsingReportRequest.token) } // @@protoc_insertion_point(namespace_scope) } // namespace safe_browsing // @@protoc_insertion_point(global_scope) #endif // PROTOBUF_chromium_2fchrome_2fcommon_2fsafe_5fbrowsing_2fcsd_2eproto__INCLUDED