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

#include "db_trial_token.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 origin_trials_pb {
class TrialTokenDbEntry::_Internal {
 public:
  using HasBits = decltype(::std::declval<TrialTokenDbEntry>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_._has_bits_);
};

constexpr TrialTokenDbEntry::ParseTableT_ TrialTokenDbEntry::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // num_field_entries
      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<::origin_trials_pb::TrialTokenDbEntry>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string trial_name = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.trial_name_)}},
      // optional uint64 token_expiry = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 3, 0,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.token_expiry_)}},
      // optional uint32 usage_restriction = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 4, 0,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.usage_restriction_)}},
      // optional bytes token_signature = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.token_signature_)}},
      // repeated string partition_sites = 5;
      {::_pbi::TcParser::FastBR1,
       {42, 0, 0,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.partition_sites_)}},
      // optional bool match_subdomains = 6;
      {::_pbi::TcParser::FastV8S1,
       {48, 5, 0,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.match_subdomains_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string trial_name = 1;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.trial_name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint64 token_expiry = 2;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.token_expiry_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // optional uint32 usage_restriction = 3;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.usage_restriction_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // optional bytes token_signature = 4;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.token_signature_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated string partition_sites = 5;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.partition_sites_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // optional bool match_subdomains = 6;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntry, _impl_.match_subdomains_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr TrialTokenDbEntry::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        partition_sites_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::origin_trials_pb::TrialTokenDbEntry,
            PROTOBUF_FIELD_OFFSET(::origin_trials_pb::TrialTokenDbEntry, _impl_.partition_sites_)>()
         }
        ,
        trial_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        token_signature_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        token_expiry_{::uint64_t{0u}},
        usage_restriction_{0u},
        match_subdomains_{false} {}

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

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

constexpr OriginMessage::ParseTableT_ OriginMessage::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(OriginMessage, _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<::origin_trials_pb::OriginMessage>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string scheme = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(OriginMessage, _impl_.scheme_)}},
      // optional string host = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(OriginMessage, _impl_.host_)}},
      // optional uint32 port = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(OriginMessage, _impl_.port_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string scheme = 1;
      {PROTOBUF_FIELD_OFFSET(OriginMessage, _impl_.scheme_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string host = 2;
      {PROTOBUF_FIELD_OFFSET(OriginMessage, _impl_.host_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint32 port = 3;
      {PROTOBUF_FIELD_OFFSET(OriginMessage, _impl_.port_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr OriginMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        scheme_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        host_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        port_{0u} {}

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

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

constexpr TrialTokenDbEntries::ParseTableT_ TrialTokenDbEntries::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(TrialTokenDbEntries, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::origin_trials_pb::TrialTokenDbEntries>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .origin_trials_pb.TrialTokenDbEntry tokens = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 1,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntries, _impl_.tokens_)}},
      // optional .origin_trials_pb.OriginMessage origin = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(TrialTokenDbEntries, _impl_.origin_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .origin_trials_pb.OriginMessage origin = 1;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntries, _impl_.origin_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .origin_trials_pb.TrialTokenDbEntry tokens = 2;
      {PROTOBUF_FIELD_OFFSET(TrialTokenDbEntries, _impl_.tokens_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::origin_trials_pb::OriginMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::origin_trials_pb::OriginMessage_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::origin_trials_pb::TrialTokenDbEntry>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::origin_trials_pb::TrialTokenDbEntry_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr TrialTokenDbEntries::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        tokens_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::origin_trials_pb::TrialTokenDbEntries,
            PROTOBUF_FIELD_OFFSET(::origin_trials_pb::TrialTokenDbEntries, _impl_.tokens_)>()
         }
        ,
        origin_{nullptr} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST TrialTokenDbEntriesGlobalsTypeInternal TrialTokenDbEntries_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* TrialTokenDbEntries_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return TrialTokenDbEntries_globals_.GetClassData();
#else
  return TrialTokenDbEntries_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace origin_trials_pb
namespace origin_trials_pb {
// ===================================================================

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

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

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

  // @@protoc_insertion_point(copy_constructor:origin_trials_pb.TrialTokenDbEntry)
}
PROTOBUF_NDEBUG_INLINE TrialTokenDbEntry::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        partition_sites_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::origin_trials_pb::TrialTokenDbEntry,
            PROTOBUF_FIELD_OFFSET(::origin_trials_pb::TrialTokenDbEntry, _impl_.partition_sites_)>()
         }
        ,
        trial_name_(arena),
        token_signature_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite TrialTokenDbEntry_class_data_ =
    TrialTokenDbEntry::InternalGenerateClassData_(TrialTokenDbEntry_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
TrialTokenDbEntry::GetClassData() const {
  return TrialTokenDbEntry_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
TrialTokenDbEntry::GetClassData() const {
  return TrialTokenDbEntry_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const TrialTokenDbEntry::ParseTableT_
    TrialTokenDbEntry::_table_ =
        TrialTokenDbEntry::InternalGenerateParseTable_(TrialTokenDbEntry_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void TrialTokenDbEntry::Clear() {
// @@protoc_insertion_point(message_clear_start:origin_trials_pb.TrialTokenDbEntry)
  ::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_.partition_sites_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.trial_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.token_signature_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000038U)) {
    ::memset(&_impl_.token_expiry_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.match_subdomains_) -
        reinterpret_cast<char*>(&_impl_.token_expiry_)) + sizeof(_impl_.match_subdomains_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional uint64 token_expiry = 2;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        2, this_._internal_token_expiry(), target);
  }

  // optional uint32 usage_restriction = 3;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        3, this_._internal_usage_restriction(), target);
  }

  // optional bytes token_signature = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_token_signature();
    target = stream->WriteBytesMaybeAliased(4, _s, target);
  }

  // repeated string partition_sites = 5;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_partition_sites_size(); i < n; ++i) {
      const auto& s = this_._internal_partition_sites().Get(i);
      target = stream->WriteString(5, s, target);
    }
  }

  // optional bool match_subdomains = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        6, this_._internal_match_subdomains(), 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:origin_trials_pb.TrialTokenDbEntry)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t TrialTokenDbEntry::ByteSizeLong(const MessageLite& base) {
  const TrialTokenDbEntry& this_ = static_cast<const TrialTokenDbEntry&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t TrialTokenDbEntry::ByteSizeLong() const {
  const TrialTokenDbEntry& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:origin_trials_pb.TrialTokenDbEntry)
  ::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>(0x00000020U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    // repeated string partition_sites = 5;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_partition_sites().size());
      for (int i = 0, n = this_._internal_partition_sites().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_partition_sites().Get(i));
      }
    }
    // optional string trial_name = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_trial_name());
    }
    // optional bytes token_signature = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_token_signature());
    }
    // optional uint64 token_expiry = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_token_expiry());
    }
    // optional uint32 usage_restriction = 3;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_usage_restriction());
    }
  }
  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 TrialTokenDbEntry::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<TrialTokenDbEntry*>(&to_msg);
  auto& from = static_cast<const TrialTokenDbEntry&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:origin_trials_pb.TrialTokenDbEntry)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_partition_sites()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_partition_sites());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_trial_name(from._internal_trial_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_token_signature(from._internal_token_signature());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.token_expiry_ = from._impl_.token_expiry_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.usage_restriction_ = from._impl_.usage_restriction_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.match_subdomains_ = from._impl_.match_subdomains_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:origin_trials_pb.OriginMessage)
}
PROTOBUF_NDEBUG_INLINE OriginMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        scheme_(arena),
        host_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite OriginMessage_class_data_ =
    OriginMessage::InternalGenerateClassData_(OriginMessage_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.scheme_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.host_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.port_ = 0u;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // optional uint32 port = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        3, this_._internal_port(), 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:origin_trials_pb.OriginMessage)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t OriginMessage::ByteSizeLong(const MessageLite& base) {
  const OriginMessage& this_ = static_cast<const OriginMessage&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t OriginMessage::ByteSizeLong() const {
  const OriginMessage& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:origin_trials_pb.OriginMessage)
  ::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, 0x00000007U)) {
    // optional string scheme = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_scheme());
    }
    // optional string host = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_host());
    }
    // optional uint32 port = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_port());
    }
  }
  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 OriginMessage::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<OriginMessage*>(&to_msg);
  auto& from = static_cast<const OriginMessage&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:origin_trials_pb.OriginMessage)
  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_scheme(from._internal_scheme());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_host(from._internal_host());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.port_ = from._impl_.port_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void OriginMessage::InternalSwap(OriginMessage* 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_.scheme_, &other->_impl_.scheme_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.host_, &other->_impl_.host_, arena);
  swap(_impl_.port_, other->_impl_.port_);
}

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite TrialTokenDbEntries_class_data_ =
    TrialTokenDbEntries::InternalGenerateClassData_(TrialTokenDbEntries_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.tokens_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.origin_ != nullptr);
      _impl_.origin_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .origin_trials_pb.OriginMessage origin = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.origin_, this_._impl_.origin_->GetCachedSize(), target,
        stream);
  }

  // repeated .origin_trials_pb.TrialTokenDbEntry tokens = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_tokens_size());
         i < n; i++) {
      const auto& repfield = this_._internal_tokens().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t TrialTokenDbEntries::ByteSizeLong(const MessageLite& base) {
  const TrialTokenDbEntries& this_ = static_cast<const TrialTokenDbEntries&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t TrialTokenDbEntries::ByteSizeLong() const {
  const TrialTokenDbEntries& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:origin_trials_pb.TrialTokenDbEntries)
  ::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)) {
    // repeated .origin_trials_pb.TrialTokenDbEntry tokens = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_tokens_size();
      for (const auto& msg : this_._internal_tokens()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional .origin_trials_pb.OriginMessage origin = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.origin_);
    }
  }
  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 TrialTokenDbEntries::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<TrialTokenDbEntries*>(&to_msg);
  auto& from = static_cast<const TrialTokenDbEntries&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:origin_trials_pb.TrialTokenDbEntries)
  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_mutable_tokens()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_tokens());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.origin_ != nullptr);
      if (_this->_impl_.origin_ == nullptr) {
        _this->_impl_.origin_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.origin_);
      } else {
        _this->_impl_.origin_->MergeFrom(*from._impl_.origin_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void TrialTokenDbEntries::InternalSwap(TrialTokenDbEntries* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.tokens_.InternalSwap(&other->_impl_.tokens_);
  swap(_impl_.origin_, other->_impl_.origin_);
}

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