Class UnknownFieldSet

  • All Implemented Interfaces:
    MessageLite, MessageLiteOrBuilder

    public final class UnknownFieldSet
    extends Object
    implements MessageLite
    UnknownFieldSet keeps 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 UnknownFieldSet (and every Message.Builder contains a UnknownFieldSet.Builder).

    Most users will never need to use this class.

    Author:
    [email protected] Kenton Varda