#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_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 "components/optimization_guide/proto/features/common_quality_data.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_2eproto { … };
namespace optimization_guide {
namespace proto {
class DocumentShown;
struct DocumentShownDefaultTypeInternal;
extern DocumentShownDefaultTypeInternal _DocumentShown_default_instance_;
class HistoryQueryLoggingData;
struct HistoryQueryLoggingDataDefaultTypeInternal;
extern HistoryQueryLoggingDataDefaultTypeInternal _HistoryQueryLoggingData_default_instance_;
class HistoryQueryQuality;
struct HistoryQueryQualityDefaultTypeInternal;
extern HistoryQueryQualityDefaultTypeInternal _HistoryQueryQuality_default_instance_;
class HistoryQueryRequest;
struct HistoryQueryRequestDefaultTypeInternal;
extern HistoryQueryRequestDefaultTypeInternal _HistoryQueryRequest_default_instance_;
class HistoryQueryResponse;
struct HistoryQueryResponseDefaultTypeInternal;
extern HistoryQueryResponseDefaultTypeInternal _HistoryQueryResponse_default_instance_;
class PassageData;
struct PassageDataDefaultTypeInternal;
extern PassageDataDefaultTypeInternal _PassageData_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::optimization_guide::proto::DocumentShown* Arena::CreateMaybeMessage<::optimization_guide::proto::DocumentShown>(Arena*);
template<> ::optimization_guide::proto::HistoryQueryLoggingData* Arena::CreateMaybeMessage<::optimization_guide::proto::HistoryQueryLoggingData>(Arena*);
template<> ::optimization_guide::proto::HistoryQueryQuality* Arena::CreateMaybeMessage<::optimization_guide::proto::HistoryQueryQuality>(Arena*);
template<> ::optimization_guide::proto::HistoryQueryRequest* Arena::CreateMaybeMessage<::optimization_guide::proto::HistoryQueryRequest>(Arena*);
template<> ::optimization_guide::proto::HistoryQueryResponse* Arena::CreateMaybeMessage<::optimization_guide::proto::HistoryQueryResponse>(Arena*);
template<> ::optimization_guide::proto::PassageData* Arena::CreateMaybeMessage<::optimization_guide::proto::PassageData>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace optimization_guide {
namespace proto {
enum UiSurface : int { … };
bool UiSurface_IsValid(int value);
constexpr UiSurface UiSurface_MIN = …;
constexpr UiSurface UiSurface_MAX = …;
constexpr int UiSurface_ARRAYSIZE = …;
const std::string& UiSurface_Name(UiSurface value);
template<typename T>
inline const std::string& UiSurface_Name(T enum_t_value) { … }
bool UiSurface_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UiSurface* value);
class HistoryQueryLoggingData final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class HistoryQueryRequest final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class HistoryQueryResponse final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class HistoryQueryQuality final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class DocumentShown final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class PassageData final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool HistoryQueryLoggingData::_internal_has_request() const { … }
inline bool HistoryQueryLoggingData::has_request() const { … }
inline void HistoryQueryLoggingData::clear_request() { … }
inline const ::optimization_guide::proto::HistoryQueryRequest& HistoryQueryLoggingData::_internal_request() const { … }
inline const ::optimization_guide::proto::HistoryQueryRequest& HistoryQueryLoggingData::request() const { … }
inline void HistoryQueryLoggingData::unsafe_arena_set_allocated_request(
::optimization_guide::proto::HistoryQueryRequest* request) { … }
inline ::optimization_guide::proto::HistoryQueryRequest* HistoryQueryLoggingData::release_request() { … }
inline ::optimization_guide::proto::HistoryQueryRequest* HistoryQueryLoggingData::unsafe_arena_release_request() { … }
inline ::optimization_guide::proto::HistoryQueryRequest* HistoryQueryLoggingData::_internal_mutable_request() { … }
inline ::optimization_guide::proto::HistoryQueryRequest* HistoryQueryLoggingData::mutable_request() { … }
inline void HistoryQueryLoggingData::set_allocated_request(::optimization_guide::proto::HistoryQueryRequest* request) { … }
inline bool HistoryQueryLoggingData::_internal_has_response() const { … }
inline bool HistoryQueryLoggingData::has_response() const { … }
inline void HistoryQueryLoggingData::clear_response() { … }
inline const ::optimization_guide::proto::HistoryQueryResponse& HistoryQueryLoggingData::_internal_response() const { … }
inline const ::optimization_guide::proto::HistoryQueryResponse& HistoryQueryLoggingData::response() const { … }
inline void HistoryQueryLoggingData::unsafe_arena_set_allocated_response(
::optimization_guide::proto::HistoryQueryResponse* response) { … }
inline ::optimization_guide::proto::HistoryQueryResponse* HistoryQueryLoggingData::release_response() { … }
inline ::optimization_guide::proto::HistoryQueryResponse* HistoryQueryLoggingData::unsafe_arena_release_response() { … }
inline ::optimization_guide::proto::HistoryQueryResponse* HistoryQueryLoggingData::_internal_mutable_response() { … }
inline ::optimization_guide::proto::HistoryQueryResponse* HistoryQueryLoggingData::mutable_response() { … }
inline void HistoryQueryLoggingData::set_allocated_response(::optimization_guide::proto::HistoryQueryResponse* response) { … }
inline bool HistoryQueryLoggingData::_internal_has_quality() const { … }
inline bool HistoryQueryLoggingData::has_quality() const { … }
inline void HistoryQueryLoggingData::clear_quality() { … }
inline const ::optimization_guide::proto::HistoryQueryQuality& HistoryQueryLoggingData::_internal_quality() const { … }
inline const ::optimization_guide::proto::HistoryQueryQuality& HistoryQueryLoggingData::quality() const { … }
inline void HistoryQueryLoggingData::unsafe_arena_set_allocated_quality(
::optimization_guide::proto::HistoryQueryQuality* quality) { … }
inline ::optimization_guide::proto::HistoryQueryQuality* HistoryQueryLoggingData::release_quality() { … }
inline ::optimization_guide::proto::HistoryQueryQuality* HistoryQueryLoggingData::unsafe_arena_release_quality() { … }
inline ::optimization_guide::proto::HistoryQueryQuality* HistoryQueryLoggingData::_internal_mutable_quality() { … }
inline ::optimization_guide::proto::HistoryQueryQuality* HistoryQueryLoggingData::mutable_quality() { … }
inline void HistoryQueryLoggingData::set_allocated_quality(::optimization_guide::proto::HistoryQueryQuality* quality) { … }
inline void HistoryQueryQuality::clear_query() { … }
inline const std::string& HistoryQueryQuality::query() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void HistoryQueryQuality::set_query(ArgT0&& arg0, ArgT... args) { … }
inline std::string* HistoryQueryQuality::mutable_query() { … }
inline const std::string& HistoryQueryQuality::_internal_query() const { … }
inline void HistoryQueryQuality::_internal_set_query(const std::string& value) { … }
inline std::string* HistoryQueryQuality::_internal_mutable_query() { … }
inline std::string* HistoryQueryQuality::release_query() { … }
inline void HistoryQueryQuality::set_allocated_query(std::string* query) { … }
inline bool HistoryQueryQuality::_internal_has_query_embedding() const { … }
inline bool HistoryQueryQuality::has_query_embedding() const { … }
inline const ::optimization_guide::proto::Embedding& HistoryQueryQuality::_internal_query_embedding() const { … }
inline const ::optimization_guide::proto::Embedding& HistoryQueryQuality::query_embedding() const { … }
inline void HistoryQueryQuality::unsafe_arena_set_allocated_query_embedding(
::optimization_guide::proto::Embedding* query_embedding) { … }
inline ::optimization_guide::proto::Embedding* HistoryQueryQuality::release_query_embedding() { … }
inline ::optimization_guide::proto::Embedding* HistoryQueryQuality::unsafe_arena_release_query_embedding() { … }
inline ::optimization_guide::proto::Embedding* HistoryQueryQuality::_internal_mutable_query_embedding() { … }
inline ::optimization_guide::proto::Embedding* HistoryQueryQuality::mutable_query_embedding() { … }
inline void HistoryQueryQuality::set_allocated_query_embedding(::optimization_guide::proto::Embedding* query_embedding) { … }
inline void HistoryQueryQuality::clear_embedding_model_version() { … }
inline int64_t HistoryQueryQuality::_internal_embedding_model_version() const { … }
inline int64_t HistoryQueryQuality::embedding_model_version() const { … }
inline void HistoryQueryQuality::_internal_set_embedding_model_version(int64_t value) { … }
inline void HistoryQueryQuality::set_embedding_model_version(int64_t value) { … }
inline int HistoryQueryQuality::_internal_top_documents_shown_size() const { … }
inline int HistoryQueryQuality::top_documents_shown_size() const { … }
inline void HistoryQueryQuality::clear_top_documents_shown() { … }
inline ::optimization_guide::proto::DocumentShown* HistoryQueryQuality::mutable_top_documents_shown(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::DocumentShown >*
HistoryQueryQuality::mutable_top_documents_shown() { … }
inline const ::optimization_guide::proto::DocumentShown& HistoryQueryQuality::_internal_top_documents_shown(int index) const { … }
inline const ::optimization_guide::proto::DocumentShown& HistoryQueryQuality::top_documents_shown(int index) const { … }
inline ::optimization_guide::proto::DocumentShown* HistoryQueryQuality::_internal_add_top_documents_shown() { … }
inline ::optimization_guide::proto::DocumentShown* HistoryQueryQuality::add_top_documents_shown() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::DocumentShown >&
HistoryQueryQuality::top_documents_shown() const { … }
inline void HistoryQueryQuality::clear_num_entered_characters() { … }
inline uint32_t HistoryQueryQuality::_internal_num_entered_characters() const { … }
inline uint32_t HistoryQueryQuality::num_entered_characters() const { … }
inline void HistoryQueryQuality::_internal_set_num_entered_characters(uint32_t value) { … }
inline void HistoryQueryQuality::set_num_entered_characters(uint32_t value) { … }
inline void HistoryQueryQuality::clear_ui_surface() { … }
inline ::optimization_guide::proto::UiSurface HistoryQueryQuality::_internal_ui_surface() const { … }
inline ::optimization_guide::proto::UiSurface HistoryQueryQuality::ui_surface() const { … }
inline void HistoryQueryQuality::_internal_set_ui_surface(::optimization_guide::proto::UiSurface value) { … }
inline void HistoryQueryQuality::set_ui_surface(::optimization_guide::proto::UiSurface value) { … }
inline bool HistoryQueryQuality::_internal_has_num_days() const { … }
inline bool HistoryQueryQuality::has_num_days() const { … }
inline void HistoryQueryQuality::clear_num_days() { … }
inline uint32_t HistoryQueryQuality::_internal_num_days() const { … }
inline uint32_t HistoryQueryQuality::num_days() const { … }
inline void HistoryQueryQuality::_internal_set_num_days(uint32_t value) { … }
inline void HistoryQueryQuality::set_num_days(uint32_t value) { … }
inline void HistoryQueryQuality::clear_user_feedback() { … }
inline ::optimization_guide::proto::UserFeedback HistoryQueryQuality::_internal_user_feedback() const { … }
inline ::optimization_guide::proto::UserFeedback HistoryQueryQuality::user_feedback() const { … }
inline void HistoryQueryQuality::_internal_set_user_feedback(::optimization_guide::proto::UserFeedback value) { … }
inline void HistoryQueryQuality::set_user_feedback(::optimization_guide::proto::UserFeedback value) { … }
inline void HistoryQueryQuality::clear_session_id() { … }
inline const std::string& HistoryQueryQuality::session_id() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void HistoryQueryQuality::set_session_id(ArgT0&& arg0, ArgT... args) { … }
inline std::string* HistoryQueryQuality::mutable_session_id() { … }
inline const std::string& HistoryQueryQuality::_internal_session_id() const { … }
inline void HistoryQueryQuality::_internal_set_session_id(const std::string& value) { … }
inline std::string* HistoryQueryQuality::_internal_mutable_session_id() { … }
inline std::string* HistoryQueryQuality::release_session_id() { … }
inline void HistoryQueryQuality::set_allocated_session_id(std::string* session_id) { … }
inline void DocumentShown::clear_url() { … }
inline const std::string& DocumentShown::url() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void DocumentShown::set_url(ArgT0&& arg0, ArgT... args) { … }
inline std::string* DocumentShown::mutable_url() { … }
inline const std::string& DocumentShown::_internal_url() const { … }
inline void DocumentShown::_internal_set_url(const std::string& value) { … }
inline std::string* DocumentShown::_internal_mutable_url() { … }
inline std::string* DocumentShown::release_url() { … }
inline void DocumentShown::set_allocated_url(std::string* url) { … }
inline int DocumentShown::_internal_passages_size() const { … }
inline int DocumentShown::passages_size() const { … }
inline void DocumentShown::clear_passages() { … }
inline ::optimization_guide::proto::PassageData* DocumentShown::mutable_passages(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::PassageData >*
DocumentShown::mutable_passages() { … }
inline const ::optimization_guide::proto::PassageData& DocumentShown::_internal_passages(int index) const { … }
inline const ::optimization_guide::proto::PassageData& DocumentShown::passages(int index) const { … }
inline ::optimization_guide::proto::PassageData* DocumentShown::_internal_add_passages() { … }
inline ::optimization_guide::proto::PassageData* DocumentShown::add_passages() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::PassageData >&
DocumentShown::passages() const { … }
inline void DocumentShown::clear_was_clicked() { … }
inline bool DocumentShown::_internal_was_clicked() const { … }
inline bool DocumentShown::was_clicked() const { … }
inline void DocumentShown::_internal_set_was_clicked(bool value) { … }
inline void DocumentShown::set_was_clicked(bool value) { … }
inline bool PassageData::_internal_has_embedding() const { … }
inline bool PassageData::has_embedding() const { … }
inline const ::optimization_guide::proto::Embedding& PassageData::_internal_embedding() const { … }
inline const ::optimization_guide::proto::Embedding& PassageData::embedding() const { … }
inline void PassageData::unsafe_arena_set_allocated_embedding(
::optimization_guide::proto::Embedding* embedding) { … }
inline ::optimization_guide::proto::Embedding* PassageData::release_embedding() { … }
inline ::optimization_guide::proto::Embedding* PassageData::unsafe_arena_release_embedding() { … }
inline ::optimization_guide::proto::Embedding* PassageData::_internal_mutable_embedding() { … }
inline ::optimization_guide::proto::Embedding* PassageData::mutable_embedding() { … }
inline void PassageData::set_allocated_embedding(::optimization_guide::proto::Embedding* embedding) { … }
inline void PassageData::clear_text() { … }
inline const std::string& PassageData::text() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PassageData::set_text(ArgT0&& arg0, ArgT... args) { … }
inline std::string* PassageData::mutable_text() { … }
inline const std::string& PassageData::_internal_text() const { … }
inline void PassageData::_internal_set_text(const std::string& value) { … }
inline std::string* PassageData::_internal_mutable_text() { … }
inline std::string* PassageData::release_text() { … }
inline void PassageData::set_allocated_text(std::string* text) { … }
inline void PassageData::clear_score() { … }
inline float PassageData::_internal_score() const { … }
inline float PassageData::score() const { … }
inline void PassageData::_internal_set_score(float value) { … }
inline void PassageData::set_score(float value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::optimization_guide::proto::UiSurface> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif