public TextFormat.Parser.Builder setAllowUnknownExtensions(boolean allowUnknownExtensions)
Set whether this parser will allow unknown extensions. By default, an
exception is thrown if unknown extension is encountered. If this is set true,
the parser will only log a warning. Allow unknown extensions does not mean
allow normal unknown fields.
public TextFormat.Parser.Builder setAllowUnknownFields(boolean allowUnknownFields)
Set whether this parser will allow unknown fields. By default, an exception is thrown if an
unknown field is encountered. If this is set, the parser will only log a warning. Allow
unknown fields will also allow unknown extensions.
Use of this parameter is discouraged which may hide some errors (e.g.
spelling error on field name).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]