chromium/out/Default/gen/components/safe_browsing/core/common/proto/safebrowsingv5.pb.h

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: safebrowsingv5.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_safebrowsingv5_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_safebrowsingv5_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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 3021012 < 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 <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_util.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_safebrowsingv5_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_safebrowsingv5_2eproto {};
namespace safe_browsing {
namespace V5 {
class Duration;
struct DurationDefaultTypeInternal;
extern DurationDefaultTypeInternal _Duration_default_instance_;
class FullHash;
struct FullHashDefaultTypeInternal;
extern FullHashDefaultTypeInternal _FullHash_default_instance_;
class FullHash_FullHashDetail;
struct FullHash_FullHashDetailDefaultTypeInternal;
extern FullHash_FullHashDetailDefaultTypeInternal _FullHash_FullHashDetail_default_instance_;
class SearchHashesRequest;
struct SearchHashesRequestDefaultTypeInternal;
extern SearchHashesRequestDefaultTypeInternal _SearchHashesRequest_default_instance_;
class SearchHashesResponse;
struct SearchHashesResponseDefaultTypeInternal;
extern SearchHashesResponseDefaultTypeInternal _SearchHashesResponse_default_instance_;
}  // namespace V5
}  // namespace safe_browsing
PROTOBUF_NAMESPACE_OPEN
template<> ::safe_browsing::V5::Duration* Arena::CreateMaybeMessage<::safe_browsing::V5::Duration>(Arena*);
template<> ::safe_browsing::V5::FullHash* Arena::CreateMaybeMessage<::safe_browsing::V5::FullHash>(Arena*);
template<> ::safe_browsing::V5::FullHash_FullHashDetail* Arena::CreateMaybeMessage<::safe_browsing::V5::FullHash_FullHashDetail>(Arena*);
template<> ::safe_browsing::V5::SearchHashesRequest* Arena::CreateMaybeMessage<::safe_browsing::V5::SearchHashesRequest>(Arena*);
template<> ::safe_browsing::V5::SearchHashesResponse* Arena::CreateMaybeMessage<::safe_browsing::V5::SearchHashesResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace safe_browsing {
namespace V5 {

enum ThreatType : int {};
bool ThreatType_IsValid(int value);
constexpr ThreatType ThreatType_MIN =;
constexpr ThreatType ThreatType_MAX =;
constexpr int ThreatType_ARRAYSIZE =;

const std::string& ThreatType_Name(ThreatType value);
template<typename T>
inline const std::string& ThreatType_Name(T enum_t_value) {}
bool ThreatType_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ThreatType* value);
enum ThreatAttribute : int {};
bool ThreatAttribute_IsValid(int value);
constexpr ThreatAttribute ThreatAttribute_MIN =;
constexpr ThreatAttribute ThreatAttribute_MAX =;
constexpr int ThreatAttribute_ARRAYSIZE =;

const std::string& ThreatAttribute_Name(ThreatAttribute value);
template<typename T>
inline const std::string& ThreatAttribute_Name(T enum_t_value) {}
bool ThreatAttribute_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ThreatAttribute* value);
// ===================================================================

class SearchHashesRequest final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.V5.SearchHashesRequest) */ {};
// -------------------------------------------------------------------

class SearchHashesResponse final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.V5.SearchHashesResponse) */ {};
// -------------------------------------------------------------------

class FullHash_FullHashDetail final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.V5.FullHash.FullHashDetail) */ {};
// -------------------------------------------------------------------

class FullHash final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.V5.FullHash) */ {};
// -------------------------------------------------------------------

class Duration final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:safe_browsing.V5.Duration) */ {};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// SearchHashesRequest

// repeated bytes hash_prefixes = 1;
inline int SearchHashesRequest::_internal_hash_prefixes_size() const {}
inline int SearchHashesRequest::hash_prefixes_size() const {}
inline void SearchHashesRequest::clear_hash_prefixes() {}
inline std::string* SearchHashesRequest::add_hash_prefixes() {}
inline const std::string& SearchHashesRequest::_internal_hash_prefixes(int index) const {}
inline const std::string& SearchHashesRequest::hash_prefixes(int index) const {}
inline std::string* SearchHashesRequest::mutable_hash_prefixes(int index) {}
inline void SearchHashesRequest::set_hash_prefixes(int index, const std::string& value) {}
inline void SearchHashesRequest::set_hash_prefixes(int index, std::string&& value) {}
inline void SearchHashesRequest::set_hash_prefixes(int index, const char* value) {}
inline void SearchHashesRequest::set_hash_prefixes(int index, const void* value, size_t size) {}
inline std::string* SearchHashesRequest::_internal_add_hash_prefixes() {}
inline void SearchHashesRequest::add_hash_prefixes(const std::string& value) {}
inline void SearchHashesRequest::add_hash_prefixes(std::string&& value) {}
inline void SearchHashesRequest::add_hash_prefixes(const char* value) {}
inline void SearchHashesRequest::add_hash_prefixes(const void* value, size_t size) {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
SearchHashesRequest::hash_prefixes() const {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
SearchHashesRequest::mutable_hash_prefixes() {}

// -------------------------------------------------------------------

// SearchHashesResponse

// repeated .safe_browsing.V5.FullHash full_hashes = 1;
inline int SearchHashesResponse::_internal_full_hashes_size() const {}
inline int SearchHashesResponse::full_hashes_size() const {}
inline void SearchHashesResponse::clear_full_hashes() {}
inline ::safe_browsing::V5::FullHash* SearchHashesResponse::mutable_full_hashes(int index) {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::V5::FullHash >*
SearchHashesResponse::mutable_full_hashes() {}
inline const ::safe_browsing::V5::FullHash& SearchHashesResponse::_internal_full_hashes(int index) const {}
inline const ::safe_browsing::V5::FullHash& SearchHashesResponse::full_hashes(int index) const {}
inline ::safe_browsing::V5::FullHash* SearchHashesResponse::_internal_add_full_hashes() {}
inline ::safe_browsing::V5::FullHash* SearchHashesResponse::add_full_hashes() {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::V5::FullHash >&
SearchHashesResponse::full_hashes() const {}

// .safe_browsing.V5.Duration cache_duration = 2;
inline bool SearchHashesResponse::_internal_has_cache_duration() const {}
inline bool SearchHashesResponse::has_cache_duration() const {}
inline void SearchHashesResponse::clear_cache_duration() {}
inline const ::safe_browsing::V5::Duration& SearchHashesResponse::_internal_cache_duration() const {}
inline const ::safe_browsing::V5::Duration& SearchHashesResponse::cache_duration() const {}
inline void SearchHashesResponse::unsafe_arena_set_allocated_cache_duration(
    ::safe_browsing::V5::Duration* cache_duration) {}
inline ::safe_browsing::V5::Duration* SearchHashesResponse::release_cache_duration() {}
inline ::safe_browsing::V5::Duration* SearchHashesResponse::unsafe_arena_release_cache_duration() {}
inline ::safe_browsing::V5::Duration* SearchHashesResponse::_internal_mutable_cache_duration() {}
inline ::safe_browsing::V5::Duration* SearchHashesResponse::mutable_cache_duration() {}
inline void SearchHashesResponse::set_allocated_cache_duration(::safe_browsing::V5::Duration* cache_duration) {}

// -------------------------------------------------------------------

// FullHash_FullHashDetail

// .safe_browsing.V5.ThreatType threat_type = 1;
inline void FullHash_FullHashDetail::clear_threat_type() {}
inline ::safe_browsing::V5::ThreatType FullHash_FullHashDetail::_internal_threat_type() const {}
inline ::safe_browsing::V5::ThreatType FullHash_FullHashDetail::threat_type() const {}
inline void FullHash_FullHashDetail::_internal_set_threat_type(::safe_browsing::V5::ThreatType value) {}
inline void FullHash_FullHashDetail::set_threat_type(::safe_browsing::V5::ThreatType value) {}

// repeated .safe_browsing.V5.ThreatAttribute attributes = 2;
inline int FullHash_FullHashDetail::_internal_attributes_size() const {}
inline int FullHash_FullHashDetail::attributes_size() const {}
inline void FullHash_FullHashDetail::clear_attributes() {}
inline ::safe_browsing::V5::ThreatAttribute FullHash_FullHashDetail::_internal_attributes(int index) const {}
inline ::safe_browsing::V5::ThreatAttribute FullHash_FullHashDetail::attributes(int index) const {}
inline void FullHash_FullHashDetail::set_attributes(int index, ::safe_browsing::V5::ThreatAttribute value) {}
inline void FullHash_FullHashDetail::_internal_add_attributes(::safe_browsing::V5::ThreatAttribute value) {}
inline void FullHash_FullHashDetail::add_attributes(::safe_browsing::V5::ThreatAttribute value) {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
FullHash_FullHashDetail::attributes() const {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
FullHash_FullHashDetail::_internal_mutable_attributes() {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
FullHash_FullHashDetail::mutable_attributes() {}

// -------------------------------------------------------------------

// FullHash

// bytes full_hash = 1;
inline void FullHash::clear_full_hash() {}
inline const std::string& FullHash::full_hash() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void FullHash::set_full_hash(ArgT0&& arg0, ArgT... args) {}
inline std::string* FullHash::mutable_full_hash() {}
inline const std::string& FullHash::_internal_full_hash() const {}
inline void FullHash::_internal_set_full_hash(const std::string& value) {}
inline std::string* FullHash::_internal_mutable_full_hash() {}
inline std::string* FullHash::release_full_hash() {}
inline void FullHash::set_allocated_full_hash(std::string* full_hash) {}

// repeated .safe_browsing.V5.FullHash.FullHashDetail full_hash_details = 2;
inline int FullHash::_internal_full_hash_details_size() const {}
inline int FullHash::full_hash_details_size() const {}
inline void FullHash::clear_full_hash_details() {}
inline ::safe_browsing::V5::FullHash_FullHashDetail* FullHash::mutable_full_hash_details(int index) {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::V5::FullHash_FullHashDetail >*
FullHash::mutable_full_hash_details() {}
inline const ::safe_browsing::V5::FullHash_FullHashDetail& FullHash::_internal_full_hash_details(int index) const {}
inline const ::safe_browsing::V5::FullHash_FullHashDetail& FullHash::full_hash_details(int index) const {}
inline ::safe_browsing::V5::FullHash_FullHashDetail* FullHash::_internal_add_full_hash_details() {}
inline ::safe_browsing::V5::FullHash_FullHashDetail* FullHash::add_full_hash_details() {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::safe_browsing::V5::FullHash_FullHashDetail >&
FullHash::full_hash_details() const {}

// -------------------------------------------------------------------

// Duration

// int64 seconds = 1;
inline void Duration::clear_seconds() {}
inline int64_t Duration::_internal_seconds() const {}
inline int64_t Duration::seconds() const {}
inline void Duration::_internal_set_seconds(int64_t value) {}
inline void Duration::set_seconds(int64_t value) {}

// int32 nanos = 2;
inline void Duration::clear_nanos() {}
inline int32_t Duration::_internal_nanos() const {}
inline int32_t Duration::nanos() const {}
inline void Duration::_internal_set_nanos(int32_t value) {}
inline void Duration::set_nanos(int32_t value) {}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace V5
}  // namespace safe_browsing

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::safe_browsing::V5::ThreatType> : ::std::true_type {};
template <> struct is_proto_enum< ::safe_browsing::V5::ThreatAttribute> : ::std::true_type {};

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_safebrowsingv5_2eproto