@Generated(value="proto") public class LazyField extends LazyFieldLite
Most of key methods are implemented in 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, 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 LazyFieldLite
public boolean equals(java.lang.Object obj)
equals
in class LazyFieldLite
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.