// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: components/optimization_guide/proto/features/example_for_testing.proto
// Protobuf C++ Version: 7.35.1

#include "components/optimization_guide/proto/features/example_for_testing.pb.h"

#include <algorithm>
#include <type_traits>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/generated_message_tctable_impl.h"
#include "google/protobuf/internal_visibility.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace optimization_guide {
namespace proto {
class ExampleForTestingResponse::_Internal {
 public:
  using HasBits = decltype(::std::declval<ExampleForTestingResponse>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_._has_bits_);
};

constexpr ExampleForTestingResponse::ParseTableT_ ExampleForTestingResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_._has_bits_),
      0, // no _extensions_
      10, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966272,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // bool bool_value = 1;
      {::_pbi::TcParser::FastV8S1,
       {8, 1, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.bool_value_)}},
      // string string_value = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.string_value_)}},
      // .optimization_guide.proto.ExampleForTestingResponse.ExampleInsideMessageEnum inside_enum_value = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.inside_enum_value_)}},
      // float float_value = 4;
      {::_pbi::TcParser::FastF32S1,
       {37, 4, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.float_value_)}},
      // double double_value = 5;
      {::_pbi::TcParser::FastF64S1,
       {41, 3, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.double_value_)}},
      // int32 int32_value = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 5, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.int32_value_)}},
      // uint32 uint32_value = 7;
      {::_pbi::TcParser::FastV32S1,
       {56, 7, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.uint32_value_)}},
      // int64 int64_value = 8;
      {::_pbi::TcParser::FastV64S1,
       {64, 6, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.int64_value_)}},
      // uint64 uint64_value = 9;
      {::_pbi::TcParser::FastV64S1,
       {72, 9, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.uint64_value_)}},
      // .optimization_guide.proto.ExampleForTestingOutsideMessageEnum outside_enum_value = 10;
      {::_pbi::TcParser::FastV32S1,
       {80, 8, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.outside_enum_value_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // bool bool_value = 1;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.bool_value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // string string_value = 2;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.string_value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .optimization_guide.proto.ExampleForTestingResponse.ExampleInsideMessageEnum inside_enum_value = 3;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.inside_enum_value_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // float float_value = 4;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.float_value_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kFloat)},
      // double double_value = 5;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.double_value_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
      // int32 int32_value = 6;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.int32_value_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // uint32 uint32_value = 7;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.uint32_value_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // int64 int64_value = 8;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.int64_value_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // uint64 uint64_value = 9;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.uint64_value_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // .optimization_guide.proto.ExampleForTestingOutsideMessageEnum outside_enum_value = 10;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.outside_enum_value_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
    }},
    // no aux_entries
    {{
      "\62\0\14\0\0\0\0\0\0\0\0\0\0\0\0\0"
      "optimization_guide.proto.ExampleForTestingResponse"
      "string_value"
    }},
  };
}


inline constexpr ExampleForTestingResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        string_value_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        bool_value_{false},
        inside_enum_value_{static_cast< ::optimization_guide::proto::ExampleForTestingResponse_ExampleInsideMessageEnum >(0)},
        double_value_{0},
        float_value_{0},
        int32_value_{0},
        int64_value_{::int64_t{0}},
        uint32_value_{0u},
        outside_enum_value_{static_cast< ::optimization_guide::proto::ExampleForTestingOutsideMessageEnum >(0)},
        uint64_value_{::uint64_t{0u}} {}

template <typename>
constexpr ExampleForTestingResponse::ExampleForTestingResponse(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL ExampleForTestingResponse::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) ExampleForTestingResponse(arena);
}
constexpr auto ExampleForTestingResponse::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExampleForTestingResponse), alignof(ExampleForTestingResponse));
}
constexpr auto ExampleForTestingResponse::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &ExampleForTestingResponse::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<ExampleForTestingResponse>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &ExampleForTestingResponse::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<ExampleForTestingResponse>(), &ExampleForTestingResponse::ByteSizeLong,
              &ExampleForTestingResponse::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_._cached_size_),
          true,
      },
      "optimization_guide.proto.ExampleForTestingResponse",
  };
}
struct ExampleForTestingResponseGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr ExampleForTestingResponseGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 ExampleForTestingResponse_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(ExampleForTestingResponse::InternalGenerateClassData_(
            _default, &ExampleForTestingResponse_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingResponse>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~ExampleForTestingResponseGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) ExampleForTestingResponse _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingResponse>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(ExampleForTestingResponseGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ExampleForTestingResponseGlobalsTypeInternal ExampleForTestingResponse_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ExampleForTestingResponse_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ExampleForTestingResponse_globals_.GetClassData();
#else
  return ExampleForTestingResponse_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ExampleForTestingMessage::_Internal {
 public:
  using HasBits = decltype(::std::declval<ExampleForTestingMessage>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_._has_bits_);
};

constexpr ExampleForTestingMessage::ParseTableT_ ExampleForTestingMessage::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingMessage>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .optimization_guide.proto.Media media = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.media_)}},
      // bool bool_value = 1;
      {::_pbi::TcParser::FastV8S1,
       {8, 2, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.bool_value_)}},
      // string string_value = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.string_value_)}},
      // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.enum_value_)}},
    }}, {{
      65535, 65535
    }}, {{
      // bool bool_value = 1;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.bool_value_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // string string_value = 2;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.string_value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.enum_value_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .optimization_guide.proto.Media media = 4;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.media_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::Media>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::Media_globals_},
        #endif
    }},
    {{
      "\61\0\14\0\0\0\0\0"
      "optimization_guide.proto.ExampleForTestingMessage"
      "string_value"
    }},
  };
}


inline constexpr ExampleForTestingMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        string_value_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        media_{nullptr},
        bool_value_{false},
        enum_value_{static_cast< ::optimization_guide::proto::ExampleForTestingMessage_ExampleEnum >(0)} {}

template <typename>
constexpr ExampleForTestingMessage::ExampleForTestingMessage(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL ExampleForTestingMessage::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) ExampleForTestingMessage(arena);
}
constexpr auto ExampleForTestingMessage::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExampleForTestingMessage), alignof(ExampleForTestingMessage));
}
constexpr auto ExampleForTestingMessage::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &ExampleForTestingMessage::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<ExampleForTestingMessage>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &ExampleForTestingMessage::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<ExampleForTestingMessage>(), &ExampleForTestingMessage::ByteSizeLong,
              &ExampleForTestingMessage::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_._cached_size_),
          true,
      },
      "optimization_guide.proto.ExampleForTestingMessage",
  };
}
struct ExampleForTestingMessageGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr ExampleForTestingMessageGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 ExampleForTestingMessage_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(ExampleForTestingMessage::InternalGenerateClassData_(
            _default, &ExampleForTestingMessage_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingMessage>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~ExampleForTestingMessageGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) ExampleForTestingMessage _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingMessage>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(ExampleForTestingMessageGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ExampleForTestingMessageGlobalsTypeInternal ExampleForTestingMessage_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ExampleForTestingMessage_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ExampleForTestingMessage_globals_.GetClassData();
#else
  return ExampleForTestingMessage_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ExampleForTestingRequest::_Internal {
 public:
  using HasBits = decltype(::std::declval<ExampleForTestingRequest>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_._has_bits_);
};

constexpr ExampleForTestingRequest::ParseTableT_ ExampleForTestingRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // num_field_entries
      3,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // bool bool_value = 1;
      {::_pbi::TcParser::FastV8S1,
       {8, 4, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.bool_value_)}},
      // string string_value = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.string_value_)}},
      // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 5, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.enum_value_)}},
      // .optimization_guide.proto.ExampleForTestingMessage nested1 = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.nested1_)}},
      // .optimization_guide.proto.ExampleForTestingMessage nested2 = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 3, 1,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.nested2_)}},
      // repeated .optimization_guide.proto.ExampleForTestingMessage repeated_field = 6;
      {::_pbi::TcParser::FastMtR1,
       {50, 0, 2,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.repeated_field_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // bool bool_value = 1;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.bool_value_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // string string_value = 2;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.string_value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.enum_value_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .optimization_guide.proto.ExampleForTestingMessage nested1 = 4;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.nested1_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .optimization_guide.proto.ExampleForTestingMessage nested2 = 5;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.nested2_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .optimization_guide.proto.ExampleForTestingMessage repeated_field = 6;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.repeated_field_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::ExampleForTestingMessage_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::ExampleForTestingMessage_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::ExampleForTestingMessage_globals_},
        #endif
    }},
    {{
      "\61\0\14\0\0\0\0\0"
      "optimization_guide.proto.ExampleForTestingRequest"
      "string_value"
    }},
  };
}


inline constexpr ExampleForTestingRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        repeated_field_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::ExampleForTestingRequest,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::ExampleForTestingRequest, _impl_.repeated_field_)>()
         }
        ,
        string_value_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        nested1_{nullptr},
        nested2_{nullptr},
        bool_value_{false},
        enum_value_{static_cast< ::optimization_guide::proto::ExampleForTestingMessage_ExampleEnum >(0)} {}

template <typename>
constexpr ExampleForTestingRequest::ExampleForTestingRequest(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL ExampleForTestingRequest::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) ExampleForTestingRequest(arena);
}
constexpr auto ExampleForTestingRequest::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ExampleForTestingRequest), alignof(ExampleForTestingRequest));
}
constexpr auto ExampleForTestingRequest::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &ExampleForTestingRequest::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<ExampleForTestingRequest>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &ExampleForTestingRequest::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<ExampleForTestingRequest>(), &ExampleForTestingRequest::ByteSizeLong,
              &ExampleForTestingRequest::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_._cached_size_),
          true,
      },
      "optimization_guide.proto.ExampleForTestingRequest",
  };
}
struct ExampleForTestingRequestGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr ExampleForTestingRequestGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 ExampleForTestingRequest_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(ExampleForTestingRequest::InternalGenerateClassData_(
            _default, &ExampleForTestingRequest_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingRequest>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~ExampleForTestingRequestGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) ExampleForTestingRequest _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingRequest>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(ExampleForTestingRequestGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ExampleForTestingRequestGlobalsTypeInternal ExampleForTestingRequest_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ExampleForTestingRequest_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ExampleForTestingRequest_globals_.GetClassData();
#else
  return ExampleForTestingRequest_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ExampleForTestingData::_Internal {
 public:
  using HasBits = decltype(::std::declval<ExampleForTestingData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_._has_bits_);
};

constexpr ExampleForTestingData::ParseTableT_ ExampleForTestingData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .optimization_guide.proto.ExampleForTestingResponse response = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 1,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_.response_)}},
      // .optimization_guide.proto.ExampleForTestingRequest request = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_.request_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .optimization_guide.proto.ExampleForTestingRequest request = 1;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_.request_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .optimization_guide.proto.ExampleForTestingResponse response = 2;
      {PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_.response_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingRequest>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::ExampleForTestingRequest_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::optimization_guide::proto::ExampleForTestingResponse>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::optimization_guide::proto::ExampleForTestingResponse_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr ExampleForTestingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        request_{nullptr},
        response_{nullptr} {}

template <typename>
constexpr ExampleForTestingData::ExampleForTestingData(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL ExampleForTestingData::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) ExampleForTestingData(arena);
}
constexpr auto ExampleForTestingData::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ExampleForTestingData), alignof(ExampleForTestingData));
}
constexpr auto ExampleForTestingData::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &ExampleForTestingData::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<ExampleForTestingData>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &ExampleForTestingData::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<ExampleForTestingData>(), &ExampleForTestingData::ByteSizeLong,
              &ExampleForTestingData::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_._cached_size_),
          true,
      },
      "optimization_guide.proto.ExampleForTestingData",
  };
}
struct ExampleForTestingDataGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr ExampleForTestingDataGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 ExampleForTestingData_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(ExampleForTestingData::InternalGenerateClassData_(
            _default, &ExampleForTestingData_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingData>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~ExampleForTestingDataGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) ExampleForTestingData _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<ExampleForTestingData>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(ExampleForTestingDataGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ExampleForTestingDataGlobalsTypeInternal ExampleForTestingData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ExampleForTestingData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ExampleForTestingData_globals_.GetClassData();
#else
  return ExampleForTestingData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace optimization_guide
namespace optimization_guide {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t ExampleForTestingMessage_ExampleEnum_internal_data_[] = {
    131072u, 0u, };
static const char ExampleForTestingMessage_ExampleEnum_names[] = {
    "VALUE0"
    "VALUE1"
};

static const ::google::protobuf::internal::EnumEntry ExampleForTestingMessage_ExampleEnum_entries[] = {
    {{&ExampleForTestingMessage_ExampleEnum_names[0], 6}, 0},
    {{&ExampleForTestingMessage_ExampleEnum_names[6], 6}, 1},
};

static const int ExampleForTestingMessage_ExampleEnum_entries_by_number[] = {
    0,  // 0 -> VALUE0
    1,  // 1 -> VALUE1
};

bool ExampleForTestingMessage_ExampleEnum_Parse(::absl::string_view name,
                                  ExampleForTestingMessage_ExampleEnum* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ExampleForTestingMessage_ExampleEnum_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<ExampleForTestingMessage_ExampleEnum>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ExampleForTestingMessage_ExampleEnum_strings[2] = {};

const ::std::string& ExampleForTestingMessage_ExampleEnum_Name(ExampleForTestingMessage_ExampleEnum value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ExampleForTestingMessage_ExampleEnum_entries, ExampleForTestingMessage_ExampleEnum_entries_by_number, 2,
      ExampleForTestingMessage_ExampleEnum_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ExampleForTestingMessage_ExampleEnum_entries,
                                  ExampleForTestingMessage_ExampleEnum_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ExampleForTestingMessage_ExampleEnum_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t ExampleForTestingResponse_ExampleInsideMessageEnum_internal_data_[] = {
    131072u, 0u, };
static const char ExampleForTestingResponse_ExampleInsideMessageEnum_names[] = {
    "VALUE0"
    "VALUE1"
};

static const ::google::protobuf::internal::EnumEntry ExampleForTestingResponse_ExampleInsideMessageEnum_entries[] = {
    {{&ExampleForTestingResponse_ExampleInsideMessageEnum_names[0], 6}, 0},
    {{&ExampleForTestingResponse_ExampleInsideMessageEnum_names[6], 6}, 1},
};

static const int ExampleForTestingResponse_ExampleInsideMessageEnum_entries_by_number[] = {
    0,  // 0 -> VALUE0
    1,  // 1 -> VALUE1
};

bool ExampleForTestingResponse_ExampleInsideMessageEnum_Parse(::absl::string_view name,
                                  ExampleForTestingResponse_ExampleInsideMessageEnum* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ExampleForTestingResponse_ExampleInsideMessageEnum_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<ExampleForTestingResponse_ExampleInsideMessageEnum>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ExampleForTestingResponse_ExampleInsideMessageEnum_strings[2] = {};

const ::std::string& ExampleForTestingResponse_ExampleInsideMessageEnum_Name(ExampleForTestingResponse_ExampleInsideMessageEnum value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ExampleForTestingResponse_ExampleInsideMessageEnum_entries, ExampleForTestingResponse_ExampleInsideMessageEnum_entries_by_number, 2,
      ExampleForTestingResponse_ExampleInsideMessageEnum_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ExampleForTestingResponse_ExampleInsideMessageEnum_entries,
                                  ExampleForTestingResponse_ExampleInsideMessageEnum_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ExampleForTestingResponse_ExampleInsideMessageEnum_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t ExampleForTestingOutsideMessageEnum_internal_data_[] = {
    65536u, 32u, 512u, };
static const char ExampleForTestingOutsideMessageEnum_names[] = {
    "VALUE_A"
    "VALUE_B"
};

static const ::google::protobuf::internal::EnumEntry ExampleForTestingOutsideMessageEnum_entries[] = {
    {{&ExampleForTestingOutsideMessageEnum_names[0], 7}, 0},
    {{&ExampleForTestingOutsideMessageEnum_names[7], 7}, 10},
};

static const int ExampleForTestingOutsideMessageEnum_entries_by_number[] = {
    0,  // 0 -> VALUE_A
    1,  // 10 -> VALUE_B
};

bool ExampleForTestingOutsideMessageEnum_Parse(::absl::string_view name,
                                  ExampleForTestingOutsideMessageEnum* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ExampleForTestingOutsideMessageEnum_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<ExampleForTestingOutsideMessageEnum>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ExampleForTestingOutsideMessageEnum_strings[2] = {};

const ::std::string& ExampleForTestingOutsideMessageEnum_Name(ExampleForTestingOutsideMessageEnum value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ExampleForTestingOutsideMessageEnum_entries, ExampleForTestingOutsideMessageEnum_entries_by_number, 2,
      ExampleForTestingOutsideMessageEnum_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ExampleForTestingOutsideMessageEnum_entries,
                                  ExampleForTestingOutsideMessageEnum_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ExampleForTestingOutsideMessageEnum_strings[idx].get();
}
// ===================================================================

void ExampleForTestingMessage::clear_media() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.media_ != nullptr) _impl_.media_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
ExampleForTestingMessage::ExampleForTestingMessage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingMessage_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.ExampleForTestingMessage)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::ExampleForTestingMessage& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        string_value_(arena, from.string_value_) {}

ExampleForTestingMessage::ExampleForTestingMessage(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const ExampleForTestingMessage& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingMessage_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ExampleForTestingMessage* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.media_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.media_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, bool_value_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, bool_value_),
           offsetof(Impl_, enum_value_) -
               offsetof(Impl_, bool_value_) +
               sizeof(Impl_::enum_value_));

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.ExampleForTestingMessage)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        string_value_(arena) {}

inline void ExampleForTestingMessage::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, media_),
           0,
           offsetof(Impl_, enum_value_) -
               offsetof(Impl_, media_) +
               sizeof(Impl_::enum_value_));
}
ExampleForTestingMessage::~ExampleForTestingMessage() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.ExampleForTestingMessage)
  SharedDtor(*this);
}
inline void ExampleForTestingMessage::SharedDtor(MessageLite& self) {
  ExampleForTestingMessage& this_ = static_cast<ExampleForTestingMessage&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.string_value_.Destroy();
  delete this_._impl_.media_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ExampleForTestingMessage_class_data_ =
    ExampleForTestingMessage::InternalGenerateClassData_(ExampleForTestingMessage_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingMessage::GetClassData() const {
  return ExampleForTestingMessage_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingMessage::GetClassData() const {
  return ExampleForTestingMessage_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ExampleForTestingMessage::ParseTableT_
    ExampleForTestingMessage::_table_ =
        ExampleForTestingMessage::InternalGenerateParseTable_(ExampleForTestingMessage_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ExampleForTestingMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.ExampleForTestingMessage)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::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 (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.string_value_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.media_ != nullptr);
      _impl_.media_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
    ::memset(&_impl_.bool_value_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.enum_value_) -
        reinterpret_cast<char*>(&_impl_.bool_value_)) + sizeof(_impl_.enum_value_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL ExampleForTestingMessage::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const ExampleForTestingMessage& this_ = static_cast<const ExampleForTestingMessage&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL ExampleForTestingMessage::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const ExampleForTestingMessage& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:optimization_guide.proto.ExampleForTestingMessage)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // bool bool_value = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (this_._internal_bool_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          1, this_._internal_bool_value(), target);
    }
  }

  // string string_value = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_string_value().empty()) {
      const ::std::string& _s = this_._internal_string_value();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.ExampleForTestingMessage.string_value");
      target = stream->WriteStringMaybeAliased(2, _s, target);
    }
  }

  // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (this_._internal_enum_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          3, this_._internal_enum_value(), target);
    }
  }

  // .optimization_guide.proto.Media media = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.media_, this_._impl_.media_->GetCachedSize(), target,
        stream);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:optimization_guide.proto.ExampleForTestingMessage)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ExampleForTestingMessage::ByteSizeLong(const MessageLite& base) {
  const ExampleForTestingMessage& this_ = static_cast<const ExampleForTestingMessage&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ExampleForTestingMessage::ByteSizeLong() const {
  const ExampleForTestingMessage& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.ExampleForTestingMessage)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    // string string_value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_string_value().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_string_value());
      }
    }
    // .optimization_guide.proto.Media media = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.media_);
    }
    // bool bool_value = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (this_._internal_bool_value() != 0) {
        total_size += 2;
      }
    }
    // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (this_._internal_enum_value() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_enum_value());
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ExampleForTestingMessage::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ExampleForTestingMessage*>(&to_msg);
  auto& from = static_cast<const ExampleForTestingMessage&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.ExampleForTestingMessage)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_string_value().empty()) {
        _this->_internal_set_string_value(from._internal_string_value());
      } else {
        if (_this->_impl_.string_value_.IsDefault()) {
          _this->_internal_set_string_value("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.media_ != nullptr);
      if (_this->_impl_.media_ == nullptr) {
        _this->_impl_.media_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.media_);
      } else {
        _this->_impl_.media_->MergeFrom(*from._impl_.media_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (from._internal_bool_value() != 0) {
        _this->_impl_.bool_value_ = from._impl_.bool_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (from._internal_enum_value() != 0) {
        _this->_impl_.enum_value_ = from._impl_.enum_value_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ExampleForTestingMessage::InternalSwap(ExampleForTestingMessage* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.string_value_, &other->_impl_.string_value_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.enum_value_)
      + sizeof(ExampleForTestingMessage::_impl_.enum_value_)
      - PROTOBUF_FIELD_OFFSET(ExampleForTestingMessage, _impl_.media_)>(
          reinterpret_cast<char*>(&_impl_.media_),
          reinterpret_cast<char*>(&other->_impl_.media_));
}

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

ExampleForTestingRequest::ExampleForTestingRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingRequest_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.ExampleForTestingRequest)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::ExampleForTestingRequest& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        repeated_field_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::optimization_guide::proto::ExampleForTestingRequest,
              PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::ExampleForTestingRequest, _impl_.repeated_field_)>()
          , from.repeated_field_
        }
        ,
        string_value_(arena, from.string_value_) {}

ExampleForTestingRequest::ExampleForTestingRequest(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const ExampleForTestingRequest& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingRequest_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ExampleForTestingRequest* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.nested1_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nested1_)
                : nullptr;
  _impl_.nested2_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nested2_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, bool_value_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, bool_value_),
           offsetof(Impl_, enum_value_) -
               offsetof(Impl_, bool_value_) +
               sizeof(Impl_::enum_value_));

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.ExampleForTestingRequest)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        repeated_field_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::optimization_guide::proto::ExampleForTestingRequest,
            PROTOBUF_FIELD_OFFSET(::optimization_guide::proto::ExampleForTestingRequest, _impl_.repeated_field_)>()
         }
        ,
        string_value_(arena) {}

inline void ExampleForTestingRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, nested1_),
           0,
           offsetof(Impl_, enum_value_) -
               offsetof(Impl_, nested1_) +
               sizeof(Impl_::enum_value_));
}
ExampleForTestingRequest::~ExampleForTestingRequest() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.ExampleForTestingRequest)
  SharedDtor(*this);
}
inline void ExampleForTestingRequest::SharedDtor(MessageLite& self) {
  ExampleForTestingRequest& this_ = static_cast<ExampleForTestingRequest&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.string_value_.Destroy();
  delete this_._impl_.nested1_;
  delete this_._impl_.nested2_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ExampleForTestingRequest_class_data_ =
    ExampleForTestingRequest::InternalGenerateClassData_(ExampleForTestingRequest_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingRequest::GetClassData() const {
  return ExampleForTestingRequest_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingRequest::GetClassData() const {
  return ExampleForTestingRequest_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ExampleForTestingRequest::ParseTableT_
    ExampleForTestingRequest::_table_ =
        ExampleForTestingRequest::InternalGenerateParseTable_(ExampleForTestingRequest_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ExampleForTestingRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.ExampleForTestingRequest)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::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 (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.repeated_field_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.string_value_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.nested1_ != nullptr);
      _impl_.nested1_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.nested2_ != nullptr);
      _impl_.nested2_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000030U)) {
    ::memset(&_impl_.bool_value_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.enum_value_) -
        reinterpret_cast<char*>(&_impl_.bool_value_)) + sizeof(_impl_.enum_value_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL ExampleForTestingRequest::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const ExampleForTestingRequest& this_ = static_cast<const ExampleForTestingRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL ExampleForTestingRequest::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const ExampleForTestingRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:optimization_guide.proto.ExampleForTestingRequest)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // bool bool_value = 1;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    if (this_._internal_bool_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          1, this_._internal_bool_value(), target);
    }
  }

  // string string_value = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_string_value().empty()) {
      const ::std::string& _s = this_._internal_string_value();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.ExampleForTestingRequest.string_value");
      target = stream->WriteStringMaybeAliased(2, _s, target);
    }
  }

  // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    if (this_._internal_enum_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          3, this_._internal_enum_value(), target);
    }
  }

  // .optimization_guide.proto.ExampleForTestingMessage nested1 = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.nested1_, this_._impl_.nested1_->GetCachedSize(), target,
        stream);
  }

  // .optimization_guide.proto.ExampleForTestingMessage nested2 = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.nested2_, this_._impl_.nested2_->GetCachedSize(), target,
        stream);
  }

  // repeated .optimization_guide.proto.ExampleForTestingMessage repeated_field = 6;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_repeated_field_size());
         i < n; i++) {
      const auto& repfield = this_._internal_repeated_field().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              6, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:optimization_guide.proto.ExampleForTestingRequest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ExampleForTestingRequest::ByteSizeLong(const MessageLite& base) {
  const ExampleForTestingRequest& this_ = static_cast<const ExampleForTestingRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ExampleForTestingRequest::ByteSizeLong() const {
  const ExampleForTestingRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.ExampleForTestingRequest)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    // repeated .optimization_guide.proto.ExampleForTestingMessage repeated_field = 6;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_repeated_field_size();
      for (const auto& msg : this_._internal_repeated_field()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // string string_value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_string_value().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_string_value());
      }
    }
    // .optimization_guide.proto.ExampleForTestingMessage nested1 = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.nested1_);
    }
    // .optimization_guide.proto.ExampleForTestingMessage nested2 = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.nested2_);
    }
    // bool bool_value = 1;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (this_._internal_bool_value() != 0) {
        total_size += 2;
      }
    }
    // .optimization_guide.proto.ExampleForTestingMessage.ExampleEnum enum_value = 3;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (this_._internal_enum_value() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_enum_value());
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ExampleForTestingRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ExampleForTestingRequest*>(&to_msg);
  auto& from = static_cast<const ExampleForTestingRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.ExampleForTestingRequest)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_repeated_field()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_repeated_field());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_string_value().empty()) {
        _this->_internal_set_string_value(from._internal_string_value());
      } else {
        if (_this->_impl_.string_value_.IsDefault()) {
          _this->_internal_set_string_value("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.nested1_ != nullptr);
      if (_this->_impl_.nested1_ == nullptr) {
        _this->_impl_.nested1_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nested1_);
      } else {
        _this->_impl_.nested1_->MergeFrom(*from._impl_.nested1_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.nested2_ != nullptr);
      if (_this->_impl_.nested2_ == nullptr) {
        _this->_impl_.nested2_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.nested2_);
      } else {
        _this->_impl_.nested2_->MergeFrom(*from._impl_.nested2_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (from._internal_bool_value() != 0) {
        _this->_impl_.bool_value_ = from._impl_.bool_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (from._internal_enum_value() != 0) {
        _this->_impl_.enum_value_ = from._impl_.enum_value_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ExampleForTestingRequest::InternalSwap(ExampleForTestingRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.repeated_field_.InternalSwap(&other->_impl_.repeated_field_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.string_value_, &other->_impl_.string_value_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.enum_value_)
      + sizeof(ExampleForTestingRequest::_impl_.enum_value_)
      - PROTOBUF_FIELD_OFFSET(ExampleForTestingRequest, _impl_.nested1_)>(
          reinterpret_cast<char*>(&_impl_.nested1_),
          reinterpret_cast<char*>(&other->_impl_.nested1_));
}

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

ExampleForTestingResponse::ExampleForTestingResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingResponse_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.ExampleForTestingResponse)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::ExampleForTestingResponse& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        string_value_(arena, from.string_value_) {}

ExampleForTestingResponse::ExampleForTestingResponse(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const ExampleForTestingResponse& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingResponse_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ExampleForTestingResponse* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, bool_value_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, bool_value_),
           offsetof(Impl_, uint64_value_) -
               offsetof(Impl_, bool_value_) +
               sizeof(Impl_::uint64_value_));

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.ExampleForTestingResponse)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        string_value_(arena) {}

inline void ExampleForTestingResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, bool_value_),
           0,
           offsetof(Impl_, uint64_value_) -
               offsetof(Impl_, bool_value_) +
               sizeof(Impl_::uint64_value_));
}
ExampleForTestingResponse::~ExampleForTestingResponse() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.ExampleForTestingResponse)
  SharedDtor(*this);
}
inline void ExampleForTestingResponse::SharedDtor(MessageLite& self) {
  ExampleForTestingResponse& this_ = static_cast<ExampleForTestingResponse&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.string_value_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ExampleForTestingResponse_class_data_ =
    ExampleForTestingResponse::InternalGenerateClassData_(ExampleForTestingResponse_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingResponse::GetClassData() const {
  return ExampleForTestingResponse_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingResponse::GetClassData() const {
  return ExampleForTestingResponse_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ExampleForTestingResponse::ParseTableT_
    ExampleForTestingResponse::_table_ =
        ExampleForTestingResponse::InternalGenerateParseTable_(ExampleForTestingResponse_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ExampleForTestingResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.ExampleForTestingResponse)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::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 (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.string_value_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000feU)) {
    ::memset(&_impl_.bool_value_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.uint32_value_) -
        reinterpret_cast<char*>(&_impl_.bool_value_)) + sizeof(_impl_.uint32_value_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    ::memset(&_impl_.outside_enum_value_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.uint64_value_) -
        reinterpret_cast<char*>(&_impl_.outside_enum_value_)) + sizeof(_impl_.uint64_value_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL ExampleForTestingResponse::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const ExampleForTestingResponse& this_ = static_cast<const ExampleForTestingResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL ExampleForTestingResponse::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const ExampleForTestingResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:optimization_guide.proto.ExampleForTestingResponse)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // bool bool_value = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (this_._internal_bool_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          1, this_._internal_bool_value(), target);
    }
  }

  // string string_value = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_string_value().empty()) {
      const ::std::string& _s = this_._internal_string_value();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "optimization_guide.proto.ExampleForTestingResponse.string_value");
      target = stream->WriteStringMaybeAliased(2, _s, target);
    }
  }

  // .optimization_guide.proto.ExampleForTestingResponse.ExampleInsideMessageEnum inside_enum_value = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (this_._internal_inside_enum_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          3, this_._internal_inside_enum_value(), target);
    }
  }

  // float float_value = 4;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    if (::absl::bit_cast<::uint32_t>(this_._internal_float_value()) != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteFloatToArray(
          4, this_._internal_float_value(), target);
    }
  }

  // double double_value = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (::absl::bit_cast<::uint64_t>(this_._internal_double_value()) != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteDoubleToArray(
          5, this_._internal_double_value(), target);
    }
  }

  // int32 int32_value = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    if (this_._internal_int32_value() != 0) {
      target =
          ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
              stream, this_._internal_int32_value(), target);
    }
  }

  // uint32 uint32_value = 7;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    if (this_._internal_uint32_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
          7, this_._internal_uint32_value(), target);
    }
  }

  // int64 int64_value = 8;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    if (this_._internal_int64_value() != 0) {
      target =
          ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
              stream, this_._internal_int64_value(), target);
    }
  }

  // uint64 uint64_value = 9;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    if (this_._internal_uint64_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
          9, this_._internal_uint64_value(), target);
    }
  }

  // .optimization_guide.proto.ExampleForTestingOutsideMessageEnum outside_enum_value = 10;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    if (this_._internal_outside_enum_value() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          10, this_._internal_outside_enum_value(), target);
    }
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:optimization_guide.proto.ExampleForTestingResponse)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ExampleForTestingResponse::ByteSizeLong(const MessageLite& base) {
  const ExampleForTestingResponse& this_ = static_cast<const ExampleForTestingResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ExampleForTestingResponse::ByteSizeLong() const {
  const ExampleForTestingResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.ExampleForTestingResponse)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // string string_value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_string_value().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_string_value());
      }
    }
    // bool bool_value = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (this_._internal_bool_value() != 0) {
        total_size += 2;
      }
    }
    // .optimization_guide.proto.ExampleForTestingResponse.ExampleInsideMessageEnum inside_enum_value = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (this_._internal_inside_enum_value() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_inside_enum_value());
      }
    }
    // double double_value = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (::absl::bit_cast<::uint64_t>(this_._internal_double_value()) != 0) {
        total_size += 9;
      }
    }
    // float float_value = 4;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (::absl::bit_cast<::uint32_t>(this_._internal_float_value()) != 0) {
        total_size += 5;
      }
    }
    // int32 int32_value = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (this_._internal_int32_value() != 0) {
        total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
            this_._internal_int32_value());
      }
    }
    // int64 int64_value = 8;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      if (this_._internal_int64_value() != 0) {
        total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
            this_._internal_int64_value());
      }
    }
    // uint32 uint32_value = 7;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      if (this_._internal_uint32_value() != 0) {
        total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
            this_._internal_uint32_value());
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    // .optimization_guide.proto.ExampleForTestingOutsideMessageEnum outside_enum_value = 10;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      if (this_._internal_outside_enum_value() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_outside_enum_value());
      }
    }
    // uint64 uint64_value = 9;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      if (this_._internal_uint64_value() != 0) {
        total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
            this_._internal_uint64_value());
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ExampleForTestingResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ExampleForTestingResponse*>(&to_msg);
  auto& from = static_cast<const ExampleForTestingResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.ExampleForTestingResponse)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_string_value().empty()) {
        _this->_internal_set_string_value(from._internal_string_value());
      } else {
        if (_this->_impl_.string_value_.IsDefault()) {
          _this->_internal_set_string_value("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (from._internal_bool_value() != 0) {
        _this->_impl_.bool_value_ = from._impl_.bool_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (from._internal_inside_enum_value() != 0) {
        _this->_impl_.inside_enum_value_ = from._impl_.inside_enum_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (::absl::bit_cast<::uint64_t>(from._internal_double_value()) != 0) {
        _this->_impl_.double_value_ = from._impl_.double_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (::absl::bit_cast<::uint32_t>(from._internal_float_value()) != 0) {
        _this->_impl_.float_value_ = from._impl_.float_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (from._internal_int32_value() != 0) {
        _this->_impl_.int32_value_ = from._impl_.int32_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      if (from._internal_int64_value() != 0) {
        _this->_impl_.int64_value_ = from._impl_.int64_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      if (from._internal_uint32_value() != 0) {
        _this->_impl_.uint32_value_ = from._impl_.uint32_value_;
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      if (from._internal_outside_enum_value() != 0) {
        _this->_impl_.outside_enum_value_ = from._impl_.outside_enum_value_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      if (from._internal_uint64_value() != 0) {
        _this->_impl_.uint64_value_ = from._impl_.uint64_value_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ExampleForTestingResponse::InternalSwap(ExampleForTestingResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.string_value_, &other->_impl_.string_value_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.uint64_value_)
      + sizeof(ExampleForTestingResponse::_impl_.uint64_value_)
      - PROTOBUF_FIELD_OFFSET(ExampleForTestingResponse, _impl_.bool_value_)>(
          reinterpret_cast<char*>(&_impl_.bool_value_),
          reinterpret_cast<char*>(&other->_impl_.bool_value_));
}

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

ExampleForTestingData::ExampleForTestingData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:optimization_guide.proto.ExampleForTestingData)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::optimization_guide::proto::ExampleForTestingData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

ExampleForTestingData::ExampleForTestingData(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const ExampleForTestingData& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ExampleForTestingData_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ExampleForTestingData* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.request_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_)
                : nullptr;
  _impl_.response_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.response_)
                : nullptr;

  // @@protoc_insertion_point(copy_constructor:optimization_guide.proto.ExampleForTestingData)
}
PROTOBUF_NDEBUG_INLINE ExampleForTestingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ExampleForTestingData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, request_),
           0,
           offsetof(Impl_, response_) -
               offsetof(Impl_, request_) +
               sizeof(Impl_::response_));
}
ExampleForTestingData::~ExampleForTestingData() {
  // @@protoc_insertion_point(destructor:optimization_guide.proto.ExampleForTestingData)
  SharedDtor(*this);
}
inline void ExampleForTestingData::SharedDtor(MessageLite& self) {
  ExampleForTestingData& this_ = static_cast<ExampleForTestingData&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  delete this_._impl_.request_;
  delete this_._impl_.response_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ExampleForTestingData_class_data_ =
    ExampleForTestingData::InternalGenerateClassData_(ExampleForTestingData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingData::GetClassData() const {
  return ExampleForTestingData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ExampleForTestingData::GetClassData() const {
  return ExampleForTestingData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ExampleForTestingData::ParseTableT_
    ExampleForTestingData::_table_ =
        ExampleForTestingData::InternalGenerateParseTable_(ExampleForTestingData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ExampleForTestingData::Clear() {
// @@protoc_insertion_point(message_clear_start:optimization_guide.proto.ExampleForTestingData)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::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 (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.request_ != nullptr);
      _impl_.request_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.response_ != nullptr);
      _impl_.response_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL ExampleForTestingData::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const ExampleForTestingData& this_ = static_cast<const ExampleForTestingData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL ExampleForTestingData::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const ExampleForTestingData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:optimization_guide.proto.ExampleForTestingData)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // .optimization_guide.proto.ExampleForTestingRequest request = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.request_, this_._impl_.request_->GetCachedSize(), target,
        stream);
  }

  // .optimization_guide.proto.ExampleForTestingResponse response = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.response_, this_._impl_.response_->GetCachedSize(), target,
        stream);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:optimization_guide.proto.ExampleForTestingData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ExampleForTestingData::ByteSizeLong(const MessageLite& base) {
  const ExampleForTestingData& this_ = static_cast<const ExampleForTestingData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ExampleForTestingData::ByteSizeLong() const {
  const ExampleForTestingData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:optimization_guide.proto.ExampleForTestingData)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // .optimization_guide.proto.ExampleForTestingRequest request = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_);
    }
    // .optimization_guide.proto.ExampleForTestingResponse response = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.response_);
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ExampleForTestingData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ExampleForTestingData*>(&to_msg);
  auto& from = static_cast<const ExampleForTestingData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:optimization_guide.proto.ExampleForTestingData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.request_ != nullptr);
      if (_this->_impl_.request_ == nullptr) {
        _this->_impl_.request_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_);
      } else {
        _this->_impl_.request_->MergeFrom(*from._impl_.request_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.response_ != nullptr);
      if (_this->_impl_.response_ == nullptr) {
        _this->_impl_.response_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.response_);
      } else {
        _this->_impl_.response_->MergeFrom(*from._impl_.response_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ExampleForTestingData::InternalSwap(ExampleForTestingData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_.response_)
      + sizeof(ExampleForTestingData::_impl_.response_)
      - PROTOBUF_FIELD_OFFSET(ExampleForTestingData, _impl_.request_)>(
          reinterpret_cast<char*>(&_impl_.request_),
          reinterpret_cast<char*>(&other->_impl_.request_));
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace optimization_guide
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
