Field_Cardinality
class Field_Cardinality
Whether a field is optional, required, or repeated.
Protobuf enum Google\Protobuf\Field\Cardinality
Constants
| CARDINALITY_UNKNOWN |
For fields with unknown cardinality. Generated from protobuf enum |
| CARDINALITY_OPTIONAL |
For optional fields. Generated from protobuf enum |
| CARDINALITY_REQUIRED |
For required fields. Proto2 syntax only. Generated from protobuf enum |
| CARDINALITY_REPEATED |
For repeated fields. Generated from protobuf enum |