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

#include "client/v3beta/dto/channel/channel_dto.pb.h"

#include <algorithm>

#include <herogoogle/protobuf/io/coded_stream.h>
#include <herogoogle/protobuf/extension_set.h>
#include <herogoogle/protobuf/wire_format_lite.h>
#include <herogoogle/protobuf/descriptor.h>
#include <herogoogle/protobuf/generated_message_reflection.h>
#include <herogoogle/protobuf/reflection_ops.h>
#include <herogoogle/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)


PROTOBUF_PRAGMA_INIT_SEG
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace channel {
constexpr ChannelFindRequest::ChannelFindRequest(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : channelid_(&::herogoogle::protobuf::internal::fixed_address_empty_string)
  , base_(nullptr){}
struct ChannelFindRequestDefaultTypeInternal {
  constexpr ChannelFindRequestDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~ChannelFindRequestDefaultTypeInternal() {}
  union {
    ChannelFindRequest _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChannelFindRequestDefaultTypeInternal _ChannelFindRequest_default_instance_;
constexpr ChannelFindResponse::ChannelFindResponse(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : channel_(nullptr){}
struct ChannelFindResponseDefaultTypeInternal {
  constexpr ChannelFindResponseDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~ChannelFindResponseDefaultTypeInternal() {}
  union {
    ChannelFindResponse _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChannelFindResponseDefaultTypeInternal _ChannelFindResponse_default_instance_;
constexpr ChannelListRequest::ChannelListRequest(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : channelids_()
  , base_(nullptr){}
struct ChannelListRequestDefaultTypeInternal {
  constexpr ChannelListRequestDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~ChannelListRequestDefaultTypeInternal() {}
  union {
    ChannelListRequest _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChannelListRequestDefaultTypeInternal _ChannelListRequest_default_instance_;
constexpr ChannelListResponse::ChannelListResponse(
  ::herogoogle::protobuf::internal::ConstantInitialized)
  : channel_(){}
struct ChannelListResponseDefaultTypeInternal {
  constexpr ChannelListResponseDefaultTypeInternal()
    : _instance(::herogoogle::protobuf::internal::ConstantInitialized{}) {}
  ~ChannelListResponseDefaultTypeInternal() {}
  union {
    ChannelListResponse _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChannelListResponseDefaultTypeInternal _ChannelListResponse_default_instance_;
}  // namespace channel
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
static ::herogoogle::protobuf::Metadata file_level_metadata_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto[4];
static constexpr ::herogoogle::protobuf::EnumDescriptor const** file_level_enum_descriptors_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto = nullptr;
static constexpr ::herogoogle::protobuf::ServiceDescriptor const** file_level_service_descriptors_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto = nullptr;

const ::herogoogle::protobuf::uint32 TableStruct_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelFindRequest, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelFindRequest, base_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelFindRequest, channelid_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelFindResponse, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelFindResponse, channel_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelListRequest, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelListRequest, base_),
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelListRequest, channelids_),
  ~0u,  // no _has_bits_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelListResponse, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::heroim::client::v3beta::dto::channel::ChannelListResponse, channel_),
};
static const ::herogoogle::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  { 0, -1, -1, sizeof(::heroim::client::v3beta::dto::channel::ChannelFindRequest)},
  { 8, -1, -1, sizeof(::heroim::client::v3beta::dto::channel::ChannelFindResponse)},
  { 15, -1, -1, sizeof(::heroim::client::v3beta::dto::channel::ChannelListRequest)},
  { 23, -1, -1, sizeof(::heroim::client::v3beta::dto::channel::ChannelListResponse)},
};

static ::herogoogle::protobuf::Message const * const file_default_instances[] = {
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::channel::_ChannelFindRequest_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::channel::_ChannelFindResponse_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::channel::_ChannelListRequest_default_instance_),
  reinterpret_cast<const ::herogoogle::protobuf::Message*>(&::heroim::client::v3beta::dto::channel::_ChannelListResponse_default_instance_),
};
#ifdef _MSC_VER
#  pragma warning(disable : 4125)
#endif  /* _MSC_VER */
const char descriptor_table_protodef_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  "\n+client/v3beta/dto/channel/channel_dto."
  "proto\022 heroim.client.v3beta.dto.channel\032"
  "\"client/v3beta/dto/shared/api.proto\0323cli"
  "ent/v3beta/dto/channel/model/channel_mod"
  "el.proto\"b\n\022ChannelFindRequest\0229\n\004base\030\001"
  " \001(\0132+.heroim.client.v3beta.dto.shared.A"
  "PIRequest\022\021\n\tchannelId\030\002 \001(\t\"W\n\023ChannelF"
  "indResponse\022@\n\007channel\030\001 \001(\0132/.heroim.cl"
  "ient.v3beta.dto.channel.model.Channel\"c\n"
  "\022ChannelListRequest\0229\n\004base\030\001 \001(\0132+.hero"
  "im.client.v3beta.dto.shared.APIRequest\022\022"
  "\n\nchannelIds\030\002 \003(\t\"W\n\023ChannelListRespons"
  "e\022@\n\007channel\030\001 \003(\0132/.heroim.client.v3bet"
  "a.dto.channel.model.ChannelB\200\001\n$com.hero"
  ".csdk.api.v3beta.dto.channelP\001Z$heroim/a"
  "pi/client/v3beta/dto/channel\252\002/Im.CSDK.U"
  "nity.chat.entry.Runtime.entry2.channelb\006"
  "proto3"
  ;
static const ::herogoogle::protobuf::internal::DescriptorTable*const descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_deps[2] = {
  &::descriptor_table_client_2fv3beta_2fdto_2fchannel_2fmodel_2fchannel_5fmodel_2eproto,
  &::descriptor_table_client_2fv3beta_2fdto_2fshared_2fapi_2eproto,
};
static ::herogoogle::protobuf::internal::once_flag descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_once;
const ::herogoogle::protobuf::internal::DescriptorTable descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto = {
  false, false, 686, descriptor_table_protodef_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto, "client/v3beta/dto/channel/channel_dto.proto", 
  &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_once, descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_deps, 2, 4,
  schemas, file_default_instances, TableStruct_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto::offsets,
  file_level_metadata_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto, file_level_enum_descriptors_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto, file_level_service_descriptors_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto,
};
PROTOBUF_ATTRIBUTE_WEAK const ::herogoogle::protobuf::internal::DescriptorTable* descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_getter() {
  return &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto;
}

// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::herogoogle::protobuf::internal::AddDescriptorsRunner dynamic_init_dummy_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto(&descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto);
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace channel {

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

class ChannelFindRequest::_Internal {
 public:
  static const ::heroim::client::v3beta::dto::shared::APIRequest& base(const ChannelFindRequest* msg);
};

const ::heroim::client::v3beta::dto::shared::APIRequest&
ChannelFindRequest::_Internal::base(const ChannelFindRequest* msg) {
  return *msg->base_;
}
void ChannelFindRequest::clear_base() {
  if (GetArenaForAllocation() == nullptr && base_ != nullptr) {
    delete base_;
  }
  base_ = nullptr;
}
ChannelFindRequest::ChannelFindRequest(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.channel.ChannelFindRequest)
}
ChannelFindRequest::ChannelFindRequest(const ChannelFindRequest& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  channelid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (!from._internal_channelid().empty()) {
    channelid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, from._internal_channelid(), 
      GetArenaForAllocation());
  }
  if (from._internal_has_base()) {
    base_ = new ::heroim::client::v3beta::dto::shared::APIRequest(*from.base_);
  } else {
    base_ = nullptr;
  }
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.channel.ChannelFindRequest)
}

void ChannelFindRequest::SharedCtor() {
channelid_.UnsafeSetDefault(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
base_ = nullptr;
}

ChannelFindRequest::~ChannelFindRequest() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.channel.ChannelFindRequest)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void ChannelFindRequest::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  channelid_.DestroyNoArena(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited());
  if (this != internal_default_instance()) delete base_;
}

void ChannelFindRequest::ArenaDtor(void* object) {
  ChannelFindRequest* _this = reinterpret_cast< ChannelFindRequest* >(object);
  (void)_this;
}
void ChannelFindRequest::RegisterArenaDtor(::herogoogle::protobuf::Arena*) {
}
void ChannelFindRequest::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void ChannelFindRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.channel.ChannelFindRequest)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  channelid_.ClearToEmpty();
  if (GetArenaForAllocation() == nullptr && base_ != nullptr) {
    delete base_;
  }
  base_ = nullptr;
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* ChannelFindRequest::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_base(), ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // string channelId = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 18)) {
          auto str = _internal_mutable_channelid();
          ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.channel.ChannelFindRequest.channelId"));
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* ChannelFindRequest::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.channel.ChannelFindRequest)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
  if (this->_internal_has_base()) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::
      InternalWriteMessage(
        1, _Internal::base(this), target, stream);
  }

  // string channelId = 2;
  if (!this->_internal_channelid().empty()) {
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->_internal_channelid().data(), static_cast<int>(this->_internal_channelid().length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.channel.ChannelFindRequest.channelId");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_channelid(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.channel.ChannelFindRequest)
  return target;
}

size_t ChannelFindRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.channel.ChannelFindRequest)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // string channelId = 2;
  if (!this->_internal_channelid().empty()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
        this->_internal_channelid());
  }

  // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
  if (this->_internal_has_base()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::MessageSize(
        *base_);
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData ChannelFindRequest::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    ChannelFindRequest::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*ChannelFindRequest::GetClassData() const { return &_class_data_; }

void ChannelFindRequest::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<ChannelFindRequest *>(to)->MergeFrom(
      static_cast<const ChannelFindRequest &>(from));
}


void ChannelFindRequest::MergeFrom(const ChannelFindRequest& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.channel.ChannelFindRequest)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (!from._internal_channelid().empty()) {
    _internal_set_channelid(from._internal_channelid());
  }
  if (from._internal_has_base()) {
    _internal_mutable_base()->::heroim::client::v3beta::dto::shared::APIRequest::MergeFrom(from._internal_base());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void ChannelFindRequest::CopyFrom(const ChannelFindRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.channel.ChannelFindRequest)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool ChannelFindRequest::IsInitialized() const {
  return true;
}

void ChannelFindRequest::InternalSwap(ChannelFindRequest* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  ::herogoogle::protobuf::internal::ArenaStringPtr::InternalSwap(
      &::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(),
      &channelid_, lhs_arena,
      &other->channelid_, rhs_arena
  );
  swap(base_, other->base_);
}

::herogoogle::protobuf::Metadata ChannelFindRequest::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto[0]);
}

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

class ChannelFindResponse::_Internal {
 public:
  static const ::heroim::client::v3beta::dto::channel::model::Channel& channel(const ChannelFindResponse* msg);
};

const ::heroim::client::v3beta::dto::channel::model::Channel&
ChannelFindResponse::_Internal::channel(const ChannelFindResponse* msg) {
  return *msg->channel_;
}
void ChannelFindResponse::clear_channel() {
  if (GetArenaForAllocation() == nullptr && channel_ != nullptr) {
    delete channel_;
  }
  channel_ = nullptr;
}
ChannelFindResponse::ChannelFindResponse(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.channel.ChannelFindResponse)
}
ChannelFindResponse::ChannelFindResponse(const ChannelFindResponse& from)
  : ::herogoogle::protobuf::Message() {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  if (from._internal_has_channel()) {
    channel_ = new ::heroim::client::v3beta::dto::channel::model::Channel(*from.channel_);
  } else {
    channel_ = nullptr;
  }
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.channel.ChannelFindResponse)
}

void ChannelFindResponse::SharedCtor() {
channel_ = nullptr;
}

ChannelFindResponse::~ChannelFindResponse() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.channel.ChannelFindResponse)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void ChannelFindResponse::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  if (this != internal_default_instance()) delete channel_;
}

void ChannelFindResponse::ArenaDtor(void* object) {
  ChannelFindResponse* _this = reinterpret_cast< ChannelFindResponse* >(object);
  (void)_this;
}
void ChannelFindResponse::RegisterArenaDtor(::herogoogle::protobuf::Arena*) {
}
void ChannelFindResponse::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void ChannelFindResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.channel.ChannelFindResponse)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  if (GetArenaForAllocation() == nullptr && channel_ != nullptr) {
    delete channel_;
  }
  channel_ = nullptr;
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* ChannelFindResponse::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // .heroim.client.v3beta.dto.channel.model.Channel channel = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_channel(), ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* ChannelFindResponse::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.channel.ChannelFindResponse)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // .heroim.client.v3beta.dto.channel.model.Channel channel = 1;
  if (this->_internal_has_channel()) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::
      InternalWriteMessage(
        1, _Internal::channel(this), target, stream);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.channel.ChannelFindResponse)
  return target;
}

size_t ChannelFindResponse::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.channel.ChannelFindResponse)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // .heroim.client.v3beta.dto.channel.model.Channel channel = 1;
  if (this->_internal_has_channel()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::MessageSize(
        *channel_);
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData ChannelFindResponse::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    ChannelFindResponse::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*ChannelFindResponse::GetClassData() const { return &_class_data_; }

void ChannelFindResponse::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<ChannelFindResponse *>(to)->MergeFrom(
      static_cast<const ChannelFindResponse &>(from));
}


void ChannelFindResponse::MergeFrom(const ChannelFindResponse& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.channel.ChannelFindResponse)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (from._internal_has_channel()) {
    _internal_mutable_channel()->::heroim::client::v3beta::dto::channel::model::Channel::MergeFrom(from._internal_channel());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void ChannelFindResponse::CopyFrom(const ChannelFindResponse& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.channel.ChannelFindResponse)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool ChannelFindResponse::IsInitialized() const {
  return true;
}

void ChannelFindResponse::InternalSwap(ChannelFindResponse* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(channel_, other->channel_);
}

::herogoogle::protobuf::Metadata ChannelFindResponse::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto[1]);
}

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

class ChannelListRequest::_Internal {
 public:
  static const ::heroim::client::v3beta::dto::shared::APIRequest& base(const ChannelListRequest* msg);
};

const ::heroim::client::v3beta::dto::shared::APIRequest&
ChannelListRequest::_Internal::base(const ChannelListRequest* msg) {
  return *msg->base_;
}
void ChannelListRequest::clear_base() {
  if (GetArenaForAllocation() == nullptr && base_ != nullptr) {
    delete base_;
  }
  base_ = nullptr;
}
ChannelListRequest::ChannelListRequest(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned),
  channelids_(arena) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.channel.ChannelListRequest)
}
ChannelListRequest::ChannelListRequest(const ChannelListRequest& from)
  : ::herogoogle::protobuf::Message(),
      channelids_(from.channelids_) {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  if (from._internal_has_base()) {
    base_ = new ::heroim::client::v3beta::dto::shared::APIRequest(*from.base_);
  } else {
    base_ = nullptr;
  }
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.channel.ChannelListRequest)
}

void ChannelListRequest::SharedCtor() {
base_ = nullptr;
}

ChannelListRequest::~ChannelListRequest() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.channel.ChannelListRequest)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void ChannelListRequest::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  if (this != internal_default_instance()) delete base_;
}

void ChannelListRequest::ArenaDtor(void* object) {
  ChannelListRequest* _this = reinterpret_cast< ChannelListRequest* >(object);
  (void)_this;
}
void ChannelListRequest::RegisterArenaDtor(::herogoogle::protobuf::Arena*) {
}
void ChannelListRequest::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void ChannelListRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.channel.ChannelListRequest)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  channelids_.Clear();
  if (GetArenaForAllocation() == nullptr && base_ != nullptr) {
    delete base_;
  }
  base_ = nullptr;
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* ChannelListRequest::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_base(), ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // repeated string channelIds = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 18)) {
          ptr -= 1;
          do {
            ptr += 1;
            auto str = _internal_add_channelids();
            ptr = ::herogoogle::protobuf::internal::InlineGreedyStringParser(str, ptr, ctx);
            CHK_(::herogoogle::protobuf::internal::VerifyUTF8(str, "heroim.client.v3beta.dto.channel.ChannelListRequest.channelIds"));
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::herogoogle::protobuf::internal::ExpectTag<18>(ptr));
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* ChannelListRequest::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.channel.ChannelListRequest)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
  if (this->_internal_has_base()) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::
      InternalWriteMessage(
        1, _Internal::base(this), target, stream);
  }

  // repeated string channelIds = 2;
  for (int i = 0, n = this->_internal_channelids_size(); i < n; i++) {
    const auto& s = this->_internal_channelids(i);
    ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(
      s.data(), static_cast<int>(s.length()),
      ::herogoogle::protobuf::internal::WireFormatLite::SERIALIZE,
      "heroim.client.v3beta.dto.channel.ChannelListRequest.channelIds");
    target = stream->WriteString(2, s, target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.channel.ChannelListRequest)
  return target;
}

size_t ChannelListRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.channel.ChannelListRequest)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // repeated string channelIds = 2;
  total_size += 1 *
      ::herogoogle::protobuf::internal::FromIntSize(channelids_.size());
  for (int i = 0, n = channelids_.size(); i < n; i++) {
    total_size += ::herogoogle::protobuf::internal::WireFormatLite::StringSize(
      channelids_.Get(i));
  }

  // .heroim.client.v3beta.dto.shared.APIRequest base = 1;
  if (this->_internal_has_base()) {
    total_size += 1 +
      ::herogoogle::protobuf::internal::WireFormatLite::MessageSize(
        *base_);
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData ChannelListRequest::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    ChannelListRequest::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*ChannelListRequest::GetClassData() const { return &_class_data_; }

void ChannelListRequest::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<ChannelListRequest *>(to)->MergeFrom(
      static_cast<const ChannelListRequest &>(from));
}


void ChannelListRequest::MergeFrom(const ChannelListRequest& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.channel.ChannelListRequest)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  channelids_.MergeFrom(from.channelids_);
  if (from._internal_has_base()) {
    _internal_mutable_base()->::heroim::client::v3beta::dto::shared::APIRequest::MergeFrom(from._internal_base());
  }
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void ChannelListRequest::CopyFrom(const ChannelListRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.channel.ChannelListRequest)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool ChannelListRequest::IsInitialized() const {
  return true;
}

void ChannelListRequest::InternalSwap(ChannelListRequest* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  channelids_.InternalSwap(&other->channelids_);
  swap(base_, other->base_);
}

::herogoogle::protobuf::Metadata ChannelListRequest::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto[2]);
}

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

class ChannelListResponse::_Internal {
 public:
};

void ChannelListResponse::clear_channel() {
  channel_.Clear();
}
ChannelListResponse::ChannelListResponse(::herogoogle::protobuf::Arena* arena,
                         bool is_message_owned)
  : ::herogoogle::protobuf::Message(arena, is_message_owned),
  channel_(arena) {
  SharedCtor();
  if (!is_message_owned) {
    RegisterArenaDtor(arena);
  }
  // @@protoc_insertion_point(arena_constructor:heroim.client.v3beta.dto.channel.ChannelListResponse)
}
ChannelListResponse::ChannelListResponse(const ChannelListResponse& from)
  : ::herogoogle::protobuf::Message(),
      channel_(from.channel_) {
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
  // @@protoc_insertion_point(copy_constructor:heroim.client.v3beta.dto.channel.ChannelListResponse)
}

void ChannelListResponse::SharedCtor() {
}

ChannelListResponse::~ChannelListResponse() {
  // @@protoc_insertion_point(destructor:heroim.client.v3beta.dto.channel.ChannelListResponse)
  if (GetArenaForAllocation() != nullptr) return;
  SharedDtor();
  _internal_metadata_.Delete<::herogoogle::protobuf::UnknownFieldSet>();
}

inline void ChannelListResponse::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}

void ChannelListResponse::ArenaDtor(void* object) {
  ChannelListResponse* _this = reinterpret_cast< ChannelListResponse* >(object);
  (void)_this;
}
void ChannelListResponse::RegisterArenaDtor(::herogoogle::protobuf::Arena*) {
}
void ChannelListResponse::SetCachedSize(int size) const {
  _cached_size_.Set(size);
}

void ChannelListResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:heroim.client.v3beta.dto.channel.ChannelListResponse)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  channel_.Clear();
  _internal_metadata_.Clear<::herogoogle::protobuf::UnknownFieldSet>();
}

const char* ChannelListResponse::_InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  while (!ctx->Done(&ptr)) {
    ::herogoogle::protobuf::uint32 tag;
    ptr = ::herogoogle::protobuf::internal::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // repeated .heroim.client.v3beta.dto.channel.model.Channel channel = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::herogoogle::protobuf::uint8>(tag) == 10)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(_internal_add_channel(), ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::herogoogle::protobuf::internal::ExpectTag<10>(ptr));
        } else
          goto handle_unusual;
        continue;
      default:
        goto handle_unusual;
    }  // switch
  handle_unusual:
    if ((tag == 0) || ((tag & 7) == 4)) {
      CHK_(ptr);
      ctx->SetLastTag(tag);
      goto message_done;
    }
    ptr = UnknownFieldParse(
        tag,
        _internal_metadata_.mutable_unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

::herogoogle::protobuf::uint8* ChannelListResponse::_InternalSerialize(
    ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:heroim.client.v3beta.dto.channel.ChannelListResponse)
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  // repeated .heroim.client.v3beta.dto.channel.model.Channel channel = 1;
  for (unsigned int i = 0,
      n = static_cast<unsigned int>(this->_internal_channel_size()); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::herogoogle::protobuf::internal::WireFormatLite::
      InternalWriteMessage(1, this->_internal_channel(i), target, stream);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::herogoogle::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::herogoogle::protobuf::UnknownFieldSet>(::herogoogle::protobuf::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:heroim.client.v3beta.dto.channel.ChannelListResponse)
  return target;
}

size_t ChannelListResponse::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:heroim.client.v3beta.dto.channel.ChannelListResponse)
  size_t total_size = 0;

  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // repeated .heroim.client.v3beta.dto.channel.model.Channel channel = 1;
  total_size += 1UL * this->_internal_channel_size();
  for (const auto& msg : this->channel_) {
    total_size +=
      ::herogoogle::protobuf::internal::WireFormatLite::MessageSize(msg);
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
}

const ::herogoogle::protobuf::Message::ClassData ChannelListResponse::_class_data_ = {
    ::herogoogle::protobuf::Message::CopyWithSizeCheck,
    ChannelListResponse::MergeImpl
};
const ::herogoogle::protobuf::Message::ClassData*ChannelListResponse::GetClassData() const { return &_class_data_; }

void ChannelListResponse::MergeImpl(::herogoogle::protobuf::Message* to,
                      const ::herogoogle::protobuf::Message& from) {
  static_cast<ChannelListResponse *>(to)->MergeFrom(
      static_cast<const ChannelListResponse &>(from));
}


void ChannelListResponse::MergeFrom(const ChannelListResponse& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:heroim.client.v3beta.dto.channel.ChannelListResponse)
  GOOGLE_DCHECK_NE(&from, this);
  ::herogoogle::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  channel_.MergeFrom(from.channel_);
  _internal_metadata_.MergeFrom<::herogoogle::protobuf::UnknownFieldSet>(from._internal_metadata_);
}

void ChannelListResponse::CopyFrom(const ChannelListResponse& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:heroim.client.v3beta.dto.channel.ChannelListResponse)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool ChannelListResponse::IsInitialized() const {
  return true;
}

void ChannelListResponse::InternalSwap(ChannelListResponse* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  channel_.InternalSwap(&other->channel_);
}

::herogoogle::protobuf::Metadata ChannelListResponse::GetMetadata() const {
  return ::herogoogle::protobuf::internal::AssignDescriptors(
      &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_getter, &descriptor_table_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto_once,
      file_level_metadata_client_2fv3beta_2fdto_2fchannel_2fchannel_5fdto_2eproto[3]);
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace channel
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::channel::ChannelFindRequest* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::channel::ChannelFindRequest >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::channel::ChannelFindRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::channel::ChannelFindResponse* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::channel::ChannelFindResponse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::channel::ChannelFindResponse >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::channel::ChannelListRequest* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::channel::ChannelListRequest >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::channel::ChannelListRequest >(arena);
}
template<> PROTOBUF_NOINLINE ::heroim::client::v3beta::dto::channel::ChannelListResponse* Arena::CreateMaybeMessage< ::heroim::client::v3beta::dto::channel::ChannelListResponse >(Arena* arena) {
  return Arena::CreateMessageInternal< ::heroim::client::v3beta::dto::channel::ChannelListResponse >(arena);
}
PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

