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() |
boolean |
equals(Object obj) |
MessageLite |
getValue() |
int |
hashCode() |
String |
toString() |
clear, ensureInitialized, fromValue, getExtensionRegistry, getSerializedSize, getValue, merge, setByteString, setValue, toByteString
public LazyField(MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes)
public boolean containsDefaultInstance()
containsDefaultInstance
in class LazyFieldLite
public MessageLite getValue()
Copyright © 2008-2014 Google. All Rights Reserved.