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

#include <duration.pb.h>

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

Public Member Functions

 Duration ()
 
virtual ~Duration ()
 
 Duration (const Duration &from)
 
Durationoperator= (const Duration &from)
 
void Swap (Duration *other)
 
DurationNew () const
 
DurationNew (::google::protobuf::Arena *arena) const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Duration &from)
 
void MergeFrom (const Duration &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_seconds ()
 
::google::protobuf::int64 seconds () const
 
void set_seconds (::google::protobuf::int64 value)
 
void clear_nanos ()
 
::google::protobuf::int32 nanos () const
 
void set_nanos (::google::protobuf::int32 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 Durationdefault_instance ()
 

Static Public Attributes

static const int kSecondsFieldNumber = 1
 
static const int kNanosFieldNumber = 2
 

Friends

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fduration_2eproto ()
 
void protobuf_AssignDesc_google_2fprotobuf_2fduration_2eproto ()
 
void protobuf_ShutdownFile_google_2fprotobuf_2fduration_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Duration() [1/2]

google::protobuf::Duration::Duration ( )

◆ ~Duration()

google::protobuf::Duration::~Duration ( )
virtual

◆ Duration() [2/2]

google::protobuf::Duration::Duration ( const Duration from)

Member Function Documentation

◆ ByteSize()

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

Reimplemented from google::protobuf::Message.

◆ Clear()

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

Reimplemented from google::protobuf::Message.

◆ clear_nanos()

void google::protobuf::Duration::clear_nanos ( )
inline

◆ clear_seconds()

void google::protobuf::Duration::clear_seconds ( )
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

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

◆ default_instance()

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

◆ descriptor()

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

◆ GetCachedSize()

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

◆ GetMetadata()

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

◆ IsInitialized()

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

Reimplemented from google::protobuf::Message.

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

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

◆ MergePartialFromCodedStream()

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

◆ nanos()

google::protobuf::int32 google::protobuf::Duration::nanos ( ) const
inline

◆ New() [1/2]

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

◆ New() [2/2]

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

Reimplemented from google::protobuf::Message.

◆ operator=()

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

◆ seconds()

google::protobuf::int64 google::protobuf::Duration::seconds ( ) const
inline

◆ SerializeWithCachedSizes()

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

◆ SerializeWithCachedSizesToArray()

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

◆ set_nanos()

void google::protobuf::Duration::set_nanos ( ::google::protobuf::int32  value)
inline

◆ set_seconds()

void google::protobuf::Duration::set_seconds ( ::google::protobuf::int64  value)
inline

◆ Swap()

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

Friends And Related Function Documentation

◆ protobuf_AddDesc_google_2fprotobuf_2fduration_2eproto

void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fduration_2eproto ( )
friend

◆ protobuf_AssignDesc_google_2fprotobuf_2fduration_2eproto

void protobuf_AssignDesc_google_2fprotobuf_2fduration_2eproto ( )
friend

◆ protobuf_ShutdownFile_google_2fprotobuf_2fduration_2eproto

void protobuf_ShutdownFile_google_2fprotobuf_2fduration_2eproto ( )
friend

Member Data Documentation

◆ kNanosFieldNumber

const int google::protobuf::Duration::kNanosFieldNumber = 2
static

◆ kSecondsFieldNumber

const int google::protobuf::Duration::kSecondsFieldNumber = 1
static

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