webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
google::protobuf::Any Class Reference

#include <any.pb.h>

Inheritance diagram for google::protobuf::Any:
google::protobuf::Message google::protobuf::MessageLite

Public Member Functions

 Any ()
 
virtual ~Any ()
 
 Any (const Any &from)
 
Anyoperator= (const Any &from)
 
void PackFrom (const ::google::protobuf::Message &message)
 
void PackFrom (const ::google::protobuf::Message &message, const ::std::string &type_url_prefix)
 
bool UnpackTo (::google::protobuf::Message *message) const
 
template<typename T >
bool Is () const
 
void Swap (Any *other)
 
AnyNew () const
 
AnyNew (::google::protobuf::Arena *arena) const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Any &from)
 
void MergeFrom (const Any &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
void clear_type_url ()
 
const ::std::stringtype_url () const
 
void set_type_url (const ::std::string &value)
 
void set_type_url (const char *value)
 
void set_type_url (const char *value, size_t size)
 
::std::stringmutable_type_url ()
 
::std::stringrelease_type_url ()
 
void set_allocated_type_url (::std::string *type_url)
 
void clear_value ()
 
const ::std::stringvalue () const
 
void set_value (const ::std::string &value)
 
void set_value (const char *value)
 
void set_value (const void *value, size_t size)
 
::std::stringmutable_value ()
 
::std::stringrelease_value ()
 
void set_allocated_value (::std::string *value)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (std::vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (istream *input)
 
bool ParsePartialFromIstream (istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (ostream *output) const
 
bool SerializePartialToOstream (ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const DescriptorGetDescriptor () const
 
virtual const ReflectionGetReflection () const
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
virtual ::google::protobuf::ArenaGetArena () const
 
virtual voidGetMaybeArenaPointer () const
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
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 (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 

Static Public Member Functions

static const ::google::protobuf::Descriptordescriptor ()
 
static const Anydefault_instance ()
 

Static Public Attributes

static const int kTypeUrlFieldNumber = 1
 
static const int kValueFieldNumber = 2
 

Friends

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fany_2eproto ()
 
void protobuf_AssignDesc_google_2fprotobuf_2fany_2eproto ()
 
void protobuf_ShutdownFile_google_2fprotobuf_2fany_2eproto ()
 

Additional Inherited Members

- Public Types inherited from google::protobuf::Message
typedef google::protobuf::Reflection Reflection
 

Constructor & Destructor Documentation

◆ Any() [1/2]

google::protobuf::Any::Any ( )

◆ ~Any()

google::protobuf::Any::~Any ( )
virtual

◆ Any() [2/2]

google::protobuf::Any::Any ( const Any from)

Member Function Documentation

◆ ByteSize()

int google::protobuf::Any::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

◆ Clear()

void google::protobuf::Any::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

◆ clear_type_url()

void google::protobuf::Any::clear_type_url ( )
inline

◆ clear_value()

void google::protobuf::Any::clear_value ( )
inline

◆ CopyFrom() [1/2]

void google::protobuf::Any::CopyFrom ( const ::google::protobuf::Message from)

◆ CopyFrom() [2/2]

void google::protobuf::Any::CopyFrom ( const Any from)

◆ default_instance()

const Any & google::protobuf::Any::default_instance ( )
static

◆ descriptor()

const ::google::protobuf::Descriptor * google::protobuf::Any::descriptor ( )
static

◆ GetCachedSize()

int google::protobuf::Any::GetCachedSize ( ) const
inlinevirtual

◆ GetMetadata()

google::protobuf::Metadata google::protobuf::Any::GetMetadata ( ) const
virtual

◆ Is()

template<typename T >
bool google::protobuf::Any::Is ( ) const
inline

◆ IsInitialized()

bool google::protobuf::Any::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

◆ MergeFrom() [1/2]

void google::protobuf::Any::MergeFrom ( const ::google::protobuf::Message from)

◆ MergeFrom() [2/2]

void google::protobuf::Any::MergeFrom ( const Any from)

◆ MergePartialFromCodedStream()

bool google::protobuf::Any::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)

◆ mutable_type_url()

std::string * google::protobuf::Any::mutable_type_url ( )
inline

◆ mutable_value()

std::string * google::protobuf::Any::mutable_value ( )
inline

◆ New() [1/2]

Any* google::protobuf::Any::New ( ) const
inlinevirtual

◆ New() [2/2]

Any * google::protobuf::Any::New ( ::google::protobuf::Arena arena) const
virtual

Reimplemented from google::protobuf::Message.

◆ operator=()

Any& google::protobuf::Any::operator= ( const Any from)
inline

◆ PackFrom() [1/2]

void google::protobuf::Any::PackFrom ( const ::google::protobuf::Message message)

◆ PackFrom() [2/2]

void google::protobuf::Any::PackFrom ( const ::google::protobuf::Message message,
const ::std::string type_url_prefix 
)

◆ release_type_url()

std::string * google::protobuf::Any::release_type_url ( )
inline

◆ release_value()

std::string * google::protobuf::Any::release_value ( )
inline

◆ SerializeWithCachedSizes()

void google::protobuf::Any::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const

◆ SerializeWithCachedSizesToArray()

google::protobuf::uint8 * google::protobuf::Any::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const

◆ set_allocated_type_url()

void google::protobuf::Any::set_allocated_type_url ( ::std::string type_url)
inline

◆ set_allocated_value()

void google::protobuf::Any::set_allocated_value ( ::std::string value)
inline

◆ set_type_url() [1/3]

void google::protobuf::Any::set_type_url ( const ::std::string value)
inline

◆ set_type_url() [2/3]

void google::protobuf::Any::set_type_url ( const char *  value)
inline

◆ set_type_url() [3/3]

void google::protobuf::Any::set_type_url ( const char *  value,
size_t  size 
)
inline

◆ set_value() [1/3]

void google::protobuf::Any::set_value ( const ::std::string value)
inline

◆ set_value() [2/3]

void google::protobuf::Any::set_value ( const char *  value)
inline

◆ set_value() [3/3]

void google::protobuf::Any::set_value ( const void value,
size_t  size 
)
inline

◆ Swap()

void google::protobuf::Any::Swap ( Any other)

◆ type_url()

const ::std::string & google::protobuf::Any::type_url ( ) const
inline

◆ UnpackTo()

bool google::protobuf::Any::UnpackTo ( ::google::protobuf::Message message) const

◆ value()

const ::std::string & google::protobuf::Any::value ( ) const
inline

Friends And Related Function Documentation

◆ protobuf_AddDesc_google_2fprotobuf_2fany_2eproto

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fany_2eproto ( )
friend

◆ protobuf_AssignDesc_google_2fprotobuf_2fany_2eproto

void protobuf_AssignDesc_google_2fprotobuf_2fany_2eproto ( )
friend

◆ protobuf_ShutdownFile_google_2fprotobuf_2fany_2eproto

void protobuf_ShutdownFile_google_2fprotobuf_2fany_2eproto ( )
friend

Member Data Documentation

◆ kTypeUrlFieldNumber

const int google::protobuf::Any::kTypeUrlFieldNumber = 1
static

◆ kValueFieldNumber

const int google::protobuf::Any::kValueFieldNumber = 2
static

The documentation for this class was generated from the following files: