public final class UnknownFieldSetLite extends Object
UnknownFieldSetLite
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.
For use by generated code only.
Modifier and Type | Class and Description |
---|---|
static class |
UnknownFieldSetLite.Builder
Builder for
UnknownFieldSetLite s. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static UnknownFieldSetLite |
getDefaultInstance()
Get an empty
UnknownFieldSetLite . |
int |
getSerializedSize()
Get the number of bytes required to encode this set.
|
int |
hashCode() |
static UnknownFieldSetLite.Builder |
newBuilder()
Create a new
UnknownFieldSetLite.Builder . |
void |
writeTo(CodedOutputStream output)
Serializes the set and writes it to
output . |
public static UnknownFieldSetLite getDefaultInstance()
UnknownFieldSetLite
.
For use by generated code only.
public static UnknownFieldSetLite.Builder newBuilder()
UnknownFieldSetLite.Builder
.
For use by generated code only.
public void writeTo(CodedOutputStream output) throws IOException
output
.
For use by generated code only.
IOException
public int getSerializedSize()
For use by generated code only.
Copyright © 2008–2015 Google. All rights reserved.