class_docstr: Class to hold unit data for the builder.
docstr: Fill a proto unit data object from this Unit.
docstr_tok: ["Fill","a","proto","unit","data","object","from","this","Unit","."]
code: def fill(self, unit_proto):
      """Fill a proto unit data object from this Unit."""
      unit_proto.unit_type = self.unit_type
      unit_proto.player_relative = self.player_relative
      unit_proto.health = self.health
      unit_proto.shields = self.shields
      unit_proto.energy = self.energy
      unit_proto.transport_slots_taken = self.transport_slots_taken
      unit_proto.build_progress = self.build_progress
  
imports: import math
  import numpy
  from pysc2.lib import features
  from s2clientprotocol import raw_pb2
  from s2clientprotocol import sc2api_pb2
  from s2clientprotocol import score_pb2
label_desc: Use image node_id 2 for calling the Unit obj's underlying member method code with example usage: obj.fill(unit_proto) without return types