dtcc.BuildingPart.from_proto(pb: Object | bytes)[source] Initialize BuildingPart from a protobuf representation. Parameters:¶ pb : Union[proto.Object, bytes]¶The protobuf message or its serialized bytes representation.