#ifndef GOOGLE_PROTOBUF_INCLUDED_chrome_5fscreen_5fai_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_chrome_5fscreen_5fai_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_chrome_5fscreen_5fai_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_chrome_5fscreen_5fai_2eproto { … };
namespace chrome_screen_ai {
class LineBox;
struct LineBoxDefaultTypeInternal;
extern LineBoxDefaultTypeInternal _LineBox_default_instance_;
class Rect;
struct RectDefaultTypeInternal;
extern RectDefaultTypeInternal _Rect_default_instance_;
class SymbolBox;
struct SymbolBoxDefaultTypeInternal;
extern SymbolBoxDefaultTypeInternal _SymbolBox_default_instance_;
class VisualAnnotation;
struct VisualAnnotationDefaultTypeInternal;
extern VisualAnnotationDefaultTypeInternal _VisualAnnotation_default_instance_;
class WordBox;
struct WordBoxDefaultTypeInternal;
extern WordBoxDefaultTypeInternal _WordBox_default_instance_;
}
PROTOBUF_NAMESPACE_OPEN
template<> ::chrome_screen_ai::LineBox* Arena::CreateMaybeMessage<::chrome_screen_ai::LineBox>(Arena*);
template<> ::chrome_screen_ai::Rect* Arena::CreateMaybeMessage<::chrome_screen_ai::Rect>(Arena*);
template<> ::chrome_screen_ai::SymbolBox* Arena::CreateMaybeMessage<::chrome_screen_ai::SymbolBox>(Arena*);
template<> ::chrome_screen_ai::VisualAnnotation* Arena::CreateMaybeMessage<::chrome_screen_ai::VisualAnnotation>(Arena*);
template<> ::chrome_screen_ai::WordBox* Arena::CreateMaybeMessage<::chrome_screen_ai::WordBox>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace chrome_screen_ai {
enum Direction : int { … };
bool Direction_IsValid(int value);
constexpr Direction Direction_MIN = …;
constexpr Direction Direction_MAX = …;
constexpr int Direction_ARRAYSIZE = …;
const std::string& Direction_Name(Direction value);
template<typename T>
inline const std::string& Direction_Name(T enum_t_value) { … }
bool Direction_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Direction* value);
enum Orientation : int { … };
bool Orientation_IsValid(int value);
constexpr Orientation Orientation_MIN = …;
constexpr Orientation Orientation_MAX = …;
constexpr int Orientation_ARRAYSIZE = …;
const std::string& Orientation_Name(Orientation value);
template<typename T>
inline const std::string& Orientation_Name(T enum_t_value) { … }
bool Orientation_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Orientation* value);
enum ContentType : int { … };
bool ContentType_IsValid(int value);
constexpr ContentType ContentType_MIN = …;
constexpr ContentType ContentType_MAX = …;
constexpr int ContentType_ARRAYSIZE = …;
const std::string& ContentType_Name(ContentType value);
template<typename T>
inline const std::string& ContentType_Name(T enum_t_value) { … }
bool ContentType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContentType* value);
class Rect final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class LineBox final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class WordBox final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class SymbolBox final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class VisualAnnotation final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline void Rect::clear_x() { … }
inline int32_t Rect::_internal_x() const { … }
inline int32_t Rect::x() const { … }
inline void Rect::_internal_set_x(int32_t value) { … }
inline void Rect::set_x(int32_t value) { … }
inline void Rect::clear_y() { … }
inline int32_t Rect::_internal_y() const { … }
inline int32_t Rect::y() const { … }
inline void Rect::_internal_set_y(int32_t value) { … }
inline void Rect::set_y(int32_t value) { … }
inline void Rect::clear_width() { … }
inline int32_t Rect::_internal_width() const { … }
inline int32_t Rect::width() const { … }
inline void Rect::_internal_set_width(int32_t value) { … }
inline void Rect::set_width(int32_t value) { … }
inline void Rect::clear_height() { … }
inline int32_t Rect::_internal_height() const { … }
inline int32_t Rect::height() const { … }
inline void Rect::_internal_set_height(int32_t value) { … }
inline void Rect::set_height(int32_t value) { … }
inline void Rect::clear_angle() { … }
inline float Rect::_internal_angle() const { … }
inline float Rect::angle() const { … }
inline void Rect::_internal_set_angle(float value) { … }
inline void Rect::set_angle(float value) { … }
inline int LineBox::_internal_words_size() const { … }
inline int LineBox::words_size() const { … }
inline void LineBox::clear_words() { … }
inline ::chrome_screen_ai::WordBox* LineBox::mutable_words(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_screen_ai::WordBox >*
LineBox::mutable_words() { … }
inline const ::chrome_screen_ai::WordBox& LineBox::_internal_words(int index) const { … }
inline const ::chrome_screen_ai::WordBox& LineBox::words(int index) const { … }
inline ::chrome_screen_ai::WordBox* LineBox::_internal_add_words() { … }
inline ::chrome_screen_ai::WordBox* LineBox::add_words() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_screen_ai::WordBox >&
LineBox::words() const { … }
inline bool LineBox::_internal_has_bounding_box() const { … }
inline bool LineBox::has_bounding_box() const { … }
inline void LineBox::clear_bounding_box() { … }
inline const ::chrome_screen_ai::Rect& LineBox::_internal_bounding_box() const { … }
inline const ::chrome_screen_ai::Rect& LineBox::bounding_box() const { … }
inline void LineBox::unsafe_arena_set_allocated_bounding_box(
::chrome_screen_ai::Rect* bounding_box) { … }
inline ::chrome_screen_ai::Rect* LineBox::release_bounding_box() { … }
inline ::chrome_screen_ai::Rect* LineBox::unsafe_arena_release_bounding_box() { … }
inline ::chrome_screen_ai::Rect* LineBox::_internal_mutable_bounding_box() { … }
inline ::chrome_screen_ai::Rect* LineBox::mutable_bounding_box() { … }
inline void LineBox::set_allocated_bounding_box(::chrome_screen_ai::Rect* bounding_box) { … }
inline void LineBox::clear_utf8_string() { … }
inline const std::string& LineBox::utf8_string() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LineBox::set_utf8_string(ArgT0&& arg0, ArgT... args) { … }
inline std::string* LineBox::mutable_utf8_string() { … }
inline const std::string& LineBox::_internal_utf8_string() const { … }
inline void LineBox::_internal_set_utf8_string(const std::string& value) { … }
inline std::string* LineBox::_internal_mutable_utf8_string() { … }
inline std::string* LineBox::release_utf8_string() { … }
inline void LineBox::set_allocated_utf8_string(std::string* utf8_string) { … }
inline void LineBox::clear_language() { … }
inline const std::string& LineBox::language() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LineBox::set_language(ArgT0&& arg0, ArgT... args) { … }
inline std::string* LineBox::mutable_language() { … }
inline const std::string& LineBox::_internal_language() const { … }
inline void LineBox::_internal_set_language(const std::string& value) { … }
inline std::string* LineBox::_internal_mutable_language() { … }
inline std::string* LineBox::release_language() { … }
inline void LineBox::set_allocated_language(std::string* language) { … }
inline void LineBox::clear_block_id() { … }
inline int32_t LineBox::_internal_block_id() const { … }
inline int32_t LineBox::block_id() const { … }
inline void LineBox::_internal_set_block_id(int32_t value) { … }
inline void LineBox::set_block_id(int32_t value) { … }
inline void LineBox::clear_order_within_block() { … }
inline int32_t LineBox::_internal_order_within_block() const { … }
inline int32_t LineBox::order_within_block() const { … }
inline void LineBox::_internal_set_order_within_block(int32_t value) { … }
inline void LineBox::set_order_within_block(int32_t value) { … }
inline void LineBox::clear_direction() { … }
inline ::chrome_screen_ai::Direction LineBox::_internal_direction() const { … }
inline ::chrome_screen_ai::Direction LineBox::direction() const { … }
inline void LineBox::_internal_set_direction(::chrome_screen_ai::Direction value) { … }
inline void LineBox::set_direction(::chrome_screen_ai::Direction value) { … }
inline void LineBox::clear_content_type() { … }
inline ::chrome_screen_ai::ContentType LineBox::_internal_content_type() const { … }
inline ::chrome_screen_ai::ContentType LineBox::content_type() const { … }
inline void LineBox::_internal_set_content_type(::chrome_screen_ai::ContentType value) { … }
inline void LineBox::set_content_type(::chrome_screen_ai::ContentType value) { … }
inline bool LineBox::_internal_has_baseline_box() const { … }
inline bool LineBox::has_baseline_box() const { … }
inline void LineBox::clear_baseline_box() { … }
inline const ::chrome_screen_ai::Rect& LineBox::_internal_baseline_box() const { … }
inline const ::chrome_screen_ai::Rect& LineBox::baseline_box() const { … }
inline void LineBox::unsafe_arena_set_allocated_baseline_box(
::chrome_screen_ai::Rect* baseline_box) { … }
inline ::chrome_screen_ai::Rect* LineBox::release_baseline_box() { … }
inline ::chrome_screen_ai::Rect* LineBox::unsafe_arena_release_baseline_box() { … }
inline ::chrome_screen_ai::Rect* LineBox::_internal_mutable_baseline_box() { … }
inline ::chrome_screen_ai::Rect* LineBox::mutable_baseline_box() { … }
inline void LineBox::set_allocated_baseline_box(::chrome_screen_ai::Rect* baseline_box) { … }
inline void LineBox::clear_confidence() { … }
inline float LineBox::_internal_confidence() const { … }
inline float LineBox::confidence() const { … }
inline void LineBox::_internal_set_confidence(float value) { … }
inline void LineBox::set_confidence(float value) { … }
inline int WordBox::_internal_symbols_size() const { … }
inline int WordBox::symbols_size() const { … }
inline void WordBox::clear_symbols() { … }
inline ::chrome_screen_ai::SymbolBox* WordBox::mutable_symbols(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_screen_ai::SymbolBox >*
WordBox::mutable_symbols() { … }
inline const ::chrome_screen_ai::SymbolBox& WordBox::_internal_symbols(int index) const { … }
inline const ::chrome_screen_ai::SymbolBox& WordBox::symbols(int index) const { … }
inline ::chrome_screen_ai::SymbolBox* WordBox::_internal_add_symbols() { … }
inline ::chrome_screen_ai::SymbolBox* WordBox::add_symbols() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_screen_ai::SymbolBox >&
WordBox::symbols() const { … }
inline bool WordBox::_internal_has_bounding_box() const { … }
inline bool WordBox::has_bounding_box() const { … }
inline void WordBox::clear_bounding_box() { … }
inline const ::chrome_screen_ai::Rect& WordBox::_internal_bounding_box() const { … }
inline const ::chrome_screen_ai::Rect& WordBox::bounding_box() const { … }
inline void WordBox::unsafe_arena_set_allocated_bounding_box(
::chrome_screen_ai::Rect* bounding_box) { … }
inline ::chrome_screen_ai::Rect* WordBox::release_bounding_box() { … }
inline ::chrome_screen_ai::Rect* WordBox::unsafe_arena_release_bounding_box() { … }
inline ::chrome_screen_ai::Rect* WordBox::_internal_mutable_bounding_box() { … }
inline ::chrome_screen_ai::Rect* WordBox::mutable_bounding_box() { … }
inline void WordBox::set_allocated_bounding_box(::chrome_screen_ai::Rect* bounding_box) { … }
inline void WordBox::clear_utf8_string() { … }
inline const std::string& WordBox::utf8_string() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void WordBox::set_utf8_string(ArgT0&& arg0, ArgT... args) { … }
inline std::string* WordBox::mutable_utf8_string() { … }
inline const std::string& WordBox::_internal_utf8_string() const { … }
inline void WordBox::_internal_set_utf8_string(const std::string& value) { … }
inline std::string* WordBox::_internal_mutable_utf8_string() { … }
inline std::string* WordBox::release_utf8_string() { … }
inline void WordBox::set_allocated_utf8_string(std::string* utf8_string) { … }
inline void WordBox::clear_dictionary_word() { … }
inline bool WordBox::_internal_dictionary_word() const { … }
inline bool WordBox::dictionary_word() const { … }
inline void WordBox::_internal_set_dictionary_word(bool value) { … }
inline void WordBox::set_dictionary_word(bool value) { … }
inline void WordBox::clear_language() { … }
inline const std::string& WordBox::language() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void WordBox::set_language(ArgT0&& arg0, ArgT... args) { … }
inline std::string* WordBox::mutable_language() { … }
inline const std::string& WordBox::_internal_language() const { … }
inline void WordBox::_internal_set_language(const std::string& value) { … }
inline std::string* WordBox::_internal_mutable_language() { … }
inline std::string* WordBox::release_language() { … }
inline void WordBox::set_allocated_language(std::string* language) { … }
inline void WordBox::clear_has_space_after() { … }
inline bool WordBox::_internal_has_space_after() const { … }
inline bool WordBox::has_space_after() const { … }
inline void WordBox::_internal_set_has_space_after(bool value) { … }
inline void WordBox::set_has_space_after(bool value) { … }
inline void WordBox::clear_estimate_color_success() { … }
inline bool WordBox::_internal_estimate_color_success() const { … }
inline bool WordBox::estimate_color_success() const { … }
inline void WordBox::_internal_set_estimate_color_success(bool value) { … }
inline void WordBox::set_estimate_color_success(bool value) { … }
inline void WordBox::clear_foreground_gray_value() { … }
inline int32_t WordBox::_internal_foreground_gray_value() const { … }
inline int32_t WordBox::foreground_gray_value() const { … }
inline void WordBox::_internal_set_foreground_gray_value(int32_t value) { … }
inline void WordBox::set_foreground_gray_value(int32_t value) { … }
inline void WordBox::clear_background_gray_value() { … }
inline int32_t WordBox::_internal_background_gray_value() const { … }
inline int32_t WordBox::background_gray_value() const { … }
inline void WordBox::_internal_set_background_gray_value(int32_t value) { … }
inline void WordBox::set_background_gray_value(int32_t value) { … }
inline void WordBox::clear_foreground_rgb_value() { … }
inline int32_t WordBox::_internal_foreground_rgb_value() const { … }
inline int32_t WordBox::foreground_rgb_value() const { … }
inline void WordBox::_internal_set_foreground_rgb_value(int32_t value) { … }
inline void WordBox::set_foreground_rgb_value(int32_t value) { … }
inline void WordBox::clear_background_rgb_value() { … }
inline int32_t WordBox::_internal_background_rgb_value() const { … }
inline int32_t WordBox::background_rgb_value() const { … }
inline void WordBox::_internal_set_background_rgb_value(int32_t value) { … }
inline void WordBox::set_background_rgb_value(int32_t value) { … }
inline void WordBox::clear_direction() { … }
inline ::chrome_screen_ai::Direction WordBox::_internal_direction() const { … }
inline ::chrome_screen_ai::Direction WordBox::direction() const { … }
inline void WordBox::_internal_set_direction(::chrome_screen_ai::Direction value) { … }
inline void WordBox::set_direction(::chrome_screen_ai::Direction value) { … }
inline void WordBox::clear_content_type() { … }
inline ::chrome_screen_ai::ContentType WordBox::_internal_content_type() const { … }
inline ::chrome_screen_ai::ContentType WordBox::content_type() const { … }
inline void WordBox::_internal_set_content_type(::chrome_screen_ai::ContentType value) { … }
inline void WordBox::set_content_type(::chrome_screen_ai::ContentType value) { … }
inline void WordBox::clear_orientation() { … }
inline ::chrome_screen_ai::Orientation WordBox::_internal_orientation() const { … }
inline ::chrome_screen_ai::Orientation WordBox::orientation() const { … }
inline void WordBox::_internal_set_orientation(::chrome_screen_ai::Orientation value) { … }
inline void WordBox::set_orientation(::chrome_screen_ai::Orientation value) { … }
inline void WordBox::clear_confidence() { … }
inline float WordBox::_internal_confidence() const { … }
inline float WordBox::confidence() const { … }
inline void WordBox::_internal_set_confidence(float value) { … }
inline void WordBox::set_confidence(float value) { … }
inline void WordBox::clear_estimate_gray_success() { … }
inline bool WordBox::_internal_estimate_gray_success() const { … }
inline bool WordBox::estimate_gray_success() const { … }
inline void WordBox::_internal_set_estimate_gray_success(bool value) { … }
inline void WordBox::set_estimate_gray_success(bool value) { … }
inline bool SymbolBox::_internal_has_bounding_box() const { … }
inline bool SymbolBox::has_bounding_box() const { … }
inline void SymbolBox::clear_bounding_box() { … }
inline const ::chrome_screen_ai::Rect& SymbolBox::_internal_bounding_box() const { … }
inline const ::chrome_screen_ai::Rect& SymbolBox::bounding_box() const { … }
inline void SymbolBox::unsafe_arena_set_allocated_bounding_box(
::chrome_screen_ai::Rect* bounding_box) { … }
inline ::chrome_screen_ai::Rect* SymbolBox::release_bounding_box() { … }
inline ::chrome_screen_ai::Rect* SymbolBox::unsafe_arena_release_bounding_box() { … }
inline ::chrome_screen_ai::Rect* SymbolBox::_internal_mutable_bounding_box() { … }
inline ::chrome_screen_ai::Rect* SymbolBox::mutable_bounding_box() { … }
inline void SymbolBox::set_allocated_bounding_box(::chrome_screen_ai::Rect* bounding_box) { … }
inline void SymbolBox::clear_utf8_string() { … }
inline const std::string& SymbolBox::utf8_string() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SymbolBox::set_utf8_string(ArgT0&& arg0, ArgT... args) { … }
inline std::string* SymbolBox::mutable_utf8_string() { … }
inline const std::string& SymbolBox::_internal_utf8_string() const { … }
inline void SymbolBox::_internal_set_utf8_string(const std::string& value) { … }
inline std::string* SymbolBox::_internal_mutable_utf8_string() { … }
inline std::string* SymbolBox::release_utf8_string() { … }
inline void SymbolBox::set_allocated_utf8_string(std::string* utf8_string) { … }
inline void SymbolBox::clear_confidence() { … }
inline float SymbolBox::_internal_confidence() const { … }
inline float SymbolBox::confidence() const { … }
inline void SymbolBox::_internal_set_confidence(float value) { … }
inline void SymbolBox::set_confidence(float value) { … }
inline int VisualAnnotation::_internal_lines_size() const { … }
inline int VisualAnnotation::lines_size() const { … }
inline void VisualAnnotation::clear_lines() { … }
inline ::chrome_screen_ai::LineBox* VisualAnnotation::mutable_lines(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_screen_ai::LineBox >*
VisualAnnotation::mutable_lines() { … }
inline const ::chrome_screen_ai::LineBox& VisualAnnotation::_internal_lines(int index) const { … }
inline const ::chrome_screen_ai::LineBox& VisualAnnotation::lines(int index) const { … }
inline ::chrome_screen_ai::LineBox* VisualAnnotation::_internal_add_lines() { … }
inline ::chrome_screen_ai::LineBox* VisualAnnotation::add_lines() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::chrome_screen_ai::LineBox >&
VisualAnnotation::lines() const { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::chrome_screen_ai::Direction> : ::std::true_type { … };
template <> struct is_proto_enum< ::chrome_screen_ai::Orientation> : ::std::true_type { … };
template <> struct is_proto_enum< ::chrome_screen_ai::ContentType> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif