cardinality property

String cardinality
read / write

The field cardinality. Possible string values are:

  • "CARDINALITY_UNKNOWN" : For fields with unknown cardinality.
  • "CARDINALITY_OPTIONAL" : For optional fields.
  • "CARDINALITY_REQUIRED" : For required fields. Proto2 syntax only.
  • "CARDINALITY_REPEATED" : For repeated fields.

Implementation

core.String cardinality;