
Classes | |
| class | LazyEntry |
| class | LazyIterator |
Public Member Functions | |
| boolean | containsDefaultInstance () |
| boolean | equals (Object obj) |
| MessageLite | getValue () |
| int | hashCode () |
| LazyField (MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes) | |
| String | toString () |
Public Member Functions inherited from com.google.protobuf.LazyFieldLite | |
| void | clear () |
| int | getSerializedSize () |
| MessageLite | getValue (MessageLite defaultInstance) |
| LazyFieldLite () | |
| LazyFieldLite (ExtensionRegistryLite extensionRegistry, ByteString bytes) | |
| void | merge (LazyFieldLite other) |
| void | mergeFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException |
| void | set (LazyFieldLite other) |
| void | setByteString (ByteString bytes, ExtensionRegistryLite extensionRegistry) |
| MessageLite | setValue (MessageLite value) |
| ByteString | toByteString () |
Private Attributes | |
| final MessageLite | defaultInstance |
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 |
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
,
and
.
Definition at line 46 of file LazyField.java.
|
inline |
Definition at line 54 of file LazyField.java.
|
inline |
Determines whether this LazyFieldLite instance represents the default instance of this type.
Reimplemented from com.google.protobuf.LazyFieldLite.
Definition at line 62 of file LazyField.java.
|
inline |
Reimplemented from com.google.protobuf.LazyFieldLite.
Definition at line 76 of file LazyField.java.
|
inline |
Definition at line 66 of file LazyField.java.
|
inline |
Reimplemented from com.google.protobuf.LazyFieldLite.
Definition at line 71 of file LazyField.java.
|
inline |
Definition at line 81 of file LazyField.java.
|
private |
Carry a message's default instance which is used by
,
and
.
Definition at line 52 of file LazyField.java.