unexpectedSegmentHandling property

String? unexpectedSegmentHandling
getter/setter pair

Determines how unexpected segments (segments not matched to the schema) are handled. Possible string values are:

  • "UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED" : Unspecified handling mode, equivalent to FAIL.
  • "FAIL" : Unexpected segments fail to parse and return an error.
  • "SKIP" : Unexpected segments do not fail, but are omitted from the output.
  • "PARSE" : Unexpected segments do not fail, but are parsed in place and added to the current group. If a segment has a type definition, it is used, otherwise it is parsed as VARIES.

Implementation

core.String? unexpectedSegmentHandling;