Cardinality
class Cardinality (View source)
Whether a field is optional, required, or repeated.
Protobuf type 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 |
Methods
Details
static
name($value)
No description
static
value($name)
No description