occurrenceType property

String? occurrenceType
getter/setter pair

Occurrence type limits the number of times an entity type appears in the document. Possible string values are:

  • "OCCURRENCE_TYPE_UNSPECIFIED" : Unspecified occurrence type.
  • "OPTIONAL_ONCE" : The entity type will appear zero times or once.
  • "OPTIONAL_MULTIPLE" : The entity type will appear zero or multiple times.
  • "REQUIRED_ONCE" : The entity type will only appear exactly once.
  • "REQUIRED_MULTIPLE" : The entity type will appear once or more times.

Implementation

core.String? occurrenceType;