### Question:
Event { public static Builder builder() { return new Builder(new Event("", "", "", "", null, null, System.currentTimeMillis(), 1.0F, 1.0)); } Event(String host, String service, String state, String description, List<String> tags, Map<String, String> attributes, long time, float ttl, double metric); static Builder builder(); Proto.Msg toProtoBufMessage(); Proto.Event toProtoBufEvent(); double getMetric(); float getTtl(); long getTime(); List<String> getTags(); String getDescription(); String getState(); String getService(); String getHost(); Map<String, String> getAttributes(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testFromProtoBufEvent() { Event event = Event.builder().fromProtoBufEvent(Proto.Event.getDefaultInstance()).build(); assertEquals(new Event("", "", "", "", null, null, 0, 0.0F, 0.0), event); }