webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
com.google.protobuf.LazyField Class Reference
Inheritance diagram for com.google.protobuf.LazyField:
com.google.protobuf.LazyFieldLite

Classes

class  LazyEntry
 
class  LazyIterator
 

Public Member Functions

 LazyField (MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
 
boolean containsDefaultInstance ()
 
MessageLite getValue ()
 
int hashCode ()
 
boolean equals (Object obj)
 
String toString ()
 
- Public Member Functions inherited from com.google.protobuf.LazyFieldLite
 LazyFieldLite (ExtensionRegistryLite extensionRegistry, ByteString bytes)
 
 LazyFieldLite ()
 
boolean equals (Object o)
 
int hashCode ()
 
boolean containsDefaultInstance ()
 
void clear ()
 
void set (LazyFieldLite other)
 
MessageLite getValue (MessageLite defaultInstance)
 
MessageLite setValue (MessageLite value)
 
void merge (LazyFieldLite other)
 
void mergeFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
 
void setByteString (ByteString bytes, ExtensionRegistryLite extensionRegistry)
 
int getSerializedSize ()
 
ByteString toByteString ()
 

Additional Inherited Members

- Static Public Member Functions inherited from com.google.protobuf.LazyFieldLite
static LazyFieldLite fromValue (MessageLite value)
 
- Protected Member Functions inherited from com.google.protobuf.LazyFieldLite
void ensureInitialized (MessageLite defaultInstance)
 
- Protected Attributes inherited from com.google.protobuf.LazyFieldLite
volatile MessageLite value
 

Detailed Description

LazyField encapsulates the logic of lazily parsing message fields. It stores the message in a ByteString initially and then parse it on-demand.

Most of key methods are implemented in LazyFieldLite but this class can contain default instance of the message to provide

,

euqals()

and

.

Author
xiang.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Xiang Li)

Constructor & Destructor Documentation

◆ LazyField()

com.google.protobuf.LazyField.LazyField ( MessageLite  defaultInstance,
ExtensionRegistryLite  extensionRegistry,
ByteString  bytes 
)
inline

Member Function Documentation

◆ containsDefaultInstance()

boolean com.google.protobuf.LazyField.containsDefaultInstance ( )
inline

◆ equals()

boolean com.google.protobuf.LazyField.equals ( Object  obj)
inline

◆ getValue()

MessageLite com.google.protobuf.LazyField.getValue ( )
inline

◆ hashCode()

int com.google.protobuf.LazyField.hashCode ( void  )
inline

◆ toString()

String com.google.protobuf.LazyField.toString ( )
inline

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