occurrenceType property

String? occurrenceType
getter/setter pair

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

  • "OCCURRENCE_TYPE_UNSPECIFIED" : Unspecified occurrence type.
  • "OPTIONAL_ONCE" : There will be zero or one instance of this entity type. The same entity instance may be mentioned multiple times.
  • "OPTIONAL_MULTIPLE" : The entity type will appear zero or multiple times.
  • "REQUIRED_ONCE" : The entity type will only appear exactly once. The same entity instance may be mentioned multiple times.
  • "REQUIRED_MULTIPLE" : The entity type will appear once or more times.

Implementation

core.String? occurrenceType;