dtcc.Field.from_proto(pb: Field | bytes)[source]

Initialize Field from a protobuf representation.

Parameters:
pb : Union[proto.Field, bytes]

The protobuf message or its serialized bytes representation.