chromium/out/Default/gen/third_party/metrics_proto/ukm/source.pb.h

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

#ifndef GOOGLE_PROTOBUF_INCLUDED_ukm_2fsource_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_ukm_2fsource_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_ukm_2fsource_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_ukm_2fsource_2eproto {};
namespace ukm {
class NavigationMetadata;
struct NavigationMetadataDefaultTypeInternal;
extern NavigationMetadataDefaultTypeInternal _NavigationMetadata_default_instance_;
class Source;
struct SourceDefaultTypeInternal;
extern SourceDefaultTypeInternal _Source_default_instance_;
class UrlInfo;
struct UrlInfoDefaultTypeInternal;
extern UrlInfoDefaultTypeInternal _UrlInfo_default_instance_;
}  // namespace ukm
PROTOBUF_NAMESPACE_OPEN
template<> ::ukm::NavigationMetadata* Arena::CreateMaybeMessage<::ukm::NavigationMetadata>(Arena*);
template<> ::ukm::Source* Arena::CreateMaybeMessage<::ukm::Source>(Arena*);
template<> ::ukm::UrlInfo* Arena::CreateMaybeMessage<::ukm::UrlInfo>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace ukm {

enum SourceType : int {};
bool SourceType_IsValid(int value);
constexpr SourceType SourceType_MIN =;
constexpr SourceType SourceType_MAX =;
constexpr int SourceType_ARRAYSIZE =;

const std::string& SourceType_Name(SourceType value);
template<typename T>
inline const std::string& SourceType_Name(T enum_t_value) {}
bool SourceType_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SourceType* value);
enum AndroidActivityType : int {};
bool AndroidActivityType_IsValid(int value);
constexpr AndroidActivityType AndroidActivityType_MIN =;
constexpr AndroidActivityType AndroidActivityType_MAX =;
constexpr int AndroidActivityType_ARRAYSIZE =;

const std::string& AndroidActivityType_Name(AndroidActivityType value);
template<typename T>
inline const std::string& AndroidActivityType_Name(T enum_t_value) {}
bool AndroidActivityType_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AndroidActivityType* value);
enum SameOriginStatus : int {};
bool SameOriginStatus_IsValid(int value);
constexpr SameOriginStatus SameOriginStatus_MIN =;
constexpr SameOriginStatus SameOriginStatus_MAX =;
constexpr int SameOriginStatus_ARRAYSIZE =;

const std::string& SameOriginStatus_Name(SameOriginStatus value);
template<typename T>
inline const std::string& SameOriginStatus_Name(T enum_t_value) {}
bool SameOriginStatus_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SameOriginStatus* value);
enum UrlScheme : int {};
bool UrlScheme_IsValid(int value);
constexpr UrlScheme UrlScheme_MIN =;
constexpr UrlScheme UrlScheme_MAX =;
constexpr int UrlScheme_ARRAYSIZE =;

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

class UrlInfo final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ukm.UrlInfo) */ {};
// -------------------------------------------------------------------

class NavigationMetadata final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ukm.NavigationMetadata) */ {};
// -------------------------------------------------------------------

class Source final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ukm.Source) */ {};
// ===================================================================


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

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

// optional string url = 1;
inline bool UrlInfo::_internal_has_url() const {}
inline bool UrlInfo::has_url() const {}
inline void UrlInfo::clear_url() {}
inline const std::string& UrlInfo::url() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void UrlInfo::set_url(ArgT0&& arg0, ArgT... args) {}
inline std::string* UrlInfo::mutable_url() {}
inline const std::string& UrlInfo::_internal_url() const {}
inline void UrlInfo::_internal_set_url(const std::string& value) {}
inline std::string* UrlInfo::_internal_mutable_url() {}
inline std::string* UrlInfo::release_url() {}
inline void UrlInfo::set_allocated_url(std::string* url) {}

// optional int32 previous_url_count = 2;
inline bool UrlInfo::_internal_has_previous_url_count() const {}
inline bool UrlInfo::has_previous_url_count() const {}
inline void UrlInfo::clear_previous_url_count() {}
inline int32_t UrlInfo::_internal_previous_url_count() const {}
inline int32_t UrlInfo::previous_url_count() const {}
inline void UrlInfo::_internal_set_previous_url_count(int32_t value) {}
inline void UrlInfo::set_previous_url_count(int32_t value) {}

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

// NavigationMetadata

// optional .ukm.SameOriginStatus same_origin_status = 1;
inline bool NavigationMetadata::_internal_has_same_origin_status() const {}
inline bool NavigationMetadata::has_same_origin_status() const {}
inline void NavigationMetadata::clear_same_origin_status() {}
inline ::ukm::SameOriginStatus NavigationMetadata::_internal_same_origin_status() const {}
inline ::ukm::SameOriginStatus NavigationMetadata::same_origin_status() const {}
inline void NavigationMetadata::_internal_set_same_origin_status(::ukm::SameOriginStatus value) {}
inline void NavigationMetadata::set_same_origin_status(::ukm::SameOriginStatus value) {}

// optional bool is_renderer_initiated = 2;
inline bool NavigationMetadata::_internal_has_is_renderer_initiated() const {}
inline bool NavigationMetadata::has_is_renderer_initiated() const {}
inline void NavigationMetadata::clear_is_renderer_initiated() {}
inline bool NavigationMetadata::_internal_is_renderer_initiated() const {}
inline bool NavigationMetadata::is_renderer_initiated() const {}
inline void NavigationMetadata::_internal_set_is_renderer_initiated(bool value) {}
inline void NavigationMetadata::set_is_renderer_initiated(bool value) {}

// optional bool is_error_page = 3;
inline bool NavigationMetadata::_internal_has_is_error_page() const {}
inline bool NavigationMetadata::has_is_error_page() const {}
inline void NavigationMetadata::clear_is_error_page() {}
inline bool NavigationMetadata::_internal_is_error_page() const {}
inline bool NavigationMetadata::is_error_page() const {}
inline void NavigationMetadata::_internal_set_is_error_page(bool value) {}
inline void NavigationMetadata::set_is_error_page(bool value) {}

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

// Source

// optional int64 id = 1;
inline bool Source::_internal_has_id() const {}
inline bool Source::has_id() const {}
inline void Source::clear_id() {}
inline int64_t Source::_internal_id() const {}
inline int64_t Source::id() const {}
inline void Source::_internal_set_id(int64_t value) {}
inline void Source::set_id(int64_t value) {}

// optional .ukm.SourceType type = 16;
inline bool Source::_internal_has_type() const {}
inline bool Source::has_type() const {}
inline void Source::clear_type() {}
inline ::ukm::SourceType Source::_internal_type() const {}
inline ::ukm::SourceType Source::type() const {}
inline void Source::_internal_set_type(::ukm::SourceType value) {}
inline void Source::set_type(::ukm::SourceType value) {}

// optional int64 tab_id = 10;
inline bool Source::_internal_has_tab_id() const {}
inline bool Source::has_tab_id() const {}
inline void Source::clear_tab_id() {}
inline int64_t Source::_internal_tab_id() const {}
inline int64_t Source::tab_id() const {}
inline void Source::_internal_set_tab_id(int64_t value) {}
inline void Source::set_tab_id(int64_t value) {}

// optional int64 previous_source_id = 11;
inline bool Source::_internal_has_previous_source_id() const {}
inline bool Source::has_previous_source_id() const {}
inline void Source::clear_previous_source_id() {}
inline int64_t Source::_internal_previous_source_id() const {}
inline int64_t Source::previous_source_id() const {}
inline void Source::_internal_set_previous_source_id(int64_t value) {}
inline void Source::set_previous_source_id(int64_t value) {}

// optional int64 previous_same_document_source_id = 14;
inline bool Source::_internal_has_previous_same_document_source_id() const {}
inline bool Source::has_previous_same_document_source_id() const {}
inline void Source::clear_previous_same_document_source_id() {}
inline int64_t Source::_internal_previous_same_document_source_id() const {}
inline int64_t Source::previous_same_document_source_id() const {}
inline void Source::_internal_set_previous_same_document_source_id(int64_t value) {}
inline void Source::set_previous_same_document_source_id(int64_t value) {}

// optional int64 opener_source_id = 12;
inline bool Source::_internal_has_opener_source_id() const {}
inline bool Source::has_opener_source_id() const {}
inline void Source::clear_opener_source_id() {}
inline int64_t Source::_internal_opener_source_id() const {}
inline int64_t Source::opener_source_id() const {}
inline void Source::_internal_set_opener_source_id(int64_t value) {}
inline void Source::set_opener_source_id(int64_t value) {}

// repeated .ukm.UrlInfo urls = 8;
inline int Source::_internal_urls_size() const {}
inline int Source::urls_size() const {}
inline void Source::clear_urls() {}
inline ::ukm::UrlInfo* Source::mutable_urls(int index) {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::UrlInfo >*
Source::mutable_urls() {}
inline const ::ukm::UrlInfo& Source::_internal_urls(int index) const {}
inline const ::ukm::UrlInfo& Source::urls(int index) const {}
inline ::ukm::UrlInfo* Source::_internal_add_urls() {}
inline ::ukm::UrlInfo* Source::add_urls() {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::UrlInfo >&
Source::urls() const {}

// repeated .ukm.UrlInfo resolved_urls = 15;
inline int Source::_internal_resolved_urls_size() const {}
inline int Source::resolved_urls_size() const {}
inline void Source::clear_resolved_urls() {}
inline ::ukm::UrlInfo* Source::mutable_resolved_urls(int index) {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::UrlInfo >*
Source::mutable_resolved_urls() {}
inline const ::ukm::UrlInfo& Source::_internal_resolved_urls(int index) const {}
inline const ::ukm::UrlInfo& Source::resolved_urls(int index) const {}
inline ::ukm::UrlInfo* Source::_internal_add_resolved_urls() {}
inline ::ukm::UrlInfo* Source::add_resolved_urls() {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::UrlInfo >&
Source::resolved_urls() const {}

// optional bool is_same_document_navigation = 13;
inline bool Source::_internal_has_is_same_document_navigation() const {}
inline bool Source::has_is_same_document_navigation() const {}
inline void Source::clear_is_same_document_navigation() {}
inline bool Source::_internal_is_same_document_navigation() const {}
inline bool Source::is_same_document_navigation() const {}
inline void Source::_internal_set_is_same_document_navigation(bool value) {}
inline void Source::set_is_same_document_navigation(bool value) {}

// optional .ukm.NavigationMetadata navigation_metadata = 17;
inline bool Source::_internal_has_navigation_metadata() const {}
inline bool Source::has_navigation_metadata() const {}
inline void Source::clear_navigation_metadata() {}
inline const ::ukm::NavigationMetadata& Source::_internal_navigation_metadata() const {}
inline const ::ukm::NavigationMetadata& Source::navigation_metadata() const {}
inline void Source::unsafe_arena_set_allocated_navigation_metadata(
    ::ukm::NavigationMetadata* navigation_metadata) {}
inline ::ukm::NavigationMetadata* Source::release_navigation_metadata() {}
inline ::ukm::NavigationMetadata* Source::unsafe_arena_release_navigation_metadata() {}
inline ::ukm::NavigationMetadata* Source::_internal_mutable_navigation_metadata() {}
inline ::ukm::NavigationMetadata* Source::mutable_navigation_metadata() {}
inline void Source::set_allocated_navigation_metadata(::ukm::NavigationMetadata* navigation_metadata) {}

// optional string deprecated_url = 2 [deprecated = true];
inline bool Source::_internal_has_deprecated_url() const {}
inline bool Source::has_deprecated_url() const {}
inline void Source::clear_deprecated_url() {}
inline const std::string& Source::deprecated_url() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Source::set_deprecated_url(ArgT0&& arg0, ArgT... args) {}
inline std::string* Source::mutable_deprecated_url() {}
inline const std::string& Source::_internal_deprecated_url() const {}
inline void Source::_internal_set_deprecated_url(const std::string& value) {}
inline std::string* Source::_internal_mutable_deprecated_url() {}
inline std::string* Source::release_deprecated_url() {}
inline void Source::set_allocated_deprecated_url(std::string* deprecated_url) {}

// optional string deprecated_initial_url = 6 [deprecated = true];
inline bool Source::_internal_has_deprecated_initial_url() const {}
inline bool Source::has_deprecated_initial_url() const {}
inline void Source::clear_deprecated_initial_url() {}
inline const std::string& Source::deprecated_initial_url() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Source::set_deprecated_initial_url(ArgT0&& arg0, ArgT... args) {}
inline std::string* Source::mutable_deprecated_initial_url() {}
inline const std::string& Source::_internal_deprecated_initial_url() const {}
inline void Source::_internal_set_deprecated_initial_url(const std::string& value) {}
inline std::string* Source::_internal_mutable_deprecated_initial_url() {}
inline std::string* Source::release_deprecated_initial_url() {}
inline void Source::set_allocated_deprecated_initial_url(std::string* deprecated_initial_url) {}

// optional .ukm.AndroidActivityType android_activity_type = 18;
inline bool Source::_internal_has_android_activity_type() const {}
inline bool Source::has_android_activity_type() const {}
inline void Source::clear_android_activity_type() {}
inline ::ukm::AndroidActivityType Source::_internal_android_activity_type() const {}
inline ::ukm::AndroidActivityType Source::android_activity_type() const {}
inline void Source::_internal_set_android_activity_type(::ukm::AndroidActivityType value) {}
inline void Source::set_android_activity_type(::ukm::AndroidActivityType value) {}

// optional int64 navigation_time_msec = 3;
inline bool Source::_internal_has_navigation_time_msec() const {}
inline bool Source::has_navigation_time_msec() const {}
inline void Source::clear_navigation_time_msec() {}
inline int64_t Source::_internal_navigation_time_msec() const {}
inline int64_t Source::navigation_time_msec() const {}
inline void Source::_internal_set_navigation_time_msec(int64_t value) {}
inline void Source::set_navigation_time_msec(int64_t value) {}

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace ukm

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::ukm::SourceType> : ::std::true_type {};
template <> struct is_proto_enum< ::ukm::AndroidActivityType> : ::std::true_type {};
template <> struct is_proto_enum< ::ukm::SameOriginStatus> : ::std::true_type {};
template <> struct is_proto_enum< ::ukm::UrlScheme> : ::std::true_type {};

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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