GitHub

ListFieldDescriptor

API reference for ListFieldDescriptor.

A repeated field. packed decides how number, boolean and enum elements are written; both encodings are read.

Attributes

AttributeTypeDescription
typeValueType
packedbool
kindLiteral['list'] = 'list'

Functions

__init__

__init__(name, number, parent, oneof, proto, type, packed, kind='list') -> None
ParameterTypeDescription
namestr
numberint
parentMessageDescriptor
oneofOneofDescriptor | None
protoFieldDescriptorProto
typeValueType
packedbool
kindLiteral['list'] = 'list'