public class LazyField extends LazyFieldLite
LazyFieldLite
but this class
can contain default instance of the message to provide hashCode()
,
equals()
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, set, setByteString, setValue, toByteString
public LazyField(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
public boolean containsDefaultInstance()
LazyFieldLite
containsDefaultInstance
in class LazyFieldLite
public MessageLite getValue()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object