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(Object obj) |
MessageLite |
getValue() |
int |
hashCode() |
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(Object obj)
equals in class LazyFieldLiteCopyright © 2008–2017 Google. All rights reserved.