class_docstr: For test code - build a dummy ResponseObservation proto.
code: def score_by_vital(self, entry_name, life, shields, energy):
      field = getattr(self._score_details, entry_name)
      field.CopyFrom(
          score_pb2.VitalScoreDetails(
              life=life, shields=shields, energy=energy
          )
      )
  
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 7 for calling the Builder obj's underlying member method code with example usage: obj.score_by_vital(entry_name, life, shields, energy) without return types