def from_runner_api(proto): # type: (beam_fn_api_pb2.Metrics.User.GaugeData) -> GaugeData return GaugeData(proto.value, timestamp=proto_utils.from_Timestamp(proto.timestamp))
def from_runner_api(proto): return GaugeData(proto.value, timestamp=proto_utils.from_Timestamp(proto.timestamp))