webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
MessageLite | getDefaultInstanceForType () |
boolean | isInitialized () |
Base interface for methods common to MessageLite and MessageLite.Builder to provide type equivalency.
MessageLite com.google.protobuf.MessageLiteOrBuilder.getDefaultInstanceForType | ( | ) |
Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from the
method of generated message classes in that this method is an abstract method of the
interface whereas
is a static method of a specific class. They return the same thing.
Implemented in com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder< MessageType extends ExtendableMessage >, com.google.protobuf.DynamicMessage, com.google.protobuf.MapEntry< K, V >, com.google.protobuf.UnknownFieldSet, and com.google.protobuf.MessageOrBuilder.
boolean com.google.protobuf.MessageLiteOrBuilder.isInitialized | ( | ) |
Returns true if all required fields in the message and all embedded messages are set, false otherwise.
See also: MessageOrBuilder#getInitializationErrorString()
Implemented in com.google.protobuf.DynamicMessage, com.google.protobuf.UnknownFieldSet, com.google.protobuf.GeneratedMessage, com.google.protobuf.MapEntry< K, V >, and com.google.protobuf.AbstractMessage.