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 () |
![]() | |
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 LazyFieldLite | fromValue (MessageLite value) |
![]() | |
void | ensureInitialized (MessageLite defaultInstance) |
![]() | |
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.