#ifndef GOOGLE_PROTOBUF_INCLUDED_lens_5foverlay_5fdeep_5fgleam_5fdata_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_lens_5foverlay_5fdeep_5fgleam_5fdata_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_text.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_lens_5foverlay_5fdeep_5fgleam_5fdata_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_lens_5foverlay_5fdeep_5fgleam_5fdata_2eproto { … };
namespace lens {
class DeepGleamData;
struct DeepGleamDataDefaultTypeInternal;
extern DeepGleamDataDefaultTypeInternal _DeepGleamData_default_instance_;
class TranslationData;
struct TranslationDataDefaultTypeInternal;
extern TranslationDataDefaultTypeInternal _TranslationData_default_instance_;
class TranslationData_BackgroundImageData;
struct TranslationData_BackgroundImageDataDefaultTypeInternal;
extern TranslationData_BackgroundImageDataDefaultTypeInternal _TranslationData_BackgroundImageData_default_instance_;
class TranslationData_Line;
struct TranslationData_LineDefaultTypeInternal;
extern TranslationData_LineDefaultTypeInternal _TranslationData_Line_default_instance_;
class TranslationData_Line_Word;
struct TranslationData_Line_WordDefaultTypeInternal;
extern TranslationData_Line_WordDefaultTypeInternal _TranslationData_Line_Word_default_instance_;
class TranslationData_Status;
struct TranslationData_StatusDefaultTypeInternal;
extern TranslationData_StatusDefaultTypeInternal _TranslationData_Status_default_instance_;
class TranslationData_TextStyle;
struct TranslationData_TextStyleDefaultTypeInternal;
extern TranslationData_TextStyleDefaultTypeInternal _TranslationData_TextStyle_default_instance_;
}
PROTOBUF_NAMESPACE_OPEN
template<> ::lens::DeepGleamData* Arena::CreateMaybeMessage<::lens::DeepGleamData>(Arena*);
template<> ::lens::TranslationData* Arena::CreateMaybeMessage<::lens::TranslationData>(Arena*);
template<> ::lens::TranslationData_BackgroundImageData* Arena::CreateMaybeMessage<::lens::TranslationData_BackgroundImageData>(Arena*);
template<> ::lens::TranslationData_Line* Arena::CreateMaybeMessage<::lens::TranslationData_Line>(Arena*);
template<> ::lens::TranslationData_Line_Word* Arena::CreateMaybeMessage<::lens::TranslationData_Line_Word>(Arena*);
template<> ::lens::TranslationData_Status* Arena::CreateMaybeMessage<::lens::TranslationData_Status>(Arena*);
template<> ::lens::TranslationData_TextStyle* Arena::CreateMaybeMessage<::lens::TranslationData_TextStyle>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace lens {
enum TranslationData_Status_Code : int { … };
bool TranslationData_Status_Code_IsValid(int value);
constexpr TranslationData_Status_Code TranslationData_Status_Code_Code_MIN = …;
constexpr TranslationData_Status_Code TranslationData_Status_Code_Code_MAX = …;
constexpr int TranslationData_Status_Code_Code_ARRAYSIZE = …;
const std::string& TranslationData_Status_Code_Name(TranslationData_Status_Code value);
template<typename T>
inline const std::string& TranslationData_Status_Code_Name(T enum_t_value) { … }
bool TranslationData_Status_Code_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslationData_Status_Code* value);
enum TranslationData_BackgroundImageData_FileFormat : int { … };
bool TranslationData_BackgroundImageData_FileFormat_IsValid(int value);
constexpr TranslationData_BackgroundImageData_FileFormat TranslationData_BackgroundImageData_FileFormat_FileFormat_MIN = …;
constexpr TranslationData_BackgroundImageData_FileFormat TranslationData_BackgroundImageData_FileFormat_FileFormat_MAX = …;
constexpr int TranslationData_BackgroundImageData_FileFormat_FileFormat_ARRAYSIZE = …;
const std::string& TranslationData_BackgroundImageData_FileFormat_Name(TranslationData_BackgroundImageData_FileFormat value);
template<typename T>
inline const std::string& TranslationData_BackgroundImageData_FileFormat_Name(T enum_t_value) { … }
bool TranslationData_BackgroundImageData_FileFormat_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslationData_BackgroundImageData_FileFormat* value);
class DeepGleamData final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TranslationData_Status final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TranslationData_TextStyle final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TranslationData_BackgroundImageData final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TranslationData_Line_Word final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TranslationData_Line final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TranslationData final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool DeepGleamData::_internal_has_translation() const { … }
inline bool DeepGleamData::has_translation() const { … }
inline void DeepGleamData::set_has_translation() { … }
inline void DeepGleamData::clear_translation() { … }
inline ::lens::TranslationData* DeepGleamData::release_translation() { … }
inline const ::lens::TranslationData& DeepGleamData::_internal_translation() const { … }
inline const ::lens::TranslationData& DeepGleamData::translation() const { … }
inline ::lens::TranslationData* DeepGleamData::unsafe_arena_release_translation() { … }
inline void DeepGleamData::unsafe_arena_set_allocated_translation(::lens::TranslationData* translation) { … }
inline ::lens::TranslationData* DeepGleamData::_internal_mutable_translation() { … }
inline ::lens::TranslationData* DeepGleamData::mutable_translation() { … }
inline int DeepGleamData::_internal_visual_object_id_size() const { … }
inline int DeepGleamData::visual_object_id_size() const { … }
inline void DeepGleamData::clear_visual_object_id() { … }
inline std::string* DeepGleamData::add_visual_object_id() { … }
inline const std::string& DeepGleamData::_internal_visual_object_id(int index) const { … }
inline const std::string& DeepGleamData::visual_object_id(int index) const { … }
inline std::string* DeepGleamData::mutable_visual_object_id(int index) { … }
inline void DeepGleamData::set_visual_object_id(int index, const std::string& value) { … }
inline void DeepGleamData::set_visual_object_id(int index, std::string&& value) { … }
inline void DeepGleamData::set_visual_object_id(int index, const char* value) { … }
inline void DeepGleamData::set_visual_object_id(int index, const char* value, size_t size) { … }
inline std::string* DeepGleamData::_internal_add_visual_object_id() { … }
inline void DeepGleamData::add_visual_object_id(const std::string& value) { … }
inline void DeepGleamData::add_visual_object_id(std::string&& value) { … }
inline void DeepGleamData::add_visual_object_id(const char* value) { … }
inline void DeepGleamData::add_visual_object_id(const char* value, size_t size) { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
DeepGleamData::visual_object_id() const { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
DeepGleamData::mutable_visual_object_id() { … }
inline bool DeepGleamData::has_rendering_oneof() const { … }
inline void DeepGleamData::clear_has_rendering_oneof() { … }
inline DeepGleamData::RenderingOneofCase DeepGleamData::rendering_oneof_case() const { … }
inline void TranslationData_Status::clear_code() { … }
inline ::lens::TranslationData_Status_Code TranslationData_Status::_internal_code() const { … }
inline ::lens::TranslationData_Status_Code TranslationData_Status::code() const { … }
inline void TranslationData_Status::_internal_set_code(::lens::TranslationData_Status_Code value) { … }
inline void TranslationData_Status::set_code(::lens::TranslationData_Status_Code value) { … }
inline void TranslationData_TextStyle::clear_text_color() { … }
inline uint32_t TranslationData_TextStyle::_internal_text_color() const { … }
inline uint32_t TranslationData_TextStyle::text_color() const { … }
inline void TranslationData_TextStyle::_internal_set_text_color(uint32_t value) { … }
inline void TranslationData_TextStyle::set_text_color(uint32_t value) { … }
inline void TranslationData_TextStyle::clear_background_primary_color() { … }
inline uint32_t TranslationData_TextStyle::_internal_background_primary_color() const { … }
inline uint32_t TranslationData_TextStyle::background_primary_color() const { … }
inline void TranslationData_TextStyle::_internal_set_background_primary_color(uint32_t value) { … }
inline void TranslationData_TextStyle::set_background_primary_color(uint32_t value) { … }
inline void TranslationData_BackgroundImageData::clear_background_image() { … }
inline const std::string& TranslationData_BackgroundImageData::background_image() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslationData_BackgroundImageData::set_background_image(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TranslationData_BackgroundImageData::mutable_background_image() { … }
inline const std::string& TranslationData_BackgroundImageData::_internal_background_image() const { … }
inline void TranslationData_BackgroundImageData::_internal_set_background_image(const std::string& value) { … }
inline std::string* TranslationData_BackgroundImageData::_internal_mutable_background_image() { … }
inline std::string* TranslationData_BackgroundImageData::release_background_image() { … }
inline void TranslationData_BackgroundImageData::set_allocated_background_image(std::string* background_image) { … }
inline void TranslationData_BackgroundImageData::clear_image_width() { … }
inline int32_t TranslationData_BackgroundImageData::_internal_image_width() const { … }
inline int32_t TranslationData_BackgroundImageData::image_width() const { … }
inline void TranslationData_BackgroundImageData::_internal_set_image_width(int32_t value) { … }
inline void TranslationData_BackgroundImageData::set_image_width(int32_t value) { … }
inline void TranslationData_BackgroundImageData::clear_image_height() { … }
inline int32_t TranslationData_BackgroundImageData::_internal_image_height() const { … }
inline int32_t TranslationData_BackgroundImageData::image_height() const { … }
inline void TranslationData_BackgroundImageData::_internal_set_image_height(int32_t value) { … }
inline void TranslationData_BackgroundImageData::set_image_height(int32_t value) { … }
inline void TranslationData_BackgroundImageData::clear_vertical_padding() { … }
inline float TranslationData_BackgroundImageData::_internal_vertical_padding() const { … }
inline float TranslationData_BackgroundImageData::vertical_padding() const { … }
inline void TranslationData_BackgroundImageData::_internal_set_vertical_padding(float value) { … }
inline void TranslationData_BackgroundImageData::set_vertical_padding(float value) { … }
inline void TranslationData_BackgroundImageData::clear_horizontal_padding() { … }
inline float TranslationData_BackgroundImageData::_internal_horizontal_padding() const { … }
inline float TranslationData_BackgroundImageData::horizontal_padding() const { … }
inline void TranslationData_BackgroundImageData::_internal_set_horizontal_padding(float value) { … }
inline void TranslationData_BackgroundImageData::set_horizontal_padding(float value) { … }
inline void TranslationData_BackgroundImageData::clear_file_format() { … }
inline ::lens::TranslationData_BackgroundImageData_FileFormat TranslationData_BackgroundImageData::_internal_file_format() const { … }
inline ::lens::TranslationData_BackgroundImageData_FileFormat TranslationData_BackgroundImageData::file_format() const { … }
inline void TranslationData_BackgroundImageData::_internal_set_file_format(::lens::TranslationData_BackgroundImageData_FileFormat value) { … }
inline void TranslationData_BackgroundImageData::set_file_format(::lens::TranslationData_BackgroundImageData_FileFormat value) { … }
inline void TranslationData_BackgroundImageData::clear_text_mask() { … }
inline const std::string& TranslationData_BackgroundImageData::text_mask() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslationData_BackgroundImageData::set_text_mask(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TranslationData_BackgroundImageData::mutable_text_mask() { … }
inline const std::string& TranslationData_BackgroundImageData::_internal_text_mask() const { … }
inline void TranslationData_BackgroundImageData::_internal_set_text_mask(const std::string& value) { … }
inline std::string* TranslationData_BackgroundImageData::_internal_mutable_text_mask() { … }
inline std::string* TranslationData_BackgroundImageData::release_text_mask() { … }
inline void TranslationData_BackgroundImageData::set_allocated_text_mask(std::string* text_mask) { … }
inline void TranslationData_Line_Word::clear_start() { … }
inline int32_t TranslationData_Line_Word::_internal_start() const { … }
inline int32_t TranslationData_Line_Word::start() const { … }
inline void TranslationData_Line_Word::_internal_set_start(int32_t value) { … }
inline void TranslationData_Line_Word::set_start(int32_t value) { … }
inline void TranslationData_Line_Word::clear_end() { … }
inline int32_t TranslationData_Line_Word::_internal_end() const { … }
inline int32_t TranslationData_Line_Word::end() const { … }
inline void TranslationData_Line_Word::_internal_set_end(int32_t value) { … }
inline void TranslationData_Line_Word::set_end(int32_t value) { … }
inline void TranslationData_Line::clear_start() { … }
inline int32_t TranslationData_Line::_internal_start() const { … }
inline int32_t TranslationData_Line::start() const { … }
inline void TranslationData_Line::_internal_set_start(int32_t value) { … }
inline void TranslationData_Line::set_start(int32_t value) { … }
inline void TranslationData_Line::clear_end() { … }
inline int32_t TranslationData_Line::_internal_end() const { … }
inline int32_t TranslationData_Line::end() const { … }
inline void TranslationData_Line::_internal_set_end(int32_t value) { … }
inline void TranslationData_Line::set_end(int32_t value) { … }
inline bool TranslationData_Line::_internal_has_style() const { … }
inline bool TranslationData_Line::has_style() const { … }
inline void TranslationData_Line::clear_style() { … }
inline const ::lens::TranslationData_TextStyle& TranslationData_Line::_internal_style() const { … }
inline const ::lens::TranslationData_TextStyle& TranslationData_Line::style() const { … }
inline void TranslationData_Line::unsafe_arena_set_allocated_style(
::lens::TranslationData_TextStyle* style) { … }
inline ::lens::TranslationData_TextStyle* TranslationData_Line::release_style() { … }
inline ::lens::TranslationData_TextStyle* TranslationData_Line::unsafe_arena_release_style() { … }
inline ::lens::TranslationData_TextStyle* TranslationData_Line::_internal_mutable_style() { … }
inline ::lens::TranslationData_TextStyle* TranslationData_Line::mutable_style() { … }
inline void TranslationData_Line::set_allocated_style(::lens::TranslationData_TextStyle* style) { … }
inline int TranslationData_Line::_internal_word_size() const { … }
inline int TranslationData_Line::word_size() const { … }
inline void TranslationData_Line::clear_word() { … }
inline ::lens::TranslationData_Line_Word* TranslationData_Line::mutable_word(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TranslationData_Line_Word >*
TranslationData_Line::mutable_word() { … }
inline const ::lens::TranslationData_Line_Word& TranslationData_Line::_internal_word(int index) const { … }
inline const ::lens::TranslationData_Line_Word& TranslationData_Line::word(int index) const { … }
inline ::lens::TranslationData_Line_Word* TranslationData_Line::_internal_add_word() { … }
inline ::lens::TranslationData_Line_Word* TranslationData_Line::add_word() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TranslationData_Line_Word >&
TranslationData_Line::word() const { … }
inline bool TranslationData_Line::_internal_has_background_image_data() const { … }
inline bool TranslationData_Line::has_background_image_data() const { … }
inline void TranslationData_Line::clear_background_image_data() { … }
inline const ::lens::TranslationData_BackgroundImageData& TranslationData_Line::_internal_background_image_data() const { … }
inline const ::lens::TranslationData_BackgroundImageData& TranslationData_Line::background_image_data() const { … }
inline void TranslationData_Line::unsafe_arena_set_allocated_background_image_data(
::lens::TranslationData_BackgroundImageData* background_image_data) { … }
inline ::lens::TranslationData_BackgroundImageData* TranslationData_Line::release_background_image_data() { … }
inline ::lens::TranslationData_BackgroundImageData* TranslationData_Line::unsafe_arena_release_background_image_data() { … }
inline ::lens::TranslationData_BackgroundImageData* TranslationData_Line::_internal_mutable_background_image_data() { … }
inline ::lens::TranslationData_BackgroundImageData* TranslationData_Line::mutable_background_image_data() { … }
inline void TranslationData_Line::set_allocated_background_image_data(::lens::TranslationData_BackgroundImageData* background_image_data) { … }
inline bool TranslationData::_internal_has_status() const { … }
inline bool TranslationData::has_status() const { … }
inline void TranslationData::clear_status() { … }
inline const ::lens::TranslationData_Status& TranslationData::_internal_status() const { … }
inline const ::lens::TranslationData_Status& TranslationData::status() const { … }
inline void TranslationData::unsafe_arena_set_allocated_status(
::lens::TranslationData_Status* status) { … }
inline ::lens::TranslationData_Status* TranslationData::release_status() { … }
inline ::lens::TranslationData_Status* TranslationData::unsafe_arena_release_status() { … }
inline ::lens::TranslationData_Status* TranslationData::_internal_mutable_status() { … }
inline ::lens::TranslationData_Status* TranslationData::mutable_status() { … }
inline void TranslationData::set_allocated_status(::lens::TranslationData_Status* status) { … }
inline void TranslationData::clear_target_language() { … }
inline const std::string& TranslationData::target_language() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslationData::set_target_language(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TranslationData::mutable_target_language() { … }
inline const std::string& TranslationData::_internal_target_language() const { … }
inline void TranslationData::_internal_set_target_language(const std::string& value) { … }
inline std::string* TranslationData::_internal_mutable_target_language() { … }
inline std::string* TranslationData::release_target_language() { … }
inline void TranslationData::set_allocated_target_language(std::string* target_language) { … }
inline void TranslationData::clear_source_language() { … }
inline const std::string& TranslationData::source_language() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslationData::set_source_language(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TranslationData::mutable_source_language() { … }
inline const std::string& TranslationData::_internal_source_language() const { … }
inline void TranslationData::_internal_set_source_language(const std::string& value) { … }
inline std::string* TranslationData::_internal_mutable_source_language() { … }
inline std::string* TranslationData::release_source_language() { … }
inline void TranslationData::set_allocated_source_language(std::string* source_language) { … }
inline void TranslationData::clear_translation() { … }
inline const std::string& TranslationData::translation() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TranslationData::set_translation(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TranslationData::mutable_translation() { … }
inline const std::string& TranslationData::_internal_translation() const { … }
inline void TranslationData::_internal_set_translation(const std::string& value) { … }
inline std::string* TranslationData::_internal_mutable_translation() { … }
inline std::string* TranslationData::release_translation() { … }
inline void TranslationData::set_allocated_translation(std::string* translation) { … }
inline int TranslationData::_internal_line_size() const { … }
inline int TranslationData::line_size() const { … }
inline void TranslationData::clear_line() { … }
inline ::lens::TranslationData_Line* TranslationData::mutable_line(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TranslationData_Line >*
TranslationData::mutable_line() { … }
inline const ::lens::TranslationData_Line& TranslationData::_internal_line(int index) const { … }
inline const ::lens::TranslationData_Line& TranslationData::line(int index) const { … }
inline ::lens::TranslationData_Line* TranslationData::_internal_add_line() { … }
inline ::lens::TranslationData_Line* TranslationData::add_line() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::lens::TranslationData_Line >&
TranslationData::line() const { … }
inline void TranslationData::clear_writing_direction() { … }
inline ::lens::WritingDirection TranslationData::_internal_writing_direction() const { … }
inline ::lens::WritingDirection TranslationData::writing_direction() const { … }
inline void TranslationData::_internal_set_writing_direction(::lens::WritingDirection value) { … }
inline void TranslationData::set_writing_direction(::lens::WritingDirection value) { … }
inline void TranslationData::clear_alignment() { … }
inline ::lens::Alignment TranslationData::_internal_alignment() const { … }
inline ::lens::Alignment TranslationData::alignment() const { … }
inline void TranslationData::_internal_set_alignment(::lens::Alignment value) { … }
inline void TranslationData::set_alignment(::lens::Alignment value) { … }
inline void TranslationData::clear_justified() { … }
inline bool TranslationData::_internal_justified() const { … }
inline bool TranslationData::justified() const { … }
inline void TranslationData::_internal_set_justified(bool value) { … }
inline void TranslationData::set_justified(bool value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::lens::TranslationData_Status_Code> : ::std::true_type { … };
template <> struct is_proto_enum< ::lens::TranslationData_BackgroundImageData_FileFormat> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif