A field of one value, present as its presence says.
Attributes#
| Attribute | Type | Description |
|---|---|---|
type | ValueType | |
presence | Presence | |
kind | Literal['singular'] = 'singular' |
Functions#
__init__#
__init__(name, number, parent, oneof, proto, type, presence, kind='singular') -> None| Parameter | Type | Description |
|---|---|---|
name | str | |
number | int | |
parent | MessageDescriptor | |
oneof | OneofDescriptor | None | |
proto | FieldDescriptorProto | |
type | ValueType | |
presence | Presence | |
kind | Literal['singular'] = 'singular' |