#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fpage_5ftopics_5fmodel_5fmetadata_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fpage_5ftopics_5fmodel_5fmetadata_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_components_2foptimization_5fguide_2fproto_2fpage_5ftopics_5fmodel_5fmetadata_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_components_2foptimization_5fguide_2fproto_2fpage_5ftopics_5fmodel_5fmetadata_2eproto { … };
namespace optimization_guide {
namespace proto {
class PageTopicsCategoryPostprocessingParams;
struct PageTopicsCategoryPostprocessingParamsDefaultTypeInternal;
extern PageTopicsCategoryPostprocessingParamsDefaultTypeInternal _PageTopicsCategoryPostprocessingParams_default_instance_;
class PageTopicsModelMetadata;
struct PageTopicsModelMetadataDefaultTypeInternal;
extern PageTopicsModelMetadataDefaultTypeInternal _PageTopicsModelMetadata_default_instance_;
class PageTopicsOutputPostprocessingParams;
struct PageTopicsOutputPostprocessingParamsDefaultTypeInternal;
extern PageTopicsOutputPostprocessingParamsDefaultTypeInternal _PageTopicsOutputPostprocessingParams_default_instance_;
class PageTopicsVisibilityPostprocessingParams;
struct PageTopicsVisibilityPostprocessingParamsDefaultTypeInternal;
extern PageTopicsVisibilityPostprocessingParamsDefaultTypeInternal _PageTopicsVisibilityPostprocessingParams_default_instance_;
class Topic;
struct TopicDefaultTypeInternal;
extern TopicDefaultTypeInternal _Topic_default_instance_;
class TopicTaxonomy;
struct TopicTaxonomyDefaultTypeInternal;
extern TopicTaxonomyDefaultTypeInternal _TopicTaxonomy_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::optimization_guide::proto::PageTopicsCategoryPostprocessingParams* Arena::CreateMaybeMessage<::optimization_guide::proto::PageTopicsCategoryPostprocessingParams>(Arena*);
template<> ::optimization_guide::proto::PageTopicsModelMetadata* Arena::CreateMaybeMessage<::optimization_guide::proto::PageTopicsModelMetadata>(Arena*);
template<> ::optimization_guide::proto::PageTopicsOutputPostprocessingParams* Arena::CreateMaybeMessage<::optimization_guide::proto::PageTopicsOutputPostprocessingParams>(Arena*);
template<> ::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams* Arena::CreateMaybeMessage<::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams>(Arena*);
template<> ::optimization_guide::proto::Topic* Arena::CreateMaybeMessage<::optimization_guide::proto::Topic>(Arena*);
template<> ::optimization_guide::proto::TopicTaxonomy* Arena::CreateMaybeMessage<::optimization_guide::proto::TopicTaxonomy>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace optimization_guide {
namespace proto {
enum PageTopicsSupportedOutput : int { … };
bool PageTopicsSupportedOutput_IsValid(int value);
constexpr PageTopicsSupportedOutput PageTopicsSupportedOutput_MIN = …;
constexpr PageTopicsSupportedOutput PageTopicsSupportedOutput_MAX = …;
constexpr int PageTopicsSupportedOutput_ARRAYSIZE = …;
const std::string& PageTopicsSupportedOutput_Name(PageTopicsSupportedOutput value);
template<typename T>
inline const std::string& PageTopicsSupportedOutput_Name(T enum_t_value) { … }
bool PageTopicsSupportedOutput_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PageTopicsSupportedOutput* value);
class PageTopicsVisibilityPostprocessingParams final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class PageTopicsCategoryPostprocessingParams final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class PageTopicsOutputPostprocessingParams final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class Topic final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TopicTaxonomy final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class PageTopicsModelMetadata final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool PageTopicsVisibilityPostprocessingParams::_internal_has_category_name() const { … }
inline bool PageTopicsVisibilityPostprocessingParams::has_category_name() const { … }
inline void PageTopicsVisibilityPostprocessingParams::clear_category_name() { … }
inline const std::string& PageTopicsVisibilityPostprocessingParams::category_name() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PageTopicsVisibilityPostprocessingParams::set_category_name(ArgT0&& arg0, ArgT... args) { … }
inline std::string* PageTopicsVisibilityPostprocessingParams::mutable_category_name() { … }
inline const std::string& PageTopicsVisibilityPostprocessingParams::_internal_category_name() const { … }
inline void PageTopicsVisibilityPostprocessingParams::_internal_set_category_name(const std::string& value) { … }
inline std::string* PageTopicsVisibilityPostprocessingParams::_internal_mutable_category_name() { … }
inline std::string* PageTopicsVisibilityPostprocessingParams::release_category_name() { … }
inline void PageTopicsVisibilityPostprocessingParams::set_allocated_category_name(std::string* category_name) { … }
inline bool PageTopicsCategoryPostprocessingParams::_internal_has_max_categories() const { … }
inline bool PageTopicsCategoryPostprocessingParams::has_max_categories() const { … }
inline void PageTopicsCategoryPostprocessingParams::clear_max_categories() { … }
inline int32_t PageTopicsCategoryPostprocessingParams::_internal_max_categories() const { … }
inline int32_t PageTopicsCategoryPostprocessingParams::max_categories() const { … }
inline void PageTopicsCategoryPostprocessingParams::_internal_set_max_categories(int32_t value) { … }
inline void PageTopicsCategoryPostprocessingParams::set_max_categories(int32_t value) { … }
inline bool PageTopicsCategoryPostprocessingParams::_internal_has_min_category_weight() const { … }
inline bool PageTopicsCategoryPostprocessingParams::has_min_category_weight() const { … }
inline void PageTopicsCategoryPostprocessingParams::clear_min_category_weight() { … }
inline float PageTopicsCategoryPostprocessingParams::_internal_min_category_weight() const { … }
inline float PageTopicsCategoryPostprocessingParams::min_category_weight() const { … }
inline void PageTopicsCategoryPostprocessingParams::_internal_set_min_category_weight(float value) { … }
inline void PageTopicsCategoryPostprocessingParams::set_min_category_weight(float value) { … }
inline bool PageTopicsCategoryPostprocessingParams::_internal_has_min_normalized_weight_within_top_n() const { … }
inline bool PageTopicsCategoryPostprocessingParams::has_min_normalized_weight_within_top_n() const { … }
inline void PageTopicsCategoryPostprocessingParams::clear_min_normalized_weight_within_top_n() { … }
inline float PageTopicsCategoryPostprocessingParams::_internal_min_normalized_weight_within_top_n() const { … }
inline float PageTopicsCategoryPostprocessingParams::min_normalized_weight_within_top_n() const { … }
inline void PageTopicsCategoryPostprocessingParams::_internal_set_min_normalized_weight_within_top_n(float value) { … }
inline void PageTopicsCategoryPostprocessingParams::set_min_normalized_weight_within_top_n(float value) { … }
inline bool PageTopicsCategoryPostprocessingParams::_internal_has_min_none_weight() const { … }
inline bool PageTopicsCategoryPostprocessingParams::has_min_none_weight() const { … }
inline void PageTopicsCategoryPostprocessingParams::clear_min_none_weight() { … }
inline float PageTopicsCategoryPostprocessingParams::_internal_min_none_weight() const { … }
inline float PageTopicsCategoryPostprocessingParams::min_none_weight() const { … }
inline void PageTopicsCategoryPostprocessingParams::_internal_set_min_none_weight(float value) { … }
inline void PageTopicsCategoryPostprocessingParams::set_min_none_weight(float value) { … }
inline bool PageTopicsOutputPostprocessingParams::_internal_has_visibility_params() const { … }
inline bool PageTopicsOutputPostprocessingParams::has_visibility_params() const { … }
inline void PageTopicsOutputPostprocessingParams::clear_visibility_params() { … }
inline const ::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams& PageTopicsOutputPostprocessingParams::_internal_visibility_params() const { … }
inline const ::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams& PageTopicsOutputPostprocessingParams::visibility_params() const { … }
inline void PageTopicsOutputPostprocessingParams::unsafe_arena_set_allocated_visibility_params(
::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams* visibility_params) { … }
inline ::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams* PageTopicsOutputPostprocessingParams::release_visibility_params() { … }
inline ::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams* PageTopicsOutputPostprocessingParams::unsafe_arena_release_visibility_params() { … }
inline ::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams* PageTopicsOutputPostprocessingParams::_internal_mutable_visibility_params() { … }
inline ::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams* PageTopicsOutputPostprocessingParams::mutable_visibility_params() { … }
inline void PageTopicsOutputPostprocessingParams::set_allocated_visibility_params(::optimization_guide::proto::PageTopicsVisibilityPostprocessingParams* visibility_params) { … }
inline bool PageTopicsOutputPostprocessingParams::_internal_has_category_params() const { … }
inline bool PageTopicsOutputPostprocessingParams::has_category_params() const { … }
inline void PageTopicsOutputPostprocessingParams::clear_category_params() { … }
inline const ::optimization_guide::proto::PageTopicsCategoryPostprocessingParams& PageTopicsOutputPostprocessingParams::_internal_category_params() const { … }
inline const ::optimization_guide::proto::PageTopicsCategoryPostprocessingParams& PageTopicsOutputPostprocessingParams::category_params() const { … }
inline void PageTopicsOutputPostprocessingParams::unsafe_arena_set_allocated_category_params(
::optimization_guide::proto::PageTopicsCategoryPostprocessingParams* category_params) { … }
inline ::optimization_guide::proto::PageTopicsCategoryPostprocessingParams* PageTopicsOutputPostprocessingParams::release_category_params() { … }
inline ::optimization_guide::proto::PageTopicsCategoryPostprocessingParams* PageTopicsOutputPostprocessingParams::unsafe_arena_release_category_params() { … }
inline ::optimization_guide::proto::PageTopicsCategoryPostprocessingParams* PageTopicsOutputPostprocessingParams::_internal_mutable_category_params() { … }
inline ::optimization_guide::proto::PageTopicsCategoryPostprocessingParams* PageTopicsOutputPostprocessingParams::mutable_category_params() { … }
inline void PageTopicsOutputPostprocessingParams::set_allocated_category_params(::optimization_guide::proto::PageTopicsCategoryPostprocessingParams* category_params) { … }
inline bool Topic::_internal_has_topic_name() const { … }
inline bool Topic::has_topic_name() const { … }
inline void Topic::clear_topic_name() { … }
inline const std::string& Topic::topic_name() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Topic::set_topic_name(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Topic::mutable_topic_name() { … }
inline const std::string& Topic::_internal_topic_name() const { … }
inline void Topic::_internal_set_topic_name(const std::string& value) { … }
inline std::string* Topic::_internal_mutable_topic_name() { … }
inline std::string* Topic::release_topic_name() { … }
inline void Topic::set_allocated_topic_name(std::string* topic_name) { … }
inline bool Topic::_internal_has_topic_id() const { … }
inline bool Topic::has_topic_id() const { … }
inline void Topic::clear_topic_id() { … }
inline int64_t Topic::_internal_topic_id() const { … }
inline int64_t Topic::topic_id() const { … }
inline void Topic::_internal_set_topic_id(int64_t value) { … }
inline void Topic::set_topic_id(int64_t value) { … }
inline bool TopicTaxonomy::_internal_has_version() const { … }
inline bool TopicTaxonomy::has_version() const { … }
inline void TopicTaxonomy::clear_version() { … }
inline int64_t TopicTaxonomy::_internal_version() const { … }
inline int64_t TopicTaxonomy::version() const { … }
inline void TopicTaxonomy::_internal_set_version(int64_t value) { … }
inline void TopicTaxonomy::set_version(int64_t value) { … }
inline int TopicTaxonomy::_internal_topics_size() const { … }
inline int TopicTaxonomy::topics_size() const { … }
inline void TopicTaxonomy::clear_topics() { … }
inline ::optimization_guide::proto::Topic* TopicTaxonomy::mutable_topics(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::Topic >*
TopicTaxonomy::mutable_topics() { … }
inline const ::optimization_guide::proto::Topic& TopicTaxonomy::_internal_topics(int index) const { … }
inline const ::optimization_guide::proto::Topic& TopicTaxonomy::topics(int index) const { … }
inline ::optimization_guide::proto::Topic* TopicTaxonomy::_internal_add_topics() { … }
inline ::optimization_guide::proto::Topic* TopicTaxonomy::add_topics() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::Topic >&
TopicTaxonomy::topics() const { … }
inline bool PageTopicsModelMetadata::_internal_has_version() const { … }
inline bool PageTopicsModelMetadata::has_version() const { … }
inline void PageTopicsModelMetadata::clear_version() { … }
inline int64_t PageTopicsModelMetadata::_internal_version() const { … }
inline int64_t PageTopicsModelMetadata::version() const { … }
inline void PageTopicsModelMetadata::_internal_set_version(int64_t value) { … }
inline void PageTopicsModelMetadata::set_version(int64_t value) { … }
inline int PageTopicsModelMetadata::_internal_supported_output_size() const { … }
inline int PageTopicsModelMetadata::supported_output_size() const { … }
inline void PageTopicsModelMetadata::clear_supported_output() { … }
inline ::optimization_guide::proto::PageTopicsSupportedOutput PageTopicsModelMetadata::_internal_supported_output(int index) const { … }
inline ::optimization_guide::proto::PageTopicsSupportedOutput PageTopicsModelMetadata::supported_output(int index) const { … }
inline void PageTopicsModelMetadata::set_supported_output(int index, ::optimization_guide::proto::PageTopicsSupportedOutput value) { … }
inline void PageTopicsModelMetadata::_internal_add_supported_output(::optimization_guide::proto::PageTopicsSupportedOutput value) { … }
inline void PageTopicsModelMetadata::add_supported_output(::optimization_guide::proto::PageTopicsSupportedOutput value) { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
PageTopicsModelMetadata::supported_output() const { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
PageTopicsModelMetadata::_internal_mutable_supported_output() { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
PageTopicsModelMetadata::mutable_supported_output() { … }
inline bool PageTopicsModelMetadata::_internal_has_output_postprocessing_params() const { … }
inline bool PageTopicsModelMetadata::has_output_postprocessing_params() const { … }
inline void PageTopicsModelMetadata::clear_output_postprocessing_params() { … }
inline const ::optimization_guide::proto::PageTopicsOutputPostprocessingParams& PageTopicsModelMetadata::_internal_output_postprocessing_params() const { … }
inline const ::optimization_guide::proto::PageTopicsOutputPostprocessingParams& PageTopicsModelMetadata::output_postprocessing_params() const { … }
inline void PageTopicsModelMetadata::unsafe_arena_set_allocated_output_postprocessing_params(
::optimization_guide::proto::PageTopicsOutputPostprocessingParams* output_postprocessing_params) { … }
inline ::optimization_guide::proto::PageTopicsOutputPostprocessingParams* PageTopicsModelMetadata::release_output_postprocessing_params() { … }
inline ::optimization_guide::proto::PageTopicsOutputPostprocessingParams* PageTopicsModelMetadata::unsafe_arena_release_output_postprocessing_params() { … }
inline ::optimization_guide::proto::PageTopicsOutputPostprocessingParams* PageTopicsModelMetadata::_internal_mutable_output_postprocessing_params() { … }
inline ::optimization_guide::proto::PageTopicsOutputPostprocessingParams* PageTopicsModelMetadata::mutable_output_postprocessing_params() { … }
inline void PageTopicsModelMetadata::set_allocated_output_postprocessing_params(::optimization_guide::proto::PageTopicsOutputPostprocessingParams* output_postprocessing_params) { … }
inline bool PageTopicsModelMetadata::_internal_has_taxonomy_version() const { … }
inline bool PageTopicsModelMetadata::has_taxonomy_version() const { … }
inline void PageTopicsModelMetadata::clear_taxonomy_version() { … }
inline int64_t PageTopicsModelMetadata::_internal_taxonomy_version() const { … }
inline int64_t PageTopicsModelMetadata::taxonomy_version() const { … }
inline void PageTopicsModelMetadata::_internal_set_taxonomy_version(int64_t value) { … }
inline void PageTopicsModelMetadata::set_taxonomy_version(int64_t value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::optimization_guide::proto::PageTopicsSupportedOutput> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif