public class LazyField extends LazyFieldLite
LazyFieldLite but this class
can contain default instance of the message to provide hashCode(),
euqals() and toString().value| Constructor and Description |
|---|
LazyField(MessageLite defaultInstance,
ExtensionRegistryLite extensionRegistry,
ByteString bytes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDefaultInstance()
Determines whether this LazyFieldLite instance represents the default instance of this type.
|
boolean |
equals(java.lang.Object obj) |
MessageLite |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
clear, ensureInitialized, fromValue, getSerializedSize, getValue, merge, mergeFrom, set, setByteString, setValue, toByteStringpublic LazyField(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
public boolean containsDefaultInstance()
LazyFieldLitecontainsDefaultInstance in class LazyFieldLitepublic MessageLite getValue()
public int hashCode()
hashCode in class LazyFieldLitepublic boolean equals(java.lang.Object obj)
equals in class LazyFieldLitepublic java.lang.String toString()
toString in class java.lang.Object