### Question:
EdgeValue { public static EdgeValueBuilder newBuilder() { return new EdgeValueBuilder(); } private  EdgeValue(Long count, Integer bitmask, String sourceValue, String sinkValue); private  EdgeValue(Long count, Integer bitmask, String sourceValue, String sinkValue, List<Long> hours, List<Long> duration, String loadDate,
                    String uuidString, boolean hasOnlyUuidString, EdgeData.EdgeValue.UUID uuidObj, Boolean badActivityDate); static EdgeValueBuilder newBuilder(); static EdgeValueBuilder newBuilder(EdgeValue edgeValue); static EdgeValue decode(Value value); Value encode(); static EdgeData.EdgeValue.UUID convertUuidStringToUuidObj(String uuidString); Long getCount(); boolean hasCount(); Integer getBitmask(); boolean hasBitmask(); boolean hasLoadDate(); boolean isHourSet(int hour); String getSourceValue(); String getSinkValue(); List<Long> getHours(); List<Long> getDuration(); String getLoadDate(); EdgeData.EdgeValue.UUID getUuidObject(); String getUuid(); Boolean isBadActivityDate(); void setBadActivityDate(Boolean badActivityDate); boolean badActivityDateSet(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testNewBuilder() throws InvalidProtocolBufferException { EdgeValueBuilder builder = EdgeValue.newBuilder(); builder.setBitmask(1); builder.setCount(42l); EdgeValue eValue = builder.build(); Value value = eValue.encode(); EdgeValue outValue = EdgeValue.decode(value); assertTrue(outValue.hasCount()); assertTrue(outValue.hasBitmask()); assertEquals(42, (long) outValue.getCount()); assertEquals(1, (int) outValue.getBitmask()); builder = EdgeValue.newBuilder(eValue); EdgeValue outValue2 = EdgeValue.decode(builder.build().encode()); assertTrue(outValue2.hasCount()); assertTrue(outValue2.hasBitmask()); assertEquals(42, (long) outValue2.getCount()); assertEquals(1, (int) outValue2.getBitmask()); }