class documentation
class CType(nebius.base.protos.pb_enum.Enum): (source)
Undocumented
| Constant | CORD |
The option [ctype=CORD] may be applied to a non-repeated field of type "bytes". It indicates that in C++, the data should be stored in a Cord instead of a string. For very large strings, this may reduce memory fragmentation... |
| Constant | STRING |
Default mode. |
| Constant | STRING |
Undocumented |
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. |
The option [ctype=CORD] may be applied to a non-repeated field of type "bytes". It indicates that in C++, the data should be stored in a Cord instead of a string. For very large strings, this may reduce memory fragmentation. It may also allow better performance when parsing from a Cord, or when parsing with aliasing enabled, as the parsed Cord may then alias the original buffer.
| Value |
|