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

#include "file_system_access.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 content {
class SandboxedFileData::_Internal {
 public:
  using HasBits = decltype(::std::declval<SandboxedFileData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(SandboxedFileData, _impl_._has_bits_);
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
  }
};

constexpr SandboxedFileData::ParseTableT_ SandboxedFileData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SandboxedFileData, _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
      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<::content::SandboxedFileData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 bucket_id = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(SandboxedFileData, _impl_.bucket_id_)}},
      // required bytes virtual_path = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SandboxedFileData, _impl_.virtual_path_)}},
    }}, {{
      65535, 65535
    }}, {{
      // required bytes virtual_path = 1;
      {PROTOBUF_FIELD_OFFSET(SandboxedFileData, _impl_.virtual_path_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 bucket_id = 2;
      {PROTOBUF_FIELD_OFFSET(SandboxedFileData, _impl_.bucket_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr SandboxedFileData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        virtual_path_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        bucket_id_{::int64_t{0}} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SandboxedFileDataGlobalsTypeInternal SandboxedFileData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SandboxedFileData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SandboxedFileData_globals_.GetClassData();
#else
  return SandboxedFileData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class LocalFileData::_Internal {
 public:
  using HasBits = decltype(::std::declval<LocalFileData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_._has_bits_);
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
  }
};

constexpr LocalFileData::ParseTableT_ LocalFileData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // 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<::content::LocalFileData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // required bytes root_path = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_.root_path_)}},
      // required bytes relative_path = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_.relative_path_)}},
      // optional bytes display_name = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_.display_name_)}},
    }}, {{
      65535, 65535
    }}, {{
      // required bytes root_path = 1;
      {PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_.root_path_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // required bytes relative_path = 2;
      {PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_.relative_path_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bytes display_name = 3;
      {PROTOBUF_FIELD_OFFSET(LocalFileData, _impl_.display_name_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr LocalFileData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        root_path_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        relative_path_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        display_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST LocalFileDataGlobalsTypeInternal LocalFileData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* LocalFileData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return LocalFileData_globals_.GetClassData();
#else
  return LocalFileData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class FileSystemAccessHandleData::_Internal {
 public:
  using HasBits = decltype(::std::declval<FileSystemAccessHandleData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(FileSystemAccessHandleData, _impl_._has_bits_);
  static constexpr ::int32_t kOneofCaseOffset =
      PROTOBUF_FIELD_OFFSET(::content::FileSystemAccessHandleData, _impl_._oneof_case_);
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
  }
};

constexpr FileSystemAccessHandleData::ParseTableT_ FileSystemAccessHandleData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(FileSystemAccessHandleData, _impl_._has_bits_),
      0, // no _extensions_
      4, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      4,  // 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<::content::FileSystemAccessHandleData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // required .content.FileSystemAccessHandleData.HandleType handle_type = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 0, 1,
        PROTOBUF_FIELD_OFFSET(FileSystemAccessHandleData, _impl_.handle_type_)}},
    }}, {{
      65535, 65535
    }}, {{
      // required .content.FileSystemAccessHandleData.HandleType handle_type = 1;
      {PROTOBUF_FIELD_OFFSET(FileSystemAccessHandleData, _impl_.handle_type_), _Internal::kHasBitsOffset + 0, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // .content.SandboxedFileData sandboxed = 2;
      {PROTOBUF_FIELD_OFFSET(FileSystemAccessHandleData, _impl_.data_.sandboxed_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .content.LocalFileData local = 3;
      {PROTOBUF_FIELD_OFFSET(FileSystemAccessHandleData, _impl_.data_.local_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .content.LocalFileData external = 4;
      {PROTOBUF_FIELD_OFFSET(FileSystemAccessHandleData, _impl_.data_.external_), _Internal::kOneofCaseOffset + 0, 2, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::SandboxedFileData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::SandboxedFileData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::LocalFileData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::LocalFileData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::LocalFileData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::LocalFileData_globals_},
        #endif
        {0, 1},
    }},
    {{
    }},
  };
}


inline constexpr FileSystemAccessHandleData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        handle_type_{static_cast< ::content::FileSystemAccessHandleData_HandleType >(0)},
        data_{},
        _oneof_case_{} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST FileSystemAccessHandleDataGlobalsTypeInternal FileSystemAccessHandleData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* FileSystemAccessHandleData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return FileSystemAccessHandleData_globals_.GetClassData();
#else
  return FileSystemAccessHandleData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace content
namespace content {
PROTOBUF_CONSTINIT const uint32_t FileSystemAccessHandleData_HandleType_internal_data_[] = {
    131072u, 0u, };
static const char FileSystemAccessHandleData_HandleType_names[] = {
    "kDirectory"
    "kFile"
};

static const ::google::protobuf::internal::EnumEntry FileSystemAccessHandleData_HandleType_entries[] = {
    {{&FileSystemAccessHandleData_HandleType_names[0], 10}, 1},
    {{&FileSystemAccessHandleData_HandleType_names[10], 5}, 0},
};

static const int FileSystemAccessHandleData_HandleType_entries_by_number[] = {
    1,  // 0 -> kFile
    0,  // 1 -> kDirectory
};

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

const ::std::string& FileSystemAccessHandleData_HandleType_Name(FileSystemAccessHandleData_HandleType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      FileSystemAccessHandleData_HandleType_entries, FileSystemAccessHandleData_HandleType_entries_by_number, 2,
      FileSystemAccessHandleData_HandleType_strings);
  (void)kDummy;

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:content.LocalFileData)
}
PROTOBUF_NDEBUG_INLINE LocalFileData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        root_path_(arena),
        relative_path_(arena),
        display_name_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LocalFileData_class_data_ =
    LocalFileData::InternalGenerateClassData_(LocalFileData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LocalFileData::GetClassData() const {
  return LocalFileData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LocalFileData::GetClassData() const {
  return LocalFileData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const LocalFileData::ParseTableT_
    LocalFileData::_table_ =
        LocalFileData::InternalGenerateParseTable_(LocalFileData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void LocalFileData::Clear() {
// @@protoc_insertion_point(message_clear_start:content.LocalFileData)
  ::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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.root_path_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.relative_path_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.display_name_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // required bytes root_path = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_root_path();
    target = stream->WriteBytesMaybeAliased(1, _s, target);
  }

  // required bytes relative_path = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_relative_path();
    target = stream->WriteBytesMaybeAliased(2, _s, target);
  }

  // optional bytes display_name = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_display_name();
    target = stream->WriteBytesMaybeAliased(3, _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:content.LocalFileData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LocalFileData::ByteSizeLong(const MessageLite& base) {
  const LocalFileData& this_ = static_cast<const LocalFileData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LocalFileData::ByteSizeLong() const {
  const LocalFileData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.LocalFileData)
  ::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)) {
    // required bytes root_path = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_root_path());
    }
    // required bytes relative_path = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_relative_path());
    }
  }
   {
    // optional bytes display_name = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_display_name());
    }
  }
  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 LocalFileData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LocalFileData*>(&to_msg);
  auto& from = static_cast<const LocalFileData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.LocalFileData)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_root_path(from._internal_root_path());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_relative_path(from._internal_relative_path());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_display_name(from._internal_display_name());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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

PROTOBUF_NOINLINE bool LocalFileData::IsInitializedImpl(
    const MessageLite& msg) {
  auto& this_ = static_cast<const LocalFileData&>(msg);
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
    return false;
  }
  return true;
}

void LocalFileData::InternalSwap(LocalFileData* 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_.root_path_, &other->_impl_.root_path_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.relative_path_, &other->_impl_.relative_path_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.display_name_, &other->_impl_.display_name_, arena);
}

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SandboxedFileData_class_data_ =
    SandboxedFileData::InternalGenerateClassData_(SandboxedFileData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SandboxedFileData::GetClassData() const {
  return SandboxedFileData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SandboxedFileData::GetClassData() const {
  return SandboxedFileData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SandboxedFileData::ParseTableT_
    SandboxedFileData::_table_ =
        SandboxedFileData::InternalGenerateParseTable_(SandboxedFileData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SandboxedFileData::Clear() {
// @@protoc_insertion_point(message_clear_start:content.SandboxedFileData)
  ::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_.virtual_path_.ClearNonDefaultToEmpty();
  }
  _impl_.bucket_id_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // required bytes virtual_path = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_virtual_path();
    target = stream->WriteBytesMaybeAliased(1, _s, target);
  }

  // optional int64 bucket_id = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_bucket_id(), 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:content.SandboxedFileData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SandboxedFileData::ByteSizeLong(const MessageLite& base) {
  const SandboxedFileData& this_ = static_cast<const SandboxedFileData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SandboxedFileData::ByteSizeLong() const {
  const SandboxedFileData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.SandboxedFileData)
  ::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_);
   {
    // required bytes virtual_path = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_virtual_path());
    }
  }
   {
    // optional int64 bucket_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_bucket_id());
    }
  }
  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 SandboxedFileData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SandboxedFileData*>(&to_msg);
  auto& from = static_cast<const SandboxedFileData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.SandboxedFileData)
  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)) {
      _this->_internal_set_virtual_path(from._internal_virtual_path());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.bucket_id_ = from._impl_.bucket_id_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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

PROTOBUF_NOINLINE bool SandboxedFileData::IsInitializedImpl(
    const MessageLite& msg) {
  auto& this_ = static_cast<const SandboxedFileData&>(msg);
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
    return false;
  }
  return true;
}

void SandboxedFileData::InternalSwap(SandboxedFileData* 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_.virtual_path_, &other->_impl_.virtual_path_, arena);
  swap(_impl_.bucket_id_, other->_impl_.bucket_id_);
}

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

void FileSystemAccessHandleData::set_allocated_sandboxed(::content::SandboxedFileData* PROTOBUF_NULLABLE sandboxed) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_data();
  if (sandboxed) {
    ::google::protobuf::Arena* submessage_arena = sandboxed->GetArena();
    if (message_arena != submessage_arena) {
      sandboxed = ::google::protobuf::internal::GetOwnedMessage(message_arena, sandboxed, submessage_arena);
    }
    set_has_sandboxed();
    _impl_.data_.sandboxed_ = sandboxed;
  }
  // @@protoc_insertion_point(field_set_allocated:content.FileSystemAccessHandleData.sandboxed)
}
void FileSystemAccessHandleData::set_allocated_local(::content::LocalFileData* PROTOBUF_NULLABLE local) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_data();
  if (local) {
    ::google::protobuf::Arena* submessage_arena = local->GetArena();
    if (message_arena != submessage_arena) {
      local = ::google::protobuf::internal::GetOwnedMessage(message_arena, local, submessage_arena);
    }
    set_has_local();
    _impl_.data_.local_ = local;
  }
  // @@protoc_insertion_point(field_set_allocated:content.FileSystemAccessHandleData.local)
}
void FileSystemAccessHandleData::set_allocated_external(::content::LocalFileData* PROTOBUF_NULLABLE external) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_data();
  if (external) {
    ::google::protobuf::Arena* submessage_arena = external->GetArena();
    if (message_arena != submessage_arena) {
      external = ::google::protobuf::internal::GetOwnedMessage(message_arena, external, submessage_arena);
    }
    set_has_external();
    _impl_.data_.external_ = external;
  }
  // @@protoc_insertion_point(field_set_allocated:content.FileSystemAccessHandleData.external)
}
FileSystemAccessHandleData::FileSystemAccessHandleData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, FileSystemAccessHandleData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.FileSystemAccessHandleData)
}
PROTOBUF_NDEBUG_INLINE FileSystemAccessHandleData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::content::FileSystemAccessHandleData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        data_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  FileSystemAccessHandleData* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  _impl_.handle_type_ = from._impl_.handle_type_;
  switch (data_case()) {
    case DATA_NOT_SET:
      break;
      case kSandboxed:
        _impl_.data_.sandboxed_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.sandboxed_);
        break;
      case kLocal:
        _impl_.data_.local_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.local_);
        break;
      case kExternal:
        _impl_.data_.external_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.external_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:content.FileSystemAccessHandleData)
}
PROTOBUF_NDEBUG_INLINE FileSystemAccessHandleData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        data_{},
        _oneof_case_{} {}

inline void FileSystemAccessHandleData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  _impl_.handle_type_ = {};
}
FileSystemAccessHandleData::~FileSystemAccessHandleData() {
  // @@protoc_insertion_point(destructor:content.FileSystemAccessHandleData)
  SharedDtor(*this);
}
inline void FileSystemAccessHandleData::SharedDtor(MessageLite& self) {
  FileSystemAccessHandleData& this_ = static_cast<FileSystemAccessHandleData&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  if (this_.has_data()) {
    this_.clear_data();
  }
  this_._impl_.~Impl_();
}

void FileSystemAccessHandleData::clear_data() {
// @@protoc_insertion_point(one_of_clear_start:content.FileSystemAccessHandleData)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (data_case()) {
    case kSandboxed: {
      if (GetArena() == nullptr) {
        delete _impl_.data_.sandboxed_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.data_.sandboxed_ != nullptr) {
          _impl_.data_.sandboxed_->Clear();
        }
      }
      break;
    }
    case kLocal: {
      if (GetArena() == nullptr) {
        delete _impl_.data_.local_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.data_.local_ != nullptr) {
          _impl_.data_.local_->Clear();
        }
      }
      break;
    }
    case kExternal: {
      if (GetArena() == nullptr) {
        delete _impl_.data_.external_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.data_.external_ != nullptr) {
          _impl_.data_.external_->Clear();
        }
      }
      break;
    }
    case DATA_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = DATA_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite FileSystemAccessHandleData_class_data_ =
    FileSystemAccessHandleData::InternalGenerateClassData_(FileSystemAccessHandleData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
FileSystemAccessHandleData::GetClassData() const {
  return FileSystemAccessHandleData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
FileSystemAccessHandleData::GetClassData() const {
  return FileSystemAccessHandleData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const FileSystemAccessHandleData::ParseTableT_
    FileSystemAccessHandleData::_table_ =
        FileSystemAccessHandleData::InternalGenerateParseTable_(FileSystemAccessHandleData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void FileSystemAccessHandleData::Clear() {
// @@protoc_insertion_point(message_clear_start:content.FileSystemAccessHandleData)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  _impl_.handle_type_ = 0;
  clear_data();
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // required .content.FileSystemAccessHandleData.HandleType handle_type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_handle_type(), target);
  }

  switch (this_.data_case()) {
    case kSandboxed: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          2, *this_._impl_.data_.sandboxed_, this_._impl_.data_.sandboxed_->GetCachedSize(), target,
          stream);
      break;
    }
    case kLocal: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          3, *this_._impl_.data_.local_, this_._impl_.data_.local_->GetCachedSize(), target,
          stream);
      break;
    }
    case kExternal: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          4, *this_._impl_.data_.external_, this_._impl_.data_.external_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  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:content.FileSystemAccessHandleData)
  return target;
}

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

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

   {
    // required .content.FileSystemAccessHandleData.HandleType handle_type = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_handle_type());
    }
  }
  switch (this_.data_case()) {
    // .content.SandboxedFileData sandboxed = 2;
    case kSandboxed: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_.sandboxed_);
      break;
    }
    // .content.LocalFileData local = 3;
    case kLocal: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_.local_);
      break;
    }
    // .content.LocalFileData external = 4;
    case kExternal: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_.external_);
      break;
    }
    case DATA_NOT_SET: {
      break;
    }
  }
  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 FileSystemAccessHandleData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<FileSystemAccessHandleData*>(&to_msg);
  auto& from = static_cast<const FileSystemAccessHandleData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:content.FileSystemAccessHandleData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_impl_.handle_type_ = from._impl_.handle_type_;
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_data();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kSandboxed: {
        if (oneof_needs_init) {
          _this->_impl_.data_.sandboxed_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.sandboxed_);
        } else {
          _this->_impl_.data_.sandboxed_->CheckTypeAndMergeFrom(*from._impl_.data_.sandboxed_);
        }
        break;
      }
      case kLocal: {
        if (oneof_needs_init) {
          _this->_impl_.data_.local_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.local_);
        } else {
          _this->_impl_.data_.local_->CheckTypeAndMergeFrom(*from._impl_.data_.local_);
        }
        break;
      }
      case kExternal: {
        if (oneof_needs_init) {
          _this->_impl_.data_.external_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.external_);
        } else {
          _this->_impl_.data_.external_->CheckTypeAndMergeFrom(*from._impl_.data_.external_);
        }
        break;
      }
      case DATA_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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

PROTOBUF_NOINLINE bool FileSystemAccessHandleData::IsInitializedImpl(
    const MessageLite& msg) {
  auto& this_ = static_cast<const FileSystemAccessHandleData&>(msg);
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
    return false;
  }
  switch (this_.data_case()) {
    case kSandboxed: {
      if (this_.data_case() == kSandboxed && !this_._impl_.data_.sandboxed_->IsInitialized())
        return false;
      break;
    }
    case kLocal: {
      if (this_.data_case() == kLocal && !this_._impl_.data_.local_->IsInitialized())
        return false;
      break;
    }
    case kExternal: {
      if (this_.data_case() == kExternal && !this_._impl_.data_.external_->IsInitialized())
        return false;
      break;
    }
    case DATA_NOT_SET: {
      break;
    }
  }
  return true;
}

void FileSystemAccessHandleData::InternalSwap(FileSystemAccessHandleData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  swap(_impl_.handle_type_, other->_impl_.handle_type_);
  swap(_impl_.data_, other->_impl_.data_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

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