Skip to content

File tensors_to_landmarks_calculator.pb.h

File List > calculators > tensor > tensors_to_landmarks_calculator.pb.h

Go to the documentation of this file

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: mediapipe/calculators/tensor/tensors_to_landmarks_calculator.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5flandmarks_5fcalculator_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5flandmarks_5fcalculator_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3019000
#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 3019001 < 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_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "mediapipe/framework/calculator.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5flandmarks_5fcalculator_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5flandmarks_5fcalculator_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5flandmarks_5fcalculator_2eproto;
namespace mediapipe {
class TensorsToLandmarksCalculatorOptions;
struct TensorsToLandmarksCalculatorOptionsDefaultTypeInternal;
extern TensorsToLandmarksCalculatorOptionsDefaultTypeInternal _TensorsToLandmarksCalculatorOptions_default_instance_;
}  // namespace mediapipe
PROTOBUF_NAMESPACE_OPEN
template<> ::mediapipe::TensorsToLandmarksCalculatorOptions* Arena::CreateMaybeMessage<::mediapipe::TensorsToLandmarksCalculatorOptions>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace mediapipe {

enum TensorsToLandmarksCalculatorOptions_Activation : int {
  TensorsToLandmarksCalculatorOptions_Activation_NONE = 0,
  TensorsToLandmarksCalculatorOptions_Activation_SIGMOID = 1
};
bool TensorsToLandmarksCalculatorOptions_Activation_IsValid(int value);
constexpr TensorsToLandmarksCalculatorOptions_Activation TensorsToLandmarksCalculatorOptions_Activation_Activation_MIN = TensorsToLandmarksCalculatorOptions_Activation_NONE;
constexpr TensorsToLandmarksCalculatorOptions_Activation TensorsToLandmarksCalculatorOptions_Activation_Activation_MAX = TensorsToLandmarksCalculatorOptions_Activation_SIGMOID;
constexpr int TensorsToLandmarksCalculatorOptions_Activation_Activation_ARRAYSIZE = TensorsToLandmarksCalculatorOptions_Activation_Activation_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TensorsToLandmarksCalculatorOptions_Activation_descriptor();
template<typename T>
inline const std::string& TensorsToLandmarksCalculatorOptions_Activation_Name(T enum_t_value) {
  static_assert(::std::is_same<T, TensorsToLandmarksCalculatorOptions_Activation>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function TensorsToLandmarksCalculatorOptions_Activation_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    TensorsToLandmarksCalculatorOptions_Activation_descriptor(), enum_t_value);
}
inline bool TensorsToLandmarksCalculatorOptions_Activation_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TensorsToLandmarksCalculatorOptions_Activation* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TensorsToLandmarksCalculatorOptions_Activation>(
    TensorsToLandmarksCalculatorOptions_Activation_descriptor(), name, value);
}
// ===================================================================

class TensorsToLandmarksCalculatorOptions final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:mediapipe.TensorsToLandmarksCalculatorOptions) */ {
 public:
  inline TensorsToLandmarksCalculatorOptions() : TensorsToLandmarksCalculatorOptions(nullptr) {}
  ~TensorsToLandmarksCalculatorOptions() override;
  explicit constexpr TensorsToLandmarksCalculatorOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  TensorsToLandmarksCalculatorOptions(const TensorsToLandmarksCalculatorOptions& from);
  TensorsToLandmarksCalculatorOptions(TensorsToLandmarksCalculatorOptions&& from) noexcept
    : TensorsToLandmarksCalculatorOptions() {
    *this = ::std::move(from);
  }

  inline TensorsToLandmarksCalculatorOptions& operator=(const TensorsToLandmarksCalculatorOptions& from) {
    CopyFrom(from);
    return *this;
  }
  inline TensorsToLandmarksCalculatorOptions& operator=(TensorsToLandmarksCalculatorOptions&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const TensorsToLandmarksCalculatorOptions& default_instance() {
    return *internal_default_instance();
  }
  static inline const TensorsToLandmarksCalculatorOptions* internal_default_instance() {
    return reinterpret_cast<const TensorsToLandmarksCalculatorOptions*>(
               &_TensorsToLandmarksCalculatorOptions_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(TensorsToLandmarksCalculatorOptions& a, TensorsToLandmarksCalculatorOptions& b) {
    a.Swap(&b);
  }
  inline void Swap(TensorsToLandmarksCalculatorOptions* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(TensorsToLandmarksCalculatorOptions* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  TensorsToLandmarksCalculatorOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<TensorsToLandmarksCalculatorOptions>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const TensorsToLandmarksCalculatorOptions& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom(const TensorsToLandmarksCalculatorOptions& from);
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  uint8_t* _InternalSerialize(
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(TensorsToLandmarksCalculatorOptions* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "mediapipe.TensorsToLandmarksCalculatorOptions";
  }
  protected:
  explicit TensorsToLandmarksCalculatorOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

  // nested types ----------------------------------------------------

  typedef TensorsToLandmarksCalculatorOptions_Activation Activation;
  static constexpr Activation NONE =
    TensorsToLandmarksCalculatorOptions_Activation_NONE;
  static constexpr Activation SIGMOID =
    TensorsToLandmarksCalculatorOptions_Activation_SIGMOID;
  static inline bool Activation_IsValid(int value) {
    return TensorsToLandmarksCalculatorOptions_Activation_IsValid(value);
  }
  static constexpr Activation Activation_MIN =
    TensorsToLandmarksCalculatorOptions_Activation_Activation_MIN;
  static constexpr Activation Activation_MAX =
    TensorsToLandmarksCalculatorOptions_Activation_Activation_MAX;
  static constexpr int Activation_ARRAYSIZE =
    TensorsToLandmarksCalculatorOptions_Activation_Activation_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  Activation_descriptor() {
    return TensorsToLandmarksCalculatorOptions_Activation_descriptor();
  }
  template<typename T>
  static inline const std::string& Activation_Name(T enum_t_value) {
    static_assert(::std::is_same<T, Activation>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function Activation_Name.");
    return TensorsToLandmarksCalculatorOptions_Activation_Name(enum_t_value);
  }
  static inline bool Activation_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
      Activation* value) {
    return TensorsToLandmarksCalculatorOptions_Activation_Parse(name, value);
  }

  // accessors -------------------------------------------------------

  enum : int {
    kNumLandmarksFieldNumber = 1,
    kInputImageWidthFieldNumber = 2,
    kInputImageHeightFieldNumber = 3,
    kFlipVerticallyFieldNumber = 4,
    kFlipHorizontallyFieldNumber = 6,
    kVisibilityActivationFieldNumber = 7,
    kPresenceActivationFieldNumber = 8,
    kNormalizeZFieldNumber = 5,
  };
  // optional int32 num_landmarks = 1;
  bool has_num_landmarks() const;
  private:
  bool _internal_has_num_landmarks() const;
  public:
  void clear_num_landmarks();
  int32_t num_landmarks() const;
  void set_num_landmarks(int32_t value);
  private:
  int32_t _internal_num_landmarks() const;
  void _internal_set_num_landmarks(int32_t value);
  public:

  // optional int32 input_image_width = 2;
  bool has_input_image_width() const;
  private:
  bool _internal_has_input_image_width() const;
  public:
  void clear_input_image_width();
  int32_t input_image_width() const;
  void set_input_image_width(int32_t value);
  private:
  int32_t _internal_input_image_width() const;
  void _internal_set_input_image_width(int32_t value);
  public:

  // optional int32 input_image_height = 3;
  bool has_input_image_height() const;
  private:
  bool _internal_has_input_image_height() const;
  public:
  void clear_input_image_height();
  int32_t input_image_height() const;
  void set_input_image_height(int32_t value);
  private:
  int32_t _internal_input_image_height() const;
  void _internal_set_input_image_height(int32_t value);
  public:

  // optional bool flip_vertically = 4 [default = false];
  bool has_flip_vertically() const;
  private:
  bool _internal_has_flip_vertically() const;
  public:
  void clear_flip_vertically();
  bool flip_vertically() const;
  void set_flip_vertically(bool value);
  private:
  bool _internal_flip_vertically() const;
  void _internal_set_flip_vertically(bool value);
  public:

  // optional bool flip_horizontally = 6 [default = false];
  bool has_flip_horizontally() const;
  private:
  bool _internal_has_flip_horizontally() const;
  public:
  void clear_flip_horizontally();
  bool flip_horizontally() const;
  void set_flip_horizontally(bool value);
  private:
  bool _internal_flip_horizontally() const;
  void _internal_set_flip_horizontally(bool value);
  public:

  // optional .mediapipe.TensorsToLandmarksCalculatorOptions.Activation visibility_activation = 7 [default = NONE];
  bool has_visibility_activation() const;
  private:
  bool _internal_has_visibility_activation() const;
  public:
  void clear_visibility_activation();
  ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation visibility_activation() const;
  void set_visibility_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value);
  private:
  ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation _internal_visibility_activation() const;
  void _internal_set_visibility_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value);
  public:

  // optional .mediapipe.TensorsToLandmarksCalculatorOptions.Activation presence_activation = 8 [default = NONE];
  bool has_presence_activation() const;
  private:
  bool _internal_has_presence_activation() const;
  public:
  void clear_presence_activation();
  ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation presence_activation() const;
  void set_presence_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value);
  private:
  ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation _internal_presence_activation() const;
  void _internal_set_presence_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value);
  public:

  // optional float normalize_z = 5 [default = 1];
  bool has_normalize_z() const;
  private:
  bool _internal_has_normalize_z() const;
  public:
  void clear_normalize_z();
  float normalize_z() const;
  void set_normalize_z(float value);
  private:
  float _internal_normalize_z() const;
  void _internal_set_normalize_z(float value);
  public:

  static const int kExtFieldNumber = 335742640;
  static ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::mediapipe::CalculatorOptions,
      ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::mediapipe::TensorsToLandmarksCalculatorOptions >, 11, false >
    ext;
  // @@protoc_insertion_point(class_scope:mediapipe.TensorsToLandmarksCalculatorOptions)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  int32_t num_landmarks_;
  int32_t input_image_width_;
  int32_t input_image_height_;
  bool flip_vertically_;
  bool flip_horizontally_;
  int visibility_activation_;
  int presence_activation_;
  float normalize_z_;
  friend struct ::TableStruct_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5flandmarks_5fcalculator_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// TensorsToLandmarksCalculatorOptions

// optional int32 num_landmarks = 1;
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_num_landmarks() const {
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_num_landmarks() const {
  return _internal_has_num_landmarks();
}
inline void TensorsToLandmarksCalculatorOptions::clear_num_landmarks() {
  num_landmarks_ = 0;
  _has_bits_[0] &= ~0x00000001u;
}
inline int32_t TensorsToLandmarksCalculatorOptions::_internal_num_landmarks() const {
  return num_landmarks_;
}
inline int32_t TensorsToLandmarksCalculatorOptions::num_landmarks() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.num_landmarks)
  return _internal_num_landmarks();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_num_landmarks(int32_t value) {
  _has_bits_[0] |= 0x00000001u;
  num_landmarks_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_num_landmarks(int32_t value) {
  _internal_set_num_landmarks(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.num_landmarks)
}

// optional int32 input_image_width = 2;
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_input_image_width() const {
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_input_image_width() const {
  return _internal_has_input_image_width();
}
inline void TensorsToLandmarksCalculatorOptions::clear_input_image_width() {
  input_image_width_ = 0;
  _has_bits_[0] &= ~0x00000002u;
}
inline int32_t TensorsToLandmarksCalculatorOptions::_internal_input_image_width() const {
  return input_image_width_;
}
inline int32_t TensorsToLandmarksCalculatorOptions::input_image_width() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.input_image_width)
  return _internal_input_image_width();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_input_image_width(int32_t value) {
  _has_bits_[0] |= 0x00000002u;
  input_image_width_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_input_image_width(int32_t value) {
  _internal_set_input_image_width(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.input_image_width)
}

// optional int32 input_image_height = 3;
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_input_image_height() const {
  bool value = (_has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_input_image_height() const {
  return _internal_has_input_image_height();
}
inline void TensorsToLandmarksCalculatorOptions::clear_input_image_height() {
  input_image_height_ = 0;
  _has_bits_[0] &= ~0x00000004u;
}
inline int32_t TensorsToLandmarksCalculatorOptions::_internal_input_image_height() const {
  return input_image_height_;
}
inline int32_t TensorsToLandmarksCalculatorOptions::input_image_height() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.input_image_height)
  return _internal_input_image_height();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_input_image_height(int32_t value) {
  _has_bits_[0] |= 0x00000004u;
  input_image_height_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_input_image_height(int32_t value) {
  _internal_set_input_image_height(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.input_image_height)
}

// optional bool flip_vertically = 4 [default = false];
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_flip_vertically() const {
  bool value = (_has_bits_[0] & 0x00000008u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_flip_vertically() const {
  return _internal_has_flip_vertically();
}
inline void TensorsToLandmarksCalculatorOptions::clear_flip_vertically() {
  flip_vertically_ = false;
  _has_bits_[0] &= ~0x00000008u;
}
inline bool TensorsToLandmarksCalculatorOptions::_internal_flip_vertically() const {
  return flip_vertically_;
}
inline bool TensorsToLandmarksCalculatorOptions::flip_vertically() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.flip_vertically)
  return _internal_flip_vertically();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_flip_vertically(bool value) {
  _has_bits_[0] |= 0x00000008u;
  flip_vertically_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_flip_vertically(bool value) {
  _internal_set_flip_vertically(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.flip_vertically)
}

// optional bool flip_horizontally = 6 [default = false];
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_flip_horizontally() const {
  bool value = (_has_bits_[0] & 0x00000010u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_flip_horizontally() const {
  return _internal_has_flip_horizontally();
}
inline void TensorsToLandmarksCalculatorOptions::clear_flip_horizontally() {
  flip_horizontally_ = false;
  _has_bits_[0] &= ~0x00000010u;
}
inline bool TensorsToLandmarksCalculatorOptions::_internal_flip_horizontally() const {
  return flip_horizontally_;
}
inline bool TensorsToLandmarksCalculatorOptions::flip_horizontally() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.flip_horizontally)
  return _internal_flip_horizontally();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_flip_horizontally(bool value) {
  _has_bits_[0] |= 0x00000010u;
  flip_horizontally_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_flip_horizontally(bool value) {
  _internal_set_flip_horizontally(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.flip_horizontally)
}

// optional float normalize_z = 5 [default = 1];
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_normalize_z() const {
  bool value = (_has_bits_[0] & 0x00000080u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_normalize_z() const {
  return _internal_has_normalize_z();
}
inline void TensorsToLandmarksCalculatorOptions::clear_normalize_z() {
  normalize_z_ = 1;
  _has_bits_[0] &= ~0x00000080u;
}
inline float TensorsToLandmarksCalculatorOptions::_internal_normalize_z() const {
  return normalize_z_;
}
inline float TensorsToLandmarksCalculatorOptions::normalize_z() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.normalize_z)
  return _internal_normalize_z();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_normalize_z(float value) {
  _has_bits_[0] |= 0x00000080u;
  normalize_z_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_normalize_z(float value) {
  _internal_set_normalize_z(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.normalize_z)
}

// optional .mediapipe.TensorsToLandmarksCalculatorOptions.Activation visibility_activation = 7 [default = NONE];
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_visibility_activation() const {
  bool value = (_has_bits_[0] & 0x00000020u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_visibility_activation() const {
  return _internal_has_visibility_activation();
}
inline void TensorsToLandmarksCalculatorOptions::clear_visibility_activation() {
  visibility_activation_ = 0;
  _has_bits_[0] &= ~0x00000020u;
}
inline ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation TensorsToLandmarksCalculatorOptions::_internal_visibility_activation() const {
  return static_cast< ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation >(visibility_activation_);
}
inline ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation TensorsToLandmarksCalculatorOptions::visibility_activation() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.visibility_activation)
  return _internal_visibility_activation();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_visibility_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value) {
  assert(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation_IsValid(value));
  _has_bits_[0] |= 0x00000020u;
  visibility_activation_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_visibility_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value) {
  _internal_set_visibility_activation(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.visibility_activation)
}

// optional .mediapipe.TensorsToLandmarksCalculatorOptions.Activation presence_activation = 8 [default = NONE];
inline bool TensorsToLandmarksCalculatorOptions::_internal_has_presence_activation() const {
  bool value = (_has_bits_[0] & 0x00000040u) != 0;
  return value;
}
inline bool TensorsToLandmarksCalculatorOptions::has_presence_activation() const {
  return _internal_has_presence_activation();
}
inline void TensorsToLandmarksCalculatorOptions::clear_presence_activation() {
  presence_activation_ = 0;
  _has_bits_[0] &= ~0x00000040u;
}
inline ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation TensorsToLandmarksCalculatorOptions::_internal_presence_activation() const {
  return static_cast< ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation >(presence_activation_);
}
inline ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation TensorsToLandmarksCalculatorOptions::presence_activation() const {
  // @@protoc_insertion_point(field_get:mediapipe.TensorsToLandmarksCalculatorOptions.presence_activation)
  return _internal_presence_activation();
}
inline void TensorsToLandmarksCalculatorOptions::_internal_set_presence_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value) {
  assert(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation_IsValid(value));
  _has_bits_[0] |= 0x00000040u;
  presence_activation_ = value;
}
inline void TensorsToLandmarksCalculatorOptions::set_presence_activation(::mediapipe::TensorsToLandmarksCalculatorOptions_Activation value) {
  _internal_set_presence_activation(value);
  // @@protoc_insertion_point(field_set:mediapipe.TensorsToLandmarksCalculatorOptions.presence_activation)
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)

}  // namespace mediapipe

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation>() {
  return ::mediapipe::TensorsToLandmarksCalculatorOptions_Activation_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5flandmarks_5fcalculator_2eproto