#include "translate_event.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/port_def.inc>
PROTOBUF_PRAGMA_INIT_SEG
_pb;
_pbi;
namespace metrics {
PROTOBUF_CONSTEXPR TranslateEventProto::TranslateEventProto(
::_pbi::ConstantInitialized): … { … }
struct TranslateEventProtoDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TranslateEventProtoDefaultTypeInternal _TranslateEventProto_default_instance_;
}
namespace metrics {
bool TranslateEventProto_RankerResponse_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> TranslateEventProto_RankerResponse_strings[3] = …;
static const char TranslateEventProto_RankerResponse_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry TranslateEventProto_RankerResponse_entries[] = …;
static const int TranslateEventProto_RankerResponse_entries_by_number[] = …;
const std::string& TranslateEventProto_RankerResponse_Name(
TranslateEventProto_RankerResponse value) { … }
bool TranslateEventProto_RankerResponse_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslateEventProto_RankerResponse* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr TranslateEventProto_RankerResponse TranslateEventProto::SHOW;
constexpr TranslateEventProto_RankerResponse TranslateEventProto::DONT_SHOW;
constexpr TranslateEventProto_RankerResponse TranslateEventProto::NOT_QUERIED;
constexpr TranslateEventProto_RankerResponse TranslateEventProto::RankerResponse_MIN;
constexpr TranslateEventProto_RankerResponse TranslateEventProto::RankerResponse_MAX;
constexpr int TranslateEventProto::RankerResponse_ARRAYSIZE;
#endif
bool TranslateEventProto_EventType_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> TranslateEventProto_EventType_strings[28] = …;
static const char TranslateEventProto_EventType_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry TranslateEventProto_EventType_entries[] = …;
static const int TranslateEventProto_EventType_entries_by_number[] = …;
const std::string& TranslateEventProto_EventType_Name(
TranslateEventProto_EventType value) { … }
bool TranslateEventProto_EventType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslateEventProto_EventType* value) { … }
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
constexpr TranslateEventProto_EventType TranslateEventProto::UNKNOWN;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_DECLINE;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_ACCEPT;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_DISMISS;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_IGNORE;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_NEVER_TRANSLATE_LANGUAGE;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_NEVER_TRANSLATE_SITE;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_ALWAYS_TRANSLATE_LANGUAGE;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_CONTEXT_MENU_TRANSLATE;
constexpr TranslateEventProto_EventType TranslateEventProto::USER_REVERT;
constexpr TranslateEventProto_EventType TranslateEventProto::AUTOMATICALLY_TRANSLATED;
constexpr TranslateEventProto_EventType TranslateEventProto::AUTO_TRANSLATION_BY_PREF;
constexpr TranslateEventProto_EventType TranslateEventProto::AUTO_TRANSLATION_BY_LINK;
constexpr TranslateEventProto_EventType TranslateEventProto::DISABLED_BY_PREF;
constexpr TranslateEventProto_EventType TranslateEventProto::LANGUAGE_DISABLED_BY_USER_CONFIG;
constexpr TranslateEventProto_EventType TranslateEventProto::URL_DISABLED_BY_USER_CONFIG;
constexpr TranslateEventProto_EventType TranslateEventProto::LANGUAGE_DISABLED_BY_AUTO_BLACKLIST;
constexpr TranslateEventProto_EventType TranslateEventProto::DISABLED_BY_RANKER;
constexpr TranslateEventProto_EventType TranslateEventProto::UNSUPPORTED_LANGUAGE;
constexpr TranslateEventProto_EventType TranslateEventProto::UNSUPPORTED_URL;
constexpr TranslateEventProto_EventType TranslateEventProto::MATCHES_PREVIOUS_LANGUAGE;
constexpr TranslateEventProto_EventType TranslateEventProto::BROWSER_WINDOW_IS_INVALID;
constexpr TranslateEventProto_EventType TranslateEventProto::BROWSER_WINDOW_NOT_ACTIVE;
constexpr TranslateEventProto_EventType TranslateEventProto::BROWSER_WINDOW_IS_MINIMIZED;
constexpr TranslateEventProto_EventType TranslateEventProto::WEB_CONTENTS_NOT_ACTIVE;
constexpr TranslateEventProto_EventType TranslateEventProto::EDITABLE_FIELD_IS_ACTIVE;
constexpr TranslateEventProto_EventType TranslateEventProto::LANGUAGE_IN_ULP;
constexpr TranslateEventProto_EventType TranslateEventProto::INITIALIZATION_ERROR;
constexpr TranslateEventProto_EventType TranslateEventProto::EventType_MIN;
constexpr TranslateEventProto_EventType TranslateEventProto::EventType_MAX;
constexpr int TranslateEventProto::EventType_ARRAYSIZE;
#endif
class TranslateEventProto::_Internal { … };
TranslateEventProto::TranslateEventProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
TranslateEventProto::TranslateEventProto(const TranslateEventProto& from)
: … { … }
inline void TranslateEventProto::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
TranslateEventProto::~TranslateEventProto() { … }
inline void TranslateEventProto::SharedDtor() { … }
void TranslateEventProto::SetCachedSize(int size) const { … }
void TranslateEventProto::Clear() { … }
const char* TranslateEventProto::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* TranslateEventProto::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t TranslateEventProto::ByteSizeLong() const { … }
void TranslateEventProto::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void TranslateEventProto::MergeFrom(const TranslateEventProto& from) { … }
void TranslateEventProto::CopyFrom(const TranslateEventProto& from) { … }
bool TranslateEventProto::IsInitialized() const { … }
void TranslateEventProto::InternalSwap(TranslateEventProto* other) { … }
std::string TranslateEventProto::GetTypeName() const { … }
}
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::metrics::TranslateEventProto*
Arena::CreateMaybeMessage< ::metrics::TranslateEventProto >(Arena* arena) { … }
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>