#ifndef GOOGLE_PROTOBUF_INCLUDED_lens_5foverlay_5ftext_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_lens_5foverlay_5ftext_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 "lens_overlay_geometry.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_lens_5foverlay_5ftext_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_lens_5foverlay_5ftext_2eproto { … };
namespace lens {
class Text;
struct TextDefaultTypeInternal;
extern TextDefaultTypeInternal _Text_default_instance_;
class TextEntityIdentifier;
struct TextEntityIdentifierDefaultTypeInternal;
extern TextEntityIdentifierDefaultTypeInternal _TextEntityIdentifier_default_instance_;
class TextLayout;
struct TextLayoutDefaultTypeInternal;
extern TextLayoutDefaultTypeInternal _TextLayout_default_instance_;
class TextLayout_Line;
struct TextLayout_LineDefaultTypeInternal;
extern TextLayout_LineDefaultTypeInternal _TextLayout_Line_default_instance_;
class TextLayout_Paragraph;
struct TextLayout_ParagraphDefaultTypeInternal;
extern TextLayout_ParagraphDefaultTypeInternal _TextLayout_Paragraph_default_instance_;
class TextLayout_Word;
struct TextLayout_WordDefaultTypeInternal;
extern TextLayout_WordDefaultTypeInternal _TextLayout_Word_default_instance_;
class TextLayout_Word_FormulaMetadata;
struct TextLayout_Word_FormulaMetadataDefaultTypeInternal;
extern TextLayout_Word_FormulaMetadataDefaultTypeInternal _TextLayout_Word_FormulaMetadata_default_instance_;
}
PROTOBUF_NAMESPACE_OPEN
template<> ::lens::Text* Arena::CreateMaybeMessage<::lens::Text>(Arena*);
template<> ::lens::TextEntityIdentifier* Arena::CreateMaybeMessage<::lens::TextEntityIdentifier>(Arena*);
template<> ::lens::TextLayout* Arena::CreateMaybeMessage<::lens::TextLayout>(Arena*);
template<> ::lens::TextLayout_Line* Arena::CreateMaybeMessage<::lens::TextLayout_Line>(Arena*);
template<> ::lens::TextLayout_Paragraph* Arena::CreateMaybeMessage<::lens::TextLayout_Paragraph>(Arena*);
template<> ::lens::TextLayout_Word* Arena::CreateMaybeMessage<::lens::TextLayout_Word>(Arena*);
template<> ::lens::TextLayout_Word_FormulaMetadata* Arena::CreateMaybeMessage<::lens::TextLayout_Word_FormulaMetadata>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace lens {
enum TextLayout_Word_Type : int { … };
bool TextLayout_Word_Type_IsValid(int value);
constexpr TextLayout_Word_Type TextLayout_Word_Type_Type_MIN = …;
constexpr TextLayout_Word_Type TextLayout_Word_Type_Type_MAX = …;
constexpr int TextLayout_Word_Type_Type_ARRAYSIZE = …;
const std::string& TextLayout_Word_Type_Name(TextLayout_Word_Type value);
template<typename T>
inline const std::string& TextLayout_Word_Type_Name(T enum_t_value) { … }
bool TextLayout_Word_Type_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TextLayout_Word_Type* value);
enum WritingDirection : int { … };
bool WritingDirection_IsValid(int value);
constexpr WritingDirection WritingDirection_MIN = …;
constexpr WritingDirection WritingDirection_MAX = …;
constexpr int WritingDirection_ARRAYSIZE = …;
const std::string& WritingDirection_Name(WritingDirection value);
template<typename T>
inline const std::string& WritingDirection_Name(T enum_t_value) { … }
bool WritingDirection_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, WritingDirection* value);
enum Alignment : int { … };
bool Alignment_IsValid(int value);
constexpr Alignment Alignment_MIN = …;
constexpr Alignment Alignment_MAX = …;
constexpr int Alignment_ARRAYSIZE = …;
const std::string& Alignment_Name(Alignment value);
template<typename T>
inline const std::string& Alignment_Name(T enum_t_value) { … }
bool Alignment_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Alignment* value);
class Text final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextLayout_Word_FormulaMetadata final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextLayout_Word final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextLayout_Line final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextLayout_Paragraph final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextLayout final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextEntityIdentifier final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool Text::_internal_has_text_layout() const { … }
inline bool Text::has_text_layout() const { … }
inline void Text::clear_text_layout() { … }
inline const ::lens::TextLayout& Text::_internal_text_layout() const { … }
inline const ::lens::TextLayout& Text::text_layout() const { … }
inline void Text::unsafe_arena_set_allocated_text_layout(
::lens::TextLayout* text_layout) { … }
inline ::lens::TextLayout* Text::release_text_layout() { … }
inline ::lens::TextLayout* Text::unsafe_arena_release_text_layout() { … }
inline ::lens::TextLayout* Text::_internal_mutable_text_layout() { … }
inline ::lens::TextLayout* Text::mutable_text_layout() { … }
inline void Text::set_allocated_text_layout(::lens::TextLayout* text_layout) { … }
inline void Text::clear_content_language() { … }
inline const std::string& Text::content_language() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void Text::set_content_language(ArgT0&& arg0, ArgT... args) { … }
inline std::string* Text::mutable_content_language() { … }
inline const std::string& Text::_internal_content_language() const { … }
inline void Text::_internal_set_content_language(const std::string& value) { … }
inline std::string* Text::_internal_mutable_content_language() { … }
inline std::string* Text::release_content_language() { … }
inline void Text::set_allocated_content_language(std::string* content_language) { … }
inline void TextLayout_Word_FormulaMetadata::clear_latex() { … }
inline const std::string& TextLayout_Word_FormulaMetadata::latex() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextLayout_Word_FormulaMetadata::set_latex(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextLayout_Word_FormulaMetadata::mutable_latex() { … }
inline const std::string& TextLayout_Word_FormulaMetadata::_internal_latex() const { … }
inline void TextLayout_Word_FormulaMetadata::_internal_set_latex(const std::string& value) { … }
inline std::string* TextLayout_Word_FormulaMetadata::_internal_mutable_latex() { … }
inline std::string* TextLayout_Word_FormulaMetadata::release_latex() { … }
inline void TextLayout_Word_FormulaMetadata::set_allocated_latex(std::string* latex) { … }
inline bool TextLayout_Word::_internal_has_id() const { … }
inline bool TextLayout_Word::has_id() const { … }
inline void TextLayout_Word::clear_id() { … }
inline const ::lens::TextEntityIdentifier& TextLayout_Word::_internal_id() const { … }
inline const ::lens::TextEntityIdentifier& TextLayout_Word::id() const { … }
inline void TextLayout_Word::unsafe_arena_set_allocated_id(
::lens::TextEntityIdentifier* id) { … }
inline ::lens::TextEntityIdentifier* TextLayout_Word::release_id() { … }
inline ::lens::TextEntityIdentifier* TextLayout_Word::unsafe_arena_release_id() { … }
inline ::lens::TextEntityIdentifier* TextLayout_Word::_internal_mutable_id() { … }
inline ::lens::TextEntityIdentifier* TextLayout_Word::mutable_id() { … }
inline void TextLayout_Word::set_allocated_id(::lens::TextEntityIdentifier* id) { … }
inline void TextLayout_Word::clear_plain_text() { … }
inline const std::string& TextLayout_Word::plain_text() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextLayout_Word::set_plain_text(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextLayout_Word::mutable_plain_text() { … }
inline const std::string& TextLayout_Word::_internal_plain_text() const { … }
inline void TextLayout_Word::_internal_set_plain_text(const std::string& value) { … }
inline std::string* TextLayout_Word::_internal_mutable_plain_text() { … }
inline std::string* TextLayout_Word::release_plain_text() { … }
inline void TextLayout_Word::set_allocated_plain_text(std::string* plain_text) { … }
inline bool TextLayout_Word::_internal_has_text_separator() const { … }
inline bool TextLayout_Word::has_text_separator() const { … }
inline void TextLayout_Word::clear_text_separator() { … }
inline const std::string& TextLayout_Word::text_separator() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextLayout_Word::set_text_separator(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextLayout_Word::mutable_text_separator() { … }
inline const std::string& TextLayout_Word::_internal_text_separator() const { … }
inline void TextLayout_Word::_internal_set_text_separator(const std::string& value) { … }
inline std::string* TextLayout_Word::_internal_mutable_text_separator() { … }
inline std::string* TextLayout_Word::release_text_separator() { … }
inline void TextLayout_Word::set_allocated_text_separator(std::string* text_separator) { … }
inline bool TextLayout_Word::_internal_has_geometry() const { … }
inline bool TextLayout_Word::has_geometry() const { … }
inline const ::lens::Geometry& TextLayout_Word::_internal_geometry() const { … }
inline const ::lens::Geometry& TextLayout_Word::geometry() const { … }
inline void TextLayout_Word::unsafe_arena_set_allocated_geometry(
::lens::Geometry* geometry) { … }
inline ::lens::Geometry* TextLayout_Word::release_geometry() { … }
inline ::lens::Geometry* TextLayout_Word::unsafe_arena_release_geometry() { … }
inline ::lens::Geometry* TextLayout_Word::_internal_mutable_geometry() { … }
inline ::lens::Geometry* TextLayout_Word::mutable_geometry() { … }
inline void TextLayout_Word::set_allocated_geometry(::lens::Geometry* geometry) { … }
inline void TextLayout_Word::clear_type() { … }
inline ::lens::TextLayout_Word_Type TextLayout_Word::_internal_type() const { … }
inline ::lens::TextLayout_Word_Type TextLayout_Word::type() const { … }
inline void TextLayout_Word::_internal_set_type(::lens::TextLayout_Word_Type value) { … }
inline void TextLayout_Word::set_type(::lens::TextLayout_Word_Type value) { … }
inline bool TextLayout_Word::_internal_has_formula_metadata() const { … }
inline bool TextLayout_Word::has_formula_metadata() const { … }
inline void TextLayout_Word::clear_formula_metadata() { … }
inline const ::lens::TextLayout_Word_FormulaMetadata& TextLayout_Word::_internal_formula_metadata() const { … }
inline const ::lens::TextLayout_Word_FormulaMetadata& TextLayout_Word::formula_metadata() const { … }
inline void TextLayout_Word::unsafe_arena_set_allocated_formula_metadata(
::lens::TextLayout_Word_FormulaMetadata* formula_metadata) { … }
inline ::lens::TextLayout_Word_FormulaMetadata* TextLayout_Word::release_formula_metadata() { … }
inline ::lens::TextLayout_Word_FormulaMetadata* TextLayout_Word::unsafe_arena_release_formula_metadata() { … }
inline ::lens::TextLayout_Word_FormulaMetadata* TextLayout_Word::_internal_mutable_formula_metadata() { … }
inline ::lens::TextLayout_Word_FormulaMetadata* TextLayout_Word::mutable_formula_metadata() { … }
inline void TextLayout_Word::set_allocated_formula_metadata(::lens::TextLayout_Word_FormulaMetadata* formula_metadata) { … }
inline int TextLayout_Line::_internal_words_size() const { … }
inline int TextLayout_Line::words_size() const { … }
inline void TextLayout_Line::clear_words() { … }
inline ::lens::TextLayout_Word* TextLayout_Line::mutable_words(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TextLayout_Word >*
TextLayout_Line::mutable_words() { … }
inline const ::lens::TextLayout_Word& TextLayout_Line::_internal_words(int index) const { … }
inline const ::lens::TextLayout_Word& TextLayout_Line::words(int index) const { … }
inline ::lens::TextLayout_Word* TextLayout_Line::_internal_add_words() { … }
inline ::lens::TextLayout_Word* TextLayout_Line::add_words() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TextLayout_Word >&
TextLayout_Line::words() const { … }
inline bool TextLayout_Line::_internal_has_geometry() const { … }
inline bool TextLayout_Line::has_geometry() const { … }
inline const ::lens::Geometry& TextLayout_Line::_internal_geometry() const { … }
inline const ::lens::Geometry& TextLayout_Line::geometry() const { … }
inline void TextLayout_Line::unsafe_arena_set_allocated_geometry(
::lens::Geometry* geometry) { … }
inline ::lens::Geometry* TextLayout_Line::release_geometry() { … }
inline ::lens::Geometry* TextLayout_Line::unsafe_arena_release_geometry() { … }
inline ::lens::Geometry* TextLayout_Line::_internal_mutable_geometry() { … }
inline ::lens::Geometry* TextLayout_Line::mutable_geometry() { … }
inline void TextLayout_Line::set_allocated_geometry(::lens::Geometry* geometry) { … }
inline bool TextLayout_Paragraph::_internal_has_id() const { … }
inline bool TextLayout_Paragraph::has_id() const { … }
inline void TextLayout_Paragraph::clear_id() { … }
inline const ::lens::TextEntityIdentifier& TextLayout_Paragraph::_internal_id() const { … }
inline const ::lens::TextEntityIdentifier& TextLayout_Paragraph::id() const { … }
inline void TextLayout_Paragraph::unsafe_arena_set_allocated_id(
::lens::TextEntityIdentifier* id) { … }
inline ::lens::TextEntityIdentifier* TextLayout_Paragraph::release_id() { … }
inline ::lens::TextEntityIdentifier* TextLayout_Paragraph::unsafe_arena_release_id() { … }
inline ::lens::TextEntityIdentifier* TextLayout_Paragraph::_internal_mutable_id() { … }
inline ::lens::TextEntityIdentifier* TextLayout_Paragraph::mutable_id() { … }
inline void TextLayout_Paragraph::set_allocated_id(::lens::TextEntityIdentifier* id) { … }
inline int TextLayout_Paragraph::_internal_lines_size() const { … }
inline int TextLayout_Paragraph::lines_size() const { … }
inline void TextLayout_Paragraph::clear_lines() { … }
inline ::lens::TextLayout_Line* TextLayout_Paragraph::mutable_lines(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TextLayout_Line >*
TextLayout_Paragraph::mutable_lines() { … }
inline const ::lens::TextLayout_Line& TextLayout_Paragraph::_internal_lines(int index) const { … }
inline const ::lens::TextLayout_Line& TextLayout_Paragraph::lines(int index) const { … }
inline ::lens::TextLayout_Line* TextLayout_Paragraph::_internal_add_lines() { … }
inline ::lens::TextLayout_Line* TextLayout_Paragraph::add_lines() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TextLayout_Line >&
TextLayout_Paragraph::lines() const { … }
inline bool TextLayout_Paragraph::_internal_has_geometry() const { … }
inline bool TextLayout_Paragraph::has_geometry() const { … }
inline const ::lens::Geometry& TextLayout_Paragraph::_internal_geometry() const { … }
inline const ::lens::Geometry& TextLayout_Paragraph::geometry() const { … }
inline void TextLayout_Paragraph::unsafe_arena_set_allocated_geometry(
::lens::Geometry* geometry) { … }
inline ::lens::Geometry* TextLayout_Paragraph::release_geometry() { … }
inline ::lens::Geometry* TextLayout_Paragraph::unsafe_arena_release_geometry() { … }
inline ::lens::Geometry* TextLayout_Paragraph::_internal_mutable_geometry() { … }
inline ::lens::Geometry* TextLayout_Paragraph::mutable_geometry() { … }
inline void TextLayout_Paragraph::set_allocated_geometry(::lens::Geometry* geometry) { … }
inline void TextLayout_Paragraph::clear_writing_direction() { … }
inline ::lens::WritingDirection TextLayout_Paragraph::_internal_writing_direction() const { … }
inline ::lens::WritingDirection TextLayout_Paragraph::writing_direction() const { … }
inline void TextLayout_Paragraph::_internal_set_writing_direction(::lens::WritingDirection value) { … }
inline void TextLayout_Paragraph::set_writing_direction(::lens::WritingDirection value) { … }
inline void TextLayout_Paragraph::clear_content_language() { … }
inline const std::string& TextLayout_Paragraph::content_language() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextLayout_Paragraph::set_content_language(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextLayout_Paragraph::mutable_content_language() { … }
inline const std::string& TextLayout_Paragraph::_internal_content_language() const { … }
inline void TextLayout_Paragraph::_internal_set_content_language(const std::string& value) { … }
inline std::string* TextLayout_Paragraph::_internal_mutable_content_language() { … }
inline std::string* TextLayout_Paragraph::release_content_language() { … }
inline void TextLayout_Paragraph::set_allocated_content_language(std::string* content_language) { … }
inline int TextLayout::_internal_paragraphs_size() const { … }
inline int TextLayout::paragraphs_size() const { … }
inline void TextLayout::clear_paragraphs() { … }
inline ::lens::TextLayout_Paragraph* TextLayout::mutable_paragraphs(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TextLayout_Paragraph >*
TextLayout::mutable_paragraphs() { … }
inline const ::lens::TextLayout_Paragraph& TextLayout::_internal_paragraphs(int index) const { … }
inline const ::lens::TextLayout_Paragraph& TextLayout::paragraphs(int index) const { … }
inline ::lens::TextLayout_Paragraph* TextLayout::_internal_add_paragraphs() { … }
inline ::lens::TextLayout_Paragraph* TextLayout::add_paragraphs() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TextLayout_Paragraph >&
TextLayout::paragraphs() const { … }
inline void TextEntityIdentifier::clear_id() { … }
inline int64_t TextEntityIdentifier::_internal_id() const { … }
inline int64_t TextEntityIdentifier::id() const { … }
inline void TextEntityIdentifier::_internal_set_id(int64_t value) { … }
inline void TextEntityIdentifier::set_id(int64_t value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::lens::TextLayout_Word_Type> : ::std::true_type { … };
template <> struct is_proto_enum< ::lens::WritingDirection> : ::std::true_type { … };
template <> struct is_proto_enum< ::lens::Alignment> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif