Go to the documentation of this file.
17 #include <google/protobuf/port_def.inc>
18 PROTOBUF_NAMESPACE_OPEN
21 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Empty>
_instance;
23 PROTOBUF_NAMESPACE_CLOSE
29 new (ptr) PROTOBUF_NAMESPACE_ID::Empty();
32 PROTOBUF_NAMESPACE_ID::Empty::InitAsDefaultInstance();
44 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Empty, _internal_metadata_),
50 { 0, -1,
sizeof(PROTOBUF_NAMESPACE_ID::Empty)},
58 "\n\033google/protobuf/empty.proto\022\017google.pr"
59 "otobuf\"\007\n\005EmptyBv\n\023com.google.protobufB\n"
60 "EmptyProtoP\001Z\'github.com/golang/protobuf"
61 "/ptypes/empty\370\001\001\242\002\003GPB\252\002\036Google.Protobuf"
62 ".WellKnownTypesb\006proto3"
80 PROTOBUF_NAMESPACE_OPEN
91 : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
96 : ::PROTOBUF_NAMESPACE_ID::Message(),
97 _internal_metadata_(arena) {
103 : ::PROTOBUF_NAMESPACE_ID::Message(),
104 _internal_metadata_(nullptr) {
122 Empty* _this =
reinterpret_cast< Empty*
>(object);
140 (
void) cached_has_bits;
145 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
146 const char*
Empty::_InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
147 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
149 while (!ctx->Done(&ptr)) {
155 if ((tag & 7) == 4 || tag == 0) {
156 ctx->SetLastTag(tag);
160 CHK_(ptr !=
nullptr);
172 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
174 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream*
input) {
175 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
179 ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool>
p =
input->ReadTagWithCutoffNoLastTag(127u);
181 if (!
p.second)
goto handle_unusual;
197 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
200 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream*
output)
const {
203 (
void) cached_has_bits;
206 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
216 (
void) cached_has_bits;
219 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
228 size_t total_size = 0;
232 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
237 (
void) cached_has_bits;
248 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Empty>(
264 (
void) cached_has_bits;
270 if (&from ==
this)
return;
277 if (&from ==
this)
return;
297 PROTOBUF_NAMESPACE_CLOSE
298 PROTOBUF_NAMESPACE_OPEN
300 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Empty >(arena);
302 PROTOBUF_NAMESPACE_CLOSE
305 #include <google/protobuf/port_undef.inc>
static bool descriptor_table_google_2fprotobuf_2fempty_2eproto_initialized
const ::PROTOBUF_NAMESPACE_ID::Message *const file_default_instances[]
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< Empty > _instance
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fempty_2eproto_once
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void OnShutdownDestroyMessage(const void *ptr)
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable *const descriptor_table_google_2fprotobuf_2fempty_2eproto_deps[1]
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_google_2fprotobuf_2fempty_2eproto
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
static void ArenaDtor(void *object)
void InitSCC(SCCInfoBase *scc)
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const ** file_level_enum_descriptors_google_2fprotobuf_2fempty_2eproto
void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
void SetCachedSize(int size) const final
struct EnumDescriptor EnumDescriptor
static const Empty * internal_default_instance()
bool MergePartialFromCodedStream(::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase *const descriptor_table_google_2fprotobuf_2fempty_2eproto_sccs[1]
static PROTOBUF_NAMESPACE_CLOSE void InitDefaultsscc_info_Empty_google_2fprotobuf_2fempty_2eproto()
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fempty_2eproto[1]
#define GOOGLE_PROTOBUF_VERIFY_VERSION
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
void InternalSwap(Empty *other)
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
const char * UnknownFieldParse(uint32 tag, std::string *unknown, const char *ptr, ParseContext *ctx)
void swap(Json::Value &a, Json::Value &b)
Specialize std::swap() for Json::Value.
PROTOBUF_NAMESPACE_CLOSE PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Empty * Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Empty >(Arena *arena)
GLsizei GLsizei GLchar * source
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray(::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
bool IsInitialized() const final
void SerializeWithCachedSizes(::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
int ToCachedSize(size_t size)
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fempty_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 0 > scc_info_Empty_google_2fprotobuf_2fempty_2eproto
static const Empty & default_instance()
PROTOBUF_NAMESPACE_OPEN class EmptyDefaultTypeInternal _Empty_default_instance_
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const upb_json_parsermethod const upb_symtab upb_sink * output
static bool dynamic_init_dummy_google_2fprotobuf_2fempty_2eproto
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void InitAsDefaultInstance()
def Merge(text, message, allow_unknown_extension=False, allow_field_number=False, descriptor_pool=None, allow_unknown_field=False)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
size_t ByteSizeLong() const final
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:50