@CheckReturnValue
public interface MessageLiteOrBuilder
MessageLite and MessageLite.Builder to provide type equivalency.
This interface is intended to only be implemented by protoc created gencode. It is not intended or supported to implement this interface manually.
| 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()
See also: MessageOrBuilder.getInitializationErrorString()