webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
class | Builder |
class | Field |
class | Parser |
Public Member Functions | |
UnknownFieldSet | getDefaultInstanceForType () |
boolean | equals (final Object other) |
int | hashCode () |
Map< Integer, Field > | asMap () |
boolean | hasField (final int number) |
Field | getField (final int number) |
void | writeTo (final CodedOutputStream output) throws IOException |
String | toString () |
ByteString | toByteString () |
byte [] | toByteArray () |
void | writeTo (final OutputStream output) throws IOException |
void | writeDelimitedTo (OutputStream output) throws IOException |
int | getSerializedSize () |
void | writeAsMessageSetTo (final CodedOutputStream output) throws IOException |
int | getSerializedSizeAsMessageSet () |
boolean | isInitialized () |
Builder | newBuilderForType () |
Builder | toBuilder () |
final Parser | getParserForType () |
Static Public Member Functions | |
static Builder | newBuilder () |
static Builder | newBuilder (final UnknownFieldSet copyFrom) |
static UnknownFieldSet | getDefaultInstance () |
static UnknownFieldSet | parseFrom (final CodedInputStream input) throws IOException |
static UnknownFieldSet | parseFrom (final ByteString data) throws InvalidProtocolBufferException |
static UnknownFieldSet | parseFrom (final byte[] data) throws InvalidProtocolBufferException |
static UnknownFieldSet | parseFrom (final InputStream input) throws IOException |
is used to keep track of fields which were seen when parsing a protocol message but whose field numbers or types are unrecognized. This most frequently occurs when new fields are added to a message type and then messages containing those fields are read by old software that was compiled before the new types were added.
Every Message contains an
(and every Message.Builder contains an Builder).
Most users will never need to use this class.
|
inline |
Get a map of fields in the set by number.
|
inlinestatic |
Get an empty
.
|
inline |
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.
Implements com.google.protobuf.MessageLiteOrBuilder.
|
inline |
Get a field by number. Returns an empty field if not present. Never returns
.
|
inline |
Gets the parser for a message of the same type as this message.
Implements com.google.protobuf.MessageLite.
|
inline |
Get the number of bytes required to encode this set.
Implements com.google.protobuf.MessageLite.
|
inline |
Get the number of bytes required to encode this set using
wire format.
Check if the given field number is present in the set.
|
inline |
|
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.
|
inlinestatic |
Create a new Builder.
|
inlinestatic |
|
inline |
Constructs a new builder for a message of the same type as this message.
Implements com.google.protobuf.MessageLite.
|
inlinestatic |
Parse an
from the given input stream.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Constructs a builder initialized with the current message. Use this to derive a new message from the current one.
Implements com.google.protobuf.MessageLite.
|
inline |
Serializes the message to a
array and returns it. This is just a trivial wrapper around writeTo(CodedOutputStream).
Implements com.google.protobuf.MessageLite.
|
inline |
Serializes the message to a
and returns it. This is just a trivial wrapper around writeTo(CodedOutputStream).
Implements com.google.protobuf.MessageLite.
|
inline |
Converts the set to a string in protocol buffer text format. This is just a trivial wrapper around TextFormat#printToString(UnknownFieldSet).
|
inline |
|
inline |
Like writeTo(OutputStream), but writes the size of the message as a varint before writing the data. This allows more data to be written to the stream after the message without the need to delimit the message data yourself. Use Builder#mergeDelimitedFrom(InputStream) (or the static method
) to parse messages written by this method.
Implements com.google.protobuf.MessageLite.
|
inline |
|
inline |
Serializes the message and writes it to
. This is just a trivial wrapper around writeTo(CodedOutputStream).
Implements com.google.protobuf.MessageLite.