use of com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto in project atlasdb by palantir.
the class ColumnValueDescription method persistFileDescriptorTree.
private static FileDescriptorTreeProto persistFileDescriptorTree(FileDescriptor file) {
FileDescriptorTreeProto.Builder builder = FileDescriptorTreeProto.newBuilder();
builder.setProtoFileDescriptor(file.toProto().toByteString());
for (FileDescriptor dependency : file.getDependencies()) {
builder.addDependencies(persistFileDescriptorTree(dependency));
}
return builder.build();
}
Aggregations