// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: steammessages_helprequest.steamworkssdk.proto

#include "steammessages_helprequest.steamworkssdk.pb.h"

#include <algorithm>

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

PROTOBUF_PRAGMA_INIT_SEG

namespace _pb = ::PROTOBUF_NAMESPACE_ID;
namespace _pbi = _pb::internal;

PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._has_bits_)*/{}
  , /*decltype(_impl_._cached_size_)*/{}
  , /*decltype(_impl_.log_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
  , /*decltype(_impl_.version_string_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
  , /*decltype(_impl_.log_contents_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
  , /*decltype(_impl_.appid_)*/0u} {}
struct CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal {
  PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal() {}
  union {
    CHelpRequestLogs_UploadUserApplicationLog_Request _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CHelpRequestLogs_UploadUserApplicationLog_RequestDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_;
PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response(
    ::_pbi::ConstantInitialized): _impl_{
    /*decltype(_impl_._has_bits_)*/{}
  , /*decltype(_impl_._cached_size_)*/{}
  , /*decltype(_impl_.id_)*/uint64_t{0u}} {}
struct CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal {
  PROTOBUF_CONSTEXPR CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal()
      : _instance(::_pbi::ConstantInitialized{}) {}
  ~CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal() {}
  union {
    CHelpRequestLogs_UploadUserApplicationLog_Response _instance;
  };
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CHelpRequestLogs_UploadUserApplicationLog_ResponseDefaultTypeInternal _CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_;
static ::_pb::Metadata file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[2];
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto = nullptr;
static const ::_pb::ServiceDescriptor* file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[1];

const uint32_t TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_._has_bits_),
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.appid_),
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.log_type_),
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.version_string_),
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Request, _impl_.log_contents_),
  3,
  0,
  1,
  2,
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _impl_._has_bits_),
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  ~0u,  // no _inlined_string_donated_
  PROTOBUF_FIELD_OFFSET(::CHelpRequestLogs_UploadUserApplicationLog_Response, _impl_.id_),
  0,
};
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  { 0, 10, -1, sizeof(::CHelpRequestLogs_UploadUserApplicationLog_Request)},
  { 14, 21, -1, sizeof(::CHelpRequestLogs_UploadUserApplicationLog_Response)},
};

static const ::_pb::Message* const file_default_instances[] = {
  &::_CHelpRequestLogs_UploadUserApplicationLog_Request_default_instance_._instance,
  &::_CHelpRequestLogs_UploadUserApplicationLog_Response_default_instance_._instance,
};

const char descriptor_table_protodef_steammessages_5fhelprequest_2esteamworkssdk_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  "\n-steammessages_helprequest.steamworkssd"
  "k.proto\032.steammessages_unified_base.stea"
  "mworkssdk.proto\"\202\001\n1CHelpRequestLogs_Upl"
  "oadUserApplicationLog_Request\022\r\n\005appid\030\001"
  " \001(\r\022\020\n\010log_type\030\002 \001(\t\022\026\n\016version_string"
  "\030\003 \001(\t\022\024\n\014log_contents\030\004 \001(\t\"@\n2CHelpReq"
  "uestLogs_UploadUserApplicationLog_Respon"
  "se\022\n\n\002id\030\001 \001(\0042\356\001\n\017HelpRequestLogs\022\250\001\n\030U"
  "ploadUserApplicationLog\0222.CHelpRequestLo"
  "gs_UploadUserApplicationLog_Request\0323.CH"
  "elpRequestLogs_UploadUserApplicationLog_"
  "Response\"#\202\265\030\037User uploading application"
  " logs\0320\202\265\030,Service for dealing with user"
  "-submitted logsB\003\200\001\001"
  ;
static const ::_pbi::DescriptorTable* const descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_deps[1] = {
  &::descriptor_table_steammessages_5funified_5fbase_2esteamworkssdk_2eproto,
};
static ::_pbi::once_flag descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto = {
    false, false, 540, descriptor_table_protodef_steammessages_5fhelprequest_2esteamworkssdk_2eproto,
    "steammessages_helprequest.steamworkssdk.proto",
    &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once, descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_deps, 1, 2,
    schemas, file_default_instances, TableStruct_steammessages_5fhelprequest_2esteamworkssdk_2eproto::offsets,
    file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto, file_level_enum_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto,
    file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto,
};
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter() {
  return &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto;
}

// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_steammessages_5fhelprequest_2esteamworkssdk_2eproto(&descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto);

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

class CHelpRequestLogs_UploadUserApplicationLog_Request::_Internal {
 public:
  using HasBits = decltype(std::declval<CHelpRequestLogs_UploadUserApplicationLog_Request>()._impl_._has_bits_);
  static void set_has_appid(HasBits* has_bits) {
    (*has_bits)[0] |= 8u;
  }
  static void set_has_log_type(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
  static void set_has_version_string(HasBits* has_bits) {
    (*has_bits)[0] |= 2u;
  }
  static void set_has_log_contents(HasBits* has_bits) {
    (*has_bits)[0] |= 4u;
  }
};

CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor(arena, is_message_owned);
  // @@protoc_insertion_point(arena_constructor:CHelpRequestLogs_UploadUserApplicationLog_Request)
}
CHelpRequestLogs_UploadUserApplicationLog_Request::CHelpRequestLogs_UploadUserApplicationLog_Request(const CHelpRequestLogs_UploadUserApplicationLog_Request& from)
  : ::PROTOBUF_NAMESPACE_ID::Message() {
  CHelpRequestLogs_UploadUserApplicationLog_Request* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.log_type_){}
    , decltype(_impl_.version_string_){}
    , decltype(_impl_.log_contents_){}
    , decltype(_impl_.appid_){}};

  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  _impl_.log_type_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    _impl_.log_type_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (from._internal_has_log_type()) {
    _this->_impl_.log_type_.Set(from._internal_log_type(), 
      _this->GetArenaForAllocation());
  }
  _impl_.version_string_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    _impl_.version_string_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (from._internal_has_version_string()) {
    _this->_impl_.version_string_.Set(from._internal_version_string(), 
      _this->GetArenaForAllocation());
  }
  _impl_.log_contents_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    _impl_.log_contents_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (from._internal_has_log_contents()) {
    _this->_impl_.log_contents_.Set(from._internal_log_contents(), 
      _this->GetArenaForAllocation());
  }
  _this->_impl_.appid_ = from._impl_.appid_;
  // @@protoc_insertion_point(copy_constructor:CHelpRequestLogs_UploadUserApplicationLog_Request)
}

inline void CHelpRequestLogs_UploadUserApplicationLog_Request::SharedCtor(
    ::_pb::Arena* arena, bool is_message_owned) {
  (void)arena;
  (void)is_message_owned;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.log_type_){}
    , decltype(_impl_.version_string_){}
    , decltype(_impl_.log_contents_){}
    , decltype(_impl_.appid_){0u}
  };
  _impl_.log_type_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    _impl_.log_type_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  _impl_.version_string_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    _impl_.version_string_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  _impl_.log_contents_.InitDefault();
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
    _impl_.log_contents_.Set("", GetArenaForAllocation());
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
}

CHelpRequestLogs_UploadUserApplicationLog_Request::~CHelpRequestLogs_UploadUserApplicationLog_Request() {
  // @@protoc_insertion_point(destructor:CHelpRequestLogs_UploadUserApplicationLog_Request)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

inline void CHelpRequestLogs_UploadUserApplicationLog_Request::SharedDtor() {
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
  _impl_.log_type_.Destroy();
  _impl_.version_string_.Destroy();
  _impl_.log_contents_.Destroy();
}

void CHelpRequestLogs_UploadUserApplicationLog_Request::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void CHelpRequestLogs_UploadUserApplicationLog_Request::Clear() {
// @@protoc_insertion_point(message_clear_start:CHelpRequestLogs_UploadUserApplicationLog_Request)
  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    if (cached_has_bits & 0x00000001u) {
      _impl_.log_type_.ClearNonDefaultToEmpty();
    }
    if (cached_has_bits & 0x00000002u) {
      _impl_.version_string_.ClearNonDefaultToEmpty();
    }
    if (cached_has_bits & 0x00000004u) {
      _impl_.log_contents_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.appid_ = 0u;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* CHelpRequestLogs_UploadUserApplicationLog_Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  while (!ctx->Done(&ptr)) {
    uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // optional uint32 appid = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
          _Internal::set_has_appid(&has_bits);
          _impl_.appid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
          CHK_(ptr);
        } else
          goto handle_unusual;
        continue;
      // optional string log_type = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
          auto str = _internal_mutable_log_type();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          #ifndef NDEBUG
          ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.log_type");
          #endif  // !NDEBUG
        } else
          goto handle_unusual;
        continue;
      // optional string version_string = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
          auto str = _internal_mutable_version_string();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          #ifndef NDEBUG
          ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.version_string");
          #endif  // !NDEBUG
        } else
          goto handle_unusual;
        continue;
      // optional string log_contents = 4;
      case 4:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
          auto str = _internal_mutable_log_contents();
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
          CHK_(ptr);
          #ifndef NDEBUG
          ::_pbi::VerifyUTF8(str, "CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents");
          #endif  // !NDEBUG
        } 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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  _impl_._has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

uint8_t* CHelpRequestLogs_UploadUserApplicationLog_Request::_InternalSerialize(
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:CHelpRequestLogs_UploadUserApplicationLog_Request)
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  // optional uint32 appid = 1;
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_appid(), target);
  }

  // optional string log_type = 2;
  if (cached_has_bits & 0x00000001u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_log_type().data(), static_cast<int>(this->_internal_log_type().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "CHelpRequestLogs_UploadUserApplicationLog_Request.log_type");
    target = stream->WriteStringMaybeAliased(
        2, this->_internal_log_type(), target);
  }

  // optional string version_string = 3;
  if (cached_has_bits & 0x00000002u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_version_string().data(), static_cast<int>(this->_internal_version_string().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "CHelpRequestLogs_UploadUserApplicationLog_Request.version_string");
    target = stream->WriteStringMaybeAliased(
        3, this->_internal_version_string(), target);
  }

  // optional string log_contents = 4;
  if (cached_has_bits & 0x00000004u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_log_contents().data(), static_cast<int>(this->_internal_log_contents().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "CHelpRequestLogs_UploadUserApplicationLog_Request.log_contents");
    target = stream->WriteStringMaybeAliased(
        4, this->_internal_log_contents(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:CHelpRequestLogs_UploadUserApplicationLog_Request)
  return target;
}

size_t CHelpRequestLogs_UploadUserApplicationLog_Request::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:CHelpRequestLogs_UploadUserApplicationLog_Request)
  size_t total_size = 0;

  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (cached_has_bits & 0x0000000fu) {
    // optional string log_type = 2;
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_log_type());
    }

    // optional string version_string = 3;
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_version_string());
    }

    // optional string log_contents = 4;
    if (cached_has_bits & 0x00000004u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
          this->_internal_log_contents());
    }

    // optional uint32 appid = 1;
    if (cached_has_bits & 0x00000008u) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_appid());
    }

  }
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CHelpRequestLogs_UploadUserApplicationLog_Request::_class_data_ = {
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
    CHelpRequestLogs_UploadUserApplicationLog_Request::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CHelpRequestLogs_UploadUserApplicationLog_Request::GetClassData() const { return &_class_data_; }


void CHelpRequestLogs_UploadUserApplicationLog_Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  auto* const _this = static_cast<CHelpRequestLogs_UploadUserApplicationLog_Request*>(&to_msg);
  auto& from = static_cast<const CHelpRequestLogs_UploadUserApplicationLog_Request&>(from_msg);
  // @@protoc_insertion_point(class_specific_merge_from_start:CHelpRequestLogs_UploadUserApplicationLog_Request)
  GOOGLE_DCHECK_NE(&from, _this);
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (cached_has_bits & 0x0000000fu) {
    if (cached_has_bits & 0x00000001u) {
      _this->_internal_set_log_type(from._internal_log_type());
    }
    if (cached_has_bits & 0x00000002u) {
      _this->_internal_set_version_string(from._internal_version_string());
    }
    if (cached_has_bits & 0x00000004u) {
      _this->_internal_set_log_contents(from._internal_log_contents());
    }
    if (cached_has_bits & 0x00000008u) {
      _this->_impl_.appid_ = from._impl_.appid_;
    }
    _this->_impl_._has_bits_[0] |= cached_has_bits;
  }
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

void CHelpRequestLogs_UploadUserApplicationLog_Request::CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Request& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:CHelpRequestLogs_UploadUserApplicationLog_Request)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

void CHelpRequestLogs_UploadUserApplicationLog_Request::InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Request* other) {
  using std::swap;
  auto* lhs_arena = GetArenaForAllocation();
  auto* rhs_arena = other->GetArenaForAllocation();
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &_impl_.log_type_, lhs_arena,
      &other->_impl_.log_type_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &_impl_.version_string_, lhs_arena,
      &other->_impl_.version_string_, rhs_arena
  );
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
      &_impl_.log_contents_, lhs_arena,
      &other->_impl_.log_contents_, rhs_arena
  );
  swap(_impl_.appid_, other->_impl_.appid_);
}

::PROTOBUF_NAMESPACE_ID::Metadata CHelpRequestLogs_UploadUserApplicationLog_Request::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once,
      file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]);
}

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

class CHelpRequestLogs_UploadUserApplicationLog_Response::_Internal {
 public:
  using HasBits = decltype(std::declval<CHelpRequestLogs_UploadUserApplicationLog_Response>()._impl_._has_bits_);
  static void set_has_id(HasBits* has_bits) {
    (*has_bits)[0] |= 1u;
  }
};

CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                         bool is_message_owned)
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
  SharedCtor(arena, is_message_owned);
  // @@protoc_insertion_point(arena_constructor:CHelpRequestLogs_UploadUserApplicationLog_Response)
}
CHelpRequestLogs_UploadUserApplicationLog_Response::CHelpRequestLogs_UploadUserApplicationLog_Response(const CHelpRequestLogs_UploadUserApplicationLog_Response& from)
  : ::PROTOBUF_NAMESPACE_ID::Message() {
  CHelpRequestLogs_UploadUserApplicationLog_Response* const _this = this; (void)_this;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.id_){}};

  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  _this->_impl_.id_ = from._impl_.id_;
  // @@protoc_insertion_point(copy_constructor:CHelpRequestLogs_UploadUserApplicationLog_Response)
}

inline void CHelpRequestLogs_UploadUserApplicationLog_Response::SharedCtor(
    ::_pb::Arena* arena, bool is_message_owned) {
  (void)arena;
  (void)is_message_owned;
  new (&_impl_) Impl_{
      decltype(_impl_._has_bits_){}
    , /*decltype(_impl_._cached_size_)*/{}
    , decltype(_impl_.id_){uint64_t{0u}}
  };
}

CHelpRequestLogs_UploadUserApplicationLog_Response::~CHelpRequestLogs_UploadUserApplicationLog_Response() {
  // @@protoc_insertion_point(destructor:CHelpRequestLogs_UploadUserApplicationLog_Response)
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  (void)arena;
    return;
  }
  SharedDtor();
}

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

void CHelpRequestLogs_UploadUserApplicationLog_Response::SetCachedSize(int size) const {
  _impl_._cached_size_.Set(size);
}

void CHelpRequestLogs_UploadUserApplicationLog_Response::Clear() {
// @@protoc_insertion_point(message_clear_start:CHelpRequestLogs_UploadUserApplicationLog_Response)
  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _impl_.id_ = uint64_t{0u};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

const char* CHelpRequestLogs_UploadUserApplicationLog_Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  while (!ctx->Done(&ptr)) {
    uint32_t tag;
    ptr = ::_pbi::ReadTag(ptr, &tag);
    switch (tag >> 3) {
      // optional uint64 id = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
          _Internal::set_has_id(&has_bits);
          _impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&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<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
        ptr, ctx);
    CHK_(ptr != nullptr);
  }  // while
message_done:
  _impl_._has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto message_done;
#undef CHK_
}

uint8_t* CHelpRequestLogs_UploadUserApplicationLog_Response::_InternalSerialize(
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:CHelpRequestLogs_UploadUserApplicationLog_Response)
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  // optional uint64 id = 1;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_id(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:CHelpRequestLogs_UploadUserApplicationLog_Response)
  return target;
}

size_t CHelpRequestLogs_UploadUserApplicationLog_Response::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:CHelpRequestLogs_UploadUserApplicationLog_Response)
  size_t total_size = 0;

  uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  // optional uint64 id = 1;
  cached_has_bits = _impl_._has_bits_[0];
  if (cached_has_bits & 0x00000001u) {
    total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_id());
  }

  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CHelpRequestLogs_UploadUserApplicationLog_Response::_class_data_ = {
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
    CHelpRequestLogs_UploadUserApplicationLog_Response::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CHelpRequestLogs_UploadUserApplicationLog_Response::GetClassData() const { return &_class_data_; }


void CHelpRequestLogs_UploadUserApplicationLog_Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  auto* const _this = static_cast<CHelpRequestLogs_UploadUserApplicationLog_Response*>(&to_msg);
  auto& from = static_cast<const CHelpRequestLogs_UploadUserApplicationLog_Response&>(from_msg);
  // @@protoc_insertion_point(class_specific_merge_from_start:CHelpRequestLogs_UploadUserApplicationLog_Response)
  GOOGLE_DCHECK_NE(&from, _this);
  uint32_t cached_has_bits = 0;
  (void) cached_has_bits;

  if (from._internal_has_id()) {
    _this->_internal_set_id(from._internal_id());
  }
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}

void CHelpRequestLogs_UploadUserApplicationLog_Response::CopyFrom(const CHelpRequestLogs_UploadUserApplicationLog_Response& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:CHelpRequestLogs_UploadUserApplicationLog_Response)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

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

void CHelpRequestLogs_UploadUserApplicationLog_Response::InternalSwap(CHelpRequestLogs_UploadUserApplicationLog_Response* other) {
  using std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  swap(_impl_.id_, other->_impl_.id_);
}

::PROTOBUF_NAMESPACE_ID::Metadata CHelpRequestLogs_UploadUserApplicationLog_Response::GetMetadata() const {
  return ::_pbi::AssignDescriptors(
      &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_getter, &descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto_once,
      file_level_metadata_steammessages_5fhelprequest_2esteamworkssdk_2eproto[1]);
}

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

HelpRequestLogs::~HelpRequestLogs() {}

const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* HelpRequestLogs::descriptor() {
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_steammessages_5fhelprequest_2esteamworkssdk_2eproto);
  return file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0];
}

const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* HelpRequestLogs::GetDescriptor() {
  return descriptor();
}

void HelpRequestLogs::UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller,
                         const ::CHelpRequestLogs_UploadUserApplicationLog_Request*,
                         ::CHelpRequestLogs_UploadUserApplicationLog_Response*,
                         ::google::protobuf::Closure* done) {
  controller->SetFailed("Method UploadUserApplicationLog() not implemented.");
  done->Run();
}

void HelpRequestLogs::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method,
                             ::PROTOBUF_NAMESPACE_ID::RpcController* controller,
                             const ::PROTOBUF_NAMESPACE_ID::Message* request,
                             ::PROTOBUF_NAMESPACE_ID::Message* response,
                             ::google::protobuf::Closure* done) {
  GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_steammessages_5fhelprequest_2esteamworkssdk_2eproto[0]);
  switch(method->index()) {
    case 0:
      UploadUserApplicationLog(controller,
             ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::CHelpRequestLogs_UploadUserApplicationLog_Request*>(
                 request),
             ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::CHelpRequestLogs_UploadUserApplicationLog_Response*>(
                 response),
             done);
      break;
    default:
      GOOGLE_LOG(FATAL) << "Bad method index; this should never happen.";
      break;
  }
}

const ::PROTOBUF_NAMESPACE_ID::Message& HelpRequestLogs::GetRequestPrototype(
    const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const {
  GOOGLE_DCHECK_EQ(method->service(), descriptor());
  switch(method->index()) {
    case 0:
      return ::CHelpRequestLogs_UploadUserApplicationLog_Request::default_instance();
    default:
      GOOGLE_LOG(FATAL) << "Bad method index; this should never happen.";
      return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory()
          ->GetPrototype(method->input_type());
  }
}

const ::PROTOBUF_NAMESPACE_ID::Message& HelpRequestLogs::GetResponsePrototype(
    const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const {
  GOOGLE_DCHECK_EQ(method->service(), descriptor());
  switch(method->index()) {
    case 0:
      return ::CHelpRequestLogs_UploadUserApplicationLog_Response::default_instance();
    default:
      GOOGLE_LOG(FATAL) << "Bad method index; this should never happen.";
      return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory()
          ->GetPrototype(method->output_type());
  }
}

HelpRequestLogs_Stub::HelpRequestLogs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel)
  : channel_(channel), owns_channel_(false) {}
HelpRequestLogs_Stub::HelpRequestLogs_Stub(
    ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel,
    ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership)
  : channel_(channel),
    owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {}
HelpRequestLogs_Stub::~HelpRequestLogs_Stub() {
  if (owns_channel_) delete channel_;
}

void HelpRequestLogs_Stub::UploadUserApplicationLog(::PROTOBUF_NAMESPACE_ID::RpcController* controller,
                              const ::CHelpRequestLogs_UploadUserApplicationLog_Request* request,
                              ::CHelpRequestLogs_UploadUserApplicationLog_Response* response,
                              ::google::protobuf::Closure* done) {
  channel_->CallMethod(descriptor()->method(0),
                       controller, request, response, done);
}

// @@protoc_insertion_point(namespace_scope)
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::CHelpRequestLogs_UploadUserApplicationLog_Request*
Arena::CreateMaybeMessage< ::CHelpRequestLogs_UploadUserApplicationLog_Request >(Arena* arena) {
  return Arena::CreateMessageInternal< ::CHelpRequestLogs_UploadUserApplicationLog_Request >(arena);
}
template<> PROTOBUF_NOINLINE ::CHelpRequestLogs_UploadUserApplicationLog_Response*
Arena::CreateMaybeMessage< ::CHelpRequestLogs_UploadUserApplicationLog_Response >(Arena* arena) {
  return Arena::CreateMessageInternal< ::CHelpRequestLogs_UploadUserApplicationLog_Response >(arena);
}
PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
