public TestPersistitStorageDescription readProtobuf(Storage pbStorage, HasStorage forObject, TestPersistitStorageDescription storageDescription) {
if (storageDescription == null) {
storageDescription = new TestPersistitStorageDescription(forObject, identifier);
}
TestMessage testMessage = pbStorage.getExtension(TestMessage.msg);
storageDescription.setName(testMessage.getName());
if (testMessage.hasOption()) {
storageDescription.setOption(testMessage.getOption());
}
return storageDescription;
}