#ifndef GOOGLE_PROTOBUF_INCLUDED_rules_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_rules_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>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_enum_util.h>
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_rules_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_rules_2eproto { … };
namespace url_pattern_index {
namespace proto {
class Comment;
struct CommentDefaultTypeInternal;
extern CommentDefaultTypeInternal _Comment_default_instance_;
class CssRule;
struct CssRuleDefaultTypeInternal;
extern CssRuleDefaultTypeInternal _CssRule_default_instance_;
class DomainListItem;
struct DomainListItemDefaultTypeInternal;
extern DomainListItemDefaultTypeInternal _DomainListItem_default_instance_;
class FilteringRules;
struct FilteringRulesDefaultTypeInternal;
extern FilteringRulesDefaultTypeInternal _FilteringRules_default_instance_;
class UrlRule;
struct UrlRuleDefaultTypeInternal;
extern UrlRuleDefaultTypeInternal _UrlRule_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::url_pattern_index::proto::Comment* Arena::CreateMaybeMessage<::url_pattern_index::proto::Comment>(Arena*);
template<> ::url_pattern_index::proto::CssRule* Arena::CreateMaybeMessage<::url_pattern_index::proto::CssRule>(Arena*);
template<> ::url_pattern_index::proto::DomainListItem* Arena::CreateMaybeMessage<::url_pattern_index::proto::DomainListItem>(Arena*);
template<> ::url_pattern_index::proto::FilteringRules* Arena::CreateMaybeMessage<::url_pattern_index::proto::FilteringRules>(Arena*);
template<> ::url_pattern_index::proto::UrlRule* Arena::CreateMaybeMessage<::url_pattern_index::proto::UrlRule>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace url_pattern_index {
namespace proto {
enum RuleType : int { … };
bool RuleType_IsValid(int value);
constexpr RuleType RuleType_MIN = …;
constexpr RuleType RuleType_MAX = …;
constexpr int RuleType_ARRAYSIZE = …;
const std::string& RuleType_Name(RuleType value);
template<typename T>
inline const std::string& RuleType_Name(T enum_t_value) { … }
bool RuleType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RuleType* value);
enum UrlPatternType : int { … };
bool UrlPatternType_IsValid(int value);
constexpr UrlPatternType UrlPatternType_MIN = …;
constexpr UrlPatternType UrlPatternType_MAX = …;
constexpr int UrlPatternType_ARRAYSIZE = …;
const std::string& UrlPatternType_Name(UrlPatternType value);
template<typename T>
inline const std::string& UrlPatternType_Name(T enum_t_value) { … }
bool UrlPatternType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UrlPatternType* value);
enum AnchorType : int { … };
bool AnchorType_IsValid(int value);
constexpr AnchorType AnchorType_MIN = …;
constexpr AnchorType AnchorType_MAX = …;
constexpr int AnchorType_ARRAYSIZE = …;
const std::string& AnchorType_Name(AnchorType value);
template<typename T>
inline const std::string& AnchorType_Name(T enum_t_value) { … }
bool AnchorType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AnchorType* value);
enum ElementType : int { … };
bool ElementType_IsValid(int value);
constexpr ElementType ElementType_MIN = …;
constexpr ElementType ElementType_MAX = …;
constexpr int ElementType_ARRAYSIZE = …;
const std::string& ElementType_Name(ElementType value);
template<typename T>
inline const std::string& ElementType_Name(T enum_t_value) { … }
bool ElementType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ElementType* value);
enum ActivationType : int { … };
bool ActivationType_IsValid(int value);
constexpr ActivationType ActivationType_MIN = …;
constexpr ActivationType ActivationType_MAX = …;
constexpr int ActivationType_ARRAYSIZE = …;
const std::string& ActivationType_Name(ActivationType value);
template<typename T>
inline const std::string& ActivationType_Name(T enum_t_value) { … }
bool ActivationType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ActivationType* value);
enum RuleSemantics : int { … };
bool RuleSemantics_IsValid(int value);
constexpr RuleSemantics RuleSemantics_MIN = …;
constexpr RuleSemantics RuleSemantics_MAX = …;
constexpr int RuleSemantics_ARRAYSIZE = …;
const std::string& RuleSemantics_Name(RuleSemantics value);
template<typename T>
inline const std::string& RuleSemantics_Name(T enum_t_value) { … }
bool RuleSemantics_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RuleSemantics* value);
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);
class DomainListItem final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class UrlRule final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class CssRule final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class Comment final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class FilteringRules final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool DomainListItem::_internal_has_domain() const { … }
inline bool DomainListItem::has_domain() const { … }
inline void DomainListItem::clear_domain() { … }
inline const std::string& DomainListItem::domain() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void DomainListItem::set_domain(ArgT0&& arg0, ArgT... args) { … }
inline std::string* DomainListItem::mutable_domain() { … }
inline const std::string& DomainListItem::_internal_domain() const { … }
inline void DomainListItem::_internal_set_domain(const std::string& value) { … }
inline std::string* DomainListItem::_internal_mutable_domain() { … }
inline std::string* DomainListItem::release_domain() { … }
inline void DomainListItem::set_allocated_domain(std::string* domain) { … }
inline bool DomainListItem::_internal_has_exclude() const { … }
inline bool DomainListItem::has_exclude() const { … }
inline void DomainListItem::clear_exclude() { … }
inline bool DomainListItem::_internal_exclude() const { … }
inline bool DomainListItem::exclude() const { … }
inline void DomainListItem::_internal_set_exclude(bool value) { … }
inline void DomainListItem::set_exclude(bool value) { … }
inline bool UrlRule::_internal_has_semantics() const { … }
inline bool UrlRule::has_semantics() const { … }
inline void UrlRule::clear_semantics() { … }
inline ::url_pattern_index::proto::RuleSemantics UrlRule::_internal_semantics() const { … }
inline ::url_pattern_index::proto::RuleSemantics UrlRule::semantics() const { … }
inline void UrlRule::_internal_set_semantics(::url_pattern_index::proto::RuleSemantics value) { … }
inline void UrlRule::set_semantics(::url_pattern_index::proto::RuleSemantics value) { … }
inline bool UrlRule::_internal_has_source_type() const { … }
inline bool UrlRule::has_source_type() const { … }
inline void UrlRule::clear_source_type() { … }
inline ::url_pattern_index::proto::SourceType UrlRule::_internal_source_type() const { … }
inline ::url_pattern_index::proto::SourceType UrlRule::source_type() const { … }
inline void UrlRule::_internal_set_source_type(::url_pattern_index::proto::SourceType value) { … }
inline void UrlRule::set_source_type(::url_pattern_index::proto::SourceType value) { … }
inline bool UrlRule::_internal_has_element_types() const { … }
inline bool UrlRule::has_element_types() const { … }
inline void UrlRule::clear_element_types() { … }
inline int32_t UrlRule::_internal_element_types() const { … }
inline int32_t UrlRule::element_types() const { … }
inline void UrlRule::_internal_set_element_types(int32_t value) { … }
inline void UrlRule::set_element_types(int32_t value) { … }
inline bool UrlRule::_internal_has_activation_types() const { … }
inline bool UrlRule::has_activation_types() const { … }
inline void UrlRule::clear_activation_types() { … }
inline int32_t UrlRule::_internal_activation_types() const { … }
inline int32_t UrlRule::activation_types() const { … }
inline void UrlRule::_internal_set_activation_types(int32_t value) { … }
inline void UrlRule::set_activation_types(int32_t value) { … }
inline int UrlRule::_internal_initiator_domains_size() const { … }
inline int UrlRule::initiator_domains_size() const { … }
inline void UrlRule::clear_initiator_domains() { … }
inline ::url_pattern_index::proto::DomainListItem* UrlRule::mutable_initiator_domains(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::DomainListItem >*
UrlRule::mutable_initiator_domains() { … }
inline const ::url_pattern_index::proto::DomainListItem& UrlRule::_internal_initiator_domains(int index) const { … }
inline const ::url_pattern_index::proto::DomainListItem& UrlRule::initiator_domains(int index) const { … }
inline ::url_pattern_index::proto::DomainListItem* UrlRule::_internal_add_initiator_domains() { … }
inline ::url_pattern_index::proto::DomainListItem* UrlRule::add_initiator_domains() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::DomainListItem >&
UrlRule::initiator_domains() const { … }
inline bool UrlRule::_internal_has_url_pattern_type() const { … }
inline bool UrlRule::has_url_pattern_type() const { … }
inline void UrlRule::clear_url_pattern_type() { … }
inline ::url_pattern_index::proto::UrlPatternType UrlRule::_internal_url_pattern_type() const { … }
inline ::url_pattern_index::proto::UrlPatternType UrlRule::url_pattern_type() const { … }
inline void UrlRule::_internal_set_url_pattern_type(::url_pattern_index::proto::UrlPatternType value) { … }
inline void UrlRule::set_url_pattern_type(::url_pattern_index::proto::UrlPatternType value) { … }
inline bool UrlRule::_internal_has_anchor_left() const { … }
inline bool UrlRule::has_anchor_left() const { … }
inline void UrlRule::clear_anchor_left() { … }
inline ::url_pattern_index::proto::AnchorType UrlRule::_internal_anchor_left() const { … }
inline ::url_pattern_index::proto::AnchorType UrlRule::anchor_left() const { … }
inline void UrlRule::_internal_set_anchor_left(::url_pattern_index::proto::AnchorType value) { … }
inline void UrlRule::set_anchor_left(::url_pattern_index::proto::AnchorType value) { … }
inline bool UrlRule::_internal_has_anchor_right() const { … }
inline bool UrlRule::has_anchor_right() const { … }
inline void UrlRule::clear_anchor_right() { … }
inline ::url_pattern_index::proto::AnchorType UrlRule::_internal_anchor_right() const { … }
inline ::url_pattern_index::proto::AnchorType UrlRule::anchor_right() const { … }
inline void UrlRule::_internal_set_anchor_right(::url_pattern_index::proto::AnchorType value) { … }
inline void UrlRule::set_anchor_right(::url_pattern_index::proto::AnchorType value) { … }
inline bool UrlRule::_internal_has_match_case() const { … }
inline bool UrlRule::has_match_case() const { … }
inline void UrlRule::clear_match_case() { … }
inline bool UrlRule::_internal_match_case() const { … }
inline bool UrlRule::match_case() const { … }
inline void UrlRule::_internal_set_match_case(bool value) { … }
inline void UrlRule::set_match_case(bool value) { … }
inline bool UrlRule::_internal_has_url_pattern() const { … }
inline bool UrlRule::has_url_pattern() const { … }
inline void UrlRule::clear_url_pattern() { … }
inline const std::string& UrlRule::url_pattern() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void UrlRule::set_url_pattern(ArgT0&& arg0, ArgT... args) { … }
inline std::string* UrlRule::mutable_url_pattern() { … }
inline const std::string& UrlRule::_internal_url_pattern() const { … }
inline void UrlRule::_internal_set_url_pattern(const std::string& value) { … }
inline std::string* UrlRule::_internal_mutable_url_pattern() { … }
inline std::string* UrlRule::release_url_pattern() { … }
inline void UrlRule::set_allocated_url_pattern(std::string* url_pattern) { … }
inline int UrlRule::_internal_request_domains_size() const { … }
inline int UrlRule::request_domains_size() const { … }
inline void UrlRule::clear_request_domains() { … }
inline ::url_pattern_index::proto::DomainListItem* UrlRule::mutable_request_domains(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::DomainListItem >*
UrlRule::mutable_request_domains() { … }
inline const ::url_pattern_index::proto::DomainListItem& UrlRule::_internal_request_domains(int index) const { … }
inline const ::url_pattern_index::proto::DomainListItem& UrlRule::request_domains(int index) const { … }
inline ::url_pattern_index::proto::DomainListItem* UrlRule::_internal_add_request_domains() { … }
inline ::url_pattern_index::proto::DomainListItem* UrlRule::add_request_domains() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::DomainListItem >&
UrlRule::request_domains() const { … }
inline bool CssRule::_internal_has_semantics() const { … }
inline bool CssRule::has_semantics() const { … }
inline void CssRule::clear_semantics() { … }
inline ::url_pattern_index::proto::RuleSemantics CssRule::_internal_semantics() const { … }
inline ::url_pattern_index::proto::RuleSemantics CssRule::semantics() const { … }
inline void CssRule::_internal_set_semantics(::url_pattern_index::proto::RuleSemantics value) { … }
inline void CssRule::set_semantics(::url_pattern_index::proto::RuleSemantics value) { … }
inline int CssRule::_internal_domains_size() const { … }
inline int CssRule::domains_size() const { … }
inline void CssRule::clear_domains() { … }
inline ::url_pattern_index::proto::DomainListItem* CssRule::mutable_domains(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::DomainListItem >*
CssRule::mutable_domains() { … }
inline const ::url_pattern_index::proto::DomainListItem& CssRule::_internal_domains(int index) const { … }
inline const ::url_pattern_index::proto::DomainListItem& CssRule::domains(int index) const { … }
inline ::url_pattern_index::proto::DomainListItem* CssRule::_internal_add_domains() { … }
inline ::url_pattern_index::proto::DomainListItem* CssRule::add_domains() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::DomainListItem >&
CssRule::domains() const { … }
inline bool CssRule::_internal_has_css_selector() const { … }
inline bool CssRule::has_css_selector() const { … }
inline void CssRule::clear_css_selector() { … }
inline const std::string& CssRule::css_selector() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void CssRule::set_css_selector(ArgT0&& arg0, ArgT... args) { … }
inline std::string* CssRule::mutable_css_selector() { … }
inline const std::string& CssRule::_internal_css_selector() const { … }
inline void CssRule::_internal_set_css_selector(const std::string& value) { … }
inline std::string* CssRule::_internal_mutable_css_selector() { … }
inline std::string* CssRule::release_css_selector() { … }
inline void CssRule::set_allocated_css_selector(std::string* css_selector) { … }
inline bool Comment::_internal_has_text() const { … }
inline bool Comment::has_text() const { … }
inline void Comment::clear_text() { … }
inline const std::string& Comment::text() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Comment::set_text(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Comment::mutable_text() { … }
inline const std::string& Comment::_internal_text() const { … }
inline void Comment::_internal_set_text(const std::string& value) { … }
inline std::string* Comment::_internal_mutable_text() { … }
inline std::string* Comment::release_text() { … }
inline void Comment::set_allocated_text(std::string* text) { … }
inline bool Comment::_internal_has_key() const { … }
inline bool Comment::has_key() const { … }
inline void Comment::clear_key() { … }
inline const std::string& Comment::key() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Comment::set_key(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Comment::mutable_key() { … }
inline const std::string& Comment::_internal_key() const { … }
inline void Comment::_internal_set_key(const std::string& value) { … }
inline std::string* Comment::_internal_mutable_key() { … }
inline std::string* Comment::release_key() { … }
inline void Comment::set_allocated_key(std::string* key) { … }
inline bool Comment::_internal_has_value() const { … }
inline bool Comment::has_value() const { … }
inline void Comment::clear_value() { … }
inline const std::string& Comment::value() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Comment::set_value(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Comment::mutable_value() { … }
inline const std::string& Comment::_internal_value() const { … }
inline void Comment::_internal_set_value(const std::string& value) { … }
inline std::string* Comment::_internal_mutable_value() { … }
inline std::string* Comment::release_value() { … }
inline void Comment::set_allocated_value(std::string* value) { … }
inline int FilteringRules::_internal_url_rules_size() const { … }
inline int FilteringRules::url_rules_size() const { … }
inline void FilteringRules::clear_url_rules() { … }
inline ::url_pattern_index::proto::UrlRule* FilteringRules::mutable_url_rules(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::UrlRule >*
FilteringRules::mutable_url_rules() { … }
inline const ::url_pattern_index::proto::UrlRule& FilteringRules::_internal_url_rules(int index) const { … }
inline const ::url_pattern_index::proto::UrlRule& FilteringRules::url_rules(int index) const { … }
inline ::url_pattern_index::proto::UrlRule* FilteringRules::_internal_add_url_rules() { … }
inline ::url_pattern_index::proto::UrlRule* FilteringRules::add_url_rules() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::UrlRule >&
FilteringRules::url_rules() const { … }
inline int FilteringRules::_internal_css_rules_size() const { … }
inline int FilteringRules::css_rules_size() const { … }
inline void FilteringRules::clear_css_rules() { … }
inline ::url_pattern_index::proto::CssRule* FilteringRules::mutable_css_rules(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::CssRule >*
FilteringRules::mutable_css_rules() { … }
inline const ::url_pattern_index::proto::CssRule& FilteringRules::_internal_css_rules(int index) const { … }
inline const ::url_pattern_index::proto::CssRule& FilteringRules::css_rules(int index) const { … }
inline ::url_pattern_index::proto::CssRule* FilteringRules::_internal_add_css_rules() { … }
inline ::url_pattern_index::proto::CssRule* FilteringRules::add_css_rules() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::url_pattern_index::proto::CssRule >&
FilteringRules::css_rules() const { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::url_pattern_index::proto::RuleType> : ::std::true_type { … };
template <> struct is_proto_enum< ::url_pattern_index::proto::UrlPatternType> : ::std::true_type { … };
template <> struct is_proto_enum< ::url_pattern_index::proto::AnchorType> : ::std::true_type { … };
template <> struct is_proto_enum< ::url_pattern_index::proto::ElementType> : ::std::true_type { … };
template <> struct is_proto_enum< ::url_pattern_index::proto::ActivationType> : ::std::true_type { … };
template <> struct is_proto_enum< ::url_pattern_index::proto::RuleSemantics> : ::std::true_type { … };
template <> struct is_proto_enum< ::url_pattern_index::proto::SourceType> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif