public static EdgeData.EdgeValue.UUID convertUuidStringToUuidObj(String uuidString) throws IllegalArgumentException { UUID uuidObj = UUID.fromString(uuidString); EdgeData.EdgeValue.UUID.Builder uuidBuilder = EdgeData.EdgeValue.UUID.newBuilder(); uuidBuilder.setLeastSignificantBits(uuidObj.getLeastSignificantBits()); uuidBuilder.setMostSignificantBits(uuidObj.getMostSignificantBits()); return uuidBuilder.build(); }
public Builder mergeFrom(datawave.edge.protobuf.EdgeData.EdgeValue.UUID other) { if (other == datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance()) return this; if (other.hasLeastSignificantBits()) { setLeastSignificantBits(other.getLeastSignificantBits()); } if (other.hasMostSignificantBits()) { setMostSignificantBits(other.getMostSignificantBits()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }