throws InvalidProtocolBufferException {
if (kvData == null) {
throw new NullPointerException("kvData");
} else if (!kvData.hasCore()) {
// Core field is required
throw new InvalidProtocolBufferException("No core.");
}
withCore(KeyVersionCore.parseFrom(kvData.getCore(), registry));
this.kvData = kvData;
return this;
}