public
final
class
UnknownFieldSetLite
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.
Static Methods
getDefaultInstance()
public
static
UnknownFieldSetLite
getDefaultInstance
()
Get an empty UnknownFieldSetLite
.
For use by generated code only.
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getSerializedSize()
public
int
getSerializedSize
()
Get the number of bytes required to encode this set.
For use by generated code only.
getSerializedSizeAsMessageSet()
public
int
getSerializedSizeAsMessageSet
()
Get the number of bytes required to encode this field, including field number, using MessageSet
wire format.
hashCode()
public
int
hashCode
()
makeImmutable()
public
void
makeImmutable
()
Marks this object as immutable.
Future calls to methods that attempt to modify this object will throw.
writeAsMessageSetTo(CodedOutputStream output)
public
void
writeAsMessageSetTo
(
CodedOutputStream
output
)
Serializes the set and writes it to output
using MessageSet
wire format.
For use by generated code only.
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)
Serializes the set and writes it to output
.
For use by generated code only.
writeTo(Writer writer)
public
void
writeTo
(
Writer
writer
)
Serializes the set and writes it to writer
.
writer
com.google.protobuf.Writer

