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

#include "components/sync/protocol/printer_specifics.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 sync_pb {
class PrinterPPDReference::_Internal {
 public:
  using HasBits = decltype(::std::declval<PrinterPPDReference>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_._has_bits_);
};

constexpr PrinterPPDReference::ParseTableT_ PrinterPPDReference::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // 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<::sync_pb::PrinterPPDReference>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string user_supplied_ppd_url = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.user_supplied_ppd_url_)}},
      // optional string effective_manufacturer = 2 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.effective_manufacturer_)}},
      // optional string effective_model = 3 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.effective_model_)}},
      // optional string effective_make_and_model = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.effective_make_and_model_)}},
      // optional bool autoconf = 5 [default = false];
      {::_pbi::TcParser::FastV8S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.autoconf_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string user_supplied_ppd_url = 1;
      {PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.user_supplied_ppd_url_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string effective_manufacturer = 2 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.effective_manufacturer_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string effective_model = 3 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.effective_model_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string effective_make_and_model = 4;
      {PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.effective_make_and_model_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bool autoconf = 5 [default = false];
      {PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_.autoconf_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr PrinterPPDReference::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        user_supplied_ppd_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        effective_manufacturer_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        effective_model_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        effective_make_and_model_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        autoconf_{false} {}

template <typename>
constexpr PrinterPPDReference::PrinterPPDReference(::_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 PrinterPPDReference::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) PrinterPPDReference(arena);
}
constexpr auto PrinterPPDReference::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(PrinterPPDReference), alignof(PrinterPPDReference));
}
constexpr auto PrinterPPDReference::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
          &PrinterPPDReference::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<PrinterPPDReference>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &PrinterPPDReference::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<PrinterPPDReference>(), &PrinterPPDReference::ByteSizeLong,
              &PrinterPPDReference::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(PrinterPPDReference, _impl_._cached_size_),
          true,
      },
      "sync_pb.PrinterPPDReference",
  };
}
struct PrinterPPDReferenceGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr PrinterPPDReferenceGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 PrinterPPDReference_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(PrinterPPDReference::InternalGenerateClassData_(
            _default, &PrinterPPDReference_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<PrinterPPDReference>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~PrinterPPDReferenceGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) PrinterPPDReference _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<PrinterPPDReference>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(PrinterPPDReferenceGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr PrinterSpecifics::ParseTableT_ PrinterSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      12, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294963200,  // skipmap
      offsetof(ParseTableT_, field_entries),
      12,  // 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<::sync_pb::PrinterSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.id_)}},
      // optional string display_name = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.display_name_)}},
      // optional string description = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.description_)}},
      // optional string manufacturer = 4 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.manufacturer_)}},
      // optional string model = 5 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {42, 4, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.model_)}},
      // optional string uri = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 5, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.uri_)}},
      // optional string uuid = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 6, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.uuid_)}},
      // optional bytes ppd = 8 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {66, 7, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.ppd_)}},
      // optional .sync_pb.PrinterPPDReference ppd_reference = 9;
      {::_pbi::TcParser::FastMtS1,
       {74, 10, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.ppd_reference_)}},
      // optional int64 updated_timestamp = 10;
      {::_pbi::TcParser::FastV64S1,
       {80, 11, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.updated_timestamp_)}},
      // optional string make_and_model = 11;
      {::_pbi::TcParser::FastBS1,
       {90, 8, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.make_and_model_)}},
      // optional string print_server_uri = 12;
      {::_pbi::TcParser::FastBS1,
       {98, 9, 0,
        PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.print_server_uri_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string id = 1;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string display_name = 2;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.display_name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string description = 3;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.description_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string manufacturer = 4 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.manufacturer_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string model = 5 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.model_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string uri = 6;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.uri_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string uuid = 7;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.uuid_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bytes ppd = 8 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.ppd_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.PrinterPPDReference ppd_reference = 9;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.ppd_reference_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 updated_timestamp = 10;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.updated_timestamp_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string make_and_model = 11;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.make_and_model_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string print_server_uri = 12;
      {PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.print_server_uri_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::PrinterPPDReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::PrinterPPDReference_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr PrinterSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        display_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        description_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        manufacturer_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        model_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        uri_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        uuid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        ppd_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        make_and_model_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        print_server_uri_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        ppd_reference_{nullptr},
        updated_timestamp_{::int64_t{0}} {}

template <typename>
constexpr PrinterSpecifics::PrinterSpecifics(::_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 PrinterSpecifics::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) PrinterSpecifics(arena);
}
constexpr auto PrinterSpecifics::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(PrinterSpecifics), alignof(PrinterSpecifics));
}
constexpr auto PrinterSpecifics::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
          &PrinterSpecifics::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<PrinterSpecifics>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &PrinterSpecifics::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<PrinterSpecifics>(), &PrinterSpecifics::ByteSizeLong,
              &PrinterSpecifics::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_._cached_size_),
          true,
      },
      "sync_pb.PrinterSpecifics",
  };
}
struct PrinterSpecificsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr PrinterSpecificsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 PrinterSpecifics_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(PrinterSpecifics::InternalGenerateClassData_(
            _default, &PrinterSpecifics_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<PrinterSpecifics>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~PrinterSpecificsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) PrinterSpecifics _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<PrinterSpecifics>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(PrinterSpecificsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST PrinterSpecificsGlobalsTypeInternal PrinterSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* PrinterSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return PrinterSpecifics_globals_.GetClassData();
#else
  return PrinterSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
// ===================================================================

PrinterPPDReference::PrinterPPDReference(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PrinterPPDReference_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.PrinterPPDReference)
}
PROTOBUF_NDEBUG_INLINE PrinterPPDReference::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::PrinterPPDReference& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        user_supplied_ppd_url_(arena, from.user_supplied_ppd_url_),
        effective_manufacturer_(arena, from.effective_manufacturer_),
        effective_model_(arena, from.effective_model_),
        effective_make_and_model_(arena, from.effective_make_and_model_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  PrinterPPDReference* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  _impl_.autoconf_ = from._impl_.autoconf_;

  // @@protoc_insertion_point(copy_constructor:sync_pb.PrinterPPDReference)
}
PROTOBUF_NDEBUG_INLINE PrinterPPDReference::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        user_supplied_ppd_url_(arena),
        effective_manufacturer_(arena),
        effective_model_(arena),
        effective_make_and_model_(arena) {}

inline void PrinterPPDReference::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  _impl_.autoconf_ = {};
}
PrinterPPDReference::~PrinterPPDReference() {
  // @@protoc_insertion_point(destructor:sync_pb.PrinterPPDReference)
  SharedDtor(*this);
}
inline void PrinterPPDReference::SharedDtor(MessageLite& self) {
  PrinterPPDReference& this_ = static_cast<PrinterPPDReference&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.user_supplied_ppd_url_.Destroy();
  this_._impl_.effective_manufacturer_.Destroy();
  this_._impl_.effective_model_.Destroy();
  this_._impl_.effective_make_and_model_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite PrinterPPDReference_class_data_ =
    PrinterPPDReference::InternalGenerateClassData_(PrinterPPDReference_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PrinterPPDReference::GetClassData() const {
  return PrinterPPDReference_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PrinterPPDReference::GetClassData() const {
  return PrinterPPDReference_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const PrinterPPDReference::ParseTableT_
    PrinterPPDReference::_table_ =
        PrinterPPDReference::InternalGenerateParseTable_(PrinterPPDReference_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void PrinterPPDReference::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.PrinterPPDReference)
  ::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_.user_supplied_ppd_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.effective_manufacturer_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.effective_model_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.effective_make_and_model_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.autoconf_ = false;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string user_supplied_ppd_url = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_user_supplied_ppd_url();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional string effective_manufacturer = 2 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_effective_manufacturer();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // optional string effective_model = 3 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_effective_model();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // optional string effective_make_and_model = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_effective_make_and_model();
    target = stream->WriteStringMaybeAliased(4, _s, target);
  }

  // optional bool autoconf = 5 [default = false];
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        5, this_._internal_autoconf(), 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:sync_pb.PrinterPPDReference)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PrinterPPDReference::ByteSizeLong(const MessageLite& base) {
  const PrinterPPDReference& this_ = static_cast<const PrinterPPDReference&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t PrinterPPDReference::ByteSizeLong() const {
  const PrinterPPDReference& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.PrinterPPDReference)
  ::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];
  total_size += static_cast<bool>(0x00000010U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    // optional string user_supplied_ppd_url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_user_supplied_ppd_url());
    }
    // optional string effective_manufacturer = 2 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_effective_manufacturer());
    }
    // optional string effective_model = 3 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_effective_model());
    }
    // optional string effective_make_and_model = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_effective_make_and_model());
    }
  }
  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 PrinterPPDReference::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<PrinterPPDReference*>(&to_msg);
  auto& from = static_cast<const PrinterPPDReference&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.PrinterPPDReference)
  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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_user_supplied_ppd_url(from._internal_user_supplied_ppd_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_effective_manufacturer(from._internal_effective_manufacturer());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_effective_model(from._internal_effective_model());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_effective_make_and_model(from._internal_effective_make_and_model());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.autoconf_ = from._impl_.autoconf_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void PrinterPPDReference::InternalSwap(PrinterPPDReference* 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_.user_supplied_ppd_url_, &other->_impl_.user_supplied_ppd_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.effective_manufacturer_, &other->_impl_.effective_manufacturer_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.effective_model_, &other->_impl_.effective_model_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.effective_make_and_model_, &other->_impl_.effective_make_and_model_, arena);
  swap(_impl_.autoconf_, other->_impl_.autoconf_);
}

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

PrinterSpecifics::PrinterSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PrinterSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.PrinterSpecifics)
}
PROTOBUF_NDEBUG_INLINE PrinterSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::PrinterSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        id_(arena, from.id_),
        display_name_(arena, from.display_name_),
        description_(arena, from.description_),
        manufacturer_(arena, from.manufacturer_),
        model_(arena, from.model_),
        uri_(arena, from.uri_),
        uuid_(arena, from.uuid_),
        ppd_(arena, from.ppd_),
        make_and_model_(arena, from.make_and_model_),
        print_server_uri_(arena, from.print_server_uri_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  PrinterSpecifics* 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_.ppd_reference_ = (CheckHasBit(cached_has_bits, 0x00000400U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.ppd_reference_)
                : nullptr;
  _impl_.updated_timestamp_ = from._impl_.updated_timestamp_;

  // @@protoc_insertion_point(copy_constructor:sync_pb.PrinterSpecifics)
}
PROTOBUF_NDEBUG_INLINE PrinterSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        id_(arena),
        display_name_(arena),
        description_(arena),
        manufacturer_(arena),
        model_(arena),
        uri_(arena),
        uuid_(arena),
        ppd_(arena),
        make_and_model_(arena),
        print_server_uri_(arena) {}

inline void PrinterSpecifics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, ppd_reference_),
           0,
           offsetof(Impl_, updated_timestamp_) -
               offsetof(Impl_, ppd_reference_) +
               sizeof(Impl_::updated_timestamp_));
}
PrinterSpecifics::~PrinterSpecifics() {
  // @@protoc_insertion_point(destructor:sync_pb.PrinterSpecifics)
  SharedDtor(*this);
}
inline void PrinterSpecifics::SharedDtor(MessageLite& self) {
  PrinterSpecifics& this_ = static_cast<PrinterSpecifics&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.id_.Destroy();
  this_._impl_.display_name_.Destroy();
  this_._impl_.description_.Destroy();
  this_._impl_.manufacturer_.Destroy();
  this_._impl_.model_.Destroy();
  this_._impl_.uri_.Destroy();
  this_._impl_.uuid_.Destroy();
  this_._impl_.ppd_.Destroy();
  this_._impl_.make_and_model_.Destroy();
  this_._impl_.print_server_uri_.Destroy();
  delete this_._impl_.ppd_reference_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite PrinterSpecifics_class_data_ =
    PrinterSpecifics::InternalGenerateClassData_(PrinterSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PrinterSpecifics::GetClassData() const {
  return PrinterSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PrinterSpecifics::GetClassData() const {
  return PrinterSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const PrinterSpecifics::ParseTableT_
    PrinterSpecifics::_table_ =
        PrinterSpecifics::InternalGenerateParseTable_(PrinterSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void PrinterSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.PrinterSpecifics)
  ::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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.display_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.description_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.manufacturer_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.model_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.uri_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.uuid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.ppd_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _impl_.make_and_model_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _impl_.print_server_uri_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      ABSL_DCHECK(_impl_.ppd_reference_ != nullptr);
      _impl_.ppd_reference_->Clear();
    }
  }
  _impl_.updated_timestamp_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_id();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional string display_name = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_display_name();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // optional string description = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_description();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // optional string manufacturer = 4 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_manufacturer();
    target = stream->WriteStringMaybeAliased(4, _s, target);
  }

  // optional string model = 5 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_model();
    target = stream->WriteStringMaybeAliased(5, _s, target);
  }

  // optional string uri = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    const ::std::string& _s = this_._internal_uri();
    target = stream->WriteStringMaybeAliased(6, _s, target);
  }

  // optional string uuid = 7;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    const ::std::string& _s = this_._internal_uuid();
    target = stream->WriteStringMaybeAliased(7, _s, target);
  }

  // optional bytes ppd = 8 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    const ::std::string& _s = this_._internal_ppd();
    target = stream->WriteBytesMaybeAliased(8, _s, target);
  }

  // optional .sync_pb.PrinterPPDReference ppd_reference = 9;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        9, *this_._impl_.ppd_reference_, this_._impl_.ppd_reference_->GetCachedSize(), target,
        stream);
  }

  // optional int64 updated_timestamp = 10;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<10>(
            stream, this_._internal_updated_timestamp(), target);
  }

  // optional string make_and_model = 11;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    const ::std::string& _s = this_._internal_make_and_model();
    target = stream->WriteStringMaybeAliased(11, _s, target);
  }

  // optional string print_server_uri = 12;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    const ::std::string& _s = this_._internal_print_server_uri();
    target = stream->WriteStringMaybeAliased(12, _s, 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:sync_pb.PrinterSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PrinterSpecifics::ByteSizeLong(const MessageLite& base) {
  const PrinterSpecifics& this_ = static_cast<const PrinterSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t PrinterSpecifics::ByteSizeLong() const {
  const PrinterSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.PrinterSpecifics)
  ::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)) {
    // optional string id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_id());
    }
    // optional string display_name = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_display_name());
    }
    // optional string description = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_description());
    }
    // optional string manufacturer = 4 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_manufacturer());
    }
    // optional string model = 5 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_model());
    }
    // optional string uri = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_uri());
    }
    // optional string uuid = 7;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_uuid());
    }
    // optional bytes ppd = 8 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_ppd());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    // optional string make_and_model = 11;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_make_and_model());
    }
    // optional string print_server_uri = 12;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_print_server_uri());
    }
    // optional .sync_pb.PrinterPPDReference ppd_reference = 9;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ppd_reference_);
    }
    // optional int64 updated_timestamp = 10;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_updated_timestamp());
    }
  }
  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 PrinterSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<PrinterSpecifics*>(&to_msg);
  auto& from = static_cast<const PrinterSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.PrinterSpecifics)
  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)) {
      _this->_internal_set_id(from._internal_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_display_name(from._internal_display_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_description(from._internal_description());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_manufacturer(from._internal_manufacturer());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_model(from._internal_model());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_uri(from._internal_uri());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_uuid(from._internal_uuid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_set_ppd(from._internal_ppd());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_internal_set_make_and_model(from._internal_make_and_model());
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_internal_set_print_server_uri(from._internal_print_server_uri());
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      ABSL_DCHECK(from._impl_.ppd_reference_ != nullptr);
      if (_this->_impl_.ppd_reference_ == nullptr) {
        _this->_impl_.ppd_reference_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.ppd_reference_);
      } else {
        _this->_impl_.ppd_reference_->MergeFrom(*from._impl_.ppd_reference_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.updated_timestamp_ = from._impl_.updated_timestamp_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void PrinterSpecifics::InternalSwap(PrinterSpecifics* 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_.id_, &other->_impl_.id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.display_name_, &other->_impl_.display_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.description_, &other->_impl_.description_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.manufacturer_, &other->_impl_.manufacturer_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.model_, &other->_impl_.model_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uri_, &other->_impl_.uri_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uuid_, &other->_impl_.uuid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ppd_, &other->_impl_.ppd_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.make_and_model_, &other->_impl_.make_and_model_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.print_server_uri_, &other->_impl_.print_server_uri_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.updated_timestamp_)
      + sizeof(PrinterSpecifics::_impl_.updated_timestamp_)
      - PROTOBUF_FIELD_OFFSET(PrinterSpecifics, _impl_.ppd_reference_)>(
          reinterpret_cast<char*>(&_impl_.ppd_reference_),
          reinterpret_cast<char*>(&other->_impl_.ppd_reference_));
}

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