#ifndef GOOGLE_PROTOBUF_INCLUDED_sentence_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sentence_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_sentence_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_sentence_2eproto { … };
namespace chrome_lang_id {
class Sentence;
struct SentenceDefaultTypeInternal;
extern SentenceDefaultTypeInternal _Sentence_default_instance_;
class Token;
struct TokenDefaultTypeInternal;
extern TokenDefaultTypeInternal _Token_default_instance_;
}
PROTOBUF_NAMESPACE_OPEN
template<> ::chrome_lang_id::Sentence* Arena::CreateMaybeMessage<::chrome_lang_id::Sentence>(Arena*);
template<> ::chrome_lang_id::Token* Arena::CreateMaybeMessage<::chrome_lang_id::Token>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace chrome_lang_id {
enum Token_BreakLevel : int { … };
bool Token_BreakLevel_IsValid(int value);
constexpr Token_BreakLevel Token_BreakLevel_BreakLevel_MIN = …;
constexpr Token_BreakLevel Token_BreakLevel_BreakLevel_MAX = …;
constexpr int Token_BreakLevel_BreakLevel_ARRAYSIZE = …;
const std::string& Token_BreakLevel_Name(Token_BreakLevel value);
template<typename T>
inline const std::string& Token_BreakLevel_Name(T enum_t_value) { … }
bool Token_BreakLevel_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Token_BreakLevel* value);
class Sentence final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class Token final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool Sentence::_internal_has_id() const { … }
inline bool Sentence::has_id() const { … }
inline void Sentence::clear_id() { … }
inline const std::string& Sentence::id() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Sentence::set_id(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Sentence::mutable_id() { … }
inline const std::string& Sentence::_internal_id() const { … }
inline void Sentence::_internal_set_id(const std::string& value) { … }
inline std::string* Sentence::_internal_mutable_id() { … }
inline std::string* Sentence::release_id() { … }
inline void Sentence::set_allocated_id(std::string* id) { … }
inline bool Sentence::_internal_has_text() const { … }
inline bool Sentence::has_text() const { … }
inline void Sentence::clear_text() { … }
inline const std::string& Sentence::text() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Sentence::set_text(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Sentence::mutable_text() { … }
inline const std::string& Sentence::_internal_text() const { … }
inline void Sentence::_internal_set_text(const std::string& value) { … }
inline std::string* Sentence::_internal_mutable_text() { … }
inline std::string* Sentence::release_text() { … }
inline void Sentence::set_allocated_text(std::string* text) { … }
inline int Sentence::_internal_token_size() const { … }
inline int Sentence::token_size() const { … }
inline void Sentence::clear_token() { … }
inline ::chrome_lang_id::Token* Sentence::mutable_token(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_lang_id::Token >*
Sentence::mutable_token() { … }
inline const ::chrome_lang_id::Token& Sentence::_internal_token(int index) const { … }
inline const ::chrome_lang_id::Token& Sentence::token(int index) const { … }
inline ::chrome_lang_id::Token* Sentence::_internal_add_token() { … }
inline ::chrome_lang_id::Token* Sentence::add_token() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_lang_id::Token >&
Sentence::token() const { … }
inline bool Token::_internal_has_word() const { … }
inline bool Token::has_word() const { … }
inline void Token::clear_word() { … }
inline const std::string& Token::word() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Token::set_word(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Token::mutable_word() { … }
inline const std::string& Token::_internal_word() const { … }
inline void Token::_internal_set_word(const std::string& value) { … }
inline std::string* Token::_internal_mutable_word() { … }
inline std::string* Token::release_word() { … }
inline void Token::set_allocated_word(std::string* word) { … }
inline bool Token::_internal_has_start() const { … }
inline bool Token::has_start() const { … }
inline void Token::clear_start() { … }
inline int32_t Token::_internal_start() const { … }
inline int32_t Token::start() const { … }
inline void Token::_internal_set_start(int32_t value) { … }
inline void Token::set_start(int32_t value) { … }
inline bool Token::_internal_has_end() const { … }
inline bool Token::has_end() const { … }
inline void Token::clear_end() { … }
inline int32_t Token::_internal_end() const { … }
inline int32_t Token::end() const { … }
inline void Token::_internal_set_end(int32_t value) { … }
inline void Token::set_end(int32_t value) { … }
inline bool Token::_internal_has_head() const { … }
inline bool Token::has_head() const { … }
inline void Token::clear_head() { … }
inline int32_t Token::_internal_head() const { … }
inline int32_t Token::head() const { … }
inline void Token::_internal_set_head(int32_t value) { … }
inline void Token::set_head(int32_t value) { … }
inline bool Token::_internal_has_tag() const { … }
inline bool Token::has_tag() const { … }
inline void Token::clear_tag() { … }
inline const std::string& Token::tag() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Token::set_tag(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Token::mutable_tag() { … }
inline const std::string& Token::_internal_tag() const { … }
inline void Token::_internal_set_tag(const std::string& value) { … }
inline std::string* Token::_internal_mutable_tag() { … }
inline std::string* Token::release_tag() { … }
inline void Token::set_allocated_tag(std::string* tag) { … }
inline bool Token::_internal_has_category() const { … }
inline bool Token::has_category() const { … }
inline void Token::clear_category() { … }
inline const std::string& Token::category() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Token::set_category(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Token::mutable_category() { … }
inline const std::string& Token::_internal_category() const { … }
inline void Token::_internal_set_category(const std::string& value) { … }
inline std::string* Token::_internal_mutable_category() { … }
inline std::string* Token::release_category() { … }
inline void Token::set_allocated_category(std::string* category) { … }
inline bool Token::_internal_has_label() const { … }
inline bool Token::has_label() const { … }
inline void Token::clear_label() { … }
inline const std::string& Token::label() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Token::set_label(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Token::mutable_label() { … }
inline const std::string& Token::_internal_label() const { … }
inline void Token::_internal_set_label(const std::string& value) { … }
inline std::string* Token::_internal_mutable_label() { … }
inline std::string* Token::release_label() { … }
inline void Token::set_allocated_label(std::string* label) { … }
inline bool Token::_internal_has_break_level() const { … }
inline bool Token::has_break_level() const { … }
inline void Token::clear_break_level() { … }
inline ::chrome_lang_id::Token_BreakLevel Token::_internal_break_level() const { … }
inline ::chrome_lang_id::Token_BreakLevel Token::break_level() const { … }
inline void Token::_internal_set_break_level(::chrome_lang_id::Token_BreakLevel value) { … }
inline void Token::set_break_level(::chrome_lang_id::Token_BreakLevel value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::chrome_lang_id::Token_BreakLevel> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif