webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | isInitialized () |
List< String > | findInitializationErrors () |
String | getInitializationErrorString () |
boolean | hasOneof (OneofDescriptor oneof) |
FieldDescriptor | getOneofFieldDescriptor (OneofDescriptor oneof) |
final String | toString () |
void | writeTo (final CodedOutputStream output) throws IOException |
int | getSerializedSize () |
boolean | equals (final Object other) |
int | hashCode () |
Static Protected Member Functions | |
static int | hashFields (int hash, Map< FieldDescriptor, Object > map) |
Protected Attributes | |
int | memoizedSize = -1 |
A partial implementation of the Message interface which implements as many methods of that interface as possible in terms of other methods.
Compares the specified object with this message for equality. Returns
if the given object is a message of the same type (as defined by
) and has identical values for all of its fields. Subclasses must implement this; inheriting
is incorrect.
other | object to be compared for equality with this message |
Implements com.google.protobuf.Message.
|
inline |
Returns a list of field paths (e.g. "foo.bar.baz") of required fields which are not set in this message. You should call MessageLiteOrBuilder#isInitialized() first to check if there are any missing fields, as that method is likely to be much faster than this one even when the message is fully-initialized.
Implements com.google.protobuf.MessageOrBuilder.
|
inline |
Returns a comma-delimited list of required fields which are not set in this message object. You should call MessageLiteOrBuilder#isInitialized() first to check if there are any missing fields, as that method is likely to be much faster than this one even when the message is fully-initialized.
Implements com.google.protobuf.MessageOrBuilder.
|
inline |
TODO(jieluo): Clear it when all subclasses have implemented this method.
|
inline |
Get the number of bytes required to encode this message. The result is only computed on the first call and memoized after that.
Implements com.google.protobuf.MessageLite.
|
inline |
Returns the hash code value for this message. The hash code of a message should mix the message's type (object identity of the descriptor) with its contents (known and unknown field values). Subclasses must implement this; inheriting
is incorrect.
Implements com.google.protobuf.Message.
|
inlinestaticprotected |
Get a hash code for given fields and values, using the given seed.
|
inline |
TODO(jieluo): Clear it when all subclasses have implemented this method.
|
inline |
Returns true if all required fields in the message and all embedded messages are set, false otherwise.
See also: MessageOrBuilder#getInitializationErrorString()
Implements com.google.protobuf.MessageLiteOrBuilder.
|
inline |
Converts the message to a string in protocol buffer text format. This is just a trivial wrapper around TextFormat#printToString(MessageOrBuilder).
Implements com.google.protobuf.Message.
|
inline |
Serializes the message and writes it to
. This does not flush or close the stream.
Implements com.google.protobuf.MessageLite.
|
protected |