Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public int hashCode() {
}

public SnapshotDiffJobProto toProtoBuf() {
return SnapshotDiffJobProto.newBuilder()
SnapshotDiffJobProto.Builder builder = SnapshotDiffJobProto.newBuilder()
.setCreationTime(creationTime)
.setJobId(jobId)
.setStatus(status.toProtobuf())
Comment thread
ivandika3 marked this conversation as resolved.
Outdated
Expand All @@ -269,9 +269,11 @@ public SnapshotDiffJobProto toProtoBuf() {
.setForceFullDiff(forceFullDiff)
.setDisableNativeDiff(disableNativeDiff)
.setTotalDiffEntries(totalDiffEntries)
.setSubStatus(subStatus.toProtoBuf())
.setKeysProcessedPct(keysProcessedPct)
.build();
.setKeysProcessedPct(keysProcessedPct);
if (subStatus != null) {
builder.setSubStatus(subStatus.toProtoBuf());
}
Comment thread
ivandika3 marked this conversation as resolved.
return builder.build();
Comment thread
jojochuang marked this conversation as resolved.
}

public static SnapshotDiffJob getFromProtoBuf(
Expand Down