return new NamedItemCollection<AttachmentData>(child, AttachmentData.newBuilder(), AttachmentData
.getDescriptor().findFieldByNumber(AttachmentData.KEY_FIELD_NUMBER));
}
public NamedItemCollection<AttachmentData> getProjectAttachments(long projectId) {
StateNode root = stateStore.getRoot("attach-project");
StateNode child = root.child(Long.toHexString(projectId));
return new NamedItemCollection<AttachmentData>(child, AttachmentData.newBuilder(), AttachmentData
.getDescriptor().findFieldByNumber(AttachmentData.KEY_FIELD_NUMBER));
}