public interface MessageLiteOrBuilder
MessageLite
and MessageLite.Builder
to
provide type equivalency.Modifier and Type | Method and Description |
---|---|
MessageLite |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false
otherwise.
|
MessageLite getDefaultInstanceForType()
getDefaultInstance()
method of generated
message classes in that this method is an abstract method of the MessageLite
interface
whereas getDefaultInstance()
is a static method of a specific class. They return the
same thing.boolean isInitialized()