#ifndef GOOGLE_PROTOBUF_INCLUDED_sentencepiece_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sentencepiece_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/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_sentencepiece_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_sentencepiece_2eproto { … };
namespace sentencepiece {
class NBestSentencePieceText;
struct NBestSentencePieceTextDefaultTypeInternal;
extern NBestSentencePieceTextDefaultTypeInternal _NBestSentencePieceText_default_instance_;
class SentencePieceText;
struct SentencePieceTextDefaultTypeInternal;
extern SentencePieceTextDefaultTypeInternal _SentencePieceText_default_instance_;
class SentencePieceText_SentencePiece;
struct SentencePieceText_SentencePieceDefaultTypeInternal;
extern SentencePieceText_SentencePieceDefaultTypeInternal _SentencePieceText_SentencePiece_default_instance_;
}
PROTOBUF_NAMESPACE_OPEN
template<> ::sentencepiece::NBestSentencePieceText* Arena::CreateMaybeMessage<::sentencepiece::NBestSentencePieceText>(Arena*);
template<> ::sentencepiece::SentencePieceText* Arena::CreateMaybeMessage<::sentencepiece::SentencePieceText>(Arena*);
template<> ::sentencepiece::SentencePieceText_SentencePiece* Arena::CreateMaybeMessage<::sentencepiece::SentencePieceText_SentencePiece>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace sentencepiece {
class SentencePieceText_SentencePiece final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class SentencePieceText final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class NBestSentencePieceText final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool SentencePieceText_SentencePiece::_internal_has_piece() const { … }
inline bool SentencePieceText_SentencePiece::has_piece() const { … }
inline void SentencePieceText_SentencePiece::clear_piece() { … }
inline const std::string& SentencePieceText_SentencePiece::piece() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SentencePieceText_SentencePiece::set_piece(ArgT0&& arg0, ArgT... args) { … }
inline std::string* SentencePieceText_SentencePiece::mutable_piece() { … }
inline const std::string& SentencePieceText_SentencePiece::_internal_piece() const { … }
inline void SentencePieceText_SentencePiece::_internal_set_piece(const std::string& value) { … }
inline std::string* SentencePieceText_SentencePiece::_internal_mutable_piece() { … }
inline std::string* SentencePieceText_SentencePiece::release_piece() { … }
inline void SentencePieceText_SentencePiece::set_allocated_piece(std::string* piece) { … }
inline bool SentencePieceText_SentencePiece::_internal_has_id() const { … }
inline bool SentencePieceText_SentencePiece::has_id() const { … }
inline void SentencePieceText_SentencePiece::clear_id() { … }
inline uint32_t SentencePieceText_SentencePiece::_internal_id() const { … }
inline uint32_t SentencePieceText_SentencePiece::id() const { … }
inline void SentencePieceText_SentencePiece::_internal_set_id(uint32_t value) { … }
inline void SentencePieceText_SentencePiece::set_id(uint32_t value) { … }
inline bool SentencePieceText_SentencePiece::_internal_has_surface() const { … }
inline bool SentencePieceText_SentencePiece::has_surface() const { … }
inline void SentencePieceText_SentencePiece::clear_surface() { … }
inline const std::string& SentencePieceText_SentencePiece::surface() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SentencePieceText_SentencePiece::set_surface(ArgT0&& arg0, ArgT... args) { … }
inline std::string* SentencePieceText_SentencePiece::mutable_surface() { … }
inline const std::string& SentencePieceText_SentencePiece::_internal_surface() const { … }
inline void SentencePieceText_SentencePiece::_internal_set_surface(const std::string& value) { … }
inline std::string* SentencePieceText_SentencePiece::_internal_mutable_surface() { … }
inline std::string* SentencePieceText_SentencePiece::release_surface() { … }
inline void SentencePieceText_SentencePiece::set_allocated_surface(std::string* surface) { … }
inline bool SentencePieceText_SentencePiece::_internal_has_begin() const { … }
inline bool SentencePieceText_SentencePiece::has_begin() const { … }
inline void SentencePieceText_SentencePiece::clear_begin() { … }
inline uint32_t SentencePieceText_SentencePiece::_internal_begin() const { … }
inline uint32_t SentencePieceText_SentencePiece::begin() const { … }
inline void SentencePieceText_SentencePiece::_internal_set_begin(uint32_t value) { … }
inline void SentencePieceText_SentencePiece::set_begin(uint32_t value) { … }
inline bool SentencePieceText_SentencePiece::_internal_has_end() const { … }
inline bool SentencePieceText_SentencePiece::has_end() const { … }
inline void SentencePieceText_SentencePiece::clear_end() { … }
inline uint32_t SentencePieceText_SentencePiece::_internal_end() const { … }
inline uint32_t SentencePieceText_SentencePiece::end() const { … }
inline void SentencePieceText_SentencePiece::_internal_set_end(uint32_t value) { … }
inline void SentencePieceText_SentencePiece::set_end(uint32_t value) { … }
inline bool SentencePieceText::_internal_has_text() const { … }
inline bool SentencePieceText::has_text() const { … }
inline void SentencePieceText::clear_text() { … }
inline const std::string& SentencePieceText::text() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SentencePieceText::set_text(ArgT0&& arg0, ArgT... args) { … }
inline std::string* SentencePieceText::mutable_text() { … }
inline const std::string& SentencePieceText::_internal_text() const { … }
inline void SentencePieceText::_internal_set_text(const std::string& value) { … }
inline std::string* SentencePieceText::_internal_mutable_text() { … }
inline std::string* SentencePieceText::release_text() { … }
inline void SentencePieceText::set_allocated_text(std::string* text) { … }
inline int SentencePieceText::_internal_pieces_size() const { … }
inline int SentencePieceText::pieces_size() const { … }
inline void SentencePieceText::clear_pieces() { … }
inline ::sentencepiece::SentencePieceText_SentencePiece* SentencePieceText::mutable_pieces(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sentencepiece::SentencePieceText_SentencePiece >*
SentencePieceText::mutable_pieces() { … }
inline const ::sentencepiece::SentencePieceText_SentencePiece& SentencePieceText::_internal_pieces(int index) const { … }
inline const ::sentencepiece::SentencePieceText_SentencePiece& SentencePieceText::pieces(int index) const { … }
inline ::sentencepiece::SentencePieceText_SentencePiece* SentencePieceText::_internal_add_pieces() { … }
inline ::sentencepiece::SentencePieceText_SentencePiece* SentencePieceText::add_pieces() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sentencepiece::SentencePieceText_SentencePiece >&
SentencePieceText::pieces() const { … }
inline bool SentencePieceText::_internal_has_score() const { … }
inline bool SentencePieceText::has_score() const { … }
inline void SentencePieceText::clear_score() { … }
inline float SentencePieceText::_internal_score() const { … }
inline float SentencePieceText::score() const { … }
inline void SentencePieceText::_internal_set_score(float value) { … }
inline void SentencePieceText::set_score(float value) { … }
inline int NBestSentencePieceText::_internal_nbests_size() const { … }
inline int NBestSentencePieceText::nbests_size() const { … }
inline void NBestSentencePieceText::clear_nbests() { … }
inline ::sentencepiece::SentencePieceText* NBestSentencePieceText::mutable_nbests(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sentencepiece::SentencePieceText >*
NBestSentencePieceText::mutable_nbests() { … }
inline const ::sentencepiece::SentencePieceText& NBestSentencePieceText::_internal_nbests(int index) const { … }
inline const ::sentencepiece::SentencePieceText& NBestSentencePieceText::nbests(int index) const { … }
inline ::sentencepiece::SentencePieceText* NBestSentencePieceText::_internal_add_nbests() { … }
inline ::sentencepiece::SentencePieceText* NBestSentencePieceText::add_nbests() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sentencepiece::SentencePieceText >&
NBestSentencePieceText::nbests() const { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
#include <google/protobuf/port_undef.inc>
#endif