blob: 851ad8ac4ba88cb5fdedea681c3f6f5001a476d4 [file] [edit]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/empty.proto
// Protobuf C++ Version: 7.36.0-dev
#include "google/protobuf/empty.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/descriptor.h"
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
// @@protoc_insertion_point(includes)
// 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;
#ifdef PROTOBUF_MESSAGE_GLOBALS
namespace {
PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData
file_reflection_data[] = {
// ::google::protobuf::Empty
{&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fempty_2eproto, /* tracker*/ nullptr,},
};
} // namespace
#endif
namespace google {
namespace protobuf {
class Empty::_Internal {
public:
};
constexpr Empty::ParseTableT_ Empty::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
return ParseTableT_{
{
PROTOBUF_FIELD_OFFSET(Empty,
_impl_._cached_size_), // no hasbits
0, // no _extensions_
0, 0, // max_field_number, fast_idx_mask
offsetof(ParseTableT_, field_lookup_table),
4294967295, // skipmap
offsetof(ParseTableT_, field_names), // no field_entries
0, // num_field_entries
0, // num_aux_entries
offsetof(ParseTableT_, field_names), // no aux_entries
class_data,
nullptr, // post_loop_handler
::_pbi::TcParser::MpUnknownFields, // fallback
#ifdef PROTOBUF_PREFETCH_PARSE_TABLE
::_pbi::TcParser::GetTable<::google::protobuf::Empty>(), // to_prefetch
#endif // PROTOBUF_PREFETCH_PARSE_TABLE
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}}, // no field_entries, or aux_entries
{{
}},
};
}
template <typename>
constexpr Empty::Empty(::_pbi::ConstantInitialized,
const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
: Super_(
#if defined(PROTOBUF_CUSTOM_VTABLE)
class_data
#endif // PROTOBUF_CUSTOM_VTABLE
) {
}
inline void* PROTOBUF_NONNULL Empty::PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
return ::new (mem) Empty(arena);
}
constexpr auto Empty::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Empty), alignof(Empty));
}
constexpr auto Empty::InternalGenerateClassData_(
const MessageLite& prototype,
const ::google::protobuf::internal::TcParseTableBase* tc_table) {
return ::google::protobuf::internal::ClassDataFull{
::google::protobuf::internal::ClassData{
&prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
&_table_.header,
#else
tc_table,
#endif
nullptr, // IsInitialized
&Empty::MergeImpl,
Super_::GetNewImpl<Empty>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&Empty::SharedDtor,
Super_::GetClearImpl<Empty>(), &Empty::ByteSizeLong,
&Empty::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Empty, _impl_._cached_size_),
false,
},
#ifdef PROTOBUF_MESSAGE_GLOBALS
&file_reflection_data[0],
#else // !PROTOBUF_MESSAGE_GLOBALS
&::_pbi::kDescriptorMethods,
&descriptor_table_google_2fprotobuf_2fempty_2eproto,
nullptr, // tracker
#endif // PROTOBUF_MESSAGE_GLOBALS
};
}
struct EmptyGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
constexpr EmptyGlobalsTypeInternal()
:
#ifndef PROTOBUF_MESSAGE_GLOBALS
_default(::_pbi::ConstantInitialized{},
Empty_class_data_.base())
#else // !PROTOBUF_MESSAGE_GLOBALS
MessageGlobalsBase(Empty::InternalGenerateClassData_(
_default, &Empty_globals_._table.header)),
_default(::_pbi::ConstantInitialized{}, GetClassData()),
_table(::_pbi::PrivateAccess::GenerateParseTable<Empty>(
GetClassData()))
#endif // PROTOBUF_MESSAGE_GLOBALS
{
}
~EmptyGlobalsTypeInternal() {}
union {
alignas(::_pbi::kMaxMessageAlignment) Empty _default;
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
decltype(::_pbi::PrivateAccess::GenerateParseTable<Empty>(
::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(EmptyGlobalsTypeInternal, _default) ==
::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif // PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST EmptyGlobalsTypeInternal Empty_globals_
PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Empty_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
return Empty_globals_.GetClassData();
#else
return Empty_class_data_.base();
#endif // PROTOBUF_MESSAGE_GLOBALS
}
} // namespace
#endif // PROTOBUF_CUSTOM_VTABLE
} // namespace protobuf
} // namespace google
static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
file_level_enum_descriptors_google_2fprotobuf_2fempty_2eproto = nullptr;
static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
file_level_service_descriptors_google_2fprotobuf_2fempty_2eproto = nullptr;
const ::uint32_t
TableStruct_google_2fprotobuf_2fempty_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
protodesc_cold) = {
0x000, // bitmap
};
static const ::_pbi::MigrationSchema
schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
{0, sizeof(::google::protobuf::Empty)},
};
static const ::_pbi::MessageGlobalsBase* PROTOBUF_NONNULL const
file_message_globals[] = {
&::google::protobuf::Empty_globals_,
};
const char descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
protodesc_cold) = {
"\n\033google/protobuf/empty.proto\022\017google.pr"
"otobuf\"\007\n\005EmptyB}\n\023com.google.protobufB\n"
"EmptyProtoP\001Z.google.golang.org/protobuf"
"/types/known/emptypb\370\001\001\242\002\003GPB\252\002\036Google.P"
"rotobuf.WellKnownTypesb\006proto3"
};
static ::absl::once_flag descriptor_table_google_2fprotobuf_2fempty_2eproto_once;
PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto = {
false,
false,
190,
descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto,
"google/protobuf/empty.proto",
&descriptor_table_google_2fprotobuf_2fempty_2eproto_once,
nullptr,
0,
1,
schemas,
file_message_globals,
TableStruct_google_2fprotobuf_2fempty_2eproto::offsets,
file_level_enum_descriptors_google_2fprotobuf_2fempty_2eproto,
file_level_service_descriptors_google_2fprotobuf_2fempty_2eproto,
};
namespace google {
namespace protobuf {
// ===================================================================
Empty::Empty(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: Super_(arena, Empty_get_class_data()) {
#else // PROTOBUF_CUSTOM_VTABLE
: Super_(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(arena_constructor:google.protobuf.Empty)
}
Empty::Empty(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Empty& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
: Super_(arena, Empty_get_class_data()) {
#else // PROTOBUF_CUSTOM_VTABLE
: Super_(arena) {
#endif // PROTOBUF_CUSTOM_VTABLE
Empty* const _this = this;
(void)_this;
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
from._internal_metadata_);
// @@protoc_insertion_point(copy_constructor:google.protobuf.Empty)
}
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
::google::protobuf::internal::ClassDataFull Empty_class_data_ =
Empty::InternalGenerateClassData_(Empty_globals_._default);
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Empty::GetClassData() const {
::google::protobuf::internal::PrefetchToLocalCache(&Empty_class_data_);
::google::protobuf::internal::PrefetchToLocalCache(Empty_class_data_.tc_table);
return Empty_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Empty::GetClassData() const {
::google::protobuf::internal::PrefetchToLocalCache(&Empty_globals_);
::google::protobuf::internal::PrefetchToLocalCache(
::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&Empty_globals_));
return Empty_globals_.GetClassData();
}
#endif // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Empty::ParseTableT_
Empty::_table_ =
Empty::InternalGenerateParseTable_(Empty_class_data_.base());
#endif // !PROTOBUF_MESSAGE_GLOBALS
::google::protobuf::Metadata Empty::GetMetadata() const {
return Super_::GetMetadataImpl(GetClassData()->full());
}
// @@protoc_insertion_point(namespace_scope)
} // namespace protobuf
} // namespace google
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
_static_init2_ [[maybe_unused]] =
(::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fempty_2eproto),
::std::false_type{});
#include "google/protobuf/port_undef.inc"