Goby3 3.2.3
2025.05.13
|
#include <google/protobuf/message_lite.h>
Public Types | |
enum | ParseFlags { kMerge = 0 , kParse = 1 , kMergePartial = 2 , kParsePartial = 3 , kMergeWithAliasing = 4 , kParseWithAliasing = 5 , kMergePartialWithAliasing = 6 , kParsePartialWithAliasing = 7 } |
Public Member Functions | |
constexpr | MessageLite () |
virtual | ~MessageLite ()=default |
virtual std::string | GetTypeName () const =0 |
MessageLite * | New () const |
virtual MessageLite * | New (Arena *arena) const =0 |
Arena * | GetArena () const |
virtual void | Clear ()=0 |
virtual bool | IsInitialized () const =0 |
virtual std::string | InitializationErrorString () const |
virtual void | CheckTypeAndMergeFrom (const MessageLite &other)=0 |
std::string | DebugString () const |
std::string | ShortDebugString () const |
std::string | Utf8DebugString () const |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParseFromCodedStream (io::CodedInputStream *input) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParsePartialFromCodedStream (io::CodedInputStream *input) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParseFromZeroCopyStream (io::ZeroCopyInputStream *input) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParseFromFileDescriptor (int file_descriptor) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParsePartialFromFileDescriptor (int file_descriptor) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParseFromIstream (std::istream *input) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParsePartialFromIstream (std::istream *input) |
bool | MergePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
bool | MergeFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParseFromString (ConstStringParam data) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParsePartialFromString (ConstStringParam data) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParseFromArray (const void *data, int size) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool | ParsePartialFromArray (const void *data, int size) |
bool | MergeFromCodedStream (io::CodedInputStream *input) |
bool | MergePartialFromCodedStream (io::CodedInputStream *input) |
bool | MergeFromString (ConstStringParam data) |
bool | SerializeToCodedStream (io::CodedOutputStream *output) const |
bool | SerializePartialToCodedStream (io::CodedOutputStream *output) const |
bool | SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const |
bool | SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const |
bool | SerializeToString (std::string *output) const |
bool | SerializePartialToString (std::string *output) const |
bool | SerializeToArray (void *data, int size) const |
bool | SerializePartialToArray (void *data, int size) const |
std::string | SerializeAsString () const |
std::string | SerializePartialAsString () const |
bool | SerializeToFileDescriptor (int file_descriptor) const |
bool | SerializePartialToFileDescriptor (int file_descriptor) const |
bool | SerializeToOstream (std::ostream *output) const |
bool | SerializePartialToOstream (std::ostream *output) const |
bool | AppendToString (std::string *output) const |
bool | AppendPartialToString (std::string *output) const |
virtual size_t | ByteSizeLong () const =0 |
int | ByteSize () const |
void | SerializeWithCachedSizes (io::CodedOutputStream *output) const |
uint8_t * | SerializeWithCachedSizesToArray (uint8_t *target) const |
virtual int | GetCachedSize () const =0 |
virtual const char * | _InternalParse (const char *, internal::ParseContext *) |
virtual void | OnDemandRegisterArenaDtor (Arena *) |
template<ParseFlags flags, typename T > | |
bool | ParseFrom (const T &input) |
virtual uint8_t * | _InternalSerialize (uint8_t *ptr, io::EpsCopyOutputStream *stream) const =0 |
bool | IsInitializedWithErrors () const |
Protected Member Functions | |
MessageLite (Arena *arena, bool is_message_owned=false) | |
Arena * | GetOwningArena () const |
Arena * | GetArenaForAllocation () const |
Static Protected Member Functions | |
template<typename T > | |
static T * | CreateMaybeMessage (Arena *arena) |
static bool | InMoaTrial () |
Protected Attributes | |
internal::InternalMetadata | _internal_metadata_ |
Friends | |
class | FastReflectionMessageMutator |
class | FastReflectionStringSetter |
class | Message |
class | Reflection |
class | internal::ExtensionSet |
class | internal::LazyField |
class | internal::SwapFieldHelper |
class | internal::TcParser |
class | internal::WeakFieldMap |
class | internal::WireFormatLite |
template<typename Type > | |
class | Arena::InternalHelper |
template<typename Type > | |
class | internal::GenericTypeHandler |
Definition at line 168 of file message_lite.h.
Enumerator | |
---|---|
kMerge | |
kParse | |
kMergePartial | |
kParsePartial | |
kMergeWithAliasing | |
kParseWithAliasing | |
kMergePartialWithAliasing | |
kParsePartialWithAliasing |
Definition at line 449 of file message_lite.h.
|
inlineconstexpr |
Definition at line 170 of file message_lite.h.
|
virtualdefault |
|
inlineexplicitprotected |
Definition at line 428 of file message_lite.h.
|
inlinevirtual |
Reimplemented in google::protobuf::Message.
Definition at line 415 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
bool google::protobuf::MessageLite::AppendPartialToString | ( | std::string * | output | ) | const |
bool google::protobuf::MessageLite::AppendToString | ( | std::string * | output | ) | const |
|
inline |
Definition at line 381 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
|
pure virtual |
Implemented in google::protobuf::Message.
|
pure virtual |
Implemented in google::protobuf::Message.
|
inlinestaticprotected |
Definition at line 424 of file message_lite.h.
std::string google::protobuf::MessageLite::DebugString | ( | ) | const |
|
inline |
Definition at line 187 of file message_lite.h.
|
inlineprotected |
Definition at line 440 of file message_lite.h.
|
pure virtual |
|
inlineprotected |
Definition at line 436 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
|
virtual |
Reimplemented in google::protobuf::Message.
|
inlinestaticprotected |
Definition at line 444 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
|
inline |
Definition at line 469 of file message_lite.h.
bool google::protobuf::MessageLite::MergeFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
bool google::protobuf::MessageLite::MergeFromCodedStream | ( | io::CodedInputStream * | input | ) |
bool google::protobuf::MessageLite::MergeFromString | ( | ConstStringParam | data | ) |
bool google::protobuf::MessageLite::MergePartialFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
bool google::protobuf::MessageLite::MergePartialFromCodedStream | ( | io::CodedInputStream * | input | ) |
|
inline |
Definition at line 180 of file message_lite.h.
|
pure virtual |
Implemented in google::protobuf::Message.
|
inlinevirtual |
Definition at line 420 of file message_lite.h.
bool google::protobuf::MessageLite::ParseFrom | ( | const T & | input | ) |
Definition at line 546 of file message_lite.h.
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParseFromArray | ( | const void * | data, |
int | size | ||
) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParseFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParseFromCodedStream | ( | io::CodedInputStream * | input | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParseFromFileDescriptor | ( | int | file_descriptor | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParseFromIstream | ( | std::istream * | input | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParseFromString | ( | ConstStringParam | data | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParseFromZeroCopyStream | ( | io::ZeroCopyInputStream * | input | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParsePartialFromArray | ( | const void * | data, |
int | size | ||
) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParsePartialFromBoundedZeroCopyStream | ( | io::ZeroCopyInputStream * | input, |
int | size | ||
) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParsePartialFromCodedStream | ( | io::CodedInputStream * | input | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParsePartialFromFileDescriptor | ( | int | file_descriptor | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParsePartialFromIstream | ( | std::istream * | input | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParsePartialFromString | ( | ConstStringParam | data | ) |
PROTOBUF_ATTRIBUTE_REINITIALIZES bool google::protobuf::MessageLite::ParsePartialFromZeroCopyStream | ( | io::ZeroCopyInputStream * | input | ) |
std::string google::protobuf::MessageLite::SerializeAsString | ( | ) | const |
std::string google::protobuf::MessageLite::SerializePartialAsString | ( | ) | const |
bool google::protobuf::MessageLite::SerializePartialToArray | ( | void * | data, |
int | size | ||
) | const |
bool google::protobuf::MessageLite::SerializePartialToCodedStream | ( | io::CodedOutputStream * | output | ) | const |
bool google::protobuf::MessageLite::SerializePartialToFileDescriptor | ( | int | file_descriptor | ) | const |
bool google::protobuf::MessageLite::SerializePartialToOstream | ( | std::ostream * | output | ) | const |
bool google::protobuf::MessageLite::SerializePartialToString | ( | std::string * | output | ) | const |
bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream | ( | io::ZeroCopyOutputStream * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToArray | ( | void * | data, |
int | size | ||
) | const |
bool google::protobuf::MessageLite::SerializeToCodedStream | ( | io::CodedOutputStream * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToFileDescriptor | ( | int | file_descriptor | ) | const |
bool google::protobuf::MessageLite::SerializeToOstream | ( | std::ostream * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToString | ( | std::string * | output | ) | const |
bool google::protobuf::MessageLite::SerializeToZeroCopyStream | ( | io::ZeroCopyOutputStream * | output | ) | const |
|
inline |
Definition at line 386 of file message_lite.h.
uint8_t * google::protobuf::MessageLite::SerializeWithCachedSizesToArray | ( | uint8_t * | target | ) | const |
|
inline |
Definition at line 217 of file message_lite.h.
|
inline |
Definition at line 220 of file message_lite.h.
|
friend |
Definition at line 488 of file message_lite.h.
|
friend |
Definition at line 476 of file message_lite.h.
|
friend |
Definition at line 477 of file message_lite.h.
|
friend |
Definition at line 480 of file message_lite.h.
|
friend |
Definition at line 490 of file message_lite.h.
|
friend |
Definition at line 481 of file message_lite.h.
|
friend |
Definition at line 482 of file message_lite.h.
|
friend |
Definition at line 483 of file message_lite.h.
|
friend |
Definition at line 484 of file message_lite.h.
|
friend |
Definition at line 485 of file message_lite.h.
Definition at line 478 of file message_lite.h.
|
friend |
Definition at line 479 of file message_lite.h.
|
protected |
Definition at line 446 of file message_lite.h.