// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/python/framework/cpp_shape_inference.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3015000
#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 3015008 < 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/unknown_field_set.h>
#include "tensorflow/core/framework/types.pb.h"
#include "tensorflow/core/framework/tensor_shape.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_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[4]
    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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto;
::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto_metadata_getter(int index);
namespace tensorflow {
class CppShapeInferenceInputsNeeded;
struct CppShapeInferenceInputsNeededDefaultTypeInternal;
extern CppShapeInferenceInputsNeededDefaultTypeInternal _CppShapeInferenceInputsNeeded_default_instance_;
class CppShapeInferenceResult;
struct CppShapeInferenceResultDefaultTypeInternal;
extern CppShapeInferenceResultDefaultTypeInternal _CppShapeInferenceResult_default_instance_;
class CppShapeInferenceResult_HandleData;
struct CppShapeInferenceResult_HandleDataDefaultTypeInternal;
extern CppShapeInferenceResult_HandleDataDefaultTypeInternal _CppShapeInferenceResult_HandleData_default_instance_;
class CppShapeInferenceResult_HandleShapeAndType;
struct CppShapeInferenceResult_HandleShapeAndTypeDefaultTypeInternal;
extern CppShapeInferenceResult_HandleShapeAndTypeDefaultTypeInternal _CppShapeInferenceResult_HandleShapeAndType_default_instance_;
}  // namespace tensorflow
PROTOBUF_NAMESPACE_OPEN
template<> ::tensorflow::CppShapeInferenceInputsNeeded* Arena::CreateMaybeMessage<::tensorflow::CppShapeInferenceInputsNeeded>(Arena*);
template<> ::tensorflow::CppShapeInferenceResult* Arena::CreateMaybeMessage<::tensorflow::CppShapeInferenceResult>(Arena*);
template<> ::tensorflow::CppShapeInferenceResult_HandleData* Arena::CreateMaybeMessage<::tensorflow::CppShapeInferenceResult_HandleData>(Arena*);
template<> ::tensorflow::CppShapeInferenceResult_HandleShapeAndType* Arena::CreateMaybeMessage<::tensorflow::CppShapeInferenceResult_HandleShapeAndType>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace tensorflow {

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

class CppShapeInferenceResult_HandleShapeAndType PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CppShapeInferenceResult.HandleShapeAndType) */ {
 public:
  inline CppShapeInferenceResult_HandleShapeAndType() : CppShapeInferenceResult_HandleShapeAndType(nullptr) {}
  virtual ~CppShapeInferenceResult_HandleShapeAndType();
  explicit constexpr CppShapeInferenceResult_HandleShapeAndType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline CppShapeInferenceResult_HandleShapeAndType& operator=(const CppShapeInferenceResult_HandleShapeAndType& from) {
    CopyFrom(from);
    return *this;
  }
  inline CppShapeInferenceResult_HandleShapeAndType& operator=(CppShapeInferenceResult_HandleShapeAndType&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

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

  friend void swap(CppShapeInferenceResult_HandleShapeAndType& a, CppShapeInferenceResult_HandleShapeAndType& b) {
    a.Swap(&b);
  }
  inline void Swap(CppShapeInferenceResult_HandleShapeAndType* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(CppShapeInferenceResult_HandleShapeAndType* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  inline CppShapeInferenceResult_HandleShapeAndType* New() const final {
    return CreateMaybeMessage<CppShapeInferenceResult_HandleShapeAndType>(nullptr);
  }

  CppShapeInferenceResult_HandleShapeAndType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<CppShapeInferenceResult_HandleShapeAndType>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const CppShapeInferenceResult_HandleShapeAndType& from);
  void MergeFrom(const CppShapeInferenceResult_HandleShapeAndType& from);
  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;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(CppShapeInferenceResult_HandleShapeAndType* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.CppShapeInferenceResult.HandleShapeAndType";
  }
  protected:
  explicit CppShapeInferenceResult_HandleShapeAndType(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

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

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

  enum : int {
    kShapeFieldNumber = 1,
    kDtypeFieldNumber = 2,
    kSpecializedTypeFieldNumber = 3,
  };
  // .tensorflow.TensorShapeProto shape = 1;
  bool has_shape() const;
  private:
  bool _internal_has_shape() const;
  public:
  void clear_shape();
  const ::tensorflow::TensorShapeProto& shape() const;
  ::tensorflow::TensorShapeProto* release_shape();
  ::tensorflow::TensorShapeProto* mutable_shape();
  void set_allocated_shape(::tensorflow::TensorShapeProto* shape);
  private:
  const ::tensorflow::TensorShapeProto& _internal_shape() const;
  ::tensorflow::TensorShapeProto* _internal_mutable_shape();
  public:
  void unsafe_arena_set_allocated_shape(
      ::tensorflow::TensorShapeProto* shape);
  ::tensorflow::TensorShapeProto* unsafe_arena_release_shape();

  // .tensorflow.DataType dtype = 2;
  void clear_dtype();
  ::tensorflow::DataType dtype() const;
  void set_dtype(::tensorflow::DataType value);
  private:
  ::tensorflow::DataType _internal_dtype() const;
  void _internal_set_dtype(::tensorflow::DataType value);
  public:

  // .tensorflow.SpecializedType specialized_type = 3;
  void clear_specialized_type();
  ::tensorflow::SpecializedType specialized_type() const;
  void set_specialized_type(::tensorflow::SpecializedType value);
  private:
  ::tensorflow::SpecializedType _internal_specialized_type() const;
  void _internal_set_specialized_type(::tensorflow::SpecializedType value);
  public:

  // @@protoc_insertion_point(class_scope:tensorflow.CppShapeInferenceResult.HandleShapeAndType)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::tensorflow::TensorShapeProto* shape_;
  int dtype_;
  int specialized_type_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto;
};
// -------------------------------------------------------------------

class CppShapeInferenceResult_HandleData PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CppShapeInferenceResult.HandleData) */ {
 public:
  inline CppShapeInferenceResult_HandleData() : CppShapeInferenceResult_HandleData(nullptr) {}
  virtual ~CppShapeInferenceResult_HandleData();
  explicit constexpr CppShapeInferenceResult_HandleData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline CppShapeInferenceResult_HandleData& operator=(const CppShapeInferenceResult_HandleData& from) {
    CopyFrom(from);
    return *this;
  }
  inline CppShapeInferenceResult_HandleData& operator=(CppShapeInferenceResult_HandleData&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const CppShapeInferenceResult_HandleData& default_instance() {
    return *internal_default_instance();
  }
  static inline const CppShapeInferenceResult_HandleData* internal_default_instance() {
    return reinterpret_cast<const CppShapeInferenceResult_HandleData*>(
               &_CppShapeInferenceResult_HandleData_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(CppShapeInferenceResult_HandleData& a, CppShapeInferenceResult_HandleData& b) {
    a.Swap(&b);
  }
  inline void Swap(CppShapeInferenceResult_HandleData* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(CppShapeInferenceResult_HandleData* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  inline CppShapeInferenceResult_HandleData* New() const final {
    return CreateMaybeMessage<CppShapeInferenceResult_HandleData>(nullptr);
  }

  CppShapeInferenceResult_HandleData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<CppShapeInferenceResult_HandleData>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const CppShapeInferenceResult_HandleData& from);
  void MergeFrom(const CppShapeInferenceResult_HandleData& from);
  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;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(CppShapeInferenceResult_HandleData* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.CppShapeInferenceResult.HandleData";
  }
  protected:
  explicit CppShapeInferenceResult_HandleData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

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

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

  enum : int {
    kShapeAndTypeFieldNumber = 2,
    kIsSetFieldNumber = 1,
  };
  // repeated .tensorflow.CppShapeInferenceResult.HandleShapeAndType shape_and_type = 2;
  int shape_and_type_size() const;
  private:
  int _internal_shape_and_type_size() const;
  public:
  void clear_shape_and_type();
  ::tensorflow::CppShapeInferenceResult_HandleShapeAndType* mutable_shape_and_type(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::CppShapeInferenceResult_HandleShapeAndType >*
      mutable_shape_and_type();
  private:
  const ::tensorflow::CppShapeInferenceResult_HandleShapeAndType& _internal_shape_and_type(int index) const;
  ::tensorflow::CppShapeInferenceResult_HandleShapeAndType* _internal_add_shape_and_type();
  public:
  const ::tensorflow::CppShapeInferenceResult_HandleShapeAndType& shape_and_type(int index) const;
  ::tensorflow::CppShapeInferenceResult_HandleShapeAndType* add_shape_and_type();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::CppShapeInferenceResult_HandleShapeAndType >&
      shape_and_type() const;

  // bool is_set = 1;
  void clear_is_set();
  bool is_set() const;
  void set_is_set(bool value);
  private:
  bool _internal_is_set() const;
  void _internal_set_is_set(bool value);
  public:

  // @@protoc_insertion_point(class_scope:tensorflow.CppShapeInferenceResult.HandleData)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::CppShapeInferenceResult_HandleShapeAndType > shape_and_type_;
  bool is_set_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto;
};
// -------------------------------------------------------------------

class CppShapeInferenceResult PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CppShapeInferenceResult) */ {
 public:
  inline CppShapeInferenceResult() : CppShapeInferenceResult(nullptr) {}
  virtual ~CppShapeInferenceResult();
  explicit constexpr CppShapeInferenceResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline CppShapeInferenceResult& operator=(const CppShapeInferenceResult& from) {
    CopyFrom(from);
    return *this;
  }
  inline CppShapeInferenceResult& operator=(CppShapeInferenceResult&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const CppShapeInferenceResult& default_instance() {
    return *internal_default_instance();
  }
  static inline const CppShapeInferenceResult* internal_default_instance() {
    return reinterpret_cast<const CppShapeInferenceResult*>(
               &_CppShapeInferenceResult_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(CppShapeInferenceResult& a, CppShapeInferenceResult& b) {
    a.Swap(&b);
  }
  inline void Swap(CppShapeInferenceResult* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(CppShapeInferenceResult* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  inline CppShapeInferenceResult* New() const final {
    return CreateMaybeMessage<CppShapeInferenceResult>(nullptr);
  }

  CppShapeInferenceResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<CppShapeInferenceResult>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const CppShapeInferenceResult& from);
  void MergeFrom(const CppShapeInferenceResult& from);
  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;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(CppShapeInferenceResult* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.CppShapeInferenceResult";
  }
  protected:
  explicit CppShapeInferenceResult(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

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

  typedef CppShapeInferenceResult_HandleShapeAndType HandleShapeAndType;
  typedef CppShapeInferenceResult_HandleData HandleData;

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

  enum : int {
    kShapeFieldNumber = 1,
    kHandleDataFieldNumber = 4,
  };
  // .tensorflow.TensorShapeProto shape = 1;
  bool has_shape() const;
  private:
  bool _internal_has_shape() const;
  public:
  void clear_shape();
  const ::tensorflow::TensorShapeProto& shape() const;
  ::tensorflow::TensorShapeProto* release_shape();
  ::tensorflow::TensorShapeProto* mutable_shape();
  void set_allocated_shape(::tensorflow::TensorShapeProto* shape);
  private:
  const ::tensorflow::TensorShapeProto& _internal_shape() const;
  ::tensorflow::TensorShapeProto* _internal_mutable_shape();
  public:
  void unsafe_arena_set_allocated_shape(
      ::tensorflow::TensorShapeProto* shape);
  ::tensorflow::TensorShapeProto* unsafe_arena_release_shape();

  // .tensorflow.CppShapeInferenceResult.HandleData handle_data = 4;
  bool has_handle_data() const;
  private:
  bool _internal_has_handle_data() const;
  public:
  void clear_handle_data();
  const ::tensorflow::CppShapeInferenceResult_HandleData& handle_data() const;
  ::tensorflow::CppShapeInferenceResult_HandleData* release_handle_data();
  ::tensorflow::CppShapeInferenceResult_HandleData* mutable_handle_data();
  void set_allocated_handle_data(::tensorflow::CppShapeInferenceResult_HandleData* handle_data);
  private:
  const ::tensorflow::CppShapeInferenceResult_HandleData& _internal_handle_data() const;
  ::tensorflow::CppShapeInferenceResult_HandleData* _internal_mutable_handle_data();
  public:
  void unsafe_arena_set_allocated_handle_data(
      ::tensorflow::CppShapeInferenceResult_HandleData* handle_data);
  ::tensorflow::CppShapeInferenceResult_HandleData* unsafe_arena_release_handle_data();

  // @@protoc_insertion_point(class_scope:tensorflow.CppShapeInferenceResult)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::tensorflow::TensorShapeProto* shape_;
  ::tensorflow::CppShapeInferenceResult_HandleData* handle_data_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto;
};
// -------------------------------------------------------------------

class CppShapeInferenceInputsNeeded PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CppShapeInferenceInputsNeeded) */ {
 public:
  inline CppShapeInferenceInputsNeeded() : CppShapeInferenceInputsNeeded(nullptr) {}
  virtual ~CppShapeInferenceInputsNeeded();
  explicit constexpr CppShapeInferenceInputsNeeded(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline CppShapeInferenceInputsNeeded& operator=(const CppShapeInferenceInputsNeeded& from) {
    CopyFrom(from);
    return *this;
  }
  inline CppShapeInferenceInputsNeeded& operator=(CppShapeInferenceInputsNeeded&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const CppShapeInferenceInputsNeeded& default_instance() {
    return *internal_default_instance();
  }
  static inline const CppShapeInferenceInputsNeeded* internal_default_instance() {
    return reinterpret_cast<const CppShapeInferenceInputsNeeded*>(
               &_CppShapeInferenceInputsNeeded_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(CppShapeInferenceInputsNeeded& a, CppShapeInferenceInputsNeeded& b) {
    a.Swap(&b);
  }
  inline void Swap(CppShapeInferenceInputsNeeded* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(CppShapeInferenceInputsNeeded* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  inline CppShapeInferenceInputsNeeded* New() const final {
    return CreateMaybeMessage<CppShapeInferenceInputsNeeded>(nullptr);
  }

  CppShapeInferenceInputsNeeded* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<CppShapeInferenceInputsNeeded>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const CppShapeInferenceInputsNeeded& from);
  void MergeFrom(const CppShapeInferenceInputsNeeded& from);
  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;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(CppShapeInferenceInputsNeeded* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "tensorflow.CppShapeInferenceInputsNeeded";
  }
  protected:
  explicit CppShapeInferenceInputsNeeded(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    return ::descriptor_table_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto_metadata_getter(kIndexInFileMessages);
  }

  public:

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

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

  enum : int {
    kInputTensorsNeededFieldNumber = 1,
    kInputTensorsAsShapesNeededFieldNumber = 2,
  };
  // repeated int32 input_tensors_needed = 1;
  int input_tensors_needed_size() const;
  private:
  int _internal_input_tensors_needed_size() const;
  public:
  void clear_input_tensors_needed();
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_input_tensors_needed(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
      _internal_input_tensors_needed() const;
  void _internal_add_input_tensors_needed(::PROTOBUF_NAMESPACE_ID::int32 value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
      _internal_mutable_input_tensors_needed();
  public:
  ::PROTOBUF_NAMESPACE_ID::int32 input_tensors_needed(int index) const;
  void set_input_tensors_needed(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  void add_input_tensors_needed(::PROTOBUF_NAMESPACE_ID::int32 value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
      input_tensors_needed() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
      mutable_input_tensors_needed();

  // repeated int32 input_tensors_as_shapes_needed = 2;
  int input_tensors_as_shapes_needed_size() const;
  private:
  int _internal_input_tensors_as_shapes_needed_size() const;
  public:
  void clear_input_tensors_as_shapes_needed();
  private:
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_input_tensors_as_shapes_needed(int index) const;
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
      _internal_input_tensors_as_shapes_needed() const;
  void _internal_add_input_tensors_as_shapes_needed(::PROTOBUF_NAMESPACE_ID::int32 value);
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
      _internal_mutable_input_tensors_as_shapes_needed();
  public:
  ::PROTOBUF_NAMESPACE_ID::int32 input_tensors_as_shapes_needed(int index) const;
  void set_input_tensors_as_shapes_needed(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  void add_input_tensors_as_shapes_needed(::PROTOBUF_NAMESPACE_ID::int32 value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
      input_tensors_as_shapes_needed() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
      mutable_input_tensors_as_shapes_needed();

  // @@protoc_insertion_point(class_scope:tensorflow.CppShapeInferenceInputsNeeded)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > input_tensors_needed_;
  mutable std::atomic<int> _input_tensors_needed_cached_byte_size_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > input_tensors_as_shapes_needed_;
  mutable std::atomic<int> _input_tensors_as_shapes_needed_cached_byte_size_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_tensorflow_2fpython_2fframework_2fcpp_5fshape_5finference_2eproto;
};
// ===================================================================


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

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

// .tensorflow.TensorShapeProto shape = 1;
inline bool CppShapeInferenceResult_HandleShapeAndType::_internal_has_shape() const {
  return this != internal_default_instance() && shape_ != nullptr;
}
inline bool CppShapeInferenceResult_HandleShapeAndType::has_shape() const {
  return _internal_has_shape();
}
inline const ::tensorflow::TensorShapeProto& CppShapeInferenceResult_HandleShapeAndType::_internal_shape() const {
  const ::tensorflow::TensorShapeProto* p = shape_;
  return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::TensorShapeProto&>(
      ::tensorflow::_TensorShapeProto_default_instance_);
}
inline const ::tensorflow::TensorShapeProto& CppShapeInferenceResult_HandleShapeAndType::shape() const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceResult.HandleShapeAndType.shape)
  return _internal_shape();
}
inline void CppShapeInferenceResult_HandleShapeAndType::unsafe_arena_set_allocated_shape(
    ::tensorflow::TensorShapeProto* shape) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape_);
  }
  shape_ = shape;
  if (shape) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CppShapeInferenceResult.HandleShapeAndType.shape)
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult_HandleShapeAndType::release_shape() {
  
  ::tensorflow::TensorShapeProto* temp = shape_;
  shape_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult_HandleShapeAndType::unsafe_arena_release_shape() {
  // @@protoc_insertion_point(field_release:tensorflow.CppShapeInferenceResult.HandleShapeAndType.shape)
  
  ::tensorflow::TensorShapeProto* temp = shape_;
  shape_ = nullptr;
  return temp;
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult_HandleShapeAndType::_internal_mutable_shape() {
  
  if (shape_ == nullptr) {
    auto* p = CreateMaybeMessage<::tensorflow::TensorShapeProto>(GetArena());
    shape_ = p;
  }
  return shape_;
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult_HandleShapeAndType::mutable_shape() {
  // @@protoc_insertion_point(field_mutable:tensorflow.CppShapeInferenceResult.HandleShapeAndType.shape)
  return _internal_mutable_shape();
}
inline void CppShapeInferenceResult_HandleShapeAndType::set_allocated_shape(::tensorflow::TensorShapeProto* shape) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape_);
  }
  if (shape) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape)->GetArena();
    if (message_arena != submessage_arena) {
      shape = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, shape, submessage_arena);
    }
    
  } else {
    
  }
  shape_ = shape;
  // @@protoc_insertion_point(field_set_allocated:tensorflow.CppShapeInferenceResult.HandleShapeAndType.shape)
}

// .tensorflow.DataType dtype = 2;
inline void CppShapeInferenceResult_HandleShapeAndType::clear_dtype() {
  dtype_ = 0;
}
inline ::tensorflow::DataType CppShapeInferenceResult_HandleShapeAndType::_internal_dtype() const {
  return static_cast< ::tensorflow::DataType >(dtype_);
}
inline ::tensorflow::DataType CppShapeInferenceResult_HandleShapeAndType::dtype() const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceResult.HandleShapeAndType.dtype)
  return _internal_dtype();
}
inline void CppShapeInferenceResult_HandleShapeAndType::_internal_set_dtype(::tensorflow::DataType value) {
  
  dtype_ = value;
}
inline void CppShapeInferenceResult_HandleShapeAndType::set_dtype(::tensorflow::DataType value) {
  _internal_set_dtype(value);
  // @@protoc_insertion_point(field_set:tensorflow.CppShapeInferenceResult.HandleShapeAndType.dtype)
}

// .tensorflow.SpecializedType specialized_type = 3;
inline void CppShapeInferenceResult_HandleShapeAndType::clear_specialized_type() {
  specialized_type_ = 0;
}
inline ::tensorflow::SpecializedType CppShapeInferenceResult_HandleShapeAndType::_internal_specialized_type() const {
  return static_cast< ::tensorflow::SpecializedType >(specialized_type_);
}
inline ::tensorflow::SpecializedType CppShapeInferenceResult_HandleShapeAndType::specialized_type() const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceResult.HandleShapeAndType.specialized_type)
  return _internal_specialized_type();
}
inline void CppShapeInferenceResult_HandleShapeAndType::_internal_set_specialized_type(::tensorflow::SpecializedType value) {
  
  specialized_type_ = value;
}
inline void CppShapeInferenceResult_HandleShapeAndType::set_specialized_type(::tensorflow::SpecializedType value) {
  _internal_set_specialized_type(value);
  // @@protoc_insertion_point(field_set:tensorflow.CppShapeInferenceResult.HandleShapeAndType.specialized_type)
}

// -------------------------------------------------------------------

// CppShapeInferenceResult_HandleData

// bool is_set = 1;
inline void CppShapeInferenceResult_HandleData::clear_is_set() {
  is_set_ = false;
}
inline bool CppShapeInferenceResult_HandleData::_internal_is_set() const {
  return is_set_;
}
inline bool CppShapeInferenceResult_HandleData::is_set() const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceResult.HandleData.is_set)
  return _internal_is_set();
}
inline void CppShapeInferenceResult_HandleData::_internal_set_is_set(bool value) {
  
  is_set_ = value;
}
inline void CppShapeInferenceResult_HandleData::set_is_set(bool value) {
  _internal_set_is_set(value);
  // @@protoc_insertion_point(field_set:tensorflow.CppShapeInferenceResult.HandleData.is_set)
}

// repeated .tensorflow.CppShapeInferenceResult.HandleShapeAndType shape_and_type = 2;
inline int CppShapeInferenceResult_HandleData::_internal_shape_and_type_size() const {
  return shape_and_type_.size();
}
inline int CppShapeInferenceResult_HandleData::shape_and_type_size() const {
  return _internal_shape_and_type_size();
}
inline void CppShapeInferenceResult_HandleData::clear_shape_and_type() {
  shape_and_type_.Clear();
}
inline ::tensorflow::CppShapeInferenceResult_HandleShapeAndType* CppShapeInferenceResult_HandleData::mutable_shape_and_type(int index) {
  // @@protoc_insertion_point(field_mutable:tensorflow.CppShapeInferenceResult.HandleData.shape_and_type)
  return shape_and_type_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::CppShapeInferenceResult_HandleShapeAndType >*
CppShapeInferenceResult_HandleData::mutable_shape_and_type() {
  // @@protoc_insertion_point(field_mutable_list:tensorflow.CppShapeInferenceResult.HandleData.shape_and_type)
  return &shape_and_type_;
}
inline const ::tensorflow::CppShapeInferenceResult_HandleShapeAndType& CppShapeInferenceResult_HandleData::_internal_shape_and_type(int index) const {
  return shape_and_type_.Get(index);
}
inline const ::tensorflow::CppShapeInferenceResult_HandleShapeAndType& CppShapeInferenceResult_HandleData::shape_and_type(int index) const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceResult.HandleData.shape_and_type)
  return _internal_shape_and_type(index);
}
inline ::tensorflow::CppShapeInferenceResult_HandleShapeAndType* CppShapeInferenceResult_HandleData::_internal_add_shape_and_type() {
  return shape_and_type_.Add();
}
inline ::tensorflow::CppShapeInferenceResult_HandleShapeAndType* CppShapeInferenceResult_HandleData::add_shape_and_type() {
  // @@protoc_insertion_point(field_add:tensorflow.CppShapeInferenceResult.HandleData.shape_and_type)
  return _internal_add_shape_and_type();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::CppShapeInferenceResult_HandleShapeAndType >&
CppShapeInferenceResult_HandleData::shape_and_type() const {
  // @@protoc_insertion_point(field_list:tensorflow.CppShapeInferenceResult.HandleData.shape_and_type)
  return shape_and_type_;
}

// -------------------------------------------------------------------

// CppShapeInferenceResult

// .tensorflow.TensorShapeProto shape = 1;
inline bool CppShapeInferenceResult::_internal_has_shape() const {
  return this != internal_default_instance() && shape_ != nullptr;
}
inline bool CppShapeInferenceResult::has_shape() const {
  return _internal_has_shape();
}
inline const ::tensorflow::TensorShapeProto& CppShapeInferenceResult::_internal_shape() const {
  const ::tensorflow::TensorShapeProto* p = shape_;
  return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::TensorShapeProto&>(
      ::tensorflow::_TensorShapeProto_default_instance_);
}
inline const ::tensorflow::TensorShapeProto& CppShapeInferenceResult::shape() const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceResult.shape)
  return _internal_shape();
}
inline void CppShapeInferenceResult::unsafe_arena_set_allocated_shape(
    ::tensorflow::TensorShapeProto* shape) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape_);
  }
  shape_ = shape;
  if (shape) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CppShapeInferenceResult.shape)
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult::release_shape() {
  
  ::tensorflow::TensorShapeProto* temp = shape_;
  shape_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult::unsafe_arena_release_shape() {
  // @@protoc_insertion_point(field_release:tensorflow.CppShapeInferenceResult.shape)
  
  ::tensorflow::TensorShapeProto* temp = shape_;
  shape_ = nullptr;
  return temp;
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult::_internal_mutable_shape() {
  
  if (shape_ == nullptr) {
    auto* p = CreateMaybeMessage<::tensorflow::TensorShapeProto>(GetArena());
    shape_ = p;
  }
  return shape_;
}
inline ::tensorflow::TensorShapeProto* CppShapeInferenceResult::mutable_shape() {
  // @@protoc_insertion_point(field_mutable:tensorflow.CppShapeInferenceResult.shape)
  return _internal_mutable_shape();
}
inline void CppShapeInferenceResult::set_allocated_shape(::tensorflow::TensorShapeProto* shape) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape_);
  }
  if (shape) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(shape)->GetArena();
    if (message_arena != submessage_arena) {
      shape = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, shape, submessage_arena);
    }
    
  } else {
    
  }
  shape_ = shape;
  // @@protoc_insertion_point(field_set_allocated:tensorflow.CppShapeInferenceResult.shape)
}

// .tensorflow.CppShapeInferenceResult.HandleData handle_data = 4;
inline bool CppShapeInferenceResult::_internal_has_handle_data() const {
  return this != internal_default_instance() && handle_data_ != nullptr;
}
inline bool CppShapeInferenceResult::has_handle_data() const {
  return _internal_has_handle_data();
}
inline void CppShapeInferenceResult::clear_handle_data() {
  if (GetArena() == nullptr && handle_data_ != nullptr) {
    delete handle_data_;
  }
  handle_data_ = nullptr;
}
inline const ::tensorflow::CppShapeInferenceResult_HandleData& CppShapeInferenceResult::_internal_handle_data() const {
  const ::tensorflow::CppShapeInferenceResult_HandleData* p = handle_data_;
  return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::CppShapeInferenceResult_HandleData&>(
      ::tensorflow::_CppShapeInferenceResult_HandleData_default_instance_);
}
inline const ::tensorflow::CppShapeInferenceResult_HandleData& CppShapeInferenceResult::handle_data() const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceResult.handle_data)
  return _internal_handle_data();
}
inline void CppShapeInferenceResult::unsafe_arena_set_allocated_handle_data(
    ::tensorflow::CppShapeInferenceResult_HandleData* handle_data) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handle_data_);
  }
  handle_data_ = handle_data;
  if (handle_data) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CppShapeInferenceResult.handle_data)
}
inline ::tensorflow::CppShapeInferenceResult_HandleData* CppShapeInferenceResult::release_handle_data() {
  
  ::tensorflow::CppShapeInferenceResult_HandleData* temp = handle_data_;
  handle_data_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::tensorflow::CppShapeInferenceResult_HandleData* CppShapeInferenceResult::unsafe_arena_release_handle_data() {
  // @@protoc_insertion_point(field_release:tensorflow.CppShapeInferenceResult.handle_data)
  
  ::tensorflow::CppShapeInferenceResult_HandleData* temp = handle_data_;
  handle_data_ = nullptr;
  return temp;
}
inline ::tensorflow::CppShapeInferenceResult_HandleData* CppShapeInferenceResult::_internal_mutable_handle_data() {
  
  if (handle_data_ == nullptr) {
    auto* p = CreateMaybeMessage<::tensorflow::CppShapeInferenceResult_HandleData>(GetArena());
    handle_data_ = p;
  }
  return handle_data_;
}
inline ::tensorflow::CppShapeInferenceResult_HandleData* CppShapeInferenceResult::mutable_handle_data() {
  // @@protoc_insertion_point(field_mutable:tensorflow.CppShapeInferenceResult.handle_data)
  return _internal_mutable_handle_data();
}
inline void CppShapeInferenceResult::set_allocated_handle_data(::tensorflow::CppShapeInferenceResult_HandleData* handle_data) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete handle_data_;
  }
  if (handle_data) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(handle_data);
    if (message_arena != submessage_arena) {
      handle_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, handle_data, submessage_arena);
    }
    
  } else {
    
  }
  handle_data_ = handle_data;
  // @@protoc_insertion_point(field_set_allocated:tensorflow.CppShapeInferenceResult.handle_data)
}

// -------------------------------------------------------------------

// CppShapeInferenceInputsNeeded

// repeated int32 input_tensors_needed = 1;
inline int CppShapeInferenceInputsNeeded::_internal_input_tensors_needed_size() const {
  return input_tensors_needed_.size();
}
inline int CppShapeInferenceInputsNeeded::input_tensors_needed_size() const {
  return _internal_input_tensors_needed_size();
}
inline void CppShapeInferenceInputsNeeded::clear_input_tensors_needed() {
  input_tensors_needed_.Clear();
}
inline ::PROTOBUF_NAMESPACE_ID::int32 CppShapeInferenceInputsNeeded::_internal_input_tensors_needed(int index) const {
  return input_tensors_needed_.Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::int32 CppShapeInferenceInputsNeeded::input_tensors_needed(int index) const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_needed)
  return _internal_input_tensors_needed(index);
}
inline void CppShapeInferenceInputsNeeded::set_input_tensors_needed(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  input_tensors_needed_.Set(index, value);
  // @@protoc_insertion_point(field_set:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_needed)
}
inline void CppShapeInferenceInputsNeeded::_internal_add_input_tensors_needed(::PROTOBUF_NAMESPACE_ID::int32 value) {
  input_tensors_needed_.Add(value);
}
inline void CppShapeInferenceInputsNeeded::add_input_tensors_needed(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_add_input_tensors_needed(value);
  // @@protoc_insertion_point(field_add:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_needed)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
CppShapeInferenceInputsNeeded::_internal_input_tensors_needed() const {
  return input_tensors_needed_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
CppShapeInferenceInputsNeeded::input_tensors_needed() const {
  // @@protoc_insertion_point(field_list:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_needed)
  return _internal_input_tensors_needed();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
CppShapeInferenceInputsNeeded::_internal_mutable_input_tensors_needed() {
  return &input_tensors_needed_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
CppShapeInferenceInputsNeeded::mutable_input_tensors_needed() {
  // @@protoc_insertion_point(field_mutable_list:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_needed)
  return _internal_mutable_input_tensors_needed();
}

// repeated int32 input_tensors_as_shapes_needed = 2;
inline int CppShapeInferenceInputsNeeded::_internal_input_tensors_as_shapes_needed_size() const {
  return input_tensors_as_shapes_needed_.size();
}
inline int CppShapeInferenceInputsNeeded::input_tensors_as_shapes_needed_size() const {
  return _internal_input_tensors_as_shapes_needed_size();
}
inline void CppShapeInferenceInputsNeeded::clear_input_tensors_as_shapes_needed() {
  input_tensors_as_shapes_needed_.Clear();
}
inline ::PROTOBUF_NAMESPACE_ID::int32 CppShapeInferenceInputsNeeded::_internal_input_tensors_as_shapes_needed(int index) const {
  return input_tensors_as_shapes_needed_.Get(index);
}
inline ::PROTOBUF_NAMESPACE_ID::int32 CppShapeInferenceInputsNeeded::input_tensors_as_shapes_needed(int index) const {
  // @@protoc_insertion_point(field_get:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_as_shapes_needed)
  return _internal_input_tensors_as_shapes_needed(index);
}
inline void CppShapeInferenceInputsNeeded::set_input_tensors_as_shapes_needed(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  input_tensors_as_shapes_needed_.Set(index, value);
  // @@protoc_insertion_point(field_set:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_as_shapes_needed)
}
inline void CppShapeInferenceInputsNeeded::_internal_add_input_tensors_as_shapes_needed(::PROTOBUF_NAMESPACE_ID::int32 value) {
  input_tensors_as_shapes_needed_.Add(value);
}
inline void CppShapeInferenceInputsNeeded::add_input_tensors_as_shapes_needed(::PROTOBUF_NAMESPACE_ID::int32 value) {
  _internal_add_input_tensors_as_shapes_needed(value);
  // @@protoc_insertion_point(field_add:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_as_shapes_needed)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
CppShapeInferenceInputsNeeded::_internal_input_tensors_as_shapes_needed() const {
  return input_tensors_as_shapes_needed_;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
CppShapeInferenceInputsNeeded::input_tensors_as_shapes_needed() const {
  // @@protoc_insertion_point(field_list:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_as_shapes_needed)
  return _internal_input_tensors_as_shapes_needed();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
CppShapeInferenceInputsNeeded::_internal_mutable_input_tensors_as_shapes_needed() {
  return &input_tensors_as_shapes_needed_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
CppShapeInferenceInputsNeeded::mutable_input_tensors_as_shapes_needed() {
  // @@protoc_insertion_point(field_mutable_list:tensorflow.CppShapeInferenceInputsNeeded.input_tensors_as_shapes_needed)
  return _internal_mutable_input_tensors_as_shapes_needed();
}

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

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace tensorflow

// @@protoc_insertion_point(global_scope)

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