chromium/out/Default/gen/third_party/metrics_proto/translate_event.pb.h

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

#ifndef GOOGLE_PROTOBUF_INCLUDED_translate_5fevent_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_translate_5fevent_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_translate_5fevent_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_translate_5fevent_2eproto {};
namespace metrics {
class TranslateEventProto;
struct TranslateEventProtoDefaultTypeInternal;
extern TranslateEventProtoDefaultTypeInternal _TranslateEventProto_default_instance_;
}  // namespace metrics
PROTOBUF_NAMESPACE_OPEN
template<> ::metrics::TranslateEventProto* Arena::CreateMaybeMessage<::metrics::TranslateEventProto>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace metrics {

enum TranslateEventProto_RankerResponse : int {};
bool TranslateEventProto_RankerResponse_IsValid(int value);
constexpr TranslateEventProto_RankerResponse TranslateEventProto_RankerResponse_RankerResponse_MIN =;
constexpr TranslateEventProto_RankerResponse TranslateEventProto_RankerResponse_RankerResponse_MAX =;
constexpr int TranslateEventProto_RankerResponse_RankerResponse_ARRAYSIZE =;

const std::string& TranslateEventProto_RankerResponse_Name(TranslateEventProto_RankerResponse value);
template<typename T>
inline const std::string& TranslateEventProto_RankerResponse_Name(T enum_t_value) {}
bool TranslateEventProto_RankerResponse_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslateEventProto_RankerResponse* value);
enum TranslateEventProto_EventType : int {};
bool TranslateEventProto_EventType_IsValid(int value);
constexpr TranslateEventProto_EventType TranslateEventProto_EventType_EventType_MIN =;
constexpr TranslateEventProto_EventType TranslateEventProto_EventType_EventType_MAX =;
constexpr int TranslateEventProto_EventType_EventType_ARRAYSIZE =;

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

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


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

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

// optional string source_language = 1;
inline bool TranslateEventProto::_internal_has_source_language() const {}
inline bool TranslateEventProto::has_source_language() const {}
inline void TranslateEventProto::clear_source_language() {}
inline const std::string& TranslateEventProto::source_language() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslateEventProto::set_source_language(ArgT0&& arg0, ArgT... args) {}
inline std::string* TranslateEventProto::mutable_source_language() {}
inline const std::string& TranslateEventProto::_internal_source_language() const {}
inline void TranslateEventProto::_internal_set_source_language(const std::string& value) {}
inline std::string* TranslateEventProto::_internal_mutable_source_language() {}
inline std::string* TranslateEventProto::release_source_language() {}
inline void TranslateEventProto::set_allocated_source_language(std::string* source_language) {}

// optional string target_language = 2;
inline bool TranslateEventProto::_internal_has_target_language() const {}
inline bool TranslateEventProto::has_target_language() const {}
inline void TranslateEventProto::clear_target_language() {}
inline const std::string& TranslateEventProto::target_language() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslateEventProto::set_target_language(ArgT0&& arg0, ArgT... args) {}
inline std::string* TranslateEventProto::mutable_target_language() {}
inline const std::string& TranslateEventProto::_internal_target_language() const {}
inline void TranslateEventProto::_internal_set_target_language(const std::string& value) {}
inline std::string* TranslateEventProto::_internal_mutable_target_language() {}
inline std::string* TranslateEventProto::release_target_language() {}
inline void TranslateEventProto::set_allocated_target_language(std::string* target_language) {}

// optional string country = 14;
inline bool TranslateEventProto::_internal_has_country() const {}
inline bool TranslateEventProto::has_country() const {}
inline void TranslateEventProto::clear_country() {}
inline const std::string& TranslateEventProto::country() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslateEventProto::set_country(ArgT0&& arg0, ArgT... args) {}
inline std::string* TranslateEventProto::mutable_country() {}
inline const std::string& TranslateEventProto::_internal_country() const {}
inline void TranslateEventProto::_internal_set_country(const std::string& value) {}
inline std::string* TranslateEventProto::_internal_mutable_country() {}
inline std::string* TranslateEventProto::release_country() {}
inline void TranslateEventProto::set_allocated_country(std::string* country) {}

// optional int32 accept_count = 3;
inline bool TranslateEventProto::_internal_has_accept_count() const {}
inline bool TranslateEventProto::has_accept_count() const {}
inline void TranslateEventProto::clear_accept_count() {}
inline int32_t TranslateEventProto::_internal_accept_count() const {}
inline int32_t TranslateEventProto::accept_count() const {}
inline void TranslateEventProto::_internal_set_accept_count(int32_t value) {}
inline void TranslateEventProto::set_accept_count(int32_t value) {}

// optional int32 decline_count = 4;
inline bool TranslateEventProto::_internal_has_decline_count() const {}
inline bool TranslateEventProto::has_decline_count() const {}
inline void TranslateEventProto::clear_decline_count() {}
inline int32_t TranslateEventProto::_internal_decline_count() const {}
inline int32_t TranslateEventProto::decline_count() const {}
inline void TranslateEventProto::_internal_set_decline_count(int32_t value) {}
inline void TranslateEventProto::set_decline_count(int32_t value) {}

// optional int32 ignore_count = 5;
inline bool TranslateEventProto::_internal_has_ignore_count() const {}
inline bool TranslateEventProto::has_ignore_count() const {}
inline void TranslateEventProto::clear_ignore_count() {}
inline int32_t TranslateEventProto::_internal_ignore_count() const {}
inline int32_t TranslateEventProto::ignore_count() const {}
inline void TranslateEventProto::_internal_set_ignore_count(int32_t value) {}
inline void TranslateEventProto::set_ignore_count(int32_t value) {}

// repeated string language_list = 6;
inline int TranslateEventProto::_internal_language_list_size() const {}
inline int TranslateEventProto::language_list_size() const {}
inline void TranslateEventProto::clear_language_list() {}
inline std::string* TranslateEventProto::add_language_list() {}
inline const std::string& TranslateEventProto::_internal_language_list(int index) const {}
inline const std::string& TranslateEventProto::language_list(int index) const {}
inline std::string* TranslateEventProto::mutable_language_list(int index) {}
inline void TranslateEventProto::set_language_list(int index, const std::string& value) {}
inline void TranslateEventProto::set_language_list(int index, std::string&& value) {}
inline void TranslateEventProto::set_language_list(int index, const char* value) {}
inline void TranslateEventProto::set_language_list(int index, const char* value, size_t size) {}
inline std::string* TranslateEventProto::_internal_add_language_list() {}
inline void TranslateEventProto::add_language_list(const std::string& value) {}
inline void TranslateEventProto::add_language_list(std::string&& value) {}
inline void TranslateEventProto::add_language_list(const char* value) {}
inline void TranslateEventProto::add_language_list(const char* value, size_t size) {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
TranslateEventProto::language_list() const {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
TranslateEventProto::mutable_language_list() {}

// optional uint32 ranker_version = 7;
inline bool TranslateEventProto::_internal_has_ranker_version() const {}
inline bool TranslateEventProto::has_ranker_version() const {}
inline void TranslateEventProto::clear_ranker_version() {}
inline uint32_t TranslateEventProto::_internal_ranker_version() const {}
inline uint32_t TranslateEventProto::ranker_version() const {}
inline void TranslateEventProto::_internal_set_ranker_version(uint32_t value) {}
inline void TranslateEventProto::set_ranker_version(uint32_t value) {}

// optional int64 ranker_request_timestamp_sec = 8;
inline bool TranslateEventProto::_internal_has_ranker_request_timestamp_sec() const {}
inline bool TranslateEventProto::has_ranker_request_timestamp_sec() const {}
inline void TranslateEventProto::clear_ranker_request_timestamp_sec() {}
inline int64_t TranslateEventProto::_internal_ranker_request_timestamp_sec() const {}
inline int64_t TranslateEventProto::ranker_request_timestamp_sec() const {}
inline void TranslateEventProto::_internal_set_ranker_request_timestamp_sec(int64_t value) {}
inline void TranslateEventProto::set_ranker_request_timestamp_sec(int64_t value) {}

// optional .metrics.TranslateEventProto.RankerResponse ranker_response = 9 [default = NOT_QUERIED];
inline bool TranslateEventProto::_internal_has_ranker_response() const {}
inline bool TranslateEventProto::has_ranker_response() const {}
inline void TranslateEventProto::clear_ranker_response() {}
inline ::metrics::TranslateEventProto_RankerResponse TranslateEventProto::_internal_ranker_response() const {}
inline ::metrics::TranslateEventProto_RankerResponse TranslateEventProto::ranker_response() const {}
inline void TranslateEventProto::_internal_set_ranker_response(::metrics::TranslateEventProto_RankerResponse value) {}
inline void TranslateEventProto::set_ranker_response(::metrics::TranslateEventProto_RankerResponse value) {}

// optional .metrics.TranslateEventProto.EventType event_type = 10;
inline bool TranslateEventProto::_internal_has_event_type() const {}
inline bool TranslateEventProto::has_event_type() const {}
inline void TranslateEventProto::clear_event_type() {}
inline ::metrics::TranslateEventProto_EventType TranslateEventProto::_internal_event_type() const {}
inline ::metrics::TranslateEventProto_EventType TranslateEventProto::event_type() const {}
inline void TranslateEventProto::_internal_set_event_type(::metrics::TranslateEventProto_EventType value) {}
inline void TranslateEventProto::set_event_type(::metrics::TranslateEventProto_EventType value) {}

// repeated .metrics.TranslateEventProto.EventType decision_overrides = 15;
inline int TranslateEventProto::_internal_decision_overrides_size() const {}
inline int TranslateEventProto::decision_overrides_size() const {}
inline void TranslateEventProto::clear_decision_overrides() {}
inline ::metrics::TranslateEventProto_EventType TranslateEventProto::_internal_decision_overrides(int index) const {}
inline ::metrics::TranslateEventProto_EventType TranslateEventProto::decision_overrides(int index) const {}
inline void TranslateEventProto::set_decision_overrides(int index, ::metrics::TranslateEventProto_EventType value) {}
inline void TranslateEventProto::_internal_add_decision_overrides(::metrics::TranslateEventProto_EventType value) {}
inline void TranslateEventProto::add_decision_overrides(::metrics::TranslateEventProto_EventType value) {}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
TranslateEventProto::decision_overrides() const {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
TranslateEventProto::_internal_mutable_decision_overrides() {}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
TranslateEventProto::mutable_decision_overrides() {}

// optional int64 event_timestamp_sec = 11;
inline bool TranslateEventProto::_internal_has_event_timestamp_sec() const {}
inline bool TranslateEventProto::has_event_timestamp_sec() const {}
inline void TranslateEventProto::clear_event_timestamp_sec() {}
inline int64_t TranslateEventProto::_internal_event_timestamp_sec() const {}
inline int64_t TranslateEventProto::event_timestamp_sec() const {}
inline void TranslateEventProto::_internal_set_event_timestamp_sec(int64_t value) {}
inline void TranslateEventProto::set_event_timestamp_sec(int64_t value) {}

// optional string modified_source_language = 12;
inline bool TranslateEventProto::_internal_has_modified_source_language() const {}
inline bool TranslateEventProto::has_modified_source_language() const {}
inline void TranslateEventProto::clear_modified_source_language() {}
inline const std::string& TranslateEventProto::modified_source_language() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslateEventProto::set_modified_source_language(ArgT0&& arg0, ArgT... args) {}
inline std::string* TranslateEventProto::mutable_modified_source_language() {}
inline const std::string& TranslateEventProto::_internal_modified_source_language() const {}
inline void TranslateEventProto::_internal_set_modified_source_language(const std::string& value) {}
inline std::string* TranslateEventProto::_internal_mutable_modified_source_language() {}
inline std::string* TranslateEventProto::release_modified_source_language() {}
inline void TranslateEventProto::set_allocated_modified_source_language(std::string* modified_source_language) {}

// optional string modified_target_language = 13;
inline bool TranslateEventProto::_internal_has_modified_target_language() const {}
inline bool TranslateEventProto::has_modified_target_language() const {}
inline void TranslateEventProto::clear_modified_target_language() {}
inline const std::string& TranslateEventProto::modified_target_language() const {}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslateEventProto::set_modified_target_language(ArgT0&& arg0, ArgT... args) {}
inline std::string* TranslateEventProto::mutable_modified_target_language() {}
inline const std::string& TranslateEventProto::_internal_modified_target_language() const {}
inline void TranslateEventProto::_internal_set_modified_target_language(const std::string& value) {}
inline std::string* TranslateEventProto::_internal_mutable_modified_target_language() {}
inline std::string* TranslateEventProto::release_modified_target_language() {}
inline void TranslateEventProto::set_allocated_modified_target_language(std::string* modified_target_language) {}

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

// @@protoc_insertion_point(namespace_scope)

}  // namespace metrics

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::metrics::TranslateEventProto_RankerResponse> : ::std::true_type {};
template <> struct is_proto_enum< ::metrics::TranslateEventProto_EventType> : ::std::true_type {};

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

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