// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: client/v3beta/dto/product/product_dto.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto

#include <limits>
#include <string>


#include <herogoogle/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3018000
#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 3018000 < 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 <herogoogle/protobuf/io/coded_stream.h>
#include <herogoogle/protobuf/arena.h>
#include <herogoogle/protobuf/arenastring.h>
#include <herogoogle/protobuf/generated_message_table_driven.h>
#include <herogoogle/protobuf/generated_message_util.h>
#include <herogoogle/protobuf/metadata_lite.h>
#include <herogoogle/protobuf/generated_message_reflection.h>
#include <herogoogle/protobuf/message.h>
#include <herogoogle/protobuf/repeated_field.h>  // IWYU pragma: export
#include <herogoogle/protobuf/extension_set.h>  // IWYU pragma: export
#include <herogoogle/protobuf/unknown_field_set.h>
#include "client/v3beta/dto/product/model/product_model.pb.h"
#include "client/v3beta/dto/shared/api.pb.h"
// @@protoc_insertion_point(includes)

#define PROTOBUF_INTERNAL_EXPORT_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto {
  static const ::herogoogle::protobuf::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::AuxiliaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::ParseTable schema[2]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::FieldMetadata field_metadata[];
  static const ::herogoogle::protobuf::internal::SerializationTable serialization_table[];
  static const ::herogoogle::protobuf::uint32 offsets[];
};
extern const ::herogoogle::protobuf::internal::DescriptorTable descriptor_table_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto;
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace product {
class ProductConfigRequest;
struct ProductConfigRequestDefaultTypeInternal;
extern ProductConfigRequestDefaultTypeInternal _ProductConfigRequest_default_instance_;
class ProductConfigResponse;
struct ProductConfigResponseDefaultTypeInternal;
extern ProductConfigResponseDefaultTypeInternal _ProductConfigResponse_default_instance_;
}  // namespace product
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
PROTOBUF_NAMESPACE_OPEN
template<> ::heroim::client::v3beta::dto::product::ProductConfigRequest* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::product::ProductConfigRequest>(Arena*);
template<> ::heroim::client::v3beta::dto::product::ProductConfigResponse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::product::ProductConfigResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace product {

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

class ProductConfigRequest final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.product.ProductConfigRequest) */ {
 public:
  inline ProductConfigRequest() : ProductConfigRequest(nullptr) {}
  ~ProductConfigRequest() override;
  explicit constexpr ProductConfigRequest(::herogoogle::protobuf::internal::ConstantInitialized);

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

  inline ProductConfigRequest& operator=(const ProductConfigRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProductConfigRequest& operator=(ProductConfigRequest&& 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;
  }

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

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

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

  inline ProductConfigRequest* New() const final {
    return new ProductConfigRequest();
  }

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

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) final;
  ::herogoogle::protobuf::uint8* _InternalSerialize(
      ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::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(ProductConfigRequest* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.product.ProductConfigRequest";
  }
  protected:
  explicit ProductConfigRequest(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

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

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

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

  enum : int {
    kBaseFieldNumber = 1,
  };
  // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
  bool has_base() const;
  private:
  bool _internal_has_base() const;
  public:
  void clear_base();
  const ::heroim::client::v3beta::dto::shared::APIRequest& base() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::shared::APIRequest* release_base();
  ::heroim::client::v3beta::dto::shared::APIRequest* mutable_base();
  void set_allocated_base(::heroim::client::v3beta::dto::shared::APIRequest* base);
  private:
  const ::heroim::client::v3beta::dto::shared::APIRequest& _internal_base() const;
  ::heroim::client::v3beta::dto::shared::APIRequest* _internal_mutable_base();
  public:
  void unsafe_arena_set_allocated_base(
      ::heroim::client::v3beta::dto::shared::APIRequest* base);
  ::heroim::client::v3beta::dto::shared::APIRequest* unsafe_arena_release_base();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.product.ProductConfigRequest)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::heroim::client::v3beta::dto::shared::APIRequest* base_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto;
};
// -------------------------------------------------------------------

class ProductConfigResponse final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.product.ProductConfigResponse) */ {
 public:
  inline ProductConfigResponse() : ProductConfigResponse(nullptr) {}
  ~ProductConfigResponse() override;
  explicit constexpr ProductConfigResponse(::herogoogle::protobuf::internal::ConstantInitialized);

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

  inline ProductConfigResponse& operator=(const ProductConfigResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline ProductConfigResponse& operator=(ProductConfigResponse&& 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;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const ProductConfigResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const ProductConfigResponse* internal_default_instance() {
    return reinterpret_cast<const ProductConfigResponse*>(
               &_ProductConfigResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

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

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

  inline ProductConfigResponse* New() const final {
    return new ProductConfigResponse();
  }

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

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) final;
  ::herogoogle::protobuf::uint8* _InternalSerialize(
      ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::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(ProductConfigResponse* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.product.ProductConfigResponse";
  }
  protected:
  explicit ProductConfigResponse(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

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

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

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

  enum : int {
    kNodeFieldNumber = 2,
    kOptionFieldNumber = 3,
    kTimeFieldNumber = 1,
  };
  // .heroim.client.v3beta.dto.product.model.ProductNodeConfig node = 2;
  bool has_node() const;
  private:
  bool _internal_has_node() const;
  public:
  void clear_node();
  const ::heroim::client::v3beta::dto::product::model::ProductNodeConfig& node() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* release_node();
  ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* mutable_node();
  void set_allocated_node(::heroim::client::v3beta::dto::product::model::ProductNodeConfig* node);
  private:
  const ::heroim::client::v3beta::dto::product::model::ProductNodeConfig& _internal_node() const;
  ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* _internal_mutable_node();
  public:
  void unsafe_arena_set_allocated_node(
      ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* node);
  ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* unsafe_arena_release_node();

  // .heroim.client.v3beta.dto.product.model.ProductOption option = 3;
  bool has_option() const;
  private:
  bool _internal_has_option() const;
  public:
  void clear_option();
  const ::heroim::client::v3beta::dto::product::model::ProductOption& option() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::product::model::ProductOption* release_option();
  ::heroim::client::v3beta::dto::product::model::ProductOption* mutable_option();
  void set_allocated_option(::heroim::client::v3beta::dto::product::model::ProductOption* option);
  private:
  const ::heroim::client::v3beta::dto::product::model::ProductOption& _internal_option() const;
  ::heroim::client::v3beta::dto::product::model::ProductOption* _internal_mutable_option();
  public:
  void unsafe_arena_set_allocated_option(
      ::heroim::client::v3beta::dto::product::model::ProductOption* option);
  ::heroim::client::v3beta::dto::product::model::ProductOption* unsafe_arena_release_option();

  // int64 time = 1;
  void clear_time();
  ::herogoogle::protobuf::int64 time() const;
  void set_time(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_time() const;
  void _internal_set_time(::herogoogle::protobuf::int64 value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.product.ProductConfigResponse)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* node_;
  ::heroim::client::v3beta::dto::product::model::ProductOption* option_;
  ::herogoogle::protobuf::int64 time_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto;
};
// ===================================================================


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

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

// .heroim.client.v3beta.dto.shared.APIRequest base = 1;
inline bool ProductConfigRequest::_internal_has_base() const {
  return this != internal_default_instance() && base_ != nullptr;
}
inline bool ProductConfigRequest::has_base() const {
  return _internal_has_base();
}
inline const ::heroim::client::v3beta::dto::shared::APIRequest& ProductConfigRequest::_internal_base() const {
  const ::heroim::client::v3beta::dto::shared::APIRequest* p = base_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::shared::APIRequest&>(
      ::heroim::client::v3beta::dto::shared::_APIRequest_default_instance_);
}
inline const ::heroim::client::v3beta::dto::shared::APIRequest& ProductConfigRequest::base() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.product.ProductConfigRequest.base)
  return _internal_base();
}
inline void ProductConfigRequest::unsafe_arena_set_allocated_base(
    ::heroim::client::v3beta::dto::shared::APIRequest* base) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(base_);
  }
  base_ = base;
  if (base) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.product.ProductConfigRequest.base)
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* ProductConfigRequest::release_base() {
  
  ::heroim::client::v3beta::dto::shared::APIRequest* temp = base_;
  base_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* ProductConfigRequest::unsafe_arena_release_base() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.product.ProductConfigRequest.base)
  
  ::heroim::client::v3beta::dto::shared::APIRequest* temp = base_;
  base_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* ProductConfigRequest::_internal_mutable_base() {
  
  if (base_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::shared::APIRequest>(GetArenaForAllocation());
    base_ = p;
  }
  return base_;
}
inline ::heroim::client::v3beta::dto::shared::APIRequest* ProductConfigRequest::mutable_base() {
  ::heroim::client::v3beta::dto::shared::APIRequest* _msg = _internal_mutable_base();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.product.ProductConfigRequest.base)
  return _msg;
}
inline void ProductConfigRequest::set_allocated_base(::heroim::client::v3beta::dto::shared::APIRequest* base) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(base_);
  }
  if (base) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(base));
    if (message_arena != submessage_arena) {
      base = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, base, submessage_arena);
    }
    
  } else {
    
  }
  base_ = base;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.product.ProductConfigRequest.base)
}

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

// ProductConfigResponse

// int64 time = 1;
inline void ProductConfigResponse::clear_time() {
  time_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 ProductConfigResponse::_internal_time() const {
  return time_;
}
inline ::herogoogle::protobuf::int64 ProductConfigResponse::time() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.product.ProductConfigResponse.time)
  return _internal_time();
}
inline void ProductConfigResponse::_internal_set_time(::herogoogle::protobuf::int64 value) {
  
  time_ = value;
}
inline void ProductConfigResponse::set_time(::herogoogle::protobuf::int64 value) {
  _internal_set_time(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.product.ProductConfigResponse.time)
}

// .heroim.client.v3beta.dto.product.model.ProductNodeConfig node = 2;
inline bool ProductConfigResponse::_internal_has_node() const {
  return this != internal_default_instance() && node_ != nullptr;
}
inline bool ProductConfigResponse::has_node() const {
  return _internal_has_node();
}
inline const ::heroim::client::v3beta::dto::product::model::ProductNodeConfig& ProductConfigResponse::_internal_node() const {
  const ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* p = node_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::product::model::ProductNodeConfig&>(
      ::heroim::client::v3beta::dto::product::model::_ProductNodeConfig_default_instance_);
}
inline const ::heroim::client::v3beta::dto::product::model::ProductNodeConfig& ProductConfigResponse::node() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.product.ProductConfigResponse.node)
  return _internal_node();
}
inline void ProductConfigResponse::unsafe_arena_set_allocated_node(
    ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* node) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(node_);
  }
  node_ = node;
  if (node) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.product.ProductConfigResponse.node)
}
inline ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* ProductConfigResponse::release_node() {
  
  ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* temp = node_;
  node_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* ProductConfigResponse::unsafe_arena_release_node() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.product.ProductConfigResponse.node)
  
  ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* temp = node_;
  node_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* ProductConfigResponse::_internal_mutable_node() {
  
  if (node_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::product::model::ProductNodeConfig>(GetArenaForAllocation());
    node_ = p;
  }
  return node_;
}
inline ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* ProductConfigResponse::mutable_node() {
  ::heroim::client::v3beta::dto::product::model::ProductNodeConfig* _msg = _internal_mutable_node();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.product.ProductConfigResponse.node)
  return _msg;
}
inline void ProductConfigResponse::set_allocated_node(::heroim::client::v3beta::dto::product::model::ProductNodeConfig* node) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(node_);
  }
  if (node) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(node));
    if (message_arena != submessage_arena) {
      node = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, node, submessage_arena);
    }
    
  } else {
    
  }
  node_ = node;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.product.ProductConfigResponse.node)
}

// .heroim.client.v3beta.dto.product.model.ProductOption option = 3;
inline bool ProductConfigResponse::_internal_has_option() const {
  return this != internal_default_instance() && option_ != nullptr;
}
inline bool ProductConfigResponse::has_option() const {
  return _internal_has_option();
}
inline const ::heroim::client::v3beta::dto::product::model::ProductOption& ProductConfigResponse::_internal_option() const {
  const ::heroim::client::v3beta::dto::product::model::ProductOption* p = option_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::product::model::ProductOption&>(
      ::heroim::client::v3beta::dto::product::model::_ProductOption_default_instance_);
}
inline const ::heroim::client::v3beta::dto::product::model::ProductOption& ProductConfigResponse::option() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.product.ProductConfigResponse.option)
  return _internal_option();
}
inline void ProductConfigResponse::unsafe_arena_set_allocated_option(
    ::heroim::client::v3beta::dto::product::model::ProductOption* option) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(option_);
  }
  option_ = option;
  if (option) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.product.ProductConfigResponse.option)
}
inline ::heroim::client::v3beta::dto::product::model::ProductOption* ProductConfigResponse::release_option() {
  
  ::heroim::client::v3beta::dto::product::model::ProductOption* temp = option_;
  option_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::product::model::ProductOption* ProductConfigResponse::unsafe_arena_release_option() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.product.ProductConfigResponse.option)
  
  ::heroim::client::v3beta::dto::product::model::ProductOption* temp = option_;
  option_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::product::model::ProductOption* ProductConfigResponse::_internal_mutable_option() {
  
  if (option_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::product::model::ProductOption>(GetArenaForAllocation());
    option_ = p;
  }
  return option_;
}
inline ::heroim::client::v3beta::dto::product::model::ProductOption* ProductConfigResponse::mutable_option() {
  ::heroim::client::v3beta::dto::product::model::ProductOption* _msg = _internal_mutable_option();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.product.ProductConfigResponse.option)
  return _msg;
}
inline void ProductConfigResponse::set_allocated_option(::heroim::client::v3beta::dto::product::model::ProductOption* option) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(option_);
  }
  if (option) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(option));
    if (message_arena != submessage_arena) {
      option = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, option, submessage_arena);
    }
    
  } else {
    
  }
  option_ = option;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.product.ProductConfigResponse.option)
}

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace product
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim

// @@protoc_insertion_point(global_scope)


#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fproduct_2fproduct_5fdto_2eproto
