class documentation
class Cardinality(nebius.base.protos.pb_enum.Enum): (source)
Whether a field is optional, required, or repeated.
| Constant | CARDINALITY |
For optional fields. |
| Constant | CARDINALITY |
For repeated fields. |
| Constant | CARDINALITY |
For required fields. Proto2 syntax only. |
| Constant | CARDINALITY |
For fields with unknown cardinality. |
Inherited from Enum:
| Class Method | get |
Return the protobuf EnumDescriptor for this enum. |
| Constant | __PB2 |
Alias for code that expects a protobuf descriptor. |
| Constant | __PROTO |
Enum descriptor from the registry. |
| Constant | __REGISTRY__ |
Registry for the enum and its descriptor. |
| Class Variable | __PROTO |
Fully qualified protobuf enum name. |
| Class Method | _missing_ |
Represent unknown open-enum numbers without losing their value. |